Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35143 - Sidplay2 (media-sound/sidplay-2.0.8) fails to compile
Summary: Sidplay2 (media-sound/sidplay-2.0.8) fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-05 10:02 UTC by Peter Karlsson
Modified: 2004-03-18 12:48 UTC (History)
3 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 Peter Karlsson 2003-12-05 10:02:09 UTC
Here's a snippet from the emerge log:

...
checking dmedia/audio.h usability... no
checking dmedia/audio.h presence... no
checking for dmedia/audio.h... no
checking which audio subsystem is available... oss
checking whether exceptions are available... yes
checking whether standard member ios::binary is available... no
checking whether standard member ios::openmode is available... yes
checking for pkg-config... /usr/bin/pkg-config
checking for working sidplay2 library and headers... /usr/lib, /usr/include
checking for working sidutils library and headers... /usr/lib, /usr/include
configure: error:
sidutils build test failed with found library and header files.
Please check your installation!
        

!!! ERROR: media-sound/sidplay-2.0.8 failed.
!!! Function econf, Line 338, Exitcode 1
!!! econf failed


Reproducible: Always
Steps to Reproduce:
1. emerge sidplay




megaburk root # emerge info
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.20-gentoo-r8)
=================================================================
System uname: 2.4.20-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=pentium4 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -mcpu=pentium4 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg gnome libg++ mad
mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib
gtkhtml alsa gdbm berkdb slang readline arts aalib bonobo svga tcltk X sdl gpm
tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl
mozilla cdr"
Comment 1 Brian Harring (RETIRED) gentoo-dev 2004-02-07 05:39:09 UTC
I'll take a look at this one shortly, one question though, was sidplay-libs emerged already?  It ought to be pulled in automatically, just wondering if you did a --nodeps or something.
Comment 2 Ryan Dalzell 2004-02-09 03:16:14 UTC
Well in my case sidplay-libs is emerged already. Not doing anything clever with the emerge like --nodeps. The configure seems to be happy with sidplay2 library, but barfs on something called sidutil library.
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-28 05:05:37 UTC
I've verrified this bug... I'll look into it later...
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-28 05:08:12 UTC
I get this in my config.log

configure:9149: /bin/sh ./libtool g++ -o conftest -march=pentium3 -mcpu=pentium3
 -O3 -pipe -fomit-frame-pointer -falign-functions=4 -falign-jumps=4 -falign-loop
s=4 -DHAVE_UNIX     /usr/lib/libsidutils.la   conftest.cc  >&5
libtool: link: cannot find the library `/usr/lib/libsidutils.la'
configure:9152: $? = 1
configure: failed program was:
#line 9136 "configure"
#include "confdefs.h"
#include <sidplay/utils/SidDatabase.h>
int
main ()
{
SidDatabase *d;
  ;
  return 0;
}
configure:9177: error:
sidutils build test failed with found library and header files.
Please check your installation!


---

Brian, are you emerging sidplay fine?  If so, what's providing /usr/lib/libsidutils.la on your system?
Comment 5 Peng Zhang 2004-03-08 19:33:45 UTC
I have encountered the same problem. After emerging libsidplay, everything is fine.
Comment 6 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-09 10:22:35 UTC
Peng, do you have /usr/lib/libsidutils.la ?  Could you do:

qpkg -I -v -f /usr/lib/libsidutils.la
Comment 7 Peng Zhang 2004-03-09 17:57:05 UTC
Hi Jeremy,

The following is output.

bash-2.05b$ qpkg -I -v -f /usr/lib/libsidutils.la
media-libs/sidplay-libs-2.1.0 *
Comment 8 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-09 18:22:49 UTC
hmm... i need to figure out which system i tested this on, but I didn't have that .la and I'm 95% positive i had sidplay-libs (it's in DEPEND after all)...

Perhaps it failed silently... I'll look into it more this weekend...
Comment 9 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-10 05:10:27 UTC
clude/sidplay/utils -I/var/tmp/portage/sidplay-libs-2.1.0/work/sidplay-libs-2.1.0/libsidplay/include -DHAVE_UNIX -o libsidutils.la -rpath /usr/lib -version-info 0:2:0 SidDatabase.lo SidFilter.lo SidTuneMod.lo SidUsage.lo ./MD5/libMD5.la ./ini/libini.la /var/tmp/portage/sidplay-libs-2.1.0/work/sidplay-libs-2.1.0/libsidplay/src/libsidplay2.la
../libtool: line 3546: test: 304: unary operator expected
../libtool: line 3546: test: -le: unary operator expected
creating reloadable object files...
../libtool: line 3580: test: 82: unary operator expected
../libtool: line 3580: test: 104: unary operator expected
../libtool: line 3580: test: 105: unary operator expected
creating a temporary reloadable object file: .libs/libsidutils.la-4.o
/usr/i686-pc-linux-gnu/bin/ld -r -o .libs/libsidutils.la-1.o .libs/SidDatabase.o 
/usr/i686-pc-linux-gnu/bin/ld -r -o .libs/libsidutils.la-2.o .libs/SidFilter.o .libs/libsidutils.la-1.o
/usr/i686-pc-linux-gnu/bin/ld -r -o .libs/libsidutils.la-3.o .libs/SidTuneMod.o .libs/libsidutils.la-2.o
/usr/i686-pc-linux-gnu/bin/ld -r -o .libs/libsidutils.la-4.o .libs/SidUsage.o .libs/libsidutils.la-3.o
gcc -shared .libs/libsidutils.la-4.o -Wl,--whole-archive ./MD5/.libs/libMD5.a ./ini/.libs/libini.a -Wl,--no-whole-archive  ./MD5/.libs/libMD5.a ./ini/.libs/libini.a -L/usr/lib -lsidplay2     -Wl,-soname -Wl,libsidutils.so.0 -o .libs/libsidutils.so.0.0.2
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lsidplay2
collect2: ld returned 1 exit status
libtool: install: error: relink `libsidutils.la' with the above command before installing it
libtool: install: warning: remember to run `libtool --finish /usr/lib'
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/var/tmp/portage/sidplay-libs-2.1.0/work/sidplay-libs-2.1.0/libsidutils/src'
make[3]: Leaving directory `/var/tmp/portage/sidplay-libs-2.1.0/work/sidplay-libs-2.1.0/libsidutils/src'
make[2]: Leaving directory `/var/tmp/portage/sidplay-libs-2.1.0/work/sidplay-libs-2.1.0/libsidutils/src'
make[2]: Entering directory `/var/tmp/portage/sidplay-libs-2.1.0/work/sidplay-libs-2.1.0/libsidutils'
make[3]: Entering directory `/var/tmp/portage/sidplay-libs-2.1.0/work/sidplay-libs-2.1.0/libsidutils'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/var/tmp/portage/sidplay-libs-2.1.0/work/sidplay-libs-2.1.0/libsidutils'
Comment 10 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-18 09:28:29 UTC
sidplay-libs-2.1.0-r1 fixes this.
Comment 11 Ryan Dalzell 2004-03-18 12:48:27 UTC
Thanks!