Bug#1113328: nlopt: FTBFS with CMake 4

Colin Watson cjwatson at debian.org
Wed Oct 22 20:54:20 BST 2025


On Fri, Oct 03, 2025 at 10:14:53AM +0100, Rebecca N. Palmer wrote:
>This upstream commit probably fixes this (but I haven't actually tried it):
>https://github.com/stevengj/nlopt/commit/2bcac964888908ade29e42f6f8af5f0539dbe16c
>
>Alternatively, we could update to upstream 2.10 (which includes this); 
>none of the changes are *obviously* compatibility-breaking, but I 
>haven't looked closely.

Andreas has committed an upgrade to 2.10 to git, but the lintian failure 
indicates that the .so version has been bumped to 1, and therefore I'd 
think the package names ought to be changed from libnlopt0 to libnlopt1 
and from libnlopt-cxx0 to libnlopt-cxx1, incurring a trip through NEW 
and a transition.  (As it stands, the tip of 
https://salsa.debian.org/science-team/nlopt master doesn't seem 
uploadable.)

Andreas, since there are a fair number of reverse-dependencies here, do 
you think it might make sense to instead cherry-pick the relevant 
changes onto a branch and then do the library transition a bit later 
once the CMake 4 stuff has settled down?  Or do you still plan to push 
this through?

Thanks,

-- 
Colin Watson (he/him)                              [cjwatson at debian.org]



More information about the debian-science-maintainers mailing list