tech-pkg archive

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

Re: regression in a micro update! lib/rtorrent 0.6.18



On Saturday, July 18, 2026 11:34:17 AM PDT Greg Troxel wrote:
> Interestingly, 0.6.17 is ok.  So somehow in a micro update they
> stopped including sys/socket.h.  A cautionary tale about "micro
> updates are safe".  I would not have seen this coming either!

Nothing that changes the solution, but for those who are curious:

4d9627bcadf8df4f8d68b97351ea3c348909d5db (libtorrent) seems to be the 
commit that broke things. This works fine on Linux+glibc because 
<netdb.h> includes <sys/socket.h> for socklen_t (which I'm surprised to 
learn is allowed by POSIX, even if it shouldn't be depended on).

Either way, good news is this has been reported upstream:

https://github.com/rakshasa/libtorrent/issues/841

-- 
snow flurry <snow%flurry.sh@localhost>



Home | Main Index | Thread Index | Old Index