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

Bug#686436: marked as done (linux-libc-dev: squeeze upgrade issue: linux-libc-dev introduces multiarch headers before compiler upgrade)



Your message dated Tue, 06 Dec 2022 16:59:36 -0800
with message-id <871qpc9gg7.fsf@hope.eyrie.org>
and subject line Re: Bug#686436: openafs-modules-dkms: Does not build with squeeze kernel: error: asm/errno.h: No such file or directory
has caused the Debian Bug report #686436,
regarding linux-libc-dev: squeeze upgrade issue: linux-libc-dev introduces multiarch headers before compiler upgrade
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.)


-- 
686436: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=686436
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: openafs-modules-dkms
Version: 1.6.1-2
Severity: important

During an upgrade from squeeze to wheezy, I saw this:

                                      Setting up openafs-modules-dkms (1.6.1-2) ...
Removing old openafs-1.6.1 DKMS files...

------------------------------
Deleting module version: 1.6.1
completely from the DKMS tree.
------------------------------
Done.
Loading new openafs-1.6.1 DKMS files...
Building only for 2.6.32-5-686
Building initial module for 2.6.32-5-686
Error! Bad return status for module build on kernel: 2.6.32-5-686 (i686)
Consult /var/lib/dkms/openafs/1.6.1/build/make.log for more information.
dpkg: error processing openafs-modules-dkms (--configure):
 subprocess installed post-installation script returned error exit status 10
configured to not write apport reports
                                      Errors were encountered while processing:
 stow
 openafs-modules-dkms

$ tail /var/lib/dkms/openafs/1.6.1/build/make.log
rm -f AFS_component_version_number.c.NEW
make[2]: Leaving directory `/var/lib/dkms/openafs/1.6.1/build/src/config'
gcc  -O2 -I/var/lib/dkms/openafs/1.6.1/build/include -D_LARGEFILE64_SOURCE  -I. -c ./config.c
In file included from /usr/include/bits/errno.h:25,
                 from /usr/include/errno.h:36,
                 from ./config.c:16:
/usr/include/linux/errno.h:4:23: error: asm/errno.h: No such file or directory
make[1]: *** [config.o] Error 1
make[1]: Leaving directory `/var/lib/dkms/openafs/1.6.1/build/src/config'
make: *** [all] Error 2

-- System Information:
Debian Release: 6.0.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages openafs-modules-dkms depends on:
ii  dkms                   2.2.0.3-1.1       Dynamic Kernel Module Support Fram
ii  libc6-dev              2.11.3-3          Embedded GNU C Library: Developmen
ii  perl                   5.10.1-17squeeze3 Larry Wall's Practical Extraction 

Versions of packages openafs-modules-dkms recommends:
ii  openafs-client           1.4.12.1+dfsg-4 AFS distributed filesystem client 

openafs-modules-dkms suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Diederik de Haas <didi.debian@cknow.org> writes:
> On Mon, 03 Sep 2012 14:24:47 -0700 Russ Allbery <rra@debian.org> wrote:
>> Ben Hutchings <ben@decadent.org.uk> writes:
>> > On Mon, Sep 03, 2012 at 12:21:06PM -0700, Russ Allbery wrote:

>>> [...]
>>>> linux-libc-dev maintainers, when upgrading to squeeze, there is
>>>> currently nothing preventing linux-libc-dev from being upgraded to a
>>>> version that uses multiarch paths in advance of upgrading any compiler
>>>> to understand those paths, which results in a broken C compilation
>>>> environment.  In this case, this affected dkms, since dkms runs a
>>>> compiler from postinst scripts.
>> 
>>> linux-libc-dev is of course not used to build kernel modules.  But
>>> perhaps openafs also needlessly rebuilds userland code every time the
>>> kernel is upgraded.

>> The OpenAFS build system is rather complicated since it supports a ton of
>> different kernels, not just Linux.  Part of it involves building a small C
>> program which, in turn, is used to generate part of the build system.
>> ...
>> Anyway, I think the DKMS involvement is somewhat accidental and one can
>> arrive at other problems than just DKMS postinst scripts by doing a
>> partial upgrade.  The OpenAFS package just has a peculiarity that caused
>> us to stumble across this.

> Hi all,

> There hasn't been a response to this bug in 10 years. It's about Debian 
> Squeeze, gcc-4.7, kernel 2.6.32-5-686; all rather ancient stuff.

> What should be done with this bug?

This can be closed (done with this message).  It was about a very specific
upgrade ordering problem when multiarch was introduced into Debian.  That
water is long under the bridge.

-- 
Russ Allbery (rra@debian.org)              <https://www.eyrie.org/~eagle/>

--- End Message ---

Reply to: