Bug#802786: libsigc++-2.0-dev: c++ only option in cflags

Bernd Zeimetz bernd at bzed.de
Sat Oct 24 20:34:35 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256



On 10/23/2015 05:01 PM, Michael Biebl wrote:
> Which packages fail to build because of that?

open-vm-tools for example:

libtool: compile:  gcc -DPACKAGE_NAME=\"open-vm-tools\" -DPACKAGE_TARNAME=\"open-vm-tools\" -DPACKAGE_VERSION=\"9.10.2\" "-DPACKAGE_STRING=\"open-vm-tools 9.10.2\"" -DPACKAGE_BUGREPORT=\"open-vm-tools-devel at lists.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"open-vm-tools\" -DVERSION=\"9.10.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_X11_SM_SMLIB_H=1 -DHAVE_X11_ICE_ICELIB_H=1 -DHAVE_X11_EXTENSIONS_XCOMPOSITE_H=1 -DHAVE_ECVT=1 -DHAVE_FCVT=1 -DDNET_IS_DUMBNET=1 -DHAVE_CRYPT_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_WCHAR_H=1 -DHAVE_SYS_IO_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SYSINFO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_USER_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_UNWIND_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STRUCT_STAT_ST_RDEV=1 -DTIME_WITH_SYS_TIME=1 -I. -pthread -I/usr/i
 n
clude/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -DGTK2 -std=c++11 -pthread -I/usr/include/gtkmm-2.4 -I/usr/lib/x86_64-linux-gnu/gtkmm-2.4/include -I/usr/include/atkmm-1.6 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gdkmm-2.4 -I/usr/lib/x86_64-linux-gnu/gdkmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib/x86_64-linux-gnu/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/x86_64-linux-gnu/pangomm-1.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/cairomm-1.0 -I/usr/lib/x86_64-linux-gnu/cairomm-1.0/include -I/usr
 /
include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -DHAVE_GTKMM -DVMTOOLS_USE_GLIB -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -fvisibility=hidden -DGCC_EXPLICIT_EXPORT -I../../../services/plugins/dndcp/dnd -I../../../services/plugins/dndcp/dndGuest -I../../../services/plugins/dndcp/stringxx -I../../../services/plugins/dndcp/xutils -I../../../include -I/build/open-vm-tools-9.10.2-2822639/lib/include -I/build/open-vm-tools-9.10.2-2822639/lib/include -D_FORTIFY_SOURCE=2 -DUSING_AUTOCONF=1 -DOPEN_VM_
 T
OOLS -DUSE_VGAUTH -I/usr/include -DUSE_ICU -DHAVE_ICU_38 -DVMX86_TOOLS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_DEFAULT_SOURCE -fPIC -Wno-deprecated-declarations -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror -Wno-pointer-sign -Wno-unused-value -fno-strict-aliasing -Wno-unknown-pragmas -Wno-uninitialized -Wno-deprecated-declarations -Wno-unused-but-set-variable -c dnd/dndClipboard.c  -fPIC -DPIC -o .libs/libdndcp_la-dndClipboard.o
cc1: error: command line option '-std=c++11' is valid for C++/ObjC++ but not for C [-Werror]
cc1: all warnings being treated as errors
Makefile:625: recipe for target 'libdndcp_la-dndClipboard.lo' failed
make[5]: *** [libdndcp_la-dndClipboard.lo] Error 1
make[5]: Leaving directory '/build/open-vm-tools-9.10.2-2822639/services/plugins/dndcp'
Makefile:486: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory '/build/open-vm-tools-9.10.2-2822639/services/plugins/dndcp'
Makefile:454: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/build/open-vm-tools-9.10.2-2822639/services/plugins'
Makefile:446: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/build/open-vm-tools-9.10.2-2822639/services'
Makefile:506: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/build/open-vm-tools-9.10.2-2822639'
dh_auto_build: make -j1 returned exit code 2
debian/rules:8: recipe for target 'build' failed
make: *** [build] Error 2


- -- 
 Bernd Zeimetz                            Debian GNU/Linux Developer
 http://bzed.de                                http://www.debian.org
 GPG Fingerprint: ECA1 E3F2 8E11 2432 D485  DD95 EB36 171A 6FF9 435F
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWK+tWAAoJEOs2Fxpv+UNfX2IP/RHExk+UG4bktP+xwRd0/FFk
BC1q0yjvSGLtjwwR80kdstt32PckMWD4p7p9ZMA8VY/5X+nGGb4ZOpqaS9wnu6F5
KG3Jq9meWNc4tZ3vodMz8gKAyiEqr0qPWChcPiLDb/pbdrbQfd7A+qF0MJEvBsML
/X4HYervfSrsv9THwez9YIQBp7Oc9axW5u1qgFinRs+1HnxU864eOcIhVfnQbZ37
wMlNldVb0uUvMybJhxddirxOvhYknuzl1P13pndesG5qu6/Hh/+sU/IdSmvUYx73
sBzLXh07xOMhhiPjpZ2cJ1stzD6j/R24JGIii0cu9oFyaQw1wTXsGd0wJRkSQbuJ
FCzeK9+tu2hsg7Ha7pcwC4chu2RY3wF1b/hwD3AL8NKoNSI/Jr8pPPdQWmEeNkWM
r7bYMDwE4Kbl6WmkZZnPO/S9aPw9Aj+DsYag03vd+T3cwxXX4AmND7u3DBdqlKIW
vambQOdYdlHPE8rJ7Op0rSVr3cnWCMaZOH0p6imEVuhsobj22Oo7IZEx5PsSpVpf
K6VYMKcCGjlz0l6tXG4/tMiZGPbcpPs/h4XQUOTs28yydrk8Ec2aTMI8zW59L5oD
fyPUYhW3FYUKoUvEU5al9kCcB6AqaUJDxP2cm0idkARTbasRQkFYe1t9YQ0yBxX2
R2AaCseuRok9v3DSIjwy
=NlIO
-----END PGP SIGNATURE-----



More information about the pkg-gnome-maintainers mailing list