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

Bug#712047: marked as done (libc6-dev: cannot build C programs)



Your message dated Thu, 27 Jun 2013 01:37:07 +0200
with message-id <20130626233707.GB13072@hall.aurel32.net>
and subject line Re: Bug#712047: libc6-dev: cannot build C programs
has caused the Debian Bug report #712047,
regarding libc6-dev: cannot build C programs
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.)


-- 
712047: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712047
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
On Thu, Jun 13, 2013 at 11:50:40AM +0200, Michal Suchanek wrote:
> Excerpts from Aurelien Jarno's message of Wed Jun 12 18:17:13 +0200 2013:
> > tag 712047 + moreinfo
> > thanks
> > 
> > On Wed, Jun 12, 2013 at 04:30:08PM +0200, Michal Suchanek wrote:
> > > 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
> > 
> > You don't need this one, your compiler should look into
> > /usr/include/x86_64-linux-gnu/bits.
> > 
> > > libc6-dev:amd64: /usr/include/x86_64-linux-gnu/bits/predefs.h
> > 
> > This is libc6-dev the package you are reporting the bug against,
> > so it can't be missing.
> 
> No, it's just wrong place.
> 
> > 
> > > linux-libc-dev:amd64: /usr/include/x86_64-linux-gnu/asm/errno.h
> > 
> > libc6-dev already depends on this one.
> > 
> > > gcc-multilib: /usr/include/asm
> > 
> > You don't need this one, your compiler should already lokk into 
> > /usr/include/x86_64-linux-gnu/asm.
> 
> It does not.
> 
> > > 
> > > 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.
> > 
> > This is what libc6-dev is for. Please provide examples which do not
> > work.
> > 
> 
> I found the setting that shows compile commands and the makefile uses
> -m32 compiler flag. That clearly requires the 32bit headers and the
> extra symlink provided by the 32bit headers is probably just a red herring.
> 
> Sorry about the noise.
> 

Ok, closing the bug.


-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net

--- End Message ---

Reply to: