Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 204958
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Christian Faulhammer <fauli@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Radoslaw Szkodzinski <astralstorm@gen2.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 204958 depends on: Show dependency tree
Bug 204958 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-01-08 21:54 0000
It turns out libqof requires libgda to work, but this dependency isn't
contained in the ebuild. Thus it was unmerged by depclean, as nothing else in
my system depended on libgda, and I couldn't fix it directly with
revdep-rebuild.

It seems its configure system allows building even if it's missing, then it
fails due to -Wl,--as-needed in LDFLAGS.

Snippets:
<snip>
checking for GDA... No, GDA not found; will build using internal SQL library.
<snip>
x86_64-pc-linux-gnu-gcc -I.. -I../.. -I../../.. -I../../qof
-I/usr/include/libxm
l2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -mtune=generic -O2
-pip
e -Wl,--as-needed -Wl,--sort-common -Wl,-zcombreloc -Wl,-O1 -Wl,-zrelro
-Wl,--hash-style=both -o .libs/test-book-merge test-stuff.o test-book-merge.o
-Wl,--export-dynamic  ../../qof/.libs/libqof.so
../../lib/libsql/.libs/libqofsql.so /usr/lib64/libxml2.so
/usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libgobject-2.0.so
/usr/lib64/libglib-2.0.so -lm
../../qof/.libs/libqof.so: undefined reference to `sql_parse'
../../qof/.libs/libqof.so: undefined reference to `sql_destroy'
../../qof/.libs/libqof.so: undefined reference to `sql_statement_get_tables'
collect2: ld returned 1 exit status
make[3]: *** [test-book-merge] Error 1
make[3]: Leaving directory
`/tmp/paludis/dev-libs/qof-0.7.2/work/qof-0.7.2/qof/test'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/paludis/dev-libs/qof-0.7.2/work/qof-0.7.2/qof'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/paludis/dev-libs/qof-0.7.2/work/qof-0.7.2'
make: *** [all] Error 2

Removing --as-needed or adding the dependency fixes the package.

LDD of previous (working) libqof:
localhost /root # ldd /usr/lib64/libqof.so
        linux-vdso.so.1 =>  (0x00007fff9b7fe000)
        libgda-2.so.3 => not found
        libxslt.so.1 => /usr/lib/libxslt.so.1 (0x00002ac90f612000)
        libz.so.1 => /lib/libz.so.1 (0x00002ac90f847000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00002ac90fa5c000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0
(0x00002ac90fd9d000)
        libdl.so.2 => /lib/libdl.so.2 (0x00002ac90ffa1000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0
(0x00002ac9101a5000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00002ac9103ea000)
        libm.so.6 => /lib/libm.so.6 (0x00002ac9106b4000)
        libc.so.6 => /lib/libc.so.6 (0x00002ac910933000)
        /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)

Info:
Portage 2.1.4_rc14 (default-linux/amd64/2007.0, gcc-4.2.2, glibc-2.7-r1,
2.6.24-rc6-vs2.2.0.5.0.2 x86_64)
=================================================================
System uname: 2.6.24-rc6-vs2.2.0.5.0.2 x86_64 Intel(R) Core(TM)2 CPU T5500 @
1.66GHz
Timestamp of tree: Mon, 07 Jan 2008 06:30:07 +0000
app-shells/bash:     3.2_p17-r1, 3.2_p33
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.4.4-r5, 2.5.1-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-mtune=generic -O2 -pipe"
DISTDIR="/mnt/store/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms unmerge-orphans
userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LDFLAGS="-Wl,--as-needed -Wl,--sort-common -Wl,-zcombreloc -Wl,-O1 -Wl,-zrelro 
        -Wl,--hash-style=both"
LINGUAS="pl en"
MAKEOPTS="-j5"
PKGDIR="/mnt/store/pkg"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/repos/gentoo"
PORTDIR_OVERLAY="/var/repos/local /var/repos/xeffects /var/repos/x4x-portage
/var/repos/directfb"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi afs alsa amd64 ares avahi bash-completion
beagle berkdb bitmap-fonts boo bzip2 cairo caps cddb cdr chroot cli cracklib
crypt cups curl daap dbus djvu dri dvd dvdr dvi emacs encode exif expat
extensions fam fbcon ffmpeg firefox flac fontconfig fortran fpx fuse galago gd
gdbm gif gmp gnutls gpm graphviz gs gtk hal hddtemp hfs iconv idn ipod isdnlog
ithreads iwl3945 jbig jpeg jpeg2k libnotify logrotate lua mad mailwrapper midi
mmx mmxext mono mpeg mudflap multislot ncurses newspr nfs njb nls no-old-linux
nptl nptlonly nsplugin ogg opengl openmp oss pam pango pcmcia pcre pdf perl pic
png portage pppd python readline reflection resolvconf rle rsvg ruby samba sdl
serial session slp socks5 speex spell spl sqlite sqlite3 sse sse2 ssl ssse3
suid svg tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts
unicode urandom vorbis wmf wnck xattr xcomposite xml xorg xpm xv xvid zlib"
ALSA_CARDS="hda-intel ad1848-lib ad1889 ali5451 als300 als4000 asihpi atiixp
atiixp-modem au8810 au8820 au8830 azt3328 bt87x ca0106 cmipci cs4281 cs46xx
darla20 darla24 echo3g emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801
gina20 gina24 hdsp hdspm ice1712 ice1724 indigo indigodj indigoio intel8x0
intel8x0m korg1212 layla20 layla24 loopback maestro3 mia mixart mona mpu401
mtpav mts64 nm256 pcxhr pdaudiocf pdplus portman2x4 riptide rme32 rme96 rme9652
serial-u16550 soc sonicvibes trident usb-audio usb-usx2y via82xx via82xx-modem
virmidi vx222 vxpocket ymfpci" 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 authn_alias authn_anon 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 deflate dir disk_cache env expires
ext_filter file_cache filter headers include info log_config logio mem_cache
mime mime_magic negotiation rewrite setenvif speling status unique_id userdir
usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="synaptic mouse keyboard
event" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216
lcdm001 mtxorb ncurses text" LINGUAS="pl en" USERLAND="GNU" VIDEO_CARDS="nv
vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Radoslaw Szkodzinski 2008-01-08 22:05:57 0000 -------
Patch to fix part of the problem (missing dependency):

--- qof-0.7.2.ebuild    2007-11-12 12:05:57.000000000 +0100
+++ qof-0.7.2-r1.ebuild 2008-01-08 23:00:37.000000000 +0100
@@ -13,9 +13,9 @@

 KEYWORDS="~amd64 ~ppc64 ~sparc ~x86"

-IUSE=""
+IUSE="libgda"

-DEPEND=""
+DEPEND="libgda? ( >=dev-libs/libgda-1.2.3 )"

 src_unpack() {
        unpack ${A}

------- Comment #2 From Christian Faulhammer 2008-01-10 07:16:41 0000 -------
Added gnome-extra/libgda thanks

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug