Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#26894 - [ktechlab] doesn't build with gcc >= 4.5
Attached to Project:
Community Packages
Opened by Andrea Scarpino (BaSh) - Monday, 14 November 2011, 21:39 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 16 November 2011, 15:19 GMT
Opened by Andrea Scarpino (BaSh) - Monday, 14 November 2011, 21:39 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 16 November 2011, 15:19 GMT
|
DetailsDescription:
I was trying to rebuild ktechlab. At the first shot the build fails because the PKGBUILD doesn't source the qt3 profile, I fixed it (on trunk too). Then, again, the build fails with this message: /bin/sh ../../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../src -I../../../src/electronics -I../../../src/electronics/components -I../../../src/electronics/simulation -I../../../src/gui -I../../../src/languages -I../../../src/micro -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/opt/kde/include -I/opt/qt/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fexceptions -MT bidirled.lo -MD -MP -MF .deps/bidirled.Tpo -c -o bidirled.lo bidirled.cpp discretelogic.cpp: In static member function 'static LibraryItem* Buffer::libraryItem()': discretelogic.cpp:95:31: error: cannot call constructor 'QString::QString' directly [-fpermissive] discretelogic.cpp:95:31: error: for a function-style cast, remove the redundant '::QString' [-fpermissive] make[4]: *** [discretelogic.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... mv -f .deps/binarycounter.Tpo .deps/binarycounter.Plo mv -f .deps/piccomponentpin.Tpo .deps/piccomponentpin.Plo mv -f .deps/bidirled.Tpo .deps/bidirled.Plo make[4]: Leaving directory `/build/src/ktechlab-0.3.7/src/electronics/components' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/build/src/ktechlab-0.3.7/src/electronics' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/build/src/ktechlab-0.3.7/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/build/src/ktechlab-0.3.7' make: *** [all] Error 2 I googled a bit, but I found nothing. Gentoo/Fedora removed this pacakge, maybe we should just remove it too. Additional info: * ktechlab 0.3.7-2 Steps to reproduce: Try to build it from trunk |
This task depends upon
Comment by Andrea Scarpino (BaSh) -
Wednesday, 16 November 2011, 14:28 GMT
This one could help: http://patch-tracker.debian.org/patch/series/view/ktechlab/0.3.7-10/40-gcc-4.5.patch