[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 Fri, 23 Jan 2015 00:03:20 +0000
with message-id <E1YERia-0007uP-UV@franck.debian.org>
and subject line Bug#649094: fixed in dpkg-cross 2.6.12
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
immediately.)


-- 
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

  Hi,

  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
itself.
  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.

  Regards,
    Vincent


-- 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                      0.8.15.9           
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

TARGET=mipsel-linux-gnu
if test "$(ls binutils-$TARGET_*.deb 2>/dev/null)" ; then
	echo "Skipping building and installing binutils (already there)"
else
	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
fi

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
GCC_V=4.6

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.12

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
attached.

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
pp.
Wookey <wookey@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)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 22 Jan 2015 19:18:29 +0000
Source: dpkg-cross
Binary: dpkg-cross libdebian-dpkgcross-perl
Architecture: source all
Version: 2.6.12
Distribution: experimental
Urgency: medium
Maintainer: Debian Embedded Group <debian-embedded@lists.debian.org>
Changed-By: Wookey <wookey@debian.org>
Description:
 dpkg-cross - tools for cross compiling Debian packages
 libdebian-dpkgcross-perl - functions to aid cross-compiling Debian packages
Closes: 649094 741476 771497 772045 776010
Changes:
 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
Checksums-Sha1:
 1b337ae9a81ccd23adcf8b5caceb50d811e8b9f4 1783 dpkg-cross_2.6.12.dsc
 23518429614c7dc3ebd535cf43e46cebbdae549a 80101 dpkg-cross_2.6.12.tar.gz
 7560dd37b850c00cbf9fa8700620c263790eadb2 53912 dpkg-cross_2.6.12_all.deb
 5cdbd440e676697c09acfaf645731c83d4202850 29050 libdebian-dpkgcross-perl_2.6.12_all.deb
Checksums-Sha256:
 a95137a22076caaaaf0947cc7c8f367b451088a7027e98d07a1c1839682e3545 1783 dpkg-cross_2.6.12.dsc
 5e354da53fb8ab79ff67a4cdded507252f11255ff1e6c326efc4f6a5cc34b58e 80101 dpkg-cross_2.6.12.tar.gz
 34673376eb21ea716d9110789cb4a8f33691de2bed4d5248b9461e4c0624341b 53912 dpkg-cross_2.6.12_all.deb
 0037d43c3953f5b937f0becf020acb6cba0b0d3c51eda299c3728199a19b0b76 29050 libdebian-dpkgcross-perl_2.6.12_all.deb
Files:
 ca264c27ca53766c0ea530c5e389b8d7 1783 utils extra dpkg-cross_2.6.12.dsc
 df748c6b3d26bfe7afb304bb53685adb 80101 utils extra dpkg-cross_2.6.12.tar.gz
 626d545dbc9391fb7da307e133b8ee59 53912 utils extra dpkg-cross_2.6.12_all.deb
 0e15f197f8277d3d358c8400a88de48f 29050 perl extra libdebian-dpkgcross-perl_2.6.12_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJUwY9IAAoJEPuGMlGob55H0jwQALySklC3dA9rUvDglrgJyz9R
aCrp+MpoYqzNLLIG5rjkbwMzDld6GuIoA9uoPOMuRjV+G04vx8JFeBRlb1cCRIpb
nJ6lZI/KFCh3dW+AVCo5+gBNojZPjAzZ9nc92dBNN0qUVHZm65ZJEtreO4FIV6zJ
4AIt1ZllndOFQq7VPluejU9K/rkrYP77dbln1qD4P32QQp3ekp1DagYwQ4DSy3DL
aB6nqjfHJvhkKzIwRbmC4ZoPILEiR28SrfndpWwGT+XGbMzthHpOp3t8L6Us5ZLy
vUjEQo+MovmkqjJ3JRruUWh1lX9GRnHkTvaa/RdeXx292PKEL1V9CP4rvFz2sJKO
6rbo0b88vAQngk89xYEpexVhNw5aIwR44RtHGtBs1Ijx8B3HFY0vWK/OXEPnTQmZ
gE7vOLFaHg8sahCvhr296YzlsIJIOe5W6lEpPOSFbTbREP3MMk2sIUlm/LTQhTc+
kFpgzytXuoqUUJGe6ugBPNNewTkvsaAYhGenwBiXSzURMyYJX+rEl2osMJWZGvNj
q06OrdbU40Dsqq3VzdmvgvoP6tI2AQcMun0Eyo9tqNziarysqB4mw2dUBoWqDiSR
6Rf6//D6n/qV8xBRsn4M8kiDAFakcHvGjJLzx+68rfFgPSPlUQEFi5gOk9YmrOLe
Qpou45oW/m5I/rRd/MwW
=Ml4j
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: