Your message dated Tue, 01 Apr 2014 01:48:43 +0000
with message-id <e1wunoh-000762...@franck.debian.org>
and subject line Bug#719485: fixed in inventor 2.1.5-10-18
has caused the Debian Bug report #719485,
regarding [inventor] please explicitly  link Decal.so against libc
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.)


-- 
719485: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=719485
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: inventor
Version: 2.1.5-10-17
Severity: wishlist
Tags: patch

Hi Maintainer

When building inventor 2.1.5-10-17 on Ubuntu Saucy's builders, the build was successful on amd64 and armhf, but failed with the following error on i386 and powerpc.

/usr/bin/g++ -L/build/buildd/inventor-2.1.5-10/debian/tmp/usr/lib -shared -Wl,--whole-archive -Wl,-z,defs -L/usr/X11R6/lib Decal.o -lGL -lInventor -lInventorXt -Wl,--no-whole-archive -o Decal.so /usr/lib/i386-linux-gnu/libc_nonshared.a(stack_chk_fail_local.oS): In function `__stack_chk_fail_local':
(.text+0x10): undefined reference to `__stack_chk_fail'
collect2: error: ld returned 1 exit status
make[4]: *** [Decal.so] Error 1

I found similar bug reports [1,2] and my understanding is that Decal.so is being linked against the static libc instead of the shared libc.

The attached patch explicitly links libc by appending -lc to Decal.c++'s LLDLIBS.

Regards
Graham


[1] http://bugs.debian.org/717331
[2] https://bugs.launchpad.net/mir/+bug/1208774

diff -Nru inventor-2.1.5-10/debian/patches/add-required-libs.patch inventor-2.1.5-10/debian/patches/add-required-libs.patch
--- inventor-2.1.5-10/debian/patches/add-required-libs.patch	2013-08-08 10:37:56.000000000 +0200
+++ inventor-2.1.5-10/debian/patches/add-required-libs.patch	2013-08-12 13:34:38.000000000 +0200
@@ -21,7 +21,7 @@
  CXXFILES = Decal.c++
  
 -LLDLIBS = -lInventor -lInventorXt
-+LLDLIBS = -lGL -lInventor -lInventorXt
++LLDLIBS = -lGL -lInventor -lInventorXt -lc
  
  all install: all_ivbin
  

--- End Message ---
--- Begin Message ---
Source: inventor
Source-Version: 2.1.5-10-18

We believe that the bug you reported is fixed in the latest version of
inventor, 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 719...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Steve M. Robbins <s...@debian.org> (supplier of updated inventor 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: SHA1

Format: 1.8
Date: Mon, 31 Mar 2014 20:20:06 -0500
Source: inventor
Binary: libinventor1 inventor-dev inventor-doc inventor-clients inventor-data 
inventor-demo
Architecture: source all amd64
Version: 2.1.5-10-18
Distribution: unstable
Urgency: low
Maintainer: Debian Science Team 
<debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Steve M. Robbins <s...@debian.org>
Description: 
 inventor-clients - Open Inventor client programs
 inventor-data - Open Inventor sample data files
 inventor-demo - Open Inventor demonstration programs and example code
 inventor-dev - Open Inventor development files
 inventor-doc - Open Inventor documentation
 libinventor1 - Open Inventor runtime environment
Closes: 719485 739186
Changes: 
 inventor (2.1.5-10-18) unstable; urgency=low
 .
   * patches/endianness.patch: Add s390x and aarch64 to list of 64-bit
     architectures.  Closes: #739186.
 .
   * patches/add-required-libs.patch: Link Decal.so explicitly against
     libc.  Closes: #719485.
 .
   * debian/rules: Link everything with "--as-needed".
Checksums-Sha1: 
 aa8b5d261f9f0fda1aba38d46eff9024cc2c1be3 1715 inventor_2.1.5-10-18.dsc
 44d87e045ed235b6f3904bf1de1c942784b19d9a 19344 
inventor_2.1.5-10-18.debian.tar.xz
 2f18b0498273ce318bf9122592da8b7f4925e438 6152 inventor-doc_2.1.5-10-18_all.deb
 f2b01c02fe850fd904916b754027b81deb37eee2 1788480 
inventor-data_2.1.5-10-18_all.deb
 424c510e30b098af11a34bed1af99ce0d91c77c3 1318478 
libinventor1_2.1.5-10-18_amd64.deb
 abe54a05227444facd5cb94e0d17dfbd5fe4d489 272680 
inventor-dev_2.1.5-10-18_amd64.deb
 435ae45f0d0dee05c75a6e2703ffbc1755aeeea4 181486 
inventor-clients_2.1.5-10-18_amd64.deb
 62dcd7edf8c6bb001563c131680248339ffdd983 1658698 
inventor-demo_2.1.5-10-18_amd64.deb
Checksums-Sha256: 
 eae20e48068014cc550d70d5d55183815bf77d608654af048bf36c23cea8e093 1715 
inventor_2.1.5-10-18.dsc
 9a7ed1890af06dffd8958ab52ee2c1a5a78fa08844f1ea4e329f5d82b741ee9d 19344 
inventor_2.1.5-10-18.debian.tar.xz
 dd036b9e0ee3884003321fde4652ae833301346abebf3f4d8d7a33384b9ffe36 6152 
inventor-doc_2.1.5-10-18_all.deb
 ed81f154ac5e848762a1472085f49ed3f5264da47052b149e637c4370f2ce4f4 1788480 
inventor-data_2.1.5-10-18_all.deb
 9d40f49c398d7f1fcea846efc5f3149f23a8fbd56295afb5cd63d1514adb48a0 1318478 
libinventor1_2.1.5-10-18_amd64.deb
 9f27edddb9afcbff5647f9ce4814154a02f6e4d5d81b28cb3972ac62a4a5be4e 272680 
inventor-dev_2.1.5-10-18_amd64.deb
 8cd2a61de9e8d5c3a95874931f5c793fc0d1ab6c867b24c6e8764cb51d60a4ec 181486 
inventor-clients_2.1.5-10-18_amd64.deb
 99c53bc23857465a2577941ca5a6c0aa164ed86781f41a60c83408640f827853 1658698 
inventor-demo_2.1.5-10-18_amd64.deb
Files: 
 a583fe2adb50b46721e4e32faeb140c0 1715 devel optional inventor_2.1.5-10-18.dsc
 b358f32741c4bc3054af7881f84b8cb0 19344 devel optional 
inventor_2.1.5-10-18.debian.tar.xz
 2744cdd7705f2ea378090262ff6a8713 6152 doc optional 
inventor-doc_2.1.5-10-18_all.deb
 19e3527d87196479ff317a8b5127deb5 1788480 graphics optional 
inventor-data_2.1.5-10-18_all.deb
 ebf72ac0235c23bad3ce7ffafe6a8196 1318478 libs optional 
libinventor1_2.1.5-10-18_amd64.deb
 28945dcb1fd654c8b63556a5b23380c5 272680 devel optional 
inventor-dev_2.1.5-10-18_amd64.deb
 11eb39a2136039c2e8c63aa73e4ca1f3 181486 graphics optional 
inventor-clients_2.1.5-10-18_amd64.deb
 0b0368cd58ed1e73056d1bd7f679c999 1658698 graphics optional 
inventor-demo_2.1.5-10-18_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iD8DBQFTOhZF0i2bPSHbMcURAvaQAJ0RgatPM8ZnQYUAEYV7wsU2QqkRmQCdHp9U
pNHy02PZvFLcEC4XJGn3i5o=
=aman
-----END PGP SIGNATURE-----

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

Reply via email to