Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 616228

Summary: dev-qt/qtcore-4.8.7-r2[abi_x86_32]: Assembler messages: Fatal error: can't create .obj/release-static/qisciicodec.o: No such file or directory
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-qt:qtcore-4.8.7-r2:20170421-012023.log
emerge-history.txt
environment
etc.portage.tbz2
emerge-info.txt
dev-qt:qtcore-4.8.7-r2:20170707-092506.log.bz2
emerge-history.txt
environment
etc.portage.tbz2

Description Toralf Förster gentoo-dev 2017-04-21 16:27:47 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../libpq.so when searching for -lpq
/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libpq.so when searching for -lpq
/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpq
collect2: error: ld returned 1 exit status
gmake: *** [Makefile:98: psql] Error 1
PostgreSQL disabled.

  -----------------------------------------------------------------

  This is an unstable amd64 chroot image (named 13.0-libressl-abi32+64_20170419-212006) at a hardened host acting as a tinderbox.

  -----------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
Comment 1 Toralf Förster gentoo-dev 2017-04-21 16:27:50 UTC
Created attachment 470568 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-04-21 16:27:53 UTC
Created attachment 470570 [details]
dev-qt:qtcore-4.8.7-r2:20170421-012023.log
Comment 3 Toralf Förster gentoo-dev 2017-04-21 16:27:57 UTC
Created attachment 470572 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-04-21 16:28:00 UTC
Created attachment 470574 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-04-21 16:28:03 UTC
Created attachment 470576 [details]
etc.portage.tbz2
Comment 6 Arfrever Frehtes Taifersar Arahesis 2017-04-21 21:57:18 UTC
The real error would be here:


>>> Compiling source in /var/tmp/portage/dev-qt/qtcore-4.8.7-r2/work/qt-everywhere-opensource-src-4.8.7 ...
 * abi_x86_32.x86: running multilib-minimal_abi_src_compile
 * Running emake in src/tools/bootstrap
make -j1
x86_64-pc-linux-gnu-g++ -m32 -c -Werror=terminate -O2 -pipe -march=native -std=gnu++98 -fPIC -Wall -W -DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS -DQT_NO_DATASTREAM -DQT_NO_GEOM_VARIANT -DQT_NO_LIBRARY -DQT_NO_QOBJECT -DQT_NO_STL -DQT_NO_SYSTEMLOCALE -DQT_NO_TEXTSTREAM -DQT_NO_THREAD -DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECATED -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/var/tmp/portage/dev-qt/qtcore-4.8.7-r2/work/qt-everywhere-opensource-src-4.8.7/mkspecs/linux-g++ -I/var/tmp/portage/dev-qt/qtcore-4.8.7-r2/work/qt-everywhere-opensource-src-4.8.7/src/tools/bootstrap -I../../../include -I../../../include/QtCore -I../../../include/QtXml -I. -o .obj/release-static/qisciicodec.o /var/tmp/portage/dev-qt/qtcore-4.8.7-r2/work/qt-everywhere-opensource-src-4.8.7/src/corelib/codecs/qisciicodec.cpp
Assembler messages:
Fatal error: can't create .obj/release-static/qisciicodec.o: No such file or directory
make: *** [Makefile:383: .obj/release-static/qisciicodec.o] Error 2
 * ERROR: dev-qt/qtcore-4.8.7-r2::gentoo failed (compile phase):
 *   emake failed
Comment 7 Davide Pesavento (RETIRED) gentoo-dev 2017-04-22 00:02:36 UTC
This kind of "weird" errors are usually caused by running out of memory or disk space, or maybe your toolchain is broken. Please check that everything is in order on your system.
Comment 8 Toralf Förster gentoo-dev 2017-04-22 06:29:53 UTC
(In reply to Davide Pesavento from comment #7)
Hhm, freshly setup image at a system with 64 GB RAM + 64 GB swap + 5 TB hard disk.

I stopped this image for now but will spin up a similar one (same profile + USE flag sets) to see if this happens again.
Comment 9 Toralf Förster gentoo-dev 2017-04-24 17:09:49 UTC
indeed, in addition for the record there's this oddity in ALREADY_CATCHED:

dev-db/rethinkdb-2.3.5 : /.../sh:line <snip>:  1952 Segmentation fault      "/var/tmp/portage/dev-db/rethinkdb-2.3.5/work/rethinkdb-2.3.5/build/external/v8_3.30.33.16/build/out/x64.release/mksnapshot" --log-snapshot-positions --logfile "/var/tmp/portage/ddev-php/PEAR-PEAR-1.10.3-r2 : Discovering channel pear.symfony-project.com over http:/.../ failed with message: channel-add: Cannot open "http:/.../channel.xml" (File http:/.../pear.symfony-project.com:80/channel.xml not valid (redirected but no location)dev-qt/qtcore-4.8.7-r2 : /.../ld: cannot find -lpq
www-client/seamonkey-2.48_beta1 : /.../nsLocalFileUnix.cpp:1380:46: error: 'major' was not declared in this scope




2 build issues from 2 different images happened within few minutes and appearing nevertheless at the same line instead at 2 different lines ... *shrug*
Comment 10 Toralf Förster gentoo-dev 2017-07-07 15:20:12 UTC
same issue with dev-qt/qtcore-4.8.7-r2 at the unstable amd64 chroot image 13.0-desktop_libressl-abi32+64_20170706-192148 at the tinderbox
Comment 11 Toralf Förster gentoo-dev 2017-07-07 15:20:16 UTC
Created attachment 481526 [details]
emerge-info.txt
Comment 12 Toralf Förster gentoo-dev 2017-07-07 15:20:20 UTC
Created attachment 481528 [details]
dev-qt:qtcore-4.8.7-r2:20170707-092506.log.bz2
Comment 13 Toralf Förster gentoo-dev 2017-07-07 15:20:23 UTC
Created attachment 481530 [details]
emerge-history.txt
Comment 14 Toralf Förster gentoo-dev 2017-07-07 15:20:26 UTC
Created attachment 481532 [details]
environment
Comment 15 Toralf Förster gentoo-dev 2017-07-07 15:20:30 UTC
Created attachment 481534 [details]
etc.portage.tbz2
Comment 16 Toralf Förster gentoo-dev 2017-08-06 08:48:19 UTC
happened again at 13.0-desktop-plasma_libressl-abi32+64_20170805-102103
Comment 17 Toralf Förster gentoo-dev 2017-08-06 08:55:29 UTC
I accidentally filed a separate bug #627160 for that image instead attaching the files here
Comment 18 Toralf Förster gentoo-dev 2017-08-06 08:55:41 UTC
*** Bug 627160 has been marked as a duplicate of this bug. ***
Comment 19 Toralf Förster gentoo-dev 2017-10-29 18:49:32 UTC
(In reply to Davide Pesavento from comment #7)
>This kind of "weird" errors are usually caused by running out of memory or disk >space, or maybe your toolchain is broken. Please check that everything is in >order on your system.
This particular issue happens again and again here at he tinderbox, I do not belief, that the tool chain is just broken for this particular package.
Comment 20 Davide Pesavento (RETIRED) gentoo-dev 2018-08-20 16:19:22 UTC
Qt4 is gone. Please open different bugs if this still happens with other packages.