[Bug 234549] devel/libappindicator: 'make build' fails if lang/vala installed
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jan 1 22:11:31 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234549
Bug ID: 234549
Summary: devel/libappindicator: 'make build' fails if lang/vala
installed
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: jcfyecrayz at liamekaens.com
CC: gnome at FreeBSD.org, swills at FreeBSD.org
CC: gnome at FreeBSD.org, swills at FreeBSD.org
Created attachment 200685
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=200685&action=edit
[patch] add VAPI option (default off) to fix build failure
'make -C lang/vala build' fails if lang/vala is installed:
==================
.
.
gmake[5]: Entering directory
'/usr/ports/devel/libappindicator/work/libappindicator-12.10.0/bindings/vala/examples'
/usr/local/bin/valac --pkg appindicator3-0.1 --vapidir=../../../bindings/vala
--save-temps -C indicator-example.vala -o indicator-example.c
warning: --output and -o have no effect when -C or --ccode is set
warning: --save-temps has no effect when -C or --ccode is set
indicator-example.vala:40.3-40.30: warning:
AppIndicator.Indicator.set_attention_icon is deprecated
Compilation succeeded - 3 warning(s)
/usr/bin/sed -i "s|#include\s*<\s*libappindicator/app-indicator.h\s*>||g"
indicator-example.c
sed: 1: "indicator-example.c": command i expects \ followed by text
gmake[5]: *** [Makefile:632: indicator-example.c] Error 1
gmake[5]: Leaving directory
'/usr/ports/devel/libappindicator/work/libappindicator-12.10.0/bindings/vala/examples'
gmake[4]: *** [Makefile:418: all-recursive] Error 1
gmake[4]: Leaving directory
'/usr/ports/devel/libappindicator/work/libappindicator-12.10.0/bindings/vala'
gmake[3]: *** [Makefile:353: all-recursive] Error 1
gmake[3]: Leaving directory
'/usr/ports/devel/libappindicator/work/libappindicator-12.10.0/bindings'
gmake[2]: *** [Makefile:409: all-recursive] Error 1
gmake[2]: Leaving directory
'/usr/ports/devel/libappindicator/work/libappindicator-12.10.0'
gmake[1]: *** [Makefile:339: all] Error 2
gmake[1]: Leaving directory
'/usr/ports/devel/libappindicator/work/libappindicator-12.10.0'
+ [ -n 'Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the
failure to the maintainer.' ]
+ echo '===> Compilation failed unexpectedly.'
===> Compilation failed unexpectedly.
+ echo 'Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the
failure to the maintainer.'
+ /usr/bin/fmt 75 79
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
+ false
*** Error code 1
Stop.
make: stopped in /usr/ports/devel/libappindicator
======================
'configure' detects vala and enables the VAPI stuff. This build will fail
because a makefile rule invokes sed -i without an extension. This is allowed
with gnu sed, but not bsd sed.
The attached patch addresses this by allowing the VAPI option (default off) to
explicitly disable the VAPI stuff rather than allowing configure to detect it
and use it. If enabled, it patches the Makefile.in with the offending sed
command.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-gnome
mailing list