Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30818 - cdrdao-1.1.7-r2 fails to build
Summary: cdrdao-1.1.7-r2 fails to build
Status: VERIFIED DUPLICATE of bug 30798
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-10 03:39 UTC by Daan Willems
Modified: 2003-11-02 06:01 UTC (History)
1 user (show)

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


Attachments
working (for me - please test) cdrdao ebuild based on 1.1.7-r2 (cdrdao-1.1.7-r2.ebuild,2.54 KB, text/plain)
2003-10-10 13:10 UTC, Robert Holak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daan Willems 2003-10-10 03:39:06 UTC
it fails each time on this part; seems related to the -lscg option:

g++ -DHAVE_CONFIG_H -D_THREAD_SAFE -D_REENTRANT  -DVERSION=\"1.1.7\" -DDRIVER_TABLE_FILE=\"/usr/share/cdrdao/drivers\" -I./.. -I. -I./../trackdb -I/usr/include/scsilib -march=pentium3 -O3 -pipe -mmmx -msse  -c ScsiIf-lib.cc -o ScsiIf-lib.o
ar r libdao.a port.o data.o CdrDriver.o CDD2600Base.o CDD2600.o PlextorReader.o GenericMMC.o SubChannel.o PQSubChannel16.o PWSubChannel96.o PQChannelEncoder.o GenericMMCraw.o PlextorReaderScan.o RicohMP6200.o TaiyoYuden.o YamahaCDR10x.o TeacCdr55.o SonyCDU920.o SonyCDU948.o ToshibaReader.o CdTextEncoder.o Settings.o dao.o ScsiIf-lib.o
ranlib libdao.a
g++  -o cdrdao main.o -L. -ldao -L../paranoia -lcdda_paranoia -L../trackdb -ltrackdb  -L/usr/lib -lscg -lschily -lpthread  -lnsl
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lscg
collect2: ld returned 1 exit status
make[1]: *** [cdrdao] Error 1
make[1]: Leaving directory `/var/tmp/portage/cdrdao-1.1.7-r2/work/cdrdao-1.1.7/dao'
make: *** [all] Error 1

!!! ERROR: app-cdr/cdrdao-1.1.7-r2 failed.
!!! Function src_compile, Line 65, Exitcode 2
!!! (no error message)

my emerge info: 

Portage 2.0.49-r10 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.6.0-test6-mm4)
=================================================================
System uname: 2.6.0-test6-mm4 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -mmmx -msse"
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/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -mmmx -msse"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="avi crypt cups encode foomaticdb gif gpm jpeg libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts tetex svga ggi sdl tcpd pam libwww ssl perl python esd oggvorbis motif opengl X kde qt gtk gtk2 -gnome -alsa mmx sse radeon -sis -rage128 -matrox -3dfx -gamma i8x0 cdr dvd flash gd gphoto2 gps imlib mozilla mysql oss pic plotutils samba tcltk tiff usb wmf slp apm dga java x86"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-10-10 09:27:11 UTC

*** This bug has been marked as a duplicate of 30798 ***
Comment 2 Robert Holak 2003-10-10 13:09:27 UTC
I removed lines 62 and 63 from the ebuild and let cdrdao's configure find
the scsi libs on its own, and this fixed the problem for me.

Offending lines:

         --with-scglib-inc=/usr/include/scsilib \
         --with-scglib-lib=/usr/lib \
Comment 3 Robert Holak 2003-10-10 13:10:40 UTC
Created attachment 19069 [details]
working (for me - please test) cdrdao ebuild based on 1.1.7-r2
Comment 4 Daan Willems 2003-10-10 13:59:54 UTC
pointing /usr/src/linux to a 2.4.22 vanilla-sources kernel solved the problem...
I'm stunned.
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-11-02 06:01:32 UTC
guys this bug is closes
talk about this in bug 30798