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

Re: Why builds linux-kernel-di for multiple architectures?



Joey Hess wrote:
> Thiemo Seufer wrote:
> > dpkg-buildpackage ran gen-control, made a huge control file with packages
> > of all architectures mentioned in it.
> 
> Yes, the control file must mention all binaries or the archive
> maintenance scripts will get confused. 
> 
> > It eventually tried to build a i386 package on my mips machine (and
> > failed of course, because there is no i386 kernel installed).
> 
> I have never seen anything like this happen. debian/rules uses the -s
> flag to debhelper to make it only build packages in the same
> architecture as the host system. Show me a build log..

It failed again, after I uncommented the mips/mipsel entries in
kernel-versions.


Thiemo


dpkg-buildpackage: source package is linux-kernel-di
dpkg-buildpackage: source version is 0.18
dpkg-buildpackage: source maintainer is Joey Hess <joeyh@debian.org>
 fakeroot debian/rules clean
./make-links
./gen-control > debian/control
dh_testdir
dh_clean `find modules -type l`
 dpkg-source -ICVS -I.svn -b linux-kernel-di
dpkg-source: warning: missing information for output field Standards-Version
dpkg-source: warning: source directory `./linux-kernel-di' is not <sourcepackage>-<upstreamversion> `linux-kernel-di-0.18'
dpkg-source: building linux-kernel-di in linux-kernel-di_0.18.tar.gz
dpkg-source: building linux-kernel-di in linux-kernel-di_0.18.dsc
 dpkg-genchanges -S
dpkg-genchanges: including full source code in upload
 fakeroot debian/rules clean
dh_testdir
dh_clean `find modules -type l`
dpkg-buildpackage: source only upload: Debian-native package
** Warning: no SOURCEDIR for arch i386
dpkg-buildpackage: source package is linux-kernel-di
dpkg-buildpackage: source version is 0.18
dpkg-buildpackage: source maintainer is Joey Hess <joeyh@debian.org>
dpkg-buildpackage: host architecture is i386
 fakeroot debian/rules clean
make: Entering directory `/home/ica2_ts/devel/debian-installer/kernel/linux-kernel-di'
dh_testdir
dh_clean `find modules -type l`
make: Leaving directory `/home/ica2_ts/devel/debian-installer/kernel/linux-kernel-di'
 debian/rules build
make: Entering directory `/home/ica2_ts/devel/debian-installer/kernel/linux-kernel-di'
./make-links
dh_testdir
make: Leaving directory `/home/ica2_ts/devel/debian-installer/kernel/linux-kernel-di'
 fakeroot debian/rules binary
make: Entering directory `/home/ica2_ts/devel/debian-installer/kernel/linux-kernel-di'
./make-links
dh_testdir
dh_testdir
dh_clean -k
./install-files
        install -D -m 644 /boot/vmlinuz-2.4.22-1-386 debian/kernel-image-2.4.22-1-386-di/boot/vmlinuz
install: cannot stat `/boot/vmlinuz-2.4.22-1-386': No such file or directory
command exited with status 1
make: *** [binary-arch] Error 9
make: Leaving directory `/home/ica2_ts/devel/debian-installer/kernel/linux-kernel-di'



Reply to: