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

[Pkg-octave-devel] Bug#310226: marked as done (octave2.9: FTBFS: linking a shared lib to a static lib fails.)



Your message dated Thu, 24 Nov 2005 02:17:27 -0800
with message-id <E1EfEAR-00068A-IY@spohr.debian.org>
and subject line Bug#310226: fixed in octave2.9 2.9.4-7
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 22 May 2005 14:23:39 +0000
>From kurt@roeckx.be Sun May 22 07:23:39 2005
Return-path: <kurt@roeckx.be>
Received: from europa.telenet-ops.be [195.130.132.60] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DZrMh-0001BC-00; Sun, 22 May 2005 07:23:39 -0700
Received: from localhost (localhost.localdomain [127.0.0.1])
	by europa.telenet-ops.be (Postfix) with SMTP id BFBAA1981EB
	for <submit@bugs.debian.org>; Sun, 22 May 2005 16:23:38 +0200 (MEST)
Received: from Q.roeckx.be (dD5775FD9.access.telenet.be [213.119.95.217])
	by europa.telenet-ops.be (Postfix) with ESMTP id AC37B19835C
	for <submit@bugs.debian.org>; Sun, 22 May 2005 16:23:38 +0200 (MEST)
Received: by Q.roeckx.be (Postfix, from userid 501)
	id 7D58826136; Sun, 22 May 2005 16:23:38 +0200 (CEST)
Date: Sun, 22 May 2005 16:23:38 +0200
From: Kurt Roeckx <kurt@roeckx.be>
To: submit@bugs.debian.org
Subject: octave2.9: FTBFS: linking a shared lib to a static lib fails.
Message-ID: <20050522142338.GB26361@roeckx.be>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4.2.1i
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: octave2.9
Version: 2.9.2-2
Severity: serious

Hi,

Your package is failing to build on a few arches (atleast hppa
and amd64) because when you're creating the shared lib you're
linking to a static version.  Static version should be compiled
without -fPIC while shared version must be compiled with it.
(See policy section 10.2)

This is giving the following error:
/usr/bin/g++ -shared -o __glpk__.oct pic/__glpk__.o -L../libcruft -lcruft -L../
liboctave -loctave -L. -loctinterp -llapack-3 -lblas-3 -lfftw3 -lamd -lumfpack
-lreadline  -lncurses -ldl -lhdf5 -lz -lm  -L/usr/lib/gcc-lib/x86_64-linux/3.3.
6 -L/usr/lib/gcc-lib/x86_64-linux/3.3.6/../../../../lib64 -L/usr/lib/gcc-lib/x8
6_64-linux/3.3.6/../../.. -L/lib/../lib64 -L/usr/lib/../lib64 -lhdf5 -lz -lfrtb
egin -lg2c -lm -lgcc_s -lglpk
/usr/bin/ld: /usr/lib/gcc-lib/x86_64-linux/3.3.6/../../../../lib64/libglpk.a(gl
plib2.o): relocation R_X86_64_32 can not be used when making a shared object; r
ecompile with -fPIC
/usr/lib/gcc-lib/x86_64-linux/3.3.6/../../../../lib64/libglpk.a: could not read
 symbols: Bad value
collect2: ld returned 1 exit status

There are some solutions for this:
- Ask the glpk maintainer to provide a shared lib.  This
  is ussually the prefered solution.
- Ask the glpk maintainer to provide a special static pic
  (libglpk-pic.a or something) version and link to that
  version.  This solution ussually isn't want you want.


Kurt



---------------------------------------
Received: (at 310226-close) by bugs.debian.org; 24 Nov 2005 10:21:21 +0000
>From katie@ftp-master.debian.org Thu Nov 24 02:21:21 2005
Return-path: <katie@ftp-master.debian.org>
Received: from katie by spohr.debian.org with local (Exim 4.50)
	id 1EfEAR-00068A-IY; Thu, 24 Nov 2005 02:17:27 -0800
From: Rafael Laboissiere <rafael@debian.org>
To: 310226-close@bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#310226: fixed in octave2.9 2.9.4-7
Message-Id: <E1EfEAR-00068A-IY@spohr.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Thu, 24 Nov 2005 02:17:27 -0800
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: octave2.9
Source-Version: 2.9.4-7

We believe that the bug you reported is fixed in the latest version of
octave2.9, which is due to be installed in the Debian FTP archive:

octave2.9-doc_2.9.4-7_all.deb
  to pool/main/o/octave2.9/octave2.9-doc_2.9.4-7_all.deb
octave2.9-emacsen_2.9.4-7_all.deb
  to pool/main/o/octave2.9/octave2.9-emacsen_2.9.4-7_all.deb
octave2.9-headers_2.9.4-7_i386.deb
  to pool/main/o/octave2.9/octave2.9-headers_2.9.4-7_i386.deb
octave2.9-htmldoc_2.9.4-7_all.deb
  to pool/main/o/octave2.9/octave2.9-htmldoc_2.9.4-7_all.deb
octave2.9-info_2.9.4-7_all.deb
  to pool/main/o/octave2.9/octave2.9-info_2.9.4-7_all.deb
octave2.9_2.9.4-7.diff.gz
  to pool/main/o/octave2.9/octave2.9_2.9.4-7.diff.gz
octave2.9_2.9.4-7.dsc
  to pool/main/o/octave2.9/octave2.9_2.9.4-7.dsc
octave2.9_2.9.4-7_i386.deb
  to pool/main/o/octave2.9/octave2.9_2.9.4-7_i386.deb



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 310226@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rafael Laboissiere <rafael@debian.org> (supplier of updated octave2.9 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 24 Nov 2005 09:44:21 +0100
Source: octave2.9
Binary: octave2.9-headers octave2.9-info octave2.9-htmldoc octave2.9 octave2.9-emacsen octave2.9-doc
Architecture: source i386 all
Version: 2.9.4-7
Distribution: unstable
Urgency: low
Maintainer: Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>
Changed-By: Rafael Laboissiere <rafael@debian.org>
Description: 
 octave2.9  - GNU Octave language for numerical computations (2.9 branch)
 octave2.9-doc - PDF documentation on the GNU Octave language (2.9 branch)
 octave2.9-emacsen - Emacs support for the GNU Octave language (2.9 branch)
 octave2.9-headers - header files for the GNU Octave language (2.9 branch)
 octave2.9-htmldoc - HTML documentation on the GNU Octave language (2.9 branch)
 octave2.9-info - GNU Info documentation on the GNU Octave language (2.9 branch)
Closes: 310226
Changes: 
 octave2.9 (2.9.4-7) unstable; urgency=low
 .
    +++ Changes by Rafael Laboissiere
 .
   * debian/in/control: Added libglpk0 to the build-dependencies for
     octave2.9.  The __glpk__.oct module, which is dynamically loadable,
     nows links against a shared library (libglpk0.so) (closes: #310226).
Files: 
 e642caf5cc5eab4543b1058c2fc93452 1099 math optional octave2.9_2.9.4-7.dsc
 a17c002a6b18a9ebd5f7b9dc22e5c8c9 35666 math optional octave2.9_2.9.4-7.diff.gz
 184190a175ee17d6ea7637f5ed6ff3ac 6437970 math optional octave2.9_2.9.4-7_i386.deb
 1b864cf39ce3fb9dc1f081db5dcceddf 319588 math optional octave2.9-headers_2.9.4-7_i386.deb
 eb1351b063635f204efbf5d909bab391 1874178 doc optional octave2.9-doc_2.9.4-7_all.deb
 0717cb7ac4b962d83d840dfc7f212442 402200 math optional octave2.9-htmldoc_2.9.4-7_all.deb
 c13789667f6874da6e153aab28415e7d 74512 math optional octave2.9-emacsen_2.9.4-7_all.deb
 915c6815bec1e5719a6631dcd2119dfd 331414 math optional octave2.9-info_2.9.4-7_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDhY8ok3oga0pdcv4RAt8qAJ97Uad5Kg6teP2FoReTjOoHxnjiMgCfUrwW
lT3tRS2zRVHWAuuZ3jUlwiU=
=Lj0U
-----END PGP SIGNATURE-----




Reply to: