[Bug 218714] multimedia/kodi: fix build when gcc is installed
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Apr 17 18:30:07 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218714
Bug ID: 218714
Summary: multimedia/kodi: fix build when gcc is installed
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: pawel at FreeBSD.org
CC: mickael.maillot at gmail.com
Flags: maintainer-feedback?(mickael.maillot at gmail.com)
CC: mickael.maillot at gmail.com
Created attachment 181854
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=181854&action=edit
kodi build fix
Kodi build fails when there is gcc compiler installed on system.
This happens due to wrong native complier detection by
ax_prog_cxx_for_build.m4:
https://www.gnu.org/software/autoconf-archive/ax_prog_cxx_for_build.html
It's check defaults to gcc compiler, which produces broken binary:
g++ -DPACKAGE_NAME=\"JsonSchemaBuilder\"
-DPACKAGE_TARNAME=\"jsonschemabuilder\" -DPACKAGE_VERSION=\"1.0\"
-DPACKAGE_STRING=\"JsonSchemaBuilder\ 1.0\" -DPACKAGE_BUGREPORT=\"me at mail.com\"
-DPACKAGE_URL=\"\" -DPACKAGE=\"jsonschemabuilder\" -DVERSION=\"1.0\" -I. -g
-O2 -MT JsonSchemaBuilder.o -MD -MP -MF .deps/JsonSchemaBuilder.Tpo -c -o
JsonSchemaBuilder.o JsonSchemaBuilder.cpp
[..]
../../../tools/depends/native/JsonSchemaBuilder/bin/JsonSchemaBuilder
schema/version.txt schema/license.txt schema/methods.json schema/types.json
schema/notifications.json
/usr/local/lib/gcc49/libstdc++.so.6: version GLIBCXX_3.4.21 required by
/hdd/ports/multimedia/kodi/work/xbmc-fc1619b/tools/depends/native/JsonSchemaBuilder/bin/JsonSchemaBuilder
not found
Proposed fix hardcodes CXX_FOR_BUILD to system compiler generating proper
binary.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list