Your message dated Wed, 20 Nov 2024 21:04:35 +0000
with message-id <e1tdrsj-00cghe...@fasolo.debian.org>
and subject line Bug#749784: fixed in coinor-ipopt 3.14.16-3
has caused the Debian Bug report #749784,
regarding coinor-ipopt: LSL_loadSym declared both as function and 
pointer-to-function
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
749784: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=749784
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: coinor-ipopt
Version: 3.11.7-2
Usertags: goto-cc

During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder
and pbuilder) the build failed with the following error. Please note that we
use our research compiler tool-chain (using tools from the cbmc package), which
permits extended reporting on type inconsistencies at link time.

[...]
g++ -shared -nostdlib 
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crti.o 
/usr/lib/gcc/x86_64-linux-gnu/4.8/crtbeginS.o  .libs/IpInterfacesRegOp.o 
.libs/IpIpoptApplication.o .libs/IpSolveStatistics.o .libs/IpStdCInterface.o 
.libs/IpStdFInterface.o .libs/IpStdInterfaceTNLP.o .libs/IpTNLPAdapter.o 
.libs/IpTNLPReducer.o -Wl,--whole-archive 
../contrib/LinearSolverLoader/.libs/libLinearSolverLoader.a 
../contrib/CGPenalty/.libs/libcgpenalty.a ../Algorithm/.libs/libipoptalg.a 
../Algorithm/LinearSolvers/.libs/liblinsolvers.a ../Common/.libs/libcommon.a 
../LinAlg/.libs/liblinalg.a ../LinAlg/TMatrices/.libs/libtmatrices.a 
-Wl,--no-whole-archive  -llapack -lblas -ldmumps -lmpi -ldl 
-L/usr/lib/gcc/x86_64-linux-gnu/4.8 
-L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu 
-L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib -L/lib/x86_64-linux-gnu 
-L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib 
-L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../.. -lstdc++ -lm -lc -lgcc_s 
/usr/lib/gcc/x86_64-linux-gnu/4.8/crtendS.o 
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crtn.o  -Wl,-z 
-Wl,relro -Wl,-soname -Wl,libipopt.so.1 -o .libs/libipopt.so.1.9.7

error: conflicting function declarations "LSL_loadSym"
old definition in module LibraryHandler file LibraryHandler.c line 91
void * (void *h, const char *symName, char *msgBuf, signed int msgLen)
new definition in module HSLLoader file HSLLoader.c line 29
void (*(void *, const char *, char *, signed int))(void)
collect2: error: ld returned 64 exit status
Makefile:473: recipe for target 'libipopt.la' failed
make[3]: *** [libipopt.la] Error 1
make[3]: Leaving directory 
'/srv/jenkins-slave/workspace/sid-goto-cc-coinor-ipopt/coinor-ipopt-3.11.7/Ipopt/src/Interfaces'
Makefile:666: recipe for target 'all-recursive' failed

This is caused by the following bits getting linked together: LibraryHandler.c
defines

symtype LSL_loadSym (soHandle_t h, const char *symName, char *msgBuf, int 
msgLen) { ... }

while HSLLoader.c has

typedef void (*voidfun)(void);
voidfun LSL_loadSym (soHandle_t h, const char *symName, char *msgBuf, int 
msgLen);

The following experiment may serve as reminder that this is not going to work:

-bash-4.1$ cat non-ptr.c
int foo() { return 0; }

int bar();

int main() { return bar(); }
-bash-4.1$ cat ptr.c
int (*foo)(void);

int bar() { return foo(); }
-bash-4.1$ gcc ptr.c non-ptr.c
/usr/bin/ld: Warning: alignment 4 of symbol `foo' in /tmp/ccEwfuma.o is smaller 
than 8 in /tmp/ccpZzSnx.o
/usr/bin/ld: Warning: size of symbol `foo' changed from 8 in /tmp/ccpZzSnx.o to 
11 in /tmp/ccEwfuma.o
/usr/bin/ld: Warning: type of symbol `foo' changed from 1 to 2 in 
/tmp/ccEwfuma.o
-bash-4.1$ ./a.out
Segmentation fault

Best,
Michael

Attachment: pgpIjKjwT3T3u.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: coinor-ipopt
Source-Version: 3.14.16-3
Done: Pierre Gruet <p...@debian.org>

We believe that the bug you reported is fixed in the latest version of
coinor-ipopt, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 749...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pierre Gruet <p...@debian.org> (supplier of updated coinor-ipopt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 20 Nov 2024 21:07:06 +0100
Source: coinor-ipopt
Architecture: source
Version: 3.14.16-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Pierre Gruet <p...@debian.org>
Closes: 749784 929265 1085677
Changes:
 coinor-ipopt (3.14.16-3) unstable; urgency=medium
 .
   * Upload to unstable to start the transition:
     - New upstream version 3.14.16 (Closes: #929265)
     - Adopting the package (Closes: #1085677)
     - LSL_loadSym symbol has vanished (Closes: #749784)
   * Updating Homepage
Checksums-Sha1:
 7514067355c55521f3db6f6dc23aee571ab9297e 2216 coinor-ipopt_3.14.16-3.dsc
 0b69c228abdc589003758bc25438de9952215163 19780 
coinor-ipopt_3.14.16-3.debian.tar.xz
 36f64176bdba2efeb1c5f3043be735474fd63f93 14735 
coinor-ipopt_3.14.16-3_amd64.buildinfo
Checksums-Sha256:
 6af462ffee6e80492eaf2e19925e4a726687b27ce0582ef3ce5b2f0696de9fdf 2216 
coinor-ipopt_3.14.16-3.dsc
 9610e6297bad290b5ced33809bf1b90db8cdc301e2702842fb532fefd3c0b9ec 19780 
coinor-ipopt_3.14.16-3.debian.tar.xz
 e4b569af257c264f99ac392afd107869b54f811bb88d0f04761be448a8b79f23 14735 
coinor-ipopt_3.14.16-3_amd64.buildinfo
Files:
 245ffbce778a78aa057b411c8ea79f3f 2216 science optional 
coinor-ipopt_3.14.16-3.dsc
 6e491b5eb0174c810fc8dbeb7925fb23 19780 science optional 
coinor-ipopt_3.14.16-3.debian.tar.xz
 173429fe6f1965cbebf3950401a5e2cd 14735 science optional 
coinor-ipopt_3.14.16-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEM8soQxPpC9J9y0UjYAMWptwndHYFAmc+S9YACgkQYAMWptwn
dHYAfA//UBw2jdpyNKD7pVcV7D+p3ZE65zKE1DANz+SjRaE878ujlC2NGBGNOvE+
wRVj2Ds98eFs6D/k+OmKvTsJ1xWoEm5k14IxClUgWvL5E3QerDHZCkVzVMMwWCV9
aSSIYpSH8qDfefJKr3hwBvAudzcO7WZIJcDy7kCqoMnGpVMfD/7IIp34HM3JIU47
ZDmjrw1K5H625X+imftudq0Y7U67pu2kJrRJFHrDsJjvrPXW7ZtHqGdtsdVqavgk
44dR7QnJKHZx0aes2cuFy58lmWLhmYjWFOv0kJ+BdCcCiizq1JFyaBjfWyOydZYj
UuKpvFI19j8eNn4ZyU1W8LA3A2iYf71BofObaatF8ohisOALnnVmwl9ftX+zSAeK
H0t/KmrBh96KzcYP0Yz0hQpyug7+xQhdZYqWlh3iEqHd2/E10Mnn1UAEboU4tv1k
Gd21+1HSoDv+vPulzp3RV0KnXMMakhwd/6sDtdpuMFhmLhtQo3fXhmelKD79LXxE
PYE+lXRiHCqIBXaXMBXET2Y5g9wr0+BHPmLLRipjN95AD1eaFAUFX6slXTJqa5tH
f1JFMGakWH0asBkYnm1yiU7kryazlWwQHfSfpjSQfy/PS0rsxCzF0FMpwgk4/Kt2
u8cYK600f/hoEN7tUlCZyp2py0SjPu0wKEZDB2nvgixaTRtl38A=
=luF9
-----END PGP SIGNATURE-----

Attachment: pgpyq8mFxtrYU.pgp
Description: PGP signature


--- End Message ---
-- 
debian-science-maintainers mailing list
debian-science-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to