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

Bug#818872: marked as done (gcc-5-cross-ports: FTBFS when built with dpkg-buildpackage -A (No such file or directory))



Your message dated Wed, 25 May 2016 14:52:31 +0200
with message-id <5745A00F.2050408@debian.org>
and subject line fixed
has caused the Debian Bug report #818872,
regarding gcc-5-cross-ports: FTBFS when built with dpkg-buildpackage -A (No such file or directory)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
818872: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=818872
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:gcc-5-cross-ports
Version: 7
User: sanvila@debian.org
Usertags: binary-indep
Severity: important

Dear maintainer:

I tried to build this package with "dpkg-buildpackage -A"
(i.e. only architecture-independent packages), and it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
gcc: 5.3.1-11 / 5.3.1-8cross1

old gcc version: 5.3.1-8 / 1

new gcc version: 5.3.1-11cross1
START stamp-dir/init-gcc
mkdir -p gcc
set -ex; \
cd gcc ; \
ln -sf /usr/src/gcc-5/gcc-5.3.1.tar.xz gcc-5.3.1.tar.xz ;\
cp -a  /usr/src/gcc-5/debian/ . ; \

[... snipped ...]

    if [ -f debian/$b$t.$ext ]; then \
      cp -pf debian/$b$t.$ext debian/$b$v$t.$ext; \
    fi; \
  done; \
done
DEB_HOST_ARCH=ppc64 dh_makeshlibs -plibgnat-5-ppc64-cross -V 'libgnat-5-ppc64-cross (>= 5.3.1-11)'
if [ -f debian/libgnat-5-ppc64-cross/DEBIAN/shlibs ]; then sed -i s/-ppc64-cross/:ppc64/g debian/libgnat-5-ppc64-cross/DEBIAN/shlibs; fi
dh_strip -plibgnat-5-ppc64-cross --dbg-package=libgnat-5-dbg-ppc64-cross
DEB_HOST_ARCH=ppc64 ARCH=ppc64 MAKEFLAGS="CC=something" dh_shlibdeps -plibgnat-5-ppc64-cross \
	-l/<<PKGBUILDDIR>>/gcc/debian/libgcc1-ppc64-cross/usr/powerpc64-linux-gnu/lib:/lib/powerpc64-linux-gnu:/usr/lib/powerpc64-linux-gnu:/powerpc64-linux-gnu/lib:/usr/powerpc64-linux-gnu/lib
dpkg-shlibdeps: warning: symbol __gl_main_priority used by debian/libgnat-5-ppc64-cross/usr/powerpc64-linux-gnu/lib/libgnarl-5.so.1 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ada_system__address_image used by debian/libgnat-5-ppc64-cross/usr/powerpc64-linux-gnu/lib/libgnarl-5.so.1 found in none of the libraries
dpkg-shlibdeps: warning: symbol ada__calendar__delays__to_duration used by debian/libgnat-5-ppc64-cross/usr/powerpc64-linux-gnu/lib/libgnarl-5.so.1 found in none of the libraries
dpkg-shlibdeps: warning: symbol system__stream_attributes__w_as used by debian/libgnat-5-ppc64-cross/usr/powerpc64-linux-gnu/lib/libgnarl-5.so.1 found in none of the libraries
dpkg-shlibdeps: warning: symbol system__arith_64__subtract_with_ovflo_check used by debian/libgnat-5-ppc64-cross/usr/powerpc64-linux-gnu/lib/libgnarl-5.so.1 found in none of the libraries
dpkg-shlibdeps: warning: symbol system__stack_usage__initialize_analyzer used by debian/libgnat-5-ppc64-cross/usr/powerpc64-linux-gnu/lib/libgnarl-5.so.1 found in none of the libraries
dpkg-shlibdeps: warning: symbol __gnat_reraise used by debian/libgnat-5-ppc64-cross/usr/powerpc64-linux-gnu/lib/libgnarl-5.so.1 found in none of the libraries
dpkg-shlibdeps: warning: symbol system__stream_attributes__i_as used by debian/libgnat-5-ppc64-cross/usr/powerpc64-linux-gnu/lib/libgnarl-5.so.1 found in none of the libraries
dpkg-shlibdeps: warning: symbol __gnat_raise_exception used by debian/libgnat-5-ppc64-cross/usr/powerpc64-linux-gnu/lib/libgnarl-5.so.1 found in none of the libraries
dpkg-shlibdeps: warning: symbol system__finalization_root__adjust used by debian/libgnat-5-ppc64-cross/usr/powerpc64-linux-gnu/lib/libgnarl-5.so.1 found in none of the libraries
dpkg-shlibdeps: warning: 136 other similar warnings have been skipped (use -v to see them all)
if [ -f debian/libgnat-5-ppc64-cross.substvars ]; then sed -i -e 's/:ppc64/-ppc64-cross/g' -e 's/\(libc[.0-9]*-[^:]*\):\([a-z0-9-]*\)/\1-\2-cross/g'   debian/libgnat-5-ppc64-cross.substvars; fi
: # libgnat-5-dbg-ppc64-cross
debian/dh_doclink -plibgnat-5-dbg-ppc64-cross gcc-5-cross-base-ports
WARNING: removing doc directory  libgnat-5-dbg-ppc64-cross
echo libgnat-5-ppc64-cross libgnat-5-dbg-ppc64-cross >> debian/indep_binaries
trap '' 1 2 3 15; touch stamps/08-binary-stamp-libgnat; mv stamps/07-install-stamp-tmp stamps/07-install-stamp
: # libgnatvsn5-dev-ppc64-cross
mkdir -p debian/libgnatvsn5-dev-ppc64-cross/usr/lib/gcc-cross/powerpc64-linux-gnu/5/{adalib,adainclude}/gnatvsn
mv debian/tmp/usr/lib/ada/adalib/gnatvsn debian/libgnatvsn5-dev-ppc64-cross/usr/lib/gcc-cross/powerpc64-linux-gnu/5/adalib/.
mv: cannot stat 'debian/tmp/usr/lib/ada/adalib/gnatvsn': No such file or directory
debian/rules.d/binary-ada.mk:145: recipe for target 'stamps/08-binary-stamp-libgnatvsn' failed
make[2]: *** [stamps/08-binary-stamp-libgnatvsn] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/gcc'
debian/rules:70: recipe for target 'binary' failed
make[1]: *** [binary] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/gcc'
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
debian/rules:228: recipe for target 'stamp-dir/build-gcc.ppc64' failed
make: *** [stamp-dir/build-gcc.ppc64] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

Sorry not to have a fix, as I am reporting many bugs similar to
this one. The common hints are:

* If the only architecture-independent packages are dummy transitional
ones and they were released with jessie, the easy fix is to drop them
now.

* When using "dh", it is allowed to use (independently)
optional targets override_dh_foo-arch and override_dh_foo-indep
(for several values of "foo").


Once that both "dpkg-buildpackage -A" and "dpkg-buildpackage -B" work
properly, the package would be suitable to be uploaded in source-only
form if you wish.

Thanks.

--- End Message ---
--- Begin Message ---
Version: 9

--- End Message ---

Reply to: