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

Bug#110639: marked as done (dpkg-cross: sets CC wrongly)



Your message dated Sat, 7 Jul 2007 22:18:06 +0100
with message-id <20070707221806.1e0c61db.codehelp@debian.org>
and subject line Results of dpkg-cross bug triage
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: dpkg-cross
Version: 1.13
Severity: important

hi

I am starting a new port , called 'win'; I have patched
dpkg's tools accurately, and now I see

 --
$ dpkg-architecture -awin
dpkg-architecture: warning: Specified GNU system type i386-cygwin does not match gcc system type i386-linux.
DEB_BUILD_ARCH=i386
DEB_BUILD_GNU_CPU=i386
DEB_BUILD_GNU_SYSTEM=linux
DEB_BUILD_GNU_TYPE=i386-linux
DEB_HOST_ARCH=win
DEB_HOST_GNU_CPU=i386
DEB_HOST_GNU_SYSTEM=cygwin
DEB_HOST_GNU_TYPE=i386-cygwin
 --

dpkg-cross diverts dpkg-buildpackage

when I try to cross-build a package (let's say, dpkg itself)
if I type 
$ dpkg-buildpackage.orig -awin -rfakeroot  -b -nc
then CC is set to i386-cygwin-gcc

the diverted dpkg-buildpackage doesnt work ok, though;
$ dpkg-buildpackage -awin -rfakeroot  -b -nc
sets CC  to win-linux-gcc

dpkg-cross's version of dpkg-buildpackage should use dpkg-architecture to
know which version of gcc to set


a.

-- System Information
Debian Release: testing/unstable
Kernel Version: Linux etabeta 2.4.8-k6 #1 Sun Aug 12 12:19:03 EST 2001 i586 unknown

Versions of the packages dpkg-cross depends on:
ii  dpkg-dev       1.9.16-0       Package building tools for Debian
ii  perl           5.6.1-5        Larry Wall's Practical Extraction and Report
ii  perl           5.6.1-5        Larry Wall's Practical Extraction and Report
	^^^ (Provides virtual package perl5)

--- Begin /etc/dpkg/cross-config.common (modified conffile)
ac_arch_site_file="`dirname $ac_site_file`/cross-config.$ARCH"
if test -r "$ac_arch_site_file"; then
    echo "loading arch site script $ac_arch_site_file"
	. $ac_arch_site_file
fi
case $ARCH in
	i?86) host=$ARCH-pc-unknown-linux-gnu ;;
	i386-cygwin)  host=i386-pc-cygwin ;;
	*)    host=$ARCH-unknown-linux-gnu ;;
esac
echo host = $host

--- End /etc/dpkg/cross-config.common


--- End Message ---
--- Begin Message ---
Package: dpkg-cross
Version: 1.38

I agree with the reply to this report - with no feedback from
the submitter it would appear that dpkg-cross did the right thing and
this bug report should be closed.

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgpRhYb43SjbB.pgp
Description: PGP signature


--- End Message ---

Reply to: