Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 301694 - x11-libs/qt-sql-4.6.1 fail on compile
Summary: x11-libs/qt-sql-4.6.1 fail on compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
: 301699 301803 301856 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-01-21 08:42 UTC by tman
Modified: 2010-01-24 21:49 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tman 2010-01-21 08:42:19 UTC
x11-libs/qt-sql-4.6.1 fail on compile

Reproducible: Always

Steps to Reproduce:

Actual Results:  
>>> Verifying ebuild manifests
>>> Starting parallel fetch
>>> Emerging (1 of 11) x11-libs/qt-sql-4.6.1
>>> Failed to emerge x11-libs/qt-sql-4.6.1, Log file:
>>>  '/var/log/portage/x11-libs:qt-sql-4.6.1:20100121-083454.log'
 * CPV:  x11-libs/qt-sql-4.6.1
 * REPO: gentoo
 * USE:  amd64 elibc_glibc iconv kernel_linux multilib mysql postgres qt3support sqlite userland_GNU
tar xzpf /var/tmp/portage/x11-libs/qt-sql-4.6.1/distdir/qt-everywhere-opensource-src-4.6.1.tar.gz qt-everywhere-opensource-src-4.6.1/configure qt-everywhere-opensource-src-4.6.1/LICENSE.GPL3 qt-everywhere-opensource-src-4.6.1/LICENSE.LGPL qt-everywhere-opensource-src-4.6.1/projects.pro qt-everywhere-opensource-src-4.6.1/src/qbase.pri qt-everywhere-opensource-src-4.6.1/src/qt_targets.pri qt-everywhere-opensource-src-4.6.1/src/qt_install.pri qt-everywhere-opensource-src-4.6.1/bin qt-everywhere-opensource-src-4.6.1/config.tests qt-everywhere-opensource-src-4.6.1/mkspecs qt-everywhere-opensource-src-4.6.1/qmake qt-everywhere-opensource-src-4.6.1/src/sql qt-everywhere-opensource-src-4.6.1/src/plugins/sqldrivers qt-everywhere-opensource-src-4.6.1/include/Qt/ qt-everywhere-opensource-src-4.6.1/include/QtCore/ qt-everywhere-opensource-src-4.6.1/include/QtSql/ qt-everywhere-opensource-src-4.6.1/include/QtScript/ qt-everywhere-opensource-src-4.6.1/src/src.pro qt-everywhere-opensource-src-4.6.1/src/corelib/ qt-everywhere-opensource-src-4.6.1/src/plugins qt-everywhere-opensource-src-4.6.1/src/sql qt-everywhere-opensource-src-4.6.1/src/3rdparty qt-everywhere-opensource-src-4.6.1/src/tools
tar: qt-everywhere-opensource-src-4.6.1/src/sql: Not found in archive
tar: Exiting with failure status due to previous errors
 * ERROR: x11-libs/qt-sql-4.6.1 failed:
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_unpack
 *   environment, line 3503:  Called qt4-build_src_unpack
 *   environment, line 3208:  Called die
 * The specific snippet of code:
 *       tar xzpf "${DISTDIR}"/${MY_P}.tar.gz ${targets} || die
 * 
 * If you need support, post the output of 'emerge --info =x11-libs/qt-sql-4.6.1',
 * the complete build log and the output of 'emerge -pqv =x11-libs/qt-sql-4.6.1'.
 * The complete build log is located at '/var/log/portage/x11-libs:qt-sql-4.6.1:20100121-083454.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/qt-sql-4.6.1/temp/environment'.
 * S: '/var/tmp/portage/x11-libs/qt-sql-4.6.1/work/qt-everywhere-opensource-src-4.6.1'

 * Messages for package x11-libs/qt-sql-4.6.1:




Portage 2.1.7.16 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.32-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.32-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9700_@_2.80GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 21 Jan 2010 07:30:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4, 3.1.1-r1
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/X11/Sessions/awesome /etc/X11/Sessions/dwm /etc/X11/xorg.conf /etc/apache2/httpd.conf /etc/conf.d/hwclock /etc/conf.d/keymaps /etc/fstab /etc/make.conf /etc/xdg/openbox/autostart.sh /etc/xdg/openbox/menu.xml /etc/xdg/openbox/rc.xml /etc/xdg/openbox/start /usr/share/X11/xkb /usr/share/xsessions/openbox.desktop /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildpkg distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="de en vi"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/gnome /usr/portage/local/layman/scarabeus /usr/portage/local/layman/science /usr/portage/local/layman/enlightenment /usr/portage/local/layman/webapps-experimental /usr/portage/local/layman/devnull /usr/portage/local/local-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib accessibility acl acpi adns afs aim alsa amd64 ao apache2 ass atm audio audiofile bash-completion beagle berkdb bidi bluetooth bzip2 cairo caps cdda cdio cdparanoia cdr cgi cjk cli clisp consolekit cracklib crypt cscope css csv cups curl curlwrappers cvs dbus dc1394 dga dhcp dhcpcd dia dirac directfb dmx dri dts dv dvd dvdr dvi emacs enca encode enscript erandom exif expat extras faac faad fam fastcgi fbcon ffmpeg firefox flac flash fortran ftp fuse gcj gd gdbm geoip ggi gif gimp git glib gmp gnome gnome-keyring gnutls gphoto2 gpm graphviz gs gstreamer gtk gzip hal hash hddtemp highlight httpd iconv icq icu idn ieee1394 imagemagick imap imlib ipv6 jabber jack java java6 javascript jingle joystick jpeg jpeg2k kerberos lame lapack latex lcms ldap libcaca libwww live logrotate lua lzo mad maildir matroska mbrola md5sum memlimit mhash midi mikmod mime mjpeg mmap mmx mmxext mng mono motif mp3 mp4 mpeg mplayer msn mudflap mule multilib musepack mysql nas nautilus ncurses network networkmanager nfs nls nptl nptlonly nsplugin nvidia ogg ogg123 openal openexr opengl openmp oss pam pcmcia pcre pdf perl php pic pidgin png policykit posix postgres ppds ps pulseaudio python qt3support qt4 quicktime radio rar raw rdesktop readline reflection rss rtsp ruby samba sasl savedconfig schroedinger sdl sdl-image session sip slang slp smp soap sockets sox spamassassin speex spell spl sqlite sse sse2 ssl ssse3 startup-notificatio stream stun subversion svg swat sysfs syslog sysvipc tcl tcpd theora threads tidy tiff timidity tk tokenizer truetype ucs2 udev unicode urandom usb userlocales v4l v4l2 vcd vhosts video vim-syntax vlc vlm vnc vorbis wav wavpack webkit wifi wma wmf wxwidgets x264 xattr xcb xcomposite xft xinerama xinetd xml xmlrpc xorg xpm xprint xscreensaver xsl xulrunner xv xvid xvmc yahoo zip zlib zsh-completion" ALSA_CARDS="hda_intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES=" actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation php5 proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en vi" RUBY_TARGETS="ruby18 jruby" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa fbdev vga vmware" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Emond Papegaaij 2010-01-21 08:55:44 UTC
I can confirm this. It is caused by src/sql being added to the list of files to extract twice. It is in QT4_TARGET_DIRECTORIES and added again in QT4_EXTRACT_DIRECTORIES. Removing src/sql from the second fixed the build for me.
Comment 2 Patrick Holthaus 2010-01-21 09:23:42 UTC
(In reply to comment #1)
> I can confirm this. It is caused by src/sql being added to the list of files to
> extract twice. It is in QT4_TARGET_DIRECTORIES and added again in
> QT4_EXTRACT_DIRECTORIES. Removing src/sql from the second fixed the build for
> me.
> 

Works for me, too.
Comment 3 Xavier Miller (RETIRED) gentoo-dev 2010-01-21 10:11:15 UTC
Removed one src/sql in the ebuild worked also for me (on a ~x86 and a ~amd64 machine)
Comment 4 tman 2010-01-21 11:08:56 UTC
i hope the ebuild will be fixed soon. this is already cause alot problem since 2 weeks here.
Comment 5 Cyp 2010-01-21 12:26:34 UTC
(In reply to comment #4)
> i hope the ebuild will be fixed soon. this is already cause alot problem since
> 2 weeks here.


Thanks for testing an ebuild that was "masked for testing". Next time an ebuild that you're testing fails, could you report it too? (This saves others from having the same problem later, when it's unmasked.)
Comment 6 Dror Levin (RETIRED) gentoo-dev 2010-01-21 12:55:30 UTC
Fixed, thanks for reporting.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2010-01-21 13:32:20 UTC
*** Bug 301699 has been marked as a duplicate of this bug. ***
Comment 8 Steffen Hau 2010-01-21 13:53:16 UTC
What I was wondering about:

why is $QT4_TARGET_DIRECTORIES occuring in QT4_EXTRACT_DIRECTORIES? I looked in the ebuild for qt-opengl e.g. an there it's not the case. Has this a special meaning?
Comment 9 andy 2010-01-21 14:25:51 UTC
(In reply to comment #1)
> I can confirm this. It is caused by src/sql being added to the list of files to
> extract twice. It is in QT4_TARGET_DIRECTORIES and added again in
> QT4_EXTRACT_DIRECTORIES. Removing src/sql from the second fixed the build for
> me.
> 

sorry, i cant understand what exactly i have to remove? the sql dir from qt-sql-4.6.1? and then how to reemerge it.. thanks in advanced!
Comment 10 Dror Levin (RETIRED) gentoo-dev 2010-01-21 14:33:48 UTC
Just emerge --sync and emerge as normal, this is fixed.

If you sync and the problem persists just wait a bit and sync again. To be on the safe side, just sync in an hour or so.
Comment 11 andy 2010-01-21 15:38:44 UTC
(In reply to comment #10)
> Just emerge --sync and emerge as normal, this is fixed.
> 
> If you sync and the problem persists just wait a bit and sync again. To be on
> the safe side, just sync in an hour or so.
> 

fixed :-)
Comment 12 tman 2010-01-21 18:10:11 UTC
hmm its still not in the portage tree.. 
Comment 13 Sebastian L. 2010-01-21 20:29:51 UTC
Sorry to barge in on this - could you please fix this issue for 4.5.3, too?
Comment 14 Dror Levin (RETIRED) gentoo-dev 2010-01-21 20:53:31 UTC
Applied same fix to 4.5.3 and 4.6.0-r1. For anything else please open new bugs. Thanks.
Comment 15 tman 2010-01-22 07:28:37 UTC
and what xause this?

x86_64-pc-linux-gnu-g++ -c -pipe -march=core2 -O2 -pipe -Wall -W  -I../../../mkspecs/linux-g++ -I. -I/usr/include/mysql -I/usr/include/postgresql/pgsql -I/usr/include/freetype2 -o oci.o oci.cpp
oci.cpp:42:17: error: oci.h: No such file or directory
gmake: *** [oci.o] Error 1
OCI disabled.
PostgreSQL auto-detection... ()
x86_64-pc-linux-gnu-g++ -c -pipe -march=core2 -O2 -pipe -Wall -W  -I../../../mkspecs/linux-g++ -I. -I/usr/include/postgresql-8.4 -I/usr/include/mysql -I/usr/include/postgresql/pgsql -I/usr/include/freetype2 -o psql.o psql.cpp
linking psql
PostgreSQL enabled.
SQLite auto-detection... ()
x86_64-pc-linux-gnu-g++ -c -pipe -march=core2 -O2 -pipe -Wall -W  -I../../../mkspecs/linux-g++ -I. -I/usr/include/mysql -I/usr/include/postgresql/pgsql -I/usr/include/freetype2 -o sqlite.o sqlite.cpp
linking sqlite
/usr/lib64/libsqlite3.so: undefined reference to `dlsym'
/usr/lib64/libsqlite3.so: undefined reference to `dlerror'
/usr/lib64/libsqlite3.so: undefined reference to `dlopen'
/usr/lib64/libsqlite3.so: undefined reference to `dlclose'
collect2: ld returned 1 exit status
gmake: *** [sqlite] Error 1
SQLite disabled.
SQLite support cannot be enabled due to functionality tests!
 Turn on verbose messaging (-v) to ./configure to see the final report.
 If you believe this message is in error you may use the continue
 switch (-continue) to ./configure to continue.
 * ERROR: x11-libs/qt-sql-4.6.1 failed:
 *   ./configure failed
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_configure
 *   environment, line 3509:  Called qt4-build_src_configure
 *   environment, line 3161:  Called die
 * The specific 
Comment 16 tman 2010-01-22 07:33:02 UTC
this package seems to be still broken
Comment 17 Dror Levin (RETIRED) gentoo-dev 2010-01-22 09:34:40 UTC
(In reply to comment #16)
> this package seems to be still broken

That is bug 300836. Do NOT reopen this bug unless you have THE EXACT same problem.
For ANY other problem, open a new bug.
Comment 18 Samuli Suominen (RETIRED) gentoo-dev 2010-01-22 11:51:54 UTC
*** Bug 301803 has been marked as a duplicate of this bug. ***
Comment 19 Alexander Sidorov 2010-01-22 12:27:46 UTC
(In reply to comment #15)
> and what xause this?
> 
> x86_64-pc-linux-gnu-g++ -c -pipe -march=core2 -O2 -pipe -Wall -W 
> -I../../../mkspecs/linux-g++ -I. -I/usr/include/mysql
> -I/usr/include/postgresql/pgsql -I/usr/include/freetype2 -o oci.o oci.cpp
> oci.cpp:42:17: error: oci.h: No such file or directory
> gmake: *** [oci.o] Error 1
> OCI disabled.
> PostgreSQL auto-detection... ()
> x86_64-pc-linux-gnu-g++ -c -pipe -march=core2 -O2 -pipe -Wall -W 
> -I../../../mkspecs/linux-g++ -I. -I/usr/include/postgresql-8.4
> -I/usr/include/mysql -I/usr/include/postgresql/pgsql -I/usr/include/freetype2
> -o psql.o psql.cpp
> linking psql
> PostgreSQL enabled.
> SQLite auto-detection... ()
> x86_64-pc-linux-gnu-g++ -c -pipe -march=core2 -O2 -pipe -Wall -W 
> -I../../../mkspecs/linux-g++ -I. -I/usr/include/mysql
> -I/usr/include/postgresql/pgsql -I/usr/include/freetype2 -o sqlite.o sqlite.cpp
> linking sqlite
> /usr/lib64/libsqlite3.so: undefined reference to `dlsym'
> /usr/lib64/libsqlite3.so: undefined reference to `dlerror'
> /usr/lib64/libsqlite3.so: undefined reference to `dlopen'
> /usr/lib64/libsqlite3.so: undefined reference to `dlclose'
> collect2: ld returned 1 exit status
> gmake: *** [sqlite] Error 1
> SQLite disabled.
> SQLite support cannot be enabled due to functionality tests!
>  Turn on verbose messaging (-v) to ./configure to see the final report.
>  If you believe this message is in error you may use the continue
>  switch (-continue) to ./configure to continue.
>  * ERROR: x11-libs/qt-sql-4.6.1 failed:
>  *   ./configure failed
>  * 
>  * Call stack:
>  *     ebuild.sh, line   54:  Called src_configure
>  *   environment, line 3509:  Called qt4-build_src_configure
>  *   environment, line 3161:  Called die
>  * The specific 
> 

This may be a problem with dev-db/sqlite-3.6.22. I just have masked this package, and 'emerge -1 qt-sql' finished successfully.
Comment 20 Ben de Groot (RETIRED) gentoo-dev 2010-01-22 12:52:48 UTC
(In reply to comment #19)
> (In reply to comment #15)
> > and what xause this?
> > linking sqlite
> > /usr/lib64/libsqlite3.so: undefined reference to `dlsym'
>
> This may be a problem with dev-db/sqlite-3.6.22. I just have masked this
> package, and 'emerge -1 qt-sql' finished successfully.

The original qt-sql bug was already fixed. This sqlite issue is fixed in sqlite-3.6.22-r1.
Comment 21 Ben de Groot (RETIRED) gentoo-dev 2010-01-22 16:59:06 UTC
*** Bug 301856 has been marked as a duplicate of this bug. ***