On Wed, Mar 05, 2025 at 01:12:04PM +0100, Samuel Thibault wrote:
> Zhaoming Luo, le mer. 05 mars 2025 20:07:56 +0800, a ecrit:
> > On Wed, Mar 05, 2025 at 12:38:39PM +0100, Samuel Thibault wrote:
> > > Hello,
> > 
> > Thanks for the quick reply.
> > > 
> > > 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.
> > > 
> > 
> > OK, dget is cool. I can see the Debian building system is a big topic :).
> 
> Well, in principle you can really apt source glibc and be fine. But
> when there are bugs, well there are bugs. Alternatively you can use
> debcheckout glibc to get the latest master branch of the debian
> packaging.
> 
I just tested the patch, it seems good. The curl testsuite 537 can pass
without the output of deallocating bogus port.

```
URL: check
initial soft limit: 1024
initial hard limit: INFINITY
raising soft limit up to hard limit
current soft limit: INFINITY
current hard limit: INFINITY
allocating memchunk 1048576 byte array
initializing memchunk array
allocating array for 262144 file descriptors
initializing testfd array
trying to open 262144 file descriptors
dup() attempt 65534 failed
fds system limit seems close to 65534
closing 11 file descriptors
shrinking array for 65523 file descriptors
65523 file descriptors open
Test ended with result 0
```

I will send the patch to the glibc mail list.

Zhaoming


Reply via email to