Package: gcc-5
Version: 5.4.1-2
Severity: normal
--- Please enter the report below this line. ---
Trying to backport gcc-5 package on stretch fails:
make[5]: Leaving directory '/build/gcc-5-5.4.1/build/x86_64-linux-gnu/libjava'
make[4]: Leaving directory '/build/gcc-5-5.4.1/build/x86_64-linux-gnu/libjava'
make[3]: Leaving directory '/build/gcc-5-5.4.1/build'
make[2]: Leaving directory '/build/gcc-5-5.4.1/build'
for i in debug go pkgconfig '*.so' '*.so.*' '*.a' '*.la' '*.o' '*.py' '*.spec'; do \
mv debian/tmp/usr/lib/$i \
debian/tmp/usr/lib/x86_64-linux-gnu/. || true; \
done
mv: cannot stat 'debian/tmp/usr/lib/pkgconfig': No such file or directory
mv: cannot stat 'debian/tmp/usr/lib/*.py': No such file or directory
: # FIXME: the libstdc++ gdb.py file is installed with a wrong name
for i in $(find debian/tmp/usr -name libstdc++_pic.a-gdb.py); do \
[ -f $i ] || continue; \
d=$(dirname $i); \
b=$(basename $i); \
t=$(cd $d; echo libstdc++.so.*.*.*)-gdb.py; \
mv $i $d/$t; \
done
It seems that path for pkgconfig and *.py are wrong.
find debian -name pkgconfig
debian/tmp/usr/lib/x86_64-linux-gnu/pkgconfig
find debian -name \*.py
debian/tmp/usr/lib32/libstdc++.so.6.0.21-gdb.py
debian/tmp/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21-gdb.py
debian/tmp/usr/libx32/libstdc++.so.6.0.21-gdb.py
Note that the same problem also appears when trying to backport gcc-6 6.2 on testing
Best
C
--- System information. ---
Architecture: amd64
Kernel: Linux 4.6.0-1-amd64
Debian Release: stretch/sid
901 testing euler
500 stretch neurodebian.g-node.org
500 data neurodebian.g-node.org
--- Package information. ---
Depends (Version) | Installed
==============================-+-==============
cpp-5 (= 5.4.1-1) | 5.4.1-1
gcc-5-base (= 5.4.1-1) |
libcc1-0 (>= 5.4.1-1) |
binutils (>= 2.26.1) |
libgcc-5-dev (= 5.4.1-1) |
libc6 (>= 2.14) |
libgcc1 (>= 1:3.0) |
libgmp10 (>= 2:5.0.1~) |
libisl15 (>= 0.15) |
libmpc3 |
libmpfr4 (>= 3.1.3) |
libstdc++6 (>= 4.1.1) |
zlib1g (>= 1:1.1.4) |
Recommends (Version) | Installed
==========================-+-============
libc6-dev (>= 2.13-5) | 2.23-5
Suggests (Version) | Installed
===================================-+-===============
gcc-5-multilib | 5.4.1-1
gcc-5-doc (>= 5.4.0-6) |
gcc-5-locales (>= 5.4.0-6) | 5.4.1-1
libgcc1-dbg (>= 1:5.4.1-1) | 1:6.1.1-11
libgomp1-dbg (>= 5.4.1-1) | 6.1.1-11
libitm1-dbg (>= 5.4.1-1) | 6.1.1-11
libatomic1-dbg (>= 5.4.1-1) | 6.1.1-11
libasan2-dbg (>= 5.4.1-1) | 5.4.1-1
liblsan0-dbg (>= 5.4.1-1) | 6.1.1-11
libtsan0-dbg (>= 5.4.1-1) | 6.1.1-11
libubsan0-dbg (>= 5.4.1-1) | 6.1.1-11
libcilkrts5-dbg (>= 5.4.1-1) | 6.1.1-11
libmpx0-dbg (>= 5.4.1-1) | 5.4.1-1
libquadmath0-dbg (>= 5.4.1-1) | 6.1.1-11