Hello,

Zhaoming Luo, le mer. 05 mars 2025 19:25:15 +0800, a ecrit:
> - Run 'apt source glibc', use quilt to apply this patch and build
>   the libc package using `dpkg-buildpackage -B`. I got the same error as
>   [0].
> 
> [0]: 
> https://buildd.debian.org/status/fetch.php?pkg=glibc&arch=hurd-i386&ver=2.41-3&stamp=1740910186&raw=0

Please update your libc0.3 to 2.41-4~0 which fixes it.

You can

dget 
http://snapshot.debian.org/archive/debian-ports/20250303T092904Z/pool-hurd-i386/main/g/glibc/glibc_2.41-4~0.dsc

to get the version I uploaded to unreleased, waiting for 2.41-4 to be
released.

> I'm not very familiar with the Debian building system, maybe I mis-read
> something in the package building tutorial.

You followed it well, it's just that the bison failure has unexpectedly
made glibc non-buildable.

> - Run 'apt source glibc=2.40-7' (as I found this is the newest
>   successful build on the website). I have successfully built a glibc
>   once, but after a `apt upgrade` it failed with the following output:
> ```
> ...
> /usr/bin/ld: /lib/i386-gnu/liblzma.so.5: undefined reference to 
> `pthread_sigmask@GLIBC_2.41'
> /usr/bin/ld: /lib/i386-gnu/liblzma.so.5: undefined reference to 
> `pthread_condattr_setclock@GLIBC_2.41'
> collect2: error: ld returned 1 exit status
> ...
> ```
> 
> Maybe some downgrade is needed?

You'd have to downgrade all packages that use pthread symbols and were
rebuilt against glibc 2.41. Better move forward with 2.41-4~0

Samuel

Reply via email to