Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 173624 - sci-libs/djbfft broken static vs. shared handling, bad multilib handling, no SONAME
Summary: sci-libs/djbfft broken static vs. shared handling, bad multilib handling, no ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: invalid-static
  Show dependency tree
 
Reported: 2007-04-07 07:24 UTC by Georgi Chulkov
Modified: 2007-04-07 15:51 UTC (History)
3 users (show)

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


Attachments
Modified ebuild for djbfft so that the symlinks are created correctly (djbfft-0.76.ebuild,1.91 KB, text/plain)
2007-04-07 13:38 UTC, Thomas Anderson (tanderson) (RETIRED)
Details
I forgot to change some things back to the way they were (diff,377 bytes, text/plain)
2007-04-07 13:53 UTC, Thomas Anderson (tanderson) (RETIRED)
Details
djbfft-0.76.ebuild.diff (djbfft-0.76.ebuild.diff,2.03 KB, patch)
2007-04-07 15:14 UTC, Jakub Moc (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Georgi Chulkov 2007-04-07 07:24:31 UTC
Although I emerge sci-libs/djbfft-0.76 again and again, media-libs/a52dec-0.7.4-r5 cannot find it:


x86_64-pc-linux-gnu-gcc -shared  .libs/bitstream.o .libs/imdct.o .libs/bit_allocate.o .libs/parse.o .libs/downmix.o  -ldjbfft -lm  -march=nocona -Wl,-soname -Wl,liba52.so.0 -o .libs/liba52.so.0.0.0
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -ldjbfft
collect2: ld returned 1 exit status
make[1]: *** [liba52.la] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/a52dec-0.7.4-r5/work/a52dec-0.7.4/liba52'
make: *** [all-recursive] Error 1

!!! ERROR: media-libs/a52dec-0.7.4-r5 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  a52dec-0.7.4-r5.ebuild, line 41:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/media-libs/a52dec-0.7.4-r5/temp/build.log'.


Reproducible: Always

Steps to Reproduce:
1. USE="djbfft" emerge -1 a52dec



emerge --info:


Portage 2.1.2.3 (default-linux/amd64/2006.1, gcc-4.1.2, glibc-2.5-r1, 2.6.20-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r4 x86_64 Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Fri, 06 Apr 2007 01:00:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
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.17
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -ggdb -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=nocona -O2 -ggdb -pipe"
DISTDIR="/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner --with-bdeps y --alphabetical"
FEATURES="distlocks metadata-transfer sandbox sfperms splitdebug strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8@euro"
LC_ALL="en_US.UTF-8@euro"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="S3TC X X509 a52 aac acpi alsa amd64 amr ares audiofile bash-completion bitmap-fonts boost branding bzip2 cairo cdparanoia cli connectionstatus cpudetection cracklib crypt css dbus djbfft djvu dmi doc dri dts dvd dvdr dvdread dynamic encode epydoc expat extrafilters fam fame fbcon ffmpeg fftw firefox flac fontconfig fpx gd gdbm gif gimp glep glitz gmp gnutls graphviz gs gtk hal history hpn iconv icu idea idn imagemagick imlib insecure-savers isdnlog ithreads jai java javamail jbig jce jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kerberos kipi kqemu ladspa lame latex lcms libedit libg++ libsamplerate lm_sensors log4j lzo mad matroska mjpeg mmap mng mod modplug mp3 mpeg musepack ncurses network nls no-old-linux nptl nptlonly nsplugin nvidia odbc offensive ogg openal openexr opengl pam pango pdf pg-intdatetime pmu png portaudio postgres ppds pppd qt3 quicktime readline reflection rle rtc rtsp sasl sdl sdl-image sensord servletapi session slang smp sms sndfile sound speex spell spl srp ssl statistics subversion svg symlink tga theora threads tiff toolbar tordns truetype truetype-fonts type1-fonts unicode vcd visualization vorbis vorbis-psy wavpack webdav wifi wmf wxwindows x264 xcb xcomposite xforms xine xml xorg xpm xprint xscreensaver xv xvid xvmc yv12 zlib zrtp" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2007-04-07 13:38:23 UTC
Created attachment 115663 [details]
Modified ebuild for djbfft so that the symlinks are created correctly

This bug is fixed by creating the directory into which the symlinks are supposed to go.
Comment 2 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2007-04-07 13:53:03 UTC
Created attachment 115664 [details]
I forgot to change some things back to the way they were

Here is a diff (diff -Nau djbfft-0.76 djbfft-0.76-r1)

I forgot to change some "ln" options back in the previous ebuild so don't use that.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-04-07 14:15:37 UTC
@sci folks - what's the DJB static frenzy? What a stupid upstream code. :/ If you can't compile both at the same time, the static flag should be just dropped.

Also:

 * QA Notice: The following shared libraries lack a SONAME
 *  /var/tmp/portage/sci-libs/djbfft-0.76/image/usr/lib/libdjbfft.so.0.7.6

Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-04-07 15:14:01 UTC
Created attachment 115671 [details, diff]
djbfft-0.76.ebuild.diff

This drops USE=static which plain just breaks stuff, plus fixes multilib handling. Tough luck with SONAME, it breaks the stupid thing.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-04-07 15:23:56 UTC
(In reply to comment #3)
>  * QA Notice: The following shared libraries lack a SONAME
>  *  /var/tmp/portage/sci-libs/djbfft-0.76/image/usr/lib/libdjbfft.so.0.7.6

There's already Bug 158373 about this, removing from here.
Comment 6 Stefan Schweizer (RETIRED) gentoo-dev 2007-04-07 15:51:06 UTC
thanks, fixed