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

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



Your message dated Wed, 25 May 2016 14:51:15 +0200
with message-id <57459FC3.4030909@debian.org>
and subject line fixed
has caused the Debian Bug report #818873,
regarding gcc-5-cross: 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.)


-- 
818873: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=818873
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:gcc-5-cross
Version: 20
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=mips dh_makeshlibs -plibgnat-5-mips-cross -V 'libgnat-5-mips-cross (>= 5.3.1-11)'
if [ -f debian/libgnat-5-mips-cross/DEBIAN/shlibs ]; then sed -i s/-mips-cross/:mips/g debian/libgnat-5-mips-cross/DEBIAN/shlibs; fi
dh_strip -plibgnat-5-mips-cross --dbg-package=libgnat-5-dbg-mips-cross
DEB_HOST_ARCH=mips ARCH=mips MAKEFLAGS="CC=something" dh_shlibdeps -plibgnat-5-mips-cross \
	-l/<<PKGBUILDDIR>>/gcc/debian/libgcc1-mips-cross/usr/mips-linux-gnu/lib:/lib/mips-linux-gnu:/usr/lib/mips-linux-gnu:/mips-linux-gnu/lib:/usr/mips-linux-gnu/lib
dpkg-shlibdeps: warning: symbol system__secondary_stack__ss_mark used by debian/libgnat-5-mips-cross/usr/mips-linux-gnu/lib/libgnarl-5.so.1 found in none of the libraries
dpkg-shlibdeps: warning: symbol __gl_unreserve_all_interrupts used by debian/libgnat-5-mips-cross/usr/mips-linux-gnu/lib/libgnarl-5.so.1 found in none of the libraries
dpkg-shlibdeps: warning: symbol system__soft_links__unlock_task used by debian/libgnat-5-mips-cross/usr/mips-linux-gnu/lib/libgnarl-5.so.1 found in none of the libraries
dpkg-shlibdeps: warning: symbol system__restrictions__run_time_restrictions used by debian/libgnat-5-mips-cross/usr/mips-linux-gnu/lib/libgnarl-5.so.1 found in none of the libraries
dpkg-shlibdeps: warning: symbol __gnat_end_handler used by debian/libgnat-5-mips-cross/usr/mips-linux-gnu/lib/libgnarl-5.so.1 found in none of the libraries
dpkg-shlibdeps: warning: symbol __gnat_rcheck_SE_Explicit_Raise used by debian/libgnat-5-mips-cross/usr/mips-linux-gnu/lib/libgnarl-5.so.1 found in none of the libraries
dpkg-shlibdeps: warning: symbol system__soft_links__current_master used by debian/libgnat-5-mips-cross/usr/mips-linux-gnu/lib/libgnarl-5.so.1 found in none of the libraries
dpkg-shlibdeps: warning: symbol system__soft_links__get_current_excep used by debian/libgnat-5-mips-cross/usr/mips-linux-gnu/lib/libgnarl-5.so.1 found in none of the libraries
dpkg-shlibdeps: warning: symbol __gl_main_priority used by debian/libgnat-5-mips-cross/usr/mips-linux-gnu/lib/libgnarl-5.so.1 found in none of the libraries
dpkg-shlibdeps: warning: symbol ada__finalization__controlledIP used by debian/libgnat-5-mips-cross/usr/mips-linux-gnu/lib/libgnarl-5.so.1 found in none of the libraries
dpkg-shlibdeps: warning: 135 other similar warnings have been skipped (use -v to see them all)
if [ -f debian/libgnat-5-mips-cross.substvars ]; then sed -i -e 's/:mips/-mips-cross/g' -e 's/\(libc[.0-9]*-[^:]*\):\([a-z0-9-]*\)/\1-\2-cross/g'   debian/libgnat-5-mips-cross.substvars; fi
: # libgnat-5-dbg-mips-cross
debian/dh_doclink -plibgnat-5-dbg-mips-cross gcc-5-cross-base
WARNING: removing doc directory  libgnat-5-dbg-mips-cross
echo libgnat-5-mips-cross libgnat-5-dbg-mips-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-mips-cross
mkdir -p debian/libgnatvsn5-dev-mips-cross/usr/lib/gcc-cross/mips-linux-gnu/5/{adalib,adainclude}/gnatvsn
mv debian/tmp/usr/lib/ada/adalib/gnatvsn debian/libgnatvsn5-dev-mips-cross/usr/lib/gcc-cross/mips-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.mips' failed
make: *** [stamp-dir/build-gcc.mips] 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: 23

--- End Message ---

Reply to: