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

Bug#149595: apt: Broken build-dependencies mechanism (libc6)



Package: apt
Version: 0.5.4
Severity: normal

When I try to build libc6 from source, the following happens:

laura:/tmp# apt-get build-dep libc6
Reading Package Lists... Done
Building Dependency Tree... Done
0 packages upgraded, 0 newly installed, 0 to remove and 0  not
upgraded.
laura:/tmp# apt-get -b source libc6
Reading Package Lists... Done
Building Dependency Tree... Done
Need to get 11.8MB of source archives.
Get:1 http://www.mirror.ac.uk testing/main glibc 2.2.5-6 (dsc)
[1202B]
Get:2 http://www.mirror.ac.uk testing/main glibc 2.2.5-6 (tar)
[11.4MB]
Get:3 http://www.mirror.ac.uk testing/main glibc 2.2.5-6 (diff)
[384kB]
Fetched 3B in 1s (2B/s)
Skipping unpack of already unpacked source in glibc-2.2.5
dpkg-buildpackage: source package is glibc
dpkg-buildpackage: source version is 2.2.5-6
dpkg-buildpackage: source maintainer is Ben Collins
<bcollins@debian.org>
dpkg-buildpackage: host architecture is i386
dpkg-checkbuilddeps: Unmet build dependencies:
kernel-headers-2.4
dpkg-buildpackage: Build dependencies/conflicts unsatisfied;
aborting.
dpkg-buildpackage: (Use -d flag to override.)
Build command 'cd glibc-2.2.5 && dpkg-buildpackage -b -uc'
failed.
E: Child process failed

In other words, apt fails to install kernel-headers 2.4 even
though it is needed for the subsequent build. Initially I
thought this might be a libc6 bug rather than apt, and filed it
as such, but got the following back from the libc6 maintainer:

-
It must be something in apt. Obviously, dpkg gets it's list of
build-deps from the source package libc6, which means I have
listed them correctly. If apt doesn't install them, that's a
bug in apt. The main thing here is that kernel-headers-2.4 is a
virtual package which is generally satisfied by a
kernel-headers-2.4.x package. Maybe dpkg is just broken.
-

Not sure then if this is an apt bug or a dpkg one; either way,
I hope you can track it down or reassign it if appropriate. If
I can help in any way with extra debug info., let me know.
Wasn't sure how to proceed.

Regards
Andrew

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux laura 2.4.18 #2 Wed May 29 19:17:31 BST 2002 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages apt depends on:
ii  libc6                         2.2.5-6    GNU C Library: Shared libraries an
ii  libstdc++2.10-glibc2.2        1:2.95.4-7 The GNU stdc++ library



-- 
To UNSUBSCRIBE, email to deity-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: