Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package Ipopt for openSUSE:Factory checked in at 2024-07-22 17:17:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/Ipopt (Old) and /work/SRC/openSUSE:Factory/.Ipopt.new.17339 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "Ipopt" Mon Jul 22 17:17:38 2024 rev:22 rq:1188807 version:3.14.16 Changes: -------- --- /work/SRC/openSUSE:Factory/Ipopt/Ipopt.changes 2024-04-15 20:23:46.700372609 +0200 +++ /work/SRC/openSUSE:Factory/.Ipopt.new.17339/Ipopt.changes 2024-07-22 17:19:20.892506011 +0200 @@ -1,0 +2,6 @@ +Wed Jul 17 05:30:18 UTC 2024 - Atri Bhattacharya <[email protected]> + +- Update to version 3.14.16: + * No Linux specific changes. + +------------------------------------------------------------------- Old: ---- Ipopt-3.14.15.tar.gz New: ---- Ipopt-3.14.16.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ Ipopt.spec ++++++ --- /var/tmp/diff_new_pack.m1nN9B/_old 2024-07-22 17:19:21.912547023 +0200 +++ /var/tmp/diff_new_pack.m1nN9B/_new 2024-07-22 17:19:21.912547023 +0200 @@ -19,7 +19,7 @@ %define sover 3 %define shlib libipopt%{sover} Name: Ipopt -Version: 3.14.15 +Version: 3.14.16 Release: 0 Summary: A software package for large-scale nonlinear optimization methods License: EPL-2.0 ++++++ Ipopt-3.14.15.tar.gz -> Ipopt-3.14.16.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Ipopt-releases-3.14.15/ChangeLog.md new/Ipopt-releases-3.14.16/ChangeLog.md --- old/Ipopt-releases-3.14.15/ChangeLog.md 2024-04-10 14:43:36.000000000 +0200 +++ new/Ipopt-releases-3.14.16/ChangeLog.md 2024-04-22 12:46:53.000000000 +0200 @@ -7,6 +7,11 @@ ## 3.14 +### 3.14.16 (2024-04-22) + +- Fixed load of linear solver libraries at runtime on Windows, which got + broken for relative paths (the default) in 3.14.15 [#759, #760]. + ### 3.14.15 (2024-04-10) - Fixed include guard of IpGenAugSystemSolver.hpp [#756, by Christopher Wellons]. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Ipopt-releases-3.14.15/appveyor.yml new/Ipopt-releases-3.14.16/appveyor.yml --- old/Ipopt-releases-3.14.15/appveyor.yml 2024-04-10 14:43:36.000000000 +0200 +++ new/Ipopt-releases-3.14.16/appveyor.yml 2024-04-22 12:46:53.000000000 +0200 @@ -19,7 +19,7 @@ - IF %ARCH%==win64-msvc14 (CALL C:\"Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64) - IF %ARCH%==win64-msvc15 (CALL C:\"Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x64 8.1) - IF %ARCH%==win64-msvc16 (CALL C:\"Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" x64 8.1) - - IF %ARCH%==win64-mingw (CALL C:\msys64\usr\bin\bash -lc "pacman -S mingw-w64-x86_64-lapack mingw-w64-x86_64-metis --noconfirm") + - IF %ARCH%==win64-mingw (CALL C:\msys64\usr\bin\bash -lc "pacman -S mingw-w64-x86_64-lapack mingw-w64-x86_64-metis mingw-w64-x86_64-gcc-fortran --noconfirm") - IF %ARCH%==win64-mingw (CALL C:\msys64\usr\bin\bash -lc "PATH=/mingw64/bin:$PATH ; gcc --version; g++ --version; gfortran --version; pkg-config --libs lapack ; echo PATH=$PATH") build_script: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Ipopt-releases-3.14.15/configure new/Ipopt-releases-3.14.16/configure --- old/Ipopt-releases-3.14.15/configure 2024-04-10 14:43:36.000000000 +0200 +++ new/Ipopt-releases-3.14.16/configure 2024-04-22 12:46:53.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.71 for Ipopt 3.14.15. +# Generated by GNU Autoconf 2.71 for Ipopt 3.14.16. # # Report bugs to <https://github.com/coin-or/Ipopt/issues/new>. # @@ -627,8 +627,8 @@ # Identity of this package. PACKAGE_NAME='Ipopt' PACKAGE_TARNAME='ipopt' -PACKAGE_VERSION='3.14.15' -PACKAGE_STRING='Ipopt 3.14.15' +PACKAGE_VERSION='3.14.16' +PACKAGE_STRING='Ipopt 3.14.16' PACKAGE_BUGREPORT='https://github.com/coin-or/Ipopt/issues/new' PACKAGE_URL='https://github.com/coin-or/Ipopt' @@ -1499,7 +1499,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures Ipopt 3.14.15 to adapt to many kinds of systems. +\`configure' configures Ipopt 3.14.16 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1570,7 +1570,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of Ipopt 3.14.15:";; + short | recursive ) echo "Configuration of Ipopt 3.14.16:";; esac cat <<\_ACEOF @@ -1773,7 +1773,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -Ipopt configure 3.14.15 +Ipopt configure 3.14.16 generated by GNU Autoconf 2.71 Copyright (C) 2021 Free Software Foundation, Inc. @@ -2658,7 +2658,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by Ipopt $as_me 3.14.15, which was +It was created by Ipopt $as_me 3.14.16, which was generated by GNU Autoconf 2.71. Invocation command line was $ $0$ac_configure_args_raw @@ -4279,7 +4279,7 @@ -printf "%s\n" "#define IPOPT_VERSION \"3.14.15\"" >>confdefs.h +printf "%s\n" "#define IPOPT_VERSION \"3.14.16\"" >>confdefs.h printf "%s\n" "#define IPOPT_VERSION_MAJOR 3" >>confdefs.h @@ -4288,7 +4288,7 @@ printf "%s\n" "#define IPOPT_VERSION_MINOR 14" >>confdefs.h -printf "%s\n" "#define IPOPT_VERSION_RELEASE 15" >>confdefs.h +printf "%s\n" "#define IPOPT_VERSION_RELEASE 16" >>confdefs.h @@ -4399,7 +4399,7 @@ # Define the identity of the package. PACKAGE='ipopt' - VERSION='3.14.15' + VERSION='3.14.16' # Some tools Automake needs. @@ -22297,9 +22297,9 @@ - LT_LDFLAGS="$LT_LDFLAGS -version-number 3:14:15" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: libtool version info: -version-number 3:14:15" >&5 -printf "%s\n" "$as_me: libtool version info: -version-number 3:14:15" >&6;} + LT_LDFLAGS="$LT_LDFLAGS -version-number 3:14:16" + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: libtool version info: -version-number 3:14:16" >&5 +printf "%s\n" "$as_me: libtool version info: -version-number 3:14:16" >&6;} LT_LDFLAGS="$LT_LDFLAGS -no-undefined" @@ -27980,7 +27980,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by Ipopt $as_me 3.14.15, which was +This file was extended by Ipopt $as_me 3.14.16, which was generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -28053,7 +28053,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -Ipopt config.status 3.14.15 +Ipopt config.status 3.14.16 configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Ipopt-releases-3.14.15/configure.ac new/Ipopt-releases-3.14.16/configure.ac --- old/Ipopt-releases-3.14.15/configure.ac 2024-04-10 14:43:36.000000000 +0200 +++ new/Ipopt-releases-3.14.16/configure.ac 2024-04-22 12:46:53.000000000 +0200 @@ -8,7 +8,7 @@ # Names and other basic things # ############################################################################# -AC_INIT([Ipopt],[3.14.15],[https://github.com/coin-or/Ipopt/issues/new],[],[https://github.com/coin-or/Ipopt]) +AC_INIT([Ipopt],[3.14.16],[https://github.com/coin-or/Ipopt/issues/new],[],[https://github.com/coin-or/Ipopt]) AC_COPYRIGHT([ Copyright 2004, 2011 International Business Machines and others. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Ipopt-releases-3.14.15/src/Common/IpLibraryLoader.cpp new/Ipopt-releases-3.14.16/src/Common/IpLibraryLoader.cpp --- old/Ipopt-releases-3.14.15/src/Common/IpLibraryLoader.cpp 2024-04-10 14:43:36.000000000 +0200 +++ new/Ipopt-releases-3.14.16/src/Common/IpLibraryLoader.cpp 2024-04-22 12:46:53.000000000 +0200 @@ -50,16 +50,34 @@ } #ifdef HAVE_WINDOWS_H - libhandle = (void*)LoadLibraryExA(libname.c_str(), NULL, LOAD_LIBRARY_SEARCH_DEFAULT_DIRS | LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR); + libhandle = (void*)LoadLibraryA(libname.c_str()); - if( libhandle == NULL ) + if( libhandle != NULL ) + return; + + std::stringstream s; + s << "Error " << GetLastError() << " while loading DLL " << libname << " via LoadLibraryA: "; + addLastError(s); + + /* try again with LoadLibraryExA + * due to the use of LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR, this will always fail with an invalid parameter error (87) if libname is a relative path + */ + libhandle = (void*)LoadLibraryExA(libname.c_str(), NULL, LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR | LOAD_LIBRARY_SEARCH_DEFAULT_DIRS); + + if( libhandle != NULL ) + return; + + /* skip message if LoadLibraryExA failed with invalid parameter error + * do not confuse user just because we were too lazy to check what kind of path libname is + */ + if( GetLastError() != 87 ) { - std::stringstream s; - s << "Error " << GetLastError() << " while loading DLL " << libname << ": "; + s << "Error " << GetLastError() << " while loading DLL " << libname << " via LoadLibraryExA: "; addLastError(s); - THROW_EXCEPTION(DYNAMIC_LIBRARY_FAILURE, s.str()); } + THROW_EXCEPTION(DYNAMIC_LIBRARY_FAILURE, s.str()); + #elif defined(HAVE_DLFCN_H) // ToDo switch to RTLD_LAZY for performance? libhandle = dlopen(libname.c_str(), RTLD_NOW); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Ipopt-releases-3.14.15/src/Common/config_ipopt_default.h new/Ipopt-releases-3.14.16/src/Common/config_ipopt_default.h --- old/Ipopt-releases-3.14.15/src/Common/config_ipopt_default.h 2024-04-10 14:43:36.000000000 +0200 +++ new/Ipopt-releases-3.14.16/src/Common/config_ipopt_default.h 2024-04-22 12:46:53.000000000 +0200 @@ -5,7 +5,7 @@ /***************************************************************************/ /* Version number of project */ -#define IPOPT_VERSION "3.14.15" +#define IPOPT_VERSION "3.14.16" /* Major Version number of project */ #define IPOPT_VERSION_MAJOR 3 @@ -14,7 +14,7 @@ #define IPOPT_VERSION_MINOR 14 /* Release Version number of project */ -#define IPOPT_VERSION_RELEASE 15 +#define IPOPT_VERSION_RELEASE 16 /* Define to the C type corresponding to Fortran INTEGER * @deprecated Use ipindex instead.
