Date: Tue, 01 Jan 2019 22:11:27 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 234549] devel/libappindicator: 'make build' fails if lang/vala installed Message-ID: <bug-234549-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234549 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@FreeBSD.org Reporter: jcfyecrayz@liamekaens.com CC: gnome@FreeBSD.org, swills@FreeBSD.org CC: gnome@FreeBSD.org, swills@FreeBSD.org Created attachment 200685 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D200685&action= =3Dedit [patch] add VAPI option (default off) to fix build failure 'make -C lang/vala build' fails if lang/vala is installed: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D . . gmake[5]: Entering directory '/usr/ports/devel/libappindicator/work/libappindicator-12.10.0/bindings/val= a/examples' /usr/local/bin/valac --pkg appindicator3-0.1 --vapidir=3D../../../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/val= a/examples' gmake[4]: *** [Makefile:418: all-recursive] Error 1 gmake[4]: Leaving directory '/usr/ports/devel/libappindicator/work/libappindicator-12.10.0/bindings/val= a' 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=3Dyes and rebuild before reporting the failure to the maintainer.' ] + echo '=3D=3D=3D> Compilation failed unexpectedly.' =3D=3D=3D> Compilation failed unexpectedly. + echo 'Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure to the maintainer.' + /usr/bin/fmt 75 79 Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. + false *** Error code 1 Stop. make: stopped in /usr/ports/devel/libappindicator =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 'configure' detects vala and enables the VAPI stuff. This build will fail because a makefile rule invokes sed -i without an extension. This is allow= ed 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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234549-7788>