Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 81148

Summary: app-text/openjade-1.3.2-r1 fails to compile (~amd64)
Product: Gentoo Linux Reporter: Nuno Alexandre <ikaro>
Component: [OLD] UnspecifiedAssignee: AMD64 Project <amd64>
Status: RESOLVED FIXED    
Severity: normal CC: Sander.Sweers
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Nuno Alexandre 2005-02-07 11:22:47 UTC
o GroveManager.o Pattern.o MacroFlowObj.o style_inst.o MessageModule.o 
x86_64-pc-linux-gnu-ranlib .libs/libostyle.a
creating libostyle.la
(cd .libs && rm -f libostyle.la && ln -s ../libostyle.la libostyle.la)
rm InterpreterMessages.cxx
make[2]: Leaving directory `/var/tmp/portage/openjade-1.3.2-r1/work/openjade-1.3.2/style'
make[2]: Entering directory `/var/tmp/portage/openjade-1.3.2-r1/work/openjade-1.3.2/jade'
echo 'LT_LIBS='`echo ../style/libostyle.a ../spgrove/libospgrove.a ../grove/libogrove.a /usr/lib64/libosp.a -lnsl|sed 's/\.a/.la/g'` >Makefile.lt
make[2]: Leaving directory `/var/tmp/portage/openjade-1.3.2-r1/work/openjade-1.3.2/jade'
make[2]: Entering directory `/var/tmp/portage/openjade-1.3.2-r1/work/openjade-1.3.2/jade'
/usr/bin/perl -w ./../msggen.pl -l jstyleModule JadeMessages.msg
x86_64-pc-linux-gnu-g++ -O2 -pipe -I. -I./../include -I/usr/include/OpenSP -I/usr/include/OpenSP/.. -I./../grove -I./../spgrove -I./../style  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"openjade\" -DVERSION=\"1.3.2\" -DSP_DEFINE_TEMPLATES=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DSIZEOF_SIZE_T=8 -DSIZEOF_UNSIGNED_INT=4 -DSP_HAVE_LOCALE=1 -DSP_HAVE_WCHAR=1 -DSP_HAVE_GETTEXT=1 -DSP_HAVE_BOOL=1 -DSP_ANSI_CLASS_INST=1 -DSP_HAVE_SOCKET=1 -DJADE_MIF=1 -DJADE_HTML=1 -DSP_MULTI_BYTE=1 -DSGML_CATALOG_FILES_DEFAULT=\"/etc/sgml/catalog\" -DSGML_SEARCH_PATH_DEFAULT=\"/usr/share/sgml\" -DHAVE_DLFCN_H=1  -DDEFAULT_SCHEME_BUILTINS=\"/usr/share/sgml/openjade-1.3.2/builtins.dsl\" -c SgmlFOTBuilder.cxx
Use of uninitialized value in string eq at (eval 1) line 3.
rm -f RtfFOTBuilder_inst.cxx
/usr/bin/perl ./../instmac.pl RtfFOTBuilder_inst.m4 >RtfFOTBuilder_inst.cxx
chmod -w RtfFOTBuilder_inst.cxx
/usr/bin/perl -w ./../msggen.pl -l jstyleModule RtfMessages.msg
Use of uninitialized value in string eq at (eval 1) line 3.
rm -f HtmlFOTBuilder_inst.cxx
/usr/bin/perl ./../instmac.pl HtmlFOTBuilder_inst.m4 >HtmlFOTBuilder_inst.cxx
chmod -w HtmlFOTBuilder_inst.cxx
/usr/bin/perl -w ./../msggen.pl -l jstyleModule HtmlMessages.msg
Use of uninitialized value in string eq at (eval 1) line 3.
rm -f TeXFOTBuilder_inst.cxx
/usr/bin/perl ./../instmac.pl TeXFOTBuilder_inst.m4 >TeXFOTBuilder_inst.cxx
chmod -w TeXFOTBuilder_inst.cxx
/usr/bin/perl -w ./../msggen.pl -l jstyleModule TeXMessages.msg
Use of uninitialized value in string eq at (eval 1) line 3.
rm -f TransformFOTBuilder_inst.cxx
/usr/bin/perl ./../instmac.pl TransformFOTBuilder_inst.m4 >TransformFOTBuilder_inst.cxx
chmod -w TransformFOTBuilder_inst.cxx
rm -f MifFOTBuilder_inst.cxx
/usr/bin/perl ./../instmac.pl MifFOTBuilder_inst.m4 >MifFOTBuilder_inst.cxx
chmod -w MifFOTBuilder_inst.cxx
/usr/bin/perl -w ./../msggen.pl -l jstyleModule MifMessages.msg
make[2]: *** No rule to make target `/usr/lib64/libosp.la', needed by `openjade'.  Stop.
make[2]: *** Waiting for unfinished jobs....
Use of uninitialized value in string eq at (eval 1) line 3.
make[2]: Leaving directory `/var/tmp/portage/openjade-1.3.2-r1/work/openjade-1.3.2/jade'
make[1]: *** [jade] Error 2
make[1]: Leaving directory `/var/tmp/portage/openjade-1.3.2-r1/work/openjade-1.3.2'
make: *** [all] Error 2

!!! ERROR: app-text/openjade-1.3.2-r1 failed.
!!! Function src_compile, Line 57, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.




Reproducible: Always
Steps to Reproduce:
1.emerge sync
2.emerge streamtuner
3. openjade fails to compile




Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.11-rc3-bk4 x86_64)
=================================================================
System uname: 2.6.11-rc3-bk4 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 16:59:15)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoclean autoconfig ccache distlocks noinfo notitles sandbox"
GENTOO_MIRRORS="http://mirror.uni-c.dk/gentoo/ ftp://ftp.dkuug.dk/pub/gentoo/
ftp://rsync.gentoo.diku.dk http://ftp.du.se/pub/os/gentoo"
LANG="en_US"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa cdr f77 flac gtk2 ipv6 ithreads jpeg lzw mad ncurses nptl
nptlonly oggvorbis opengl perl pic png python ssl truetype truetype-fonts usb
userlocales xml xpm xrandr xv"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL
Comment 1 Nuno Alexandre 2005-02-07 12:33:02 UTC

tried:

cd /usr/lib/ && for i in libosp*; do sudo ln -s $i /usr/lib64/$i; done

and re-emerged streamtuner with the following result:

/usr/bin/perl -w ./../msggen.pl -l jstyleModule MifMessages.msg
make[2]: stat:/usr/lib64/libosp.la: Too many levels of symbolic links
make[2]: *** No rule to make target `/usr/lib64/libosp.la', needed by `openjade'.  Stop.
make[2]: *** Waiting for unfinished jobs....
Use of uninitialized value in string eq at (eval 1) line 3.

looks like the path to the lib need to change from lib64 to jsut /lib

Comment 2 Sander Sweers 2005-02-18 07:05:47 UTC
I have the same problem! A workaround was posted to the forums which fixed it.
http://forums.gentoo.org/viewtopic-p-2095474.html#2095474
Comment 3 Raffi Chaglassian 2005-02-19 16:18:58 UTC
I can confirm the existence of this bug.  It is consistently reproducable on fresh/new installs that use the 2005.0 profile.

the following hard links fixes the problem:

ln /usr/lib64/lib/libosp.a 
ln /usr/lib64/lib/libosp.la 
ln /usr/lib64/lib/libosp.so 
ln /usr/lib64/lib/libosp.so.4 
ln /usr/lib64/lib/libosp.so.4.0.0 
Comment 4 Raffi Chaglassian 2005-02-19 16:22:33 UTC
oops, 

cd  /usr/lib64 before the hard links...

cd  /usr/lib64 
ln /usr/lib64/lib/libosp.a 
ln /usr/lib64/lib/libosp.la 
ln /usr/lib64/lib/libosp.so 
ln /usr/lib64/lib/libosp.so.4 
ln /usr/lib64/lib/libosp.so.4.0.0 


or seing http://forums.gentoo.org/viewtopic-t-295673-start-0-postdays-0-postorder-asc-highlight-libosp+openjade.html the last 2 links could be libosp.so.3
Comment 5 Raffi Chaglassian 2005-02-19 16:29:30 UTC
fuq me, 3 times now for simple ln's.  sorry for the spam for the mail list ppl.
even though my error is obvious, here's the right code: 

cd /usr/lib64 
ln /usr/lib/libosp.a 
ln /usr/lib/libosp.la 
ln /usr/lib/libosp.so 
ln /usr/lib/libosp.so.4 
ln /usr/lib/libosp.so.4.0.0 

this definitely works for my 2005.0 installs...  
Comment 6 Simon Stelling (RETIRED) gentoo-dev 2005-06-05 01:43:07 UTC
this has been fixed quite some time ago, WORKSFORME here :)