Listaller fails to compile on Fedora 22

Bug #1467711 reported by Brandon Amaro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Listaller
New
Undecided
Unassigned

Bug Description

I just upgraded from Fedora 20 to Fedora 22 and decided to rebuild the listaller RPM I made. This was the result:

+ umask 022
+ cd /home/omega13a/rpmbuild/BUILD
+ cd /home/omega13a/rpmbuild/BUILD
+ rm -rf Listaller-0.5.9
+ /usr/bin/gzip -dc /home/omega13a/rpmbuild/SOURCES/Listaller-0.5.9.tar.gz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd Listaller-0.5.9
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #1 (Listaller-omega13a.patch):'
+ /usr/bin/cat /home/omega13a/rpmbuild/SOURCES/Listaller-omega13a.patch
+ /usr/bin/patch -p1 -b --suffix .omega13a --fuzz=0
+ exit 0
+ umask 022
+ cd /home/omega13a/rpmbuild/BUILD
+ cd Listaller-0.5.9
+ export CC=apgcc
+ CC=apgcc
+ export CXX=apg++
+ CXX=apg++
+ export APBUILD_MINIMUM_GLIBC=2.14
+ APBUILD_MINIMUM_GLIBC=2.14
+ export APBUILD_DEBUG=1
+ APBUILD_DEBUG=1
+ rm -rf /home/omega13a/.config/apbuild
+ mkdir build
+ cd build
+ /usr/bin/cmake .. -DQT=ON -DTOOLS=OFF -DLIBUILD=ON -DPATCHELF=ON -DVISUAL_LDD=ON -DL10N=ON -DAPI_DOCS=ON -DTESTS=ON -DTEST_DEPMANAGER=ON -DTEST_SECURITY=ON
# ligcc CMakeCCompilerId.c
# Situation: compile and link
# gcc -I/usr/lib/listaller -include /home/omega13a/.config/libuild/apsymbols.h -DLIBUILD_VERSION="2.1.0" -fno-stack-protector -U_FORTIFY_SOURCE CMakeCCompilerId.c -Wl,--enable-new-dtags,--rpath,${ORIGIN}/../lib -Wl,--hash-style=both -shared-libgcc -Wl,--as-needed
# apg++ CMakeCXXCompilerId.cpp
# Situation: compile and link
# g++ -I/usr/lib/listaller -include /home/omega13a/.config/libuild/apsymbols.h -DLIBUILD_VERSION="2.1.0" -fno-stack-protector -U_FORTIFY_SOURCE CMakeCXXCompilerId.cpp -Wl,--enable-new-dtags,--rpath,${ORIGIN}/../lib -Wl,--hash-style=both -shared-libgcc -Wl,--as-needed
# ligcc -o CMakeFiles/cmTryCompileExec3274631528.dir/testCCompiler.c.o -c /home/omega13a/rpmbuild/BUILD/Listaller-0.5.9/build/CMakeFiles/CMakeTmp/testCCompiler.c
# Situation: compile
# @files: is /home/omega13a/rpmbuild/BUILD/Listaller-0.5.9/build/CMakeFiles/CMakeTmp/testCCompiler.c
# gcc -I/usr/lib/listaller -include /home/omega13a/.config/libuild/apsymbols.h -DLIBUILD_VERSION="2.1.0" -fno-stack-protector -U_FORTIFY_SOURCE /home/omega13a/rpmbuild/BUILD/Listaller-0.5.9/build/CMakeFiles/CMakeTmp/testCCompiler.c -o CMakeFiles/cmTryCompileExec3274631528.dir/testCCompiler.c.o -c
# ligcc CMakeFiles/cmTryCompileExec3274631528.dir/testCCompiler.c.o -o cmTryCompileExec3274631528 -rdynamic
# Situation: linking
# gcc -Wl,--enable-new-dtags,--rpath,${ORIGIN}/../lib -Wl,--hash-style=both -shared-libgcc CMakeFiles/cmTryCompileExec3274631528.dir/testCCompiler.c.o -Wl,--as-needed -o cmTryCompileExec3274631528 -rdynamic
# ligcc -o CMakeFiles/cmTryCompileExec391360958.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake/Modules/CMakeCCompilerABI.c
# Situation: compile
# @files: is /usr/share/cmake/Modules/CMakeCCompilerABI.c
# gcc -I/usr/lib/listaller -include /home/omega13a/.config/libuild/apsymbols.h -DLIBUILD_VERSION="2.1.0" -fno-stack-protector -U_FORTIFY_SOURCE /usr/share/cmake/Modules/CMakeCCompilerABI.c -o CMakeFiles/cmTryCompileExec391360958.dir/CMakeCCompilerABI.c.o -c
# ligcc -v CMakeFiles/cmTryCompileExec391360958.dir/CMakeCCompilerABI.c.o -o cmTryCompileExec391360958 -rdynamic
# Situation: linking
# gcc -Wl,--enable-new-dtags,--rpath,${ORIGIN}/../lib -Wl,--hash-style=both -shared-libgcc CMakeFiles/cmTryCompileExec391360958.dir/CMakeCCompilerABI.c.o -Wl,--as-needed -v -o cmTryCompileExec391360958 -rdynamic
# ligcc -std=c11 -o CMakeFiles/cmTryCompileExec972081424.dir/feature_tests.c.o -c /home/omega13a/rpmbuild/BUILD/Listaller-0.5.9/build/CMakeFiles/feature_tests.c
# Situation: compile
# @files: is /home/omega13a/rpmbuild/BUILD/Listaller-0.5.9/build/CMakeFiles/feature_tests.c
# gcc -I/usr/lib/listaller -include /home/omega13a/.config/libuild/apsymbols.h -DLIBUILD_VERSION="2.1.0" -fno-stack-protector -U_FORTIFY_SOURCE /home/omega13a/rpmbuild/BUILD/Listaller-0.5.9/build/CMakeFiles/feature_tests.c -std=c11 -o CMakeFiles/cmTryCompileExec972081424.dir/feature_tests.c.o -c
# ligcc CMakeFiles/cmTryCompileExec972081424.dir/feature_tests.c.o -o cmTryCompileExec972081424 -rdynamic
# Situation: linking
# gcc -Wl,--enable-new-dtags,--rpath,${ORIGIN}/../lib -Wl,--hash-style=both -shared-libgcc CMakeFiles/cmTryCompileExec972081424.dir/feature_tests.c.o -Wl,--as-needed -o cmTryCompileExec972081424 -rdynamic
# ligcc -std=c99 -o CMakeFiles/cmTryCompileExec253433512.dir/feature_tests.c.o -c /home/omega13a/rpmbuild/BUILD/Listaller-0.5.9/build/CMakeFiles/feature_tests.c
# Situation: compile
# @files: is /home/omega13a/rpmbuild/BUILD/Listaller-0.5.9/build/CMakeFiles/feature_tests.c
# gcc -I/usr/lib/listaller -include /home/omega13a/.config/libuild/apsymbols.h -DLIBUILD_VERSION="2.1.0" -fno-stack-protector -U_FORTIFY_SOURCE /home/omega13a/rpmbuild/BUILD/Listaller-0.5.9/build/CMakeFiles/feature_tests.c -std=c99 -o CMakeFiles/cmTryCompileExec253433512.dir/feature_tests.c.o -c
# ligcc CMakeFiles/cmTryCompileExec253433512.dir/feature_tests.c.o -o cmTryCompileExec253433512 -rdynamic
# Situation: linking
# gcc -Wl,--enable-new-dtags,--rpath,${ORIGIN}/../lib -Wl,--hash-style=both -shared-libgcc CMakeFiles/cmTryCompileExec253433512.dir/feature_tests.c.o -Wl,--as-needed -o cmTryCompileExec253433512 -rdynamic
# ligcc -std=c90 -o CMakeFiles/cmTryCompileExec103536015.dir/feature_tests.c.o -c /home/omega13a/rpmbuild/BUILD/Listaller-0.5.9/build/CMakeFiles/feature_tests.c
# Situation: compile
# @files: is /home/omega13a/rpmbuild/BUILD/Listaller-0.5.9/build/CMakeFiles/feature_tests.c
# gcc -I/usr/lib/listaller -include /home/omega13a/.config/libuild/apsymbols.h -DLIBUILD_VERSION="2.1.0" -fno-stack-protector -U_FORTIFY_SOURCE /home/omega13a/rpmbuild/BUILD/Listaller-0.5.9/build/CMakeFiles/feature_tests.c -std=c90 -o CMakeFiles/cmTryCompileExec103536015.dir/feature_tests.c.o -c
# ligcc CMakeFiles/cmTryCompileExec103536015.dir/feature_tests.c.o -o cmTryCompileExec103536015 -rdynamic
# Situation: linking
# gcc -Wl,--enable-new-dtags,--rpath,${ORIGIN}/../lib -Wl,--hash-style=both -shared-libgcc CMakeFiles/cmTryCompileExec103536015.dir/feature_tests.c.o -Wl,--as-needed -o cmTryCompileExec103536015 -rdynamic
# apg++ -o CMakeFiles/cmTryCompileExec804624752.dir/testCXXCompiler.cxx.o -c /home/omega13a/rpmbuild/BUILD/Listaller-0.5.9/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
# Situation: compile
# @files: is /home/omega13a/rpmbuild/BUILD/Listaller-0.5.9/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
# g++ -I/usr/lib/listaller -include /home/omega13a/.config/libuild/apsymbols.h -DLIBUILD_VERSION="2.1.0" -fno-stack-protector -U_FORTIFY_SOURCE /home/omega13a/rpmbuild/BUILD/Listaller-0.5.9/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx -o CMakeFiles/cmTryCompileExec804624752.dir/testCXXCompiler.cxx.o -c
# apg++ CMakeFiles/cmTryCompileExec804624752.dir/testCXXCompiler.cxx.o -o cmTryCompileExec804624752 -rdynamic
# Situation: linking
# g++ -Wl,--enable-new-dtags,--rpath,${ORIGIN}/../lib -Wl,--hash-style=both -shared-libgcc CMakeFiles/cmTryCompileExec804624752.dir/testCXXCompiler.cxx.o -Wl,--as-needed -o cmTryCompileExec804624752 -rdynamic
# apg++ -o CMakeFiles/cmTryCompileExec1774225934.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp
# Situation: compile
# @files: is /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp
# g++ -I/usr/lib/listaller -include /home/omega13a/.config/libuild/apsymbols.h -DLIBUILD_VERSION="2.1.0" -fno-stack-protector -U_FORTIFY_SOURCE /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp -o CMakeFiles/cmTryCompileExec1774225934.dir/CMakeCXXCompilerABI.cpp.o -c
# apg++ -v CMakeFiles/cmTryCompileExec1774225934.dir/CMakeCXXCompilerABI.cpp.o -o cmTryCompileExec1774225934 -rdynamic
# Situation: linking
# g++ -Wl,--enable-new-dtags,--rpath,${ORIGIN}/../lib -Wl,--hash-style=both -shared-libgcc CMakeFiles/cmTryCompileExec1774225934.dir/CMakeCXXCompilerABI.cpp.o -Wl,--as-needed -v -o cmTryCompileExec1774225934 -rdynamic
# apg++ -std=c++14 -o CMakeFiles/cmTryCompileExec3399789982.dir/feature_tests.cxx.o -c /home/omega13a/rpmbuild/BUILD/Listaller-0.5.9/build/CMakeFiles/feature_tests.cxx
# Situation: compile
# @files: is /home/omega13a/rpmbuild/BUILD/Listaller-0.5.9/build/CMakeFiles/feature_tests.cxx
# g++ -I/usr/lib/listaller -include /home/omega13a/.config/libuild/apsymbols.h -DLIBUILD_VERSION="2.1.0" -fno-stack-protector -U_FORTIFY_SOURCE /home/omega13a/rpmbuild/BUILD/Listaller-0.5.9/build/CMakeFiles/feature_tests.cxx -std=c++14 -o CMakeFiles/cmTryCompileExec3399789982.dir/feature_tests.cxx.o -c
# apg++ CMakeFiles/cmTryCompileExec3399789982.dir/feature_tests.cxx.o -o cmTryCompileExec3399789982 -rdynamic
# Situation: linking
# g++ -Wl,--enable-new-dtags,--rpath,${ORIGIN}/../lib -Wl,--hash-style=both -shared-libgcc CMakeFiles/cmTryCompileExec3399789982.dir/feature_tests.cxx.o -Wl,--as-needed -o cmTryCompileExec3399789982 -rdynamic
# apg++ -std=c++11 -o CMakeFiles/cmTryCompileExec2162436126.dir/feature_tests.cxx.o -c /home/omega13a/rpmbuild/BUILD/Listaller-0.5.9/build/CMakeFiles/feature_tests.cxx
# Situation: compile
# @files: is /home/omega13a/rpmbuild/BUILD/Listaller-0.5.9/build/CMakeFiles/feature_tests.cxx
# g++ -I/usr/lib/listaller -include /home/omega13a/.config/libuild/apsymbols.h -DLIBUILD_VERSION="2.1.0" -fno-stack-protector -U_FORTIFY_SOURCE /home/omega13a/rpmbuild/BUILD/Listaller-0.5.9/build/CMakeFiles/feature_tests.cxx -std=c++11 -o CMakeFiles/cmTryCompileExec2162436126.dir/feature_tests.cxx.o -c
# apg++ CMakeFiles/cmTryCompileExec2162436126.dir/feature_tests.cxx.o -o cmTryCompileExec2162436126 -rdynamic
# Situation: linking
# g++ -Wl,--enable-new-dtags,--rpath,${ORIGIN}/../lib -Wl,--hash-style=both -shared-libgcc CMakeFiles/cmTryCompileExec2162436126.dir/feature_tests.cxx.o -Wl,--as-needed -o cmTryCompileExec2162436126 -rdynamic
# apg++ -std=c++98 -o CMakeFiles/cmTryCompileExec1561567444.dir/feature_tests.cxx.o -c /home/omega13a/rpmbuild/BUILD/Listaller-0.5.9/build/CMakeFiles/feature_tests.cxx
# Situation: compile
# @files: is /home/omega13a/rpmbuild/BUILD/Listaller-0.5.9/build/CMakeFiles/feature_tests.cxx
# g++ -I/usr/lib/listaller -include /home/omega13a/.config/libuild/apsymbols.h -DLIBUILD_VERSION="2.1.0" -fno-stack-protector -U_FORTIFY_SOURCE /home/omega13a/rpmbuild/BUILD/Listaller-0.5.9/build/CMakeFiles/feature_tests.cxx -std=c++98 -o CMakeFiles/cmTryCompileExec1561567444.dir/feature_tests.cxx.o -c
# apg++ CMakeFiles/cmTryCompileExec1561567444.dir/feature_tests.cxx.o -o cmTryCompileExec1561567444 -rdynamic
# Situation: linking
# g++ -Wl,--enable-new-dtags,--rpath,${ORIGIN}/../lib -Wl,--hash-style=both -shared-libgcc CMakeFiles/cmTryCompileExec1561567444.dir/feature_tests.cxx.o -Wl,--as-needed -o cmTryCompileExec1561567444 -rdynamic
The Qt4 interface is outdated and needs to be rewritten.
The rewrite was planned for a later release, if a Qt interface is still useful.
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:340 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:502 (_pkg_check_modules_internal)
  src/CMakeLists.txt:69 (pkg_check_modules)

error: Bad exit status from /var/tmp/rpm-tmp.iX99yQ (%build)
    Bad exit status from /var/tmp/rpm-tmp.iX99yQ (%build)

Revision history for this message
Brandon Amaro (omega13a-v) wrote :
Revision history for this message
Brandon Amaro (omega13a-v) wrote :
Revision history for this message
Matthias Klumpp (ximion) wrote :

> CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:340 (message):
> A required package was not found
This means that some package was not found which is needed for compiling - for some reason, cmake doesn't tell us which one it is though :-/

In general, Listaller has been superseded and replaced with Limba[1], which offers almost the same functionality, but is not relying on old PackageKit features, is *much* easier to use and also faster :)
The only downside of Limba is currently that is requires Linux 4.0 (or higher) to work properly (3.18 works with degraded functionality). But that issue will vanish over time.
This report reminds me that I need to announce this move on the Listaller project website - this was already planned a while ago, but I got distracted.
Limba also contains libuild, but does no longer ship with binreloc, simply because Limba packages do not need to be relocatable (just compile with prefix=/opt/bundle, that's it!). Binreloc is still available as standalone tool though.

So far, I am aware of Debian packages[2] for Limba, and Arch packages. Not sure about Fedora/RPM, but if you want to build a specfile, I'd gladly add it to the Limba sources ;-)

Thank you for the bug report and reminding me that I am lazy and should announce the move to Limba on the Listaller site! ;-)
Cheers,
    Matthias

P.S:
If you don't want to/can't move to Limba, we could track down this issue and fix it, no problem. In any other case, I would let it be and fix it in Limba, in case it happens there (which I seriously doubt...).

[1]: https://github.com/ximion/limba
[2]: https://packages.debian.org/source/sid/limba

Revision history for this message
Brandon Amaro (omega13a-v) wrote :
Download full text (10.3 KiB)

I just tried building limba, same useless error message...

+ umask 022
+ cd /home/omega13a/rpmbuild/BUILD
+ cd /home/omega13a/rpmbuild/BUILD
+ rm -rf Limba-0.4.2
+ /usr/bin/xz -dc /home/omega13a/rpmbuild/SOURCES/Limba-0.4.2.tar.xz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd Limba-0.4.2
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
+ umask 022
+ cd /home/omega13a/rpmbuild/BUILD
+ cd Limba-0.4.2
+ export CC=apgcc
+ CC=apgcc
+ export CXX=apg++
+ CXX=apg++
+ export APBUILD_MINIMUM_GLIBC=2.14
+ APBUILD_MINIMUM_GLIBC=2.14
+ export APBUILD_DEBUG=1
+ APBUILD_DEBUG=1
+ rm -rf /home/omega13a/.config/apbuild
+ mkdir build
+ cd build
+ /usr/bin/cmake .. -DMAINTAINER=OFF -DLIBUILD=ON -DL10N=ON -DINSTALL_SUID=ON
# ligcc CMakeCCompilerId.c
# Situation: compile and link
# gcc -I/usr/lib/listaller -include /home/omega13a/.config/libuild/apsymbols.h -DLIBUILD_VERSION="2.1.0" -fno-stack-protector -U_FORTIFY_SOURCE CMakeCCompilerId.c -Wl,--enable-new-dtags,--rpath,${ORIGIN}/../lib -Wl,--hash-style=both -shared-libgcc -Wl,--as-needed
# apg++ CMakeCXXCompilerId.cpp
# Situation: compile and link
# g++ -I/usr/lib/listaller -include /home/omega13a/.config/libuild/apsymbols.h -DLIBUILD_VERSION="2.1.0" -fno-stack-protector -U_FORTIFY_SOURCE CMakeCXXCompilerId.cpp -Wl,--enable-new-dtags,--rpath,${ORIGIN}/../lib -Wl,--hash-style=both -shared-libgcc -Wl,--as-needed
# ligcc -o CMakeFiles/cmTryCompileExec3179620580.dir/testCCompiler.c.o -c /home/omega13a/rpmbuild/BUILD/Limba-0.4.2/build/CMakeFiles/CMakeTmp/testCCompiler.c
# Situation: compile
# @files: is /home/omega13a/rpmbuild/BUILD/Limba-0.4.2/build/CMakeFiles/CMakeTmp/testCCompiler.c
# gcc -I/usr/lib/listaller -include /home/omega13a/.config/libuild/apsymbols.h -DLIBUILD_VERSION="2.1.0" -fno-stack-protector -U_FORTIFY_SOURCE /home/omega13a/rpmbuild/BUILD/Limba-0.4.2/build/CMakeFiles/CMakeTmp/testCCompiler.c -o CMakeFiles/cmTryCompileExec3179620580.dir/testCCompiler.c.o -c
# ligcc CMakeFiles/cmTryCompileExec3179620580.dir/testCCompiler.c.o -o cmTryCompileExec3179620580 -rdynamic
# Situation: linking
# gcc -Wl,--enable-new-dtags,--rpath,${ORIGIN}/../lib -Wl,--hash-style=both -shared-libgcc CMakeFiles/cmTryCompileExec3179620580.dir/testCCompiler.c.o -Wl,--as-needed -o cmTryCompileExec3179620580 -rdynamic
# ligcc -o CMakeFiles/cmTryCompileExec4038211091.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake/Modules/CMakeCCompilerABI.c
# Situation: compile
# @files: is /usr/share/cmake/Modules/CMakeCCompilerABI.c
# gcc -I/usr/lib/listaller -include /home/omega13a/.config/libuild/apsymbols.h -DLIBUILD_VERSION="2.1.0" -fno-stack-protector -U_FORTIFY_SOURCE /usr/share/cmake/Modules/CMakeCCompilerABI.c -o CMakeFiles/cmTryCompileExec4038211091.dir/CMakeCCompilerABI.c.o -c
# ligcc -v CMakeFiles/cmTryCompileExec4038211091.dir/CMakeCCompilerABI.c.o -o cmTryCompileExec4038211091 -rdynamic
# Situation: linking
# gcc -Wl,--enable-new-dtags,--rpath,${ORIGIN}/../lib -Wl,--hash-style=both -shared-libgcc CMakeFiles/cmTryCompileExec4038211091.dir/CMakeCCompilerABI.c.o -Wl,--as-needed -v -o cmTryCompileExec4038211091 -rdynamic
# ligcc -std=c11 -o CMakeFiles/cmTryCompileExec3027289300.dir/feature_tests.c.o -c /home/omega13a/rpmbuild/BUI...

Revision history for this message
Brandon Amaro (omega13a-v) wrote :
Revision history for this message
Matthias Klumpp (ximion) wrote :

Okay, thank you!
Would you mind reporting a bug at the Limba bugtracker at Github?

I will meanwhile test the specfile.
First thing to notice: You shouldn't compile Limba with apgcc/apg++, that could cause problems (maybe apgcc fails here, and cmake doesn't find a valid compiler).
Cheers,
    Matthias

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.