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

Bug#912600: marked as done (glibc-source: spin-lock.h not found when building)



Your message dated Sun, 30 Dec 2018 16:09:07 +0100
with message-id <20181230150907.GA13962@aurel32.net>
and subject line Re: Bug#912600: glibc-source: spin-lock.h not found when building
has caused the Debian Bug report #912600,
regarding glibc-source: spin-lock.h not found when building
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.)


-- 
912600: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912600
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: glibc-source
Version: 2.24-11+deb9u3
Severity: serious
Justification: fails to build from source (but built successfully in the past)



-- System Information:
Debian Release: 9.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-8-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

glibc-source depends on no packages.

Versions of packages glibc-source recommends:
ii  xz-utils  5.2.2-1.2+b1

glibc-source suggests no packages.

-- no debconf information

I've followed the instructions in the INSTALL file, at the step when I run make in the build directory, I got this problem:

In file included from libpthread/include/pthread/pthreadtypes.h:95:0,
                 from libpthread/sysdeps/pthread/bits/pthreadtypes.h:27,
                 from ./posix/sys/types.h:270,
                 from include/sys/types.h:1,
                 from misc/sys/uio.h:23,
                 from <stdin>:3:
libpthread/sysdeps/pthread/bits/condition.h:23:28: fatal error: bits/spin-lock.h: No such file or directory
 #include <bits/spin-lock.h>

--- End Message ---
--- Begin Message ---
Hi,

On 2018-11-01 19:46, Max wrote:
> Package: glibc-source
> Version: 2.24-11+deb9u3
> Severity: serious
> Justification: fails to build from source (but built successfully in the past)

Note that the way you have followed is not the way to rebuild a package
in debian. glibc-source is used to provide the glibc sources for the
cross-toolchain packages. If you just want to rebuild the package, you
should get the source with:

- apt-get source glibc
- cd glibc-2.24
- dpkg-buildpackage or debuild

Therefore this justification doesn't apply and the package still builds
fine from source.

> I've followed the instructions in the INSTALL file, at the step when I run make in the build directory, I got this problem:

This file is the upstream way to build the glibc from sources.

> In file included from libpthread/include/pthread/pthreadtypes.h:95:0,
>                  from libpthread/sysdeps/pthread/bits/pthreadtypes.h:27,
>                  from ./posix/sys/types.h:270,
>                  from include/sys/types.h:1,
>                  from misc/sys/uio.h:23,
>                  from <stdin>:3:
> libpthread/sysdeps/pthread/bits/condition.h:23:28: fatal error: bits/spin-lock.h: No such file or directory
>  #include <bits/spin-lock.h>

You have forgotten to pass the list of addons to the configure script,
try to add --enable-add-ons=libidn. You will also need to pass
--enable-obsolete-nsl for the build to succeed.

With these explanations, I guess the bug can be closed.

Regards,
Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net

--- End Message ---

Reply to: