Bug#712047: libc6-dev: cannot build C programs
Package: libc6-dev
Version: 2.13-38
Severity: important
Hello,
I tried building a C program with libc-dev installed.
The program would not build because headers were missing:
libc6-dev-i386: /usr/include/bits
libc6-dev:amd64: /usr/include/x86_64-linux-gnu/bits/predefs.h
linux-libc-dev:amd64: /usr/include/x86_64-linux-gnu/asm/errno.h
gcc-multilib: /usr/include/asm
For the asm/errno.h (referenced from common header) to be present gcc-multilib must be installed.
Similarily for bits/predefs.h to be present libc6-dev-i386 must be installed.
The libc6-dev package is incomplete and cannot stand on its own.
Dependency on gcc-multilib is bogus. It requires specific version of gcc installed.
Also, libc6-dev does not depend on these packages.
Please make a libc package against which C programs do compile.
Thanks
Michal
-- System Information:
Debian Release: 7.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.8-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages libc6-dev depends on:
ii libc-dev-bin 2.13-38
ii libc6 2.13-38
ii linux-libc-dev 3.2.41-2
Versions of packages libc6-dev recommends:
ii gcc [c-compiler] 4:4.7.2-1
ii gcc-4.4 [c-compiler] 4.4.7-2
ii gcc-4.7 [c-compiler] 4.7.2-5
Versions of packages libc6-dev suggests:
pn glibc-doc <none>
pn manpages-dev <none>
-- no debconf information
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (910, 'testing'), (900, 'stable'), (610, 'oldstable'), (410, 'unstable'), (200, 'experimental'), (150, 'precise-updates'), (150, 'precise-security'), (150, 'precise')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.8-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libc6-dev depends on:
ii libc-dev-bin 2.17-3
ii libc6 2.17-3
ii linux-libc-dev 3.8.13-1
Versions of packages libc6-dev recommends:
ii bcc [c-compiler] 0.16.17-3.1
ii gcc [c-compiler] 4:4.7.2-1
ii gcc-4.6 [c-compiler] 4.6.3-15
ii gcc-4.7 [c-compiler] 4.7.2-5
Versions of packages libc6-dev suggests:
pn glibc-doc <none>
ii manpages-dev 3.44-1
-- no debconf information
Reply to: