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

Bug#649094: marked as done (bi-arch path support in dpkg-cross)

Your message dated Sun, 17 Jul 2016 16:00:10 +0000
with message-id <E1bOoUE-0006kC-1f@franck.debian.org>
and subject line Bug#649094: fixed in dpkg-cross 2.6.14
has caused the Debian Bug report #649094,
regarding bi-arch path support in dpkg-cross
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

649094: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=649094
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: xapt
Version: 2.2.17
Severity: normal


  I'm trying to build a debian package of a mipsel cross-compiler.
To do that, I build a binutils for my target, then I install
required cross library with xapt and finally I try to build the cross-compiler
  The last part fails within sid and testing. It took me some times, but I
found the problem. xapt correctly fix paths in lib/libc.so but not
in lib{32,64}/libc.so (ie these files refers to /lib{32,64}/* and
/usr/lib{32,64}/* files instead of /usr/mipsel-linux-gnu/lib{32,64})

  Manually changing these paths allow me to go further in the compilation of
the cross compiler (but not yet to the end :-( )

  You will find in attachment the script I use to build my cross-compiler.


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xapt depends on:
ii  apt                       
ii  dpkg-cross               2.6.5              
ii  dpkg-dev                 1.16.2~50.gbp921bea
ii  libconfig-inifiles-perl  2.68-1             
ii  libdpkg-perl             1.16.2~50.gbp921bea
ii  liblocale-gettext-perl   1.05-7             
ii  perl                     5.12.4-6           

xapt recommends no packages.

xapt suggests no packages.

-- no debconf information
# Here is a script to build and install a cross compiler to be used on Nachos
# Contrary to previous document, this script build a recent cross compiler
# (gcc 4.6 by default) so gcc 2.95 is not used anymore.
# improvement: software is installed as real packages on the system
# inconvenient: only works for Debian (unstable and perhaps
#   testing/wheezy) and it could perhaps work with ubuntu (feedback welcome)
# Note: recent gcc requires the target libc to build the cross-compiler.
# This is why I cannot tell how to build one only from gcc sources
# (as it was done with gcc 2.95)
# I think I put all required commands. Howver, it is probably better
# to copy and paste the command to be able to look at the results
# WARNING: building the cross compiler itself requires lots of time and
# lots of available disk space. It is probably possible to reduce this
# if we build only the C cross compiler (and not C++, ...) but I did not
# look if this can be easily done.

# Do not copy-paste the next line in a interractive shell
# (else your shell will exit as soon as a command does not succeed)
set -ex

mkdir -p tools
cd tools

if test "$(ls binutils-$TARGET_*.deb 2>/dev/null)" ; then
	echo "Skipping building and installing binutils (already there)"
	apt-get source binutils
	sudo apt-get build-dep binutils
	sudo apt-get install fakeroot build-essential binutils-multiarch
	cd binutils-*
	env TARGET=$TARGET dpkg-buildpackage -b -uc -us
	cd ..
	sudo dpkg -i binutils-$TARGET_*.deb

sudo apt-get install dpkg-cross xapt
sudo xapt --mirror http://ftp.fr.debian.org/debian/ \
  --arch mipsel --suite unstable --keep-cache libc6-dev libc6 \
  libc6-dev-mips64 libc6-dev-mipsn32 libc6-mips64 linux-libc-dev libc6-mipsn32

# At least 4.5. Previous does not have a correct cross-compiler build setup

apt-get source gcc-${GCC_V}
sudo apt-get build-dep gcc-${GCC_V}
sudo apt-get install gcc-${GCC_V}-source

cd gcc-${GCC_V}-*
env GCC_TARGET=mipsel debian/rules control
env GCC_TARGET=mipsel dpkg-buildpackage -rfakeroot -us -uc -b

cd ..
sudo dpkg -i gcc-${GCC_V}-mipsel-linux-gnu_*.deb gcc-${GCC_V}-mipsel-linux-gnu-base_*.deb  cpp-${GCC_V}-mipsel-linux-gnu_*.deb  libgcc1-mipsel-cross_*.deb  libgomp1-mipsel-cross_*.deb

# Once the packages are installed, all the tools directory can be removed.

# This version of nachos will automatically detect and use this cross-compiler
# Enjoy.

--- End Message ---
--- Begin Message ---
Source: dpkg-cross
Source-Version: 2.6.14

We believe that the bug you reported is fixed in the latest version of
dpkg-cross, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 649094@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Neil Williams <codehelp@debian.org> (supplier of updated dpkg-cross package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)

Hash: SHA256

Format: 1.8
Date: Tue, 12 Jul 2016 19:09:54 +0100
Source: dpkg-cross
Binary: cross-config dpkg-cross libdebian-dpkgcross-perl
Architecture: source all
Version: 2.6.14
Distribution: unstable
Urgency: medium
Maintainer: Debian Embedded Group <debian-embedded@lists.debian.org>
Changed-By: Neil Williams <codehelp@debian.org>
 cross-config - autotools support for cross-compilation
 dpkg-cross - tools for cross compiling Debian packages
 libdebian-dpkgcross-perl - functions to aid cross-compiling Debian packages
Closes: 649094 741476 771496 771497 772045 773266 776010
 dpkg-cross (2.6.14) unstable; urgency=medium
   * Create cross-config package which will remain after the
     deprecated dpkg-cross and libdebian-dpkgcross-perl binares
     are removed from this package in time for the Stretch release.
   * In light of deprecation of the dpkg-cross binary, drop the
     default_arch support and associated debconf support.
     (Closes: #771496)
 dpkg-cross (2.6.13) experimental; urgency=medium
   * Fix behaviour where DEB_HOST_GNU_TYPE != DEB_HOST_MULTIARCH (e.g. i386)
     (Closes: 773266)
   * Merge Ubuntu dpkg-cross fixes:
     Handle datarootdir specially in .pc files: keep the original prefix
     Assume multiarch if encoutering a /usr/include/$crosstype/ file too.
     This fixes issues with arch-qualified include files being moved
     to doubly-qualified paths.
     Handle lines containing '${exec_prefix}/bin' specially in .pc files;
     these are normally development tools, so should keep the original
     (build arch) prefix.  (For example, orbit_idl in ORBit-2.0.pc.)
 dpkg-cross (2.6.12) experimental; urgency=medium
   * Remove ac_cv_sizeof_off_t as supreceded by AC_SYS_LARGEFILE (Closes: 776010)
   * Support lib{hf,n32,sf,x32}. (Closes: 771497)
   * Ensure multilib ldscripts are fixed up. (Closes: 772045,649094)
   * Update uploaders list (Closes: 741476)
   * Include support for libo32 multilibs
 6c8b2e81a914f2d2441b1bd9500179eb0134f43f 1824 dpkg-cross_2.6.14.dsc
 a0a06de27f3264463d945253389ac6fc90a6a380 75966 dpkg-cross_2.6.14.tar.gz
 96103f78001c0796db3f47253336bd59c572b114 30834 cross-config_2.6.14_all.deb
 7e4fad8254a0995023fe763a06dac0e802708fb7 40456 dpkg-cross_2.6.14_all.deb
 8736b59c4c2f5b0b24035bcd6147f3330537d5df 29716 libdebian-dpkgcross-perl_2.6.14_all.deb
 696654b3ede2af83a86ff82391fc64fa92d6cb6e5381e335bb15619cf1d0c924 1824 dpkg-cross_2.6.14.dsc
 4462857c0a689a81b44258ae386a8efc467edafbbfd2baa5279ecdce47f4d96a 75966 dpkg-cross_2.6.14.tar.gz
 3da7fd39eb72aa3dc200c877bf798d4f82400f3cf84ed40505e71bbd33f006fc 30834 cross-config_2.6.14_all.deb
 032ddecd99f1939d5900b9134020c257ee6b5fe09d3ab8221389f6942c80c428 40456 dpkg-cross_2.6.14_all.deb
 035c50ffe9c5e5b6b8a0dd887eea8d1630067521084692d5a1ec143385acab2c 29716 libdebian-dpkgcross-perl_2.6.14_all.deb
 a88bb5231cde4a61cebc5ccd3d07b252 1824 utils extra dpkg-cross_2.6.14.dsc
 5da420bab771ea830ca286864db3a3e1 75966 utils extra dpkg-cross_2.6.14.tar.gz
 33566acb78733785c999de6d6281b39d 30834 utils extra cross-config_2.6.14_all.deb
 4a591c1fd28a903c7489e4c089613198 40456 utils extra dpkg-cross_2.6.14_all.deb
 8d5b19da6b0f213943648d351d12645d 29716 perl extra libdebian-dpkgcross-perl_2.6.14_all.deb

Version: GnuPG v1


--- End Message ---

Reply to: