Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67180 - subversion-1.1.0 fails to compile with ld ... cannot create file ... no such file or directory
Summary: subversion-1.1.0 fails to compile with ld ... cannot create file ... no such ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Paul de Vrieze (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-11 17:37 UTC by Clemens Schwaighofer
Modified: 2004-11-11 20:31 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 Clemens Schwaighofer 2004-10-11 17:37:36 UTC
with emerge subversion I get this at the end ...

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot open output file blib/arch/auto/SVN/_Client/_Client.so: No such file or directory
collect2: ld returned 1 exit status
make[2]: *** [blib/arch/auto/SVN/_Client/_Client.so] Error 1
make[2]: Leaving directory `/var/tmp/portage/subversion-1.1.0/work/subversion-1.1.0/subversion/bindings/swig/perl/native'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/var/tmp/portage/subversion-1.1.0/work/subversion-1.1.0/subversion/bindings/swig/perl/native'
make: *** [swig-pl] Error 2

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r2,
2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.gentoo.gr.jp/ http://gentoo.gg3.net/
ftp://gg3.net/pub/linux/gentoo/ ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO
http://ftp.gentoo.or.kr/ http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
USE="X aalib acl acpi alsa apache2 apm arts avi berkdb bitmap-fonts bonobo canna
cdr cjk crypt cups curl dga directfb encodeesd ethereal f77 fbcon foomaticdb
freetds freewnn gd gdbm gif gimpprint gnome gphoto2 gpm gtk gtk2 gtkhtml imap
imlib innodbipv6 java jpeg kde kerberos lcms ldap libg++ libgda libwww mad
maildir mbox mcal memlimit mikmod mmx mng motif mozilla mpeg mysql ncurses nls
odbc oggvorbis opengl oss pam pdflib perl png postgres ppds python qt quicktime
readline ruby samba sdl slang slp snmp spell sse ssl svga tcltk tcpd tetex tiff
truetype unicode usb wmf x86 xface xml xml2 xmms xosd xprint xv zlib"
Comment 1 Kuartzer 2004-10-11 19:22:02 UTC
Same here....
Hadding a few more lines, becouse in one of them i saw the folowing command: 
"rm -f blib/arch/auto/SVN/_Client/_Client.so"

refering to the same file that later can
Comment 2 Kuartzer 2004-10-11 19:22:02 UTC
Same here....
Hadding a few more lines, becouse in one of them i saw the folowing command: 
"rm -f blib/arch/auto/SVN/_Client/_Client.so"

refering to the same file that later can´t be found...

(...)
make -f Makefile.client
make[2]: Entering directory `/var/tmp/portage/subversion-1.1.0/work/subversion-1.1.0/subversion/bindings/swig/perl/native'
gcc -c  -I/usr/include/apache2   -I/usr/include/apache2   -I../../../../../subversion/bindings/swig/perl/libsvn_swig_perl  -I../../../../../subversion/include  -I../../../../../subversion/bindings/swig -g -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium3 -fomit-frame-pointer -mmmx -pipe -fforce-addr -funroll-loops -frerun-loop-opt -frerun-cse-after-loop -falign-functions=4 -ffast-math   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/5.8.5/i686-linux/CORE"   svn_client.c
Running Mkbootstrap for SVN::_Client ()
chmod 644 _Client.bs

rm -f blib/arch/auto/SVN/_Client/_Client.so

LD_RUN_PATH="/var/tmp/portage/subversion-1.1.0/work/subversion-1.1.0/subversion/libsvn_client/.libs:/var/tmp/portage/subversion-1.1.0/work/subversion-1.1.0/subversion/libsvn_delta/.libs:/var/tmp/portage/subversion-1.1.0/work/subversion-1.1.0/subversion/libsvn_fs/.libs:/var/tmp/portage/subversion-1.1.0/work/subversion-1.1.0/subversion/libsvn_ra/.libs:/var/tmp/portage/subversion-1.1.0/work/subversion-1.1.0/subversion/libsvn_repos/.libs:/var/tmp/portage/subversion-1.1.0/work/subversion-1.1.0/subversion/libsvn_wc/.libs:/var/tmp/portage/subversion-1.1.0/work/subversion-1.1.0/subversion/libsvn_diff/.libs:/var/tmp/portage/subversion-1.1.0/work/subversion-1.1.0/subversion/libsvn_subr/.libs:/var/tmp/portage/subversion-1.1.0/work/subversion-1.1.0/subversion/bindings/swig/perl/libsvn_swig_perl/.libs:/usr/lib" gcc  -shared -L/usr/local/lib svn_client.o  -o blib/arch/auto/SVN/_Client/_Client.so   -L/var/tmp/portage/subversion-1.1.0/work/subversion-1.1.0/subversion/bindings/swig/perl/libsvn_swig_perl/.libs -L/var/tmp/portage/subversion-1.1.0/work/subversion-1.1.0/subversion/libsvn_client/.libs -L/var/tmp/portage/subversion-1.1.0/work/subversion-1.1.0/subversion/libsvn_delta/.libs -L/var/tmp/portage/subversion-1.1.0/work/subversion-1.1.0/subversion/libsvn_fs/.libs -L/var/tmp/portage/subversion-1.1.0/work/subversion-1.1.0/subversion/libsvn_ra/.libs -L/var/tmp/portage/subversion-1.1.0/work/subversion-1.1.0/subversion/libsvn_repos/.libs -L/var/tmp/portage/subversion-1.1.0/work/subversion-1.1.0/subversion/libsvn_wc/.libs -L/var/tmp/portage/subversion-1.1.0/work/subversion-1.1.0/subversion/libsvn_diff/.libs -L/var/tmp/portage/subversion-1.1.0/work/subversion-1.1.0/subversion/libsvn_subr/.libs -L/var/tmp/portage/subversion-1.1.0/work/subversion-1.1.0/subversion/libsvn_ra_local/.libs -L/var/tmp/portage/subversion-1.1.0/work/subversion-1.1.0/subversion/libsvn_ra_svn/.libs -L/var/tmp/portage/subversion-1.1.0/work/subversion-1.1.0/subversion/libsvn_ra_dav/.libs -L/var/tmp/portage/subversion-1.1.0/work/subversion-1.1.0/subversion/libsvn_fs_base/.libs -L/var/tmp/portage/subversion-1.1.0/work/subversion-1.1.0/subversion/libsvn_fs_fs/.libs -lsvn_client-1 -lsvn_delta-1 -lsvn_fs-1 -lsvn_ra-1 -lsvn_repos-1 -lsvn_wc-1 -lsvn_diff-1 -lsvn_subr-1 -lsvn_swig_perl-1 -L/usr/lib -lswigpl   
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot open output file blib/arch/auto/SVN/_Client/_Client.so: No such file or directory
collect2: ld returned 1 exit status
make[2]: *** [blib/arch/auto/SVN/_Client/_Client.so] Error 1
make[2]: Leaving directory `/var/tmp/portage/subversion-1.1.0/work/subversion-1.1.0/subversion/bindings/swig/perl/native'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/var/tmp/portage/subversion-1.1.0/work/subversion-1.1.0/subversion/bindings/swig/perl/native'
make: *** [swig-pl] Error 2

!!! ERROR: dev-util/subversion-1.1.0 failed.
!!! Function src_compile, Line 145, Exitcode 2
!!! Perl library building failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 3 Mark Purtill 2004-10-12 21:33:15 UTC
I have the same problem; emerging with USE="-perl" is a temporary workaround.

Here's my emerge info:

Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r2, 2.6.8-gentoo-r3)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 AMD Athlon(tm) XP 1900+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-g -O2"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref/usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-g -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs fixpackages nostrip sandbox userpriv"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://gentoo.agsn.ca/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.ccccom.com ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://mirrors.tds.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d aalib alsa apm arts avi berkdb bitmap-fonts canna cdr cjk crypt cups debug doc dvd encode esd foomaticdb freetype freewnn gdbm gif gnome gpmgtk gtk2 guile imlib java joystick jpeg kde libg++ libwww mad maildir mbox mikmod mozilla mozsvg mpeg mule ncurses nls noantlr nobcel nobeanutils nobsh nocommonslogging nocommonsnet nojdepend nojsch nojython nolog4j nooro noregexp norhino noxalan noxerces oggvorbis opengl oss pam pdflib perl png python qt quicktime readline ruby scanner sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype usb video_cards_matrox x86 xinerama xml2 xmms xprint xv zlib"
Comment 4 Kuartzer 2004-10-14 21:25:45 UTC
the perl workaround didn
Comment 5 Kuartzer 2004-10-14 21:25:45 UTC
the perl workaround didn´t work for me! had a strange java related error!

So «USE="-java -perl" emerge subversion» did the trick :)

Comment 6 Joby Walker 2004-10-19 13:20:35 UTC
The problem seems to be in subversion/bindings/swig/perl/native/Makefile

---------------------------------------------------------------------------
# --- MakeMaker dynamic_lib section:

# This section creates the dynamically loadable $(INST_DYNAMIC)
# from $(OBJECT) and possibly $(MYEXTLIB).

ARMAYBE = :
OTHERLDFLAGS =
INST_DYNAMIC_DEP =
INST_DYNAMIC_FIX =

$(INST_DYNAMIC): $(OBJECT) $(MYEXTLIB) $(BOOTSTRAP) blibdirs $(EXPORT_LIST) $(PERL_ARCHIVE) $(PERL_ARCHIVE_AFTER) $(INST_DYNAMIC_D$
        $(RM_F) $@
        LD_RUN_PATH="$(LD_RUN_PATH)" $(LD)  $(LDDLFLAGS) $(LDFROM) $(OTHERLDFLAGS) -o $@ $(MYEXTLIB) $(PERL_ARCHIVE) $(LDLOADLIBS)$
        $(CHMOD) $(PERM_RWX) $@

----------------------------------------------------------------------------

The shared object is being created, destroyed, and then there is an attempt to link to it.
Comment 7 Kuartzer 2004-11-08 11:38:03 UTC
Same problem on 1.1.1... (should i make a new bug entry?)

make -f Makefile.client
make[2]: Entering directory `/var/tmp/portage/subversion-1.1.1/work/subversion-1.1.1/subversion/bindings/swig/perl/native'
gcc -c  -I/usr/include/apache2   -I/usr/include/apache2   -I../../../../../subversion/bindings/swig/perl/libsvn_swig_perl  -I../../../../../subversion/include  -I../../../../../subversion/bindings/swig -g -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium3 -fomit-frame-pointer -mmmx -pipe -fforce-addr -funroll-loops -frerun-loop-opt -frerun-cse-after-loop -falign-functions=4 -ffast-math   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/5.8.5/i686-linux/CORE"   svn_client.c
Running Mkbootstrap for SVN::_Client ()
chmod 644 _Client.bs
rm -f blib/arch/auto/SVN/_Client/_Client.so
LD_RUN_PATH="/var/tmp/portage/subversion-1.1.1/work/subversion-1.1.1/subversion/libsvn_client/.libs:/var/tmp/portage/subversion-1.1.1/work/subversion-1.1.1/subversion/libsvn_delta/.libs:/var/tmp/portage/subversion-1.1.1/work/subversion-1.1.1/subversion/libsvn_fs/.libs:/var/tmp/portage/subversion-1.1.1/work/subversion-1.1.1/subversion/libsvn_ra/.libs:/var/tmp/portage/subversion-1.1.1/work/subversion-1.1.1/subversion/libsvn_repos/.libs:/var/tmp/portage/subversion-1.1.1/work/subversion-1.1.1/subversion/libsvn_wc/.libs:/var/tmp/portage/subversion-1.1.1/work/subversion-1.1.1/subversion/libsvn_diff/.libs:/var/tmp/portage/subversion-1.1.1/work/subversion-1.1.1/subversion/libsvn_subr/.libs:/var/tmp/portage/subversion-1.1.1/work/subversion-1.1.1/subversion/bindings/swig/perl/libsvn_swig_perl/.libs:/usr/lib" gcc  -shared -L/usr/local/lib svn_client.o  -o blib/arch/auto/SVN/_Client/_Client.so   -L/var/tmp/portage/subversion-1.1.1/work/subversion-1.1.1/subversion/bindings/swig/perl/libsvn_swig_perl/.libs -L/var/tmp/portage/subversion-1.1.1/work/subversion-1.1.1/subversion/libsvn_client/.libs -L/var/tmp/portage/subversion-1.1.1/work/subversion-1.1.1/subversion/libsvn_delta/.libs -L/var/tmp/portage/subversion-1.1.1/work/subversion-1.1.1/subversion/libsvn_fs/.libs -L/var/tmp/portage/subversion-1.1.1/work/subversion-1.1.1/subversion/libsvn_ra/.libs -L/var/tmp/portage/subversion-1.1.1/work/subversion-1.1.1/subversion/libsvn_repos/.libs -L/var/tmp/portage/subversion-1.1.1/work/subversion-1.1.1/subversion/libsvn_wc/.libs -L/var/tmp/portage/subversion-1.1.1/work/subversion-1.1.1/subversion/libsvn_diff/.libs -L/var/tmp/portage/subversion-1.1.1/work/subversion-1.1.1/subversion/libsvn_subr/.libs -L/var/tmp/portage/subversion-1.1.1/work/subversion-1.1.1/subversion/libsvn_ra_local/.libs -L/var/tmp/portage/subversion-1.1.1/work/subversion-1.1.1/subversion/libsvn_ra_svn/.libs -L/var/tmp/portage/subversion-1.1.1/work/subversion-1.1.1/subversion/libsvn_ra_dav/.libs -L/var/tmp/portage/subversion-1.1.1/work/subversion-1.1.1/subversion/libsvn_fs_base/.libs -L/var/tmp/portage/subversion-1.1.1/work/subversion-1.1.1/subversion/libsvn_fs_fs/.libs -lsvn_client-1 -lsvn_delta-1 -lsvn_fs-1 -lsvn_ra-1 -lsvn_repos-1 -lsvn_wc-1 -lsvn_diff-1 -lsvn_subr-1 -lsvn_swig_perl-1 -L/usr/lib -lswigpl   
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot open output file blib/arch/auto/SVN/_Client/_Client.so: No such file or directory
collect2: ld returned 1 exit status
make[2]: *** [blib/arch/auto/SVN/_Client/_Client.so] Error 1
make[2]: Leaving directory `/var/tmp/portage/subversion-1.1.1/work/subversion-1.1.1/subversion/bindings/swig/perl/native'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/var/tmp/portage/subversion-1.1.1/work/subversion-1.1.1/subversion/bindings/swig/perl/native'
make: *** [swig-pl] Error 2

!!! ERROR: dev-util/subversion-1.1.1 failed.
!!! Function src_compile, Line 148, Exitcode 2
!!! Perl library building failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 8 Clemens Schwaighofer 2004-11-08 14:11:52 UTC
I can confirm that. 1.1.1 has the same bug with perl enabled.
Comment 9 Aron Griffis (RETIRED) gentoo-dev 2004-11-11 20:31:54 UTC
Fixed in 1.1.1-r1, thanks