[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

cross-building gcc stage3 fails due to wrongly placed libvtv



Hi,

I am trying to cross build gcc-4.9 for x32 on amd64 and run into this
error:

mv debian/tmp/usr/lib/x86_64-linux-gnux32/libvtv*.a debian/libgcc-4.9-dev/usr/lib/gcc/x86_64-linux-gnux32/4.9/
mv: cannot stat 'debian/tmp/usr/lib/x86_64-linux-gnux32/libvtv*.a': No such file or directory

This is due to vtv being placed in the wrong directory:

make[7]: Entering directory `/tmp/buildd/gcc3/gcc-4.9-4.9-20140411/build/x86_64-linux-gnux32/libvtv'
true  DO=install multi-do # /usr/bin/make
test -z "/usr/x86_64-linux-gnux32/lib/../lib" || /bin/mkdir -p "/tmp/buildd/gcc3/gcc-4.9-4.9-20140411/debian/tmp/usr/x86_64-linux-gnux32/lib/../lib"
 /bin/bash ./libtool   --mode=install /usr/bin/install -c   libvtv.la '/tmp/buildd/gcc3/gcc-4.9-4.9-20140411/debian/tmp/usr/x86_64-linux-gnux32/lib/../lib'
libtool: install: /usr/bin/install -c .libs/libvtv.so.0.0.0 /tmp/buildd/gcc3/gcc-4.9-4.9-20140411/debian/tmp/usr/x86_64-linux-gnux32/lib/../lib/libvtv.so.0.0.0
libtool: install: (cd /tmp/buildd/gcc3/gcc-4.9-4.9-20140411/debian/tmp/usr/x86_64-linux-gnux32/lib/../lib && { ln -s -f libvtv.so.0.0.0 libvtv.so.0 || { rm -f libvtv.so.0 && ln -s libvtv.so.0.0.0 libvtv.so.0; }; })
libtool: install: (cd /tmp/buildd/gcc3/gcc-4.9-4.9-20140411/debian/tmp/usr/x86_64-linux-gnux32/lib/../lib && { ln -s -f libvtv.so.0.0.0 libvtv.so || { rm -f libvtv.so && ln -s libvtv.so.0.0.0 libvtv.so; }; })
libtool: install: /usr/bin/install -c .libs/libvtv.lai /tmp/buildd/gcc3/gcc-4.9-4.9-20140411/debian/tmp/usr/x86_64-linux-gnux32/lib/../lib/libvtv.la
libtool: install: /usr/bin/install -c .libs/libvtv.a /tmp/buildd/gcc3/gcc-4.9-4.9-20140411/debian/tmp/usr/x86_64-linux-gnux32/lib/../lib/libvtv.a
libtool: install: chmod 644 /tmp/buildd/gcc3/gcc-4.9-4.9-20140411/debian/tmp/usr/x86_64-linux-gnux32/lib/../lib/libvtv.a
libtool: install: /usr/x86_64-linux-gnux32/bin/ranlib /tmp/buildd/gcc3/gcc-4.9-4.9-20140411/debian/tmp/usr/x86_64-linux-gnux32/lib/../lib/libvtv.a
libtool: install: warning: remember to run `libtool --finish /usr/x86_64-linux-gnux32/lib/../lib'

More context can be found at

https://jenkins.debian.net/view/rebootstrap/job/rebootstrap_x32_gcc49/lastFailedBuild/console

Is a fix to this issue already known?

Please CC me in replies.

Thanks in advance

Helmut


Reply to: