Darrell,
tdebase failed to build. I get the following:
[ 8%] Building CXX object kcontrol/kcontrol/CMakeFiles/tdeinit_kcontrol-shared.dir/proxywidget.cpp.o [ 8%] Building CXX object kcontrol/kcontrol/CMakeFiles/tdeinit_kcontrol-shared.dir/kcrootonly.cpp.o [ 8%] Building CXX object kcontrol/kcontrol/CMakeFiles/tdeinit_kcontrol-shared.dir/searchwidget.cpp.o Linking CXX shared library libtdeinit_kcontrol.so [ 8%] Built target tdeinit_kcontrol-shared Scanning dependencies of target kcontrol [ 8%] Building CXX object kcontrol/kcontrol/CMakeFiles/kcontrol.dir/kcontrol_tdeinit_executable.cpp.o Linking CXX executable kcontrol CMakeFiles/kcontrol.dir/kcontrol_tdeinit_executable.cpp.o: In function `main': kcontrol_tdeinit_executable.cpp:(.text+0x1c): undefined reference to `kdemain' collect2: error: ld returned 1 exit status kcontrol/kcontrol/CMakeFiles/kcontrol.dir/build.make:103: recipe for target 'kcontrol/kcontrol/kcontrol' failed make[2]: *** [kcontrol/kcontrol/kcontrol] Error 1 CMakeFiles/Makefile2:6077: recipe for target 'kcontrol/kcontrol/CMakeFiles/kcontrol.dir/all' failed make[1]: *** [kcontrol/kcontrol/CMakeFiles/kcontrol.dir/all] Error 2 Makefile:116: recipe for target 'all' failed make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...
I am building with:
msg "Starting cmake..." cmake ${srcdir}/tdebase \ -DCMAKE_INSTALL_PREFIX=${TDEDIR} \ -DSYSCONF_INSTALL_DIR=/etc \ -DCMAKE_CXX_FLAGS="-fpermissive" \ -DWITH_ARTS=ON \ -DWITH_GCC_VISIBILITY=ON \ -DWITH_I8K=ON \ -DWITH_LDAP=ON \ -DWITH_LIBART=ON \ -DWITH_LIBRAW1394=ON \ -DWITH_LIBUSB=ON \ -DWITH_OPENEXR=ON \ -DWITH_PAM=ON \ -DWITH_SAMBA=ON \ -DWITH_SASL=ON \ -DWITH_SENSORS=ON \ -DWITH_TDEHWLIB=ON \ -DWITH_UPOWER=ON \ -DWITH_XCOMPOSITE=ON \ -DWITH_XCURSOR=ON \ -DWITH_XDAMAGE=ON \ -DWITH_XDMCP=ON \ -DWITH_XEXT=ON \ -DWITH_XFIXES=ON \ -DWITH_XINERAMA=ON \ -DWITH_XRANDR=ON \ -DWITH_XRENDER=ON \ -DBUILD_ALL=ON
It looks like something pushed recently is looking for 'kdemain', I don't know if that is correct or not, but it sounds like a 't' 'k' issue. ??
On 01/18/2014 11:36 PM, David C. Rankin wrote:
Darrell,
tdebase failed to build. I get the following:
Scanning dependencies of target kcontrol [ 8%] Building CXX object kcontrol/kcontrol/CMakeFiles/kcontrol.dir/kcontrol_tdeinit_executable.cpp.o Linking CXX executable kcontrol CMakeFiles/kcontrol.dir/kcontrol_tdeinit_executable.cpp.o: In function `main': kcontrol_tdeinit_executable.cpp:(.text+0x1c): undefined reference to `kdemain' collect2: error: ld returned 1 exit status kcontrol/kcontrol/CMakeFiles/kcontrol.dir/build.make:103: recipe for target 'kcontrol/kcontrol/kcontrol' failed make[2]: *** [kcontrol/kcontrol/kcontrol] Error 1 CMakeFiles/Makefile2:6077: recipe for target 'kcontrol/kcontrol/CMakeFiles/kcontrol.dir/all' failed make[1]: *** [kcontrol/kcontrol/CMakeFiles/kcontrol.dir/all] Error 2 Makefile:116: recipe for target 'all' failed make: *** [all] Error 2
Opened as:
http://bugs.pearsoncomputing.net/show_bug.cgi?id=1832
all tde packages for this build were built in the past 2 days and on the same git-pull and with the same chroot environment (no gcc/libstdc++/etc changes)
01:33 phoinix:/dat_e/tde> l pkg/x86_64/tde* Jan 18 06:26 pkg/x86_64/tde-arts-14.0.0-1-x86_64.pkg.tar.xz Jan 18 06:54 pkg/x86_64/tde-avahi-tqt-14.0.0-1-x86_64.pkg.tar.xz Jan 18 06:27 pkg/x86_64/tde-dbus-1-tqt-14.0.0-1-x86_64.pkg.tar.xz Jan 18 06:26 pkg/x86_64/tde-dbus-tqt-14.0.0-1-x86_64.pkg.tar.xz Jan 18 06:54 pkg/x86_64/tde-libart-lgpl-14.0.0-1-x86_64.pkg.tar.xz Jan 18 06:55 pkg/x86_64/tde-libcaldav-14.0.0-1-x86_64.pkg.tar.xz Jan 18 06:56 pkg/x86_64/tde-libcarddav-14.0.0-1-x86_64.pkg.tar.xz Jan 18 07:12 pkg/x86_64/tde-python-tqt-14.0.0-1-x86_64.pkg.tar.xz Jan 18 06:57 pkg/x86_64/tde-sip-14.0.0-1-x86_64.pkg.tar.xz Jan 18 06:57 pkg/x86_64/tde-sip4-tqt-14.0.0-1-x86_64.pkg.tar.xz Jan 18 07:58 pkg/x86_64/tde-tdelibs-14.0.0-1-x86_64.pkg.tar.xz Jan 18 06:53 pkg/x86_64/tde-tqca-tls-14.0.0-1-x86_64.pkg.tar.xz Jan 16 04:42 pkg/x86_64/tde-tqt3-14.0.0-1-x86_64.pkg.tar.xz Jan 16 04:43 pkg/x86_64/tde-tqt3-docs-14.0.0-1-x86_64.pkg.tar.xz Jan 18 06:21 pkg/x86_64/tde-tqtinterface-14.0.0-1-x86_64.pkg.tar.xz
On 01/19/2014 01:41 AM, David C. Rankin wrote:
On 01/18/2014 11:36 PM, David C. Rankin wrote:
CMakeFiles/kcontrol.dir/kcontrol_tdeinit_executable.cpp.o: In function `main': kcontrol_tdeinit_executable.cpp:(.text+0x1c): undefined reference to `kdemain' collect2: error: ld returned 1 exit status
Opened as:
could this be gcc?
gcc 4.8.2-7
Interesting (very old) but maybe on point:
https://bugs.kde.org/show_bug.cgi?id=93347
THAT'S IT!!!
removing: -DWITH_GCC_VISIBILITY=ON \
allows tdebase to continue building. That still means there are issues in tdebase that need fixing, but 4 hours later (and tired of searching) we at least know what the heck it is!
(thanks to a 2004 bug report -- a decade ago)
I don't know what needs to be fixed, but obviously if Darrel is building with GCC_VISIBILITY=ON and with gcc 4.8.2-7 that is causing failure, then we need to figure out what the root of the problem is and then fix it with preprocessor conditional or fix the code. I don't understand the GCC_VISIBILITY implications entirely, but depending on the setting build failures are occurring.
On Sunday 19 of January 2014 11:12:32 David C. Rankin wrote:
On 01/19/2014 01:41 AM, David C. Rankin wrote:
On 01/18/2014 11:36 PM, David C. Rankin wrote:
CMakeFiles/kcontrol.dir/kcontrol_tdeinit_executable.cpp.o: In function `main': kcontrol_tdeinit_executable.cpp:(.text+0x1c): undefined reference to `kdemain' collect2: error: ld returned 1 exit status
Opened as:
could this be gcc?
gcc 4.8.2-7
Interesting (very old) but maybe on point:
https://bugs.kde.org/show_bug.cgi?id=93347
THAT'S IT!!!
removing: -DWITH_GCC_VISIBILITY=ON \
allows tdebase to continue building. That still means there are issues in tdebase that need fixing, but 4 hours later (and tired of searching) we at least know what the heck it is!
(thanks to a 2004 bug report -- a decade ago)
I don't know what needs to be fixed, but obviously if Darrel is building with GCC_VISIBILITY=ON and with gcc 4.8.2-7 that is causing failure, then we need to figure out what the root of the problem is and then fix it with preprocessor conditional or fix the code. I don't understand the GCC_VISIBILITY implications entirely, but depending on the setting build failures are occurring.
On Debian Jessie is gcc 4.8.2, tdebase is built with -DWITH_GCC_VISIBILITY="ON" and the problem does not occur.
Slavek --