Date: Mon, 17 Apr 2017 18:30:06 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 218714] multimedia/kodi: fix build when gcc is installed Message-ID: <bug-218714-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218714 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@FreeBSD.org Reporter: pawel@FreeBSD.org CC: mickael.maillot@gmail.com Flags: maintainer-feedback?(mickael.maillot@gmail.com) CC: mickael.maillot@gmail.com Created attachment 181854 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D181854&action= =3Dedit 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=3D\"JsonSchemaBuilder\" -DPACKAGE_TARNAME=3D\"jsonschemabuilder\" -DPACKAGE_VERSION=3D\"1.0\" -DPACKAGE_STRING=3D\"JsonSchemaBuilder\ 1.0\" -DPACKAGE_BUGREPORT=3D\"me@ma= il.com\" -DPACKAGE_URL=3D\"\" -DPACKAGE=3D\"jsonschemabuilder\" -DVERSION=3D\"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/JsonSchem= aBuilder/bin/JsonSchemaBuilder not found Proposed fix hardcodes CXX_FOR_BUILD to system compiler generating proper binary. --=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-218714-13>