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

Bug#286533: marked as done (kplot: FTBFS: not using -fPIC to make shared lib.)

Your message dated Sat, 21 Jan 2006 20:58:21 +0100
with message-id <87fynh4ale.fsf@diziet.irb.hr>
and subject line Fixed in kmatplot 0.4-7.1
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; 20 Dec 2004 18:28:08 +0000
>From Q@ping.be Mon Dec 20 10:28:08 2004
Return-path: <Q@ping.be>
Received: from poros.telenet-ops.be [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CgSGN-00059E-00; Mon, 20 Dec 2004 10:28:08 -0800
Received: from localhost (localhost.localdomain [])
	by poros.telenet-ops.be (Postfix) with SMTP id 63E543BC2A5
	for <submit@bugs.debian.org>; Mon, 20 Dec 2004 19:28:06 +0100 (MET)
Received: from kabel.telenet.be (D5775FD9.kabel.telenet.be [])
	by poros.telenet-ops.be (Postfix) with ESMTP id 2BFCE3BC244
	for <submit@bugs.debian.org>; Mon, 20 Dec 2004 19:28:06 +0100 (MET)
Received: by kabel.telenet.be (Postfix, from userid 501)
	id A833626136; Mon, 20 Dec 2004 19:28:05 +0100 (CET)
Date: Mon, 20 Dec 2004 19:28:05 +0100
From: Kurt Roeckx <Q@ping.be>
To: submit@bugs.debian.org
Subject: kplot: FTBFS: not using -fPIC to make shared lib.
Message-ID: <20041220182805.GA27683@ping.be>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/
Sender: Q@ping.be
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(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_2004_03_25

Package: kmatplot
Version: 0.4-7
Severity: serious

Your package is currently failing to build on amd64.  Here is an
extract from the log:
make[4]: Entering directory `/build/buildd/kmatplot-0.4/kmatplot/interface'
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/share/qt3/include -I.  -DQT_THREAD_SU
PPORT -pthread  -O0  -g -Wall -O2 -c common.c
common.c: In function `_run_new_server':
common.c:71: warning: unused variable `null_fd'
common.c: In function `_get_reply_code':
common.c:214: warning: implicit declaration of function `_read_data'
rm -f libkmatplot_interface.a
ar cru libkmatplot_interface.a common.o
ranlib libkmatplot_interface.a
make[4]: Leaving directory `/build/buildd/kmatplot-0.4/kmatplot/interface'
Making all in octave
make[4]: Entering directory `/build/buildd/kmatplot/kmatplot-0.4/kmatplot/octave'
/usr/bin/mkoctfile -v --output kplot.oct -L../interface -lkmatplot_interface kplot.cpp
/usr/bin/g++ -c -fPIC -I/usr/include/octave-2.1.64
-I/usr/include/octave-2.1.64/octave -O2 kplot.cpp -o kplot.o
In file included from /usr/include/c++/3.3/backward/iostream.h:31,
                 from kplot.cpp:19:
/usr/include/c++/3.3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section of the C++ standard.  Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
/usr/bin/g++ -shared -Wl,-Bsymbolic -o kplot.oct kplot.o -L../interface -lkmatplot_interface -L/usr/lib/octave-2.1.64 -loctinterp -loctave -lcruft -s -llapack-3 -lblas-3 -lfftw3 -lreadline -lncurses -ldl -lhdf5 -lz -lm -L/usr/lib/gcc-lib/x86_64-linux/3.3.5 -L/usr/lib/gcc-lib/x86_64-linux/3.3.5/../../../../lib64 -L/usr/lib/gcc-lib/x86_64-linux/3.3.5/../../.. -L/lib/../lib64 -L/usr/lib/../lib64 -lhdf5 -lz -lfrtbegin -lg2c -lm -lgcc_s
/usr/bin/ld: ../interface/libkmatplot_interface.a(common.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
../interface/libkmatplot_interface.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[4]: *** [kplot.oct] Error 1

To make a shared library you must use the -fPIC option.
See policy section 10.2.

It properly used it for kplot.cpp but it didn't for
common.c in libkmatplot_interface.a.


Received: (at 286533-done) by bugs.debian.org; 21 Jan 2006 19:58:28 +0000
>From mvela@irb.hr Sat Jan 21 11:58:28 2006
Return-path: <mvela@irb.hr>
Received: from mail.irb.hr ([] ident=UNKNOWN)
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1F0OsV-0002nQ-Hw; Sat, 21 Jan 2006 11:58:28 -0800
Received: from diziet.irb.hr (diziet.irb.hr [])
	by mail.irb.hr (8.13.4/8.13.4/Debian-3) with ESMTP id k0LJwA1s028068;
	Sat, 21 Jan 2006 20:58:10 +0100
Received: from diziet.irb.hr (localhost [])
	by diziet.irb.hr (8.13.5/8.13.5/Debian-3) with ESMTP id k0LJwLRH019593;
	Sat, 21 Jan 2006 20:58:21 +0100
Received: (from mvela@localhost)
	by diziet.irb.hr (8.13.5/8.13.5/Submit) id k0LJwLq8019591;
	Sat, 21 Jan 2006 20:58:21 +0100
From: Matej Vela <vela@debian.org>
To: 286533-done@bugs.debian.org, 300867-done@bugs.debian.org,
        326338-done@bugs.debian.org, 327980-done@bugs.debian.org
Subject: Fixed in kmatplot 0.4-7.1
Date: Sat, 21 Jan 2006 20:58:21 +0100
Message-ID: <87fynh4ale.fsf@diziet.irb.hr>
User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.51 on
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=-3.0 required=4.0 tests=BAYES_00 autolearn=no 

Source: kmatplot
Source-Version: 0.4-7.1

Now that kmatplot is orphaned, NMU-fixed bugs can be closed.
The original .changes file follows.

Hash: SHA1

Format: 1.7
Date: Sat, 17 Dec 2005 15:43:54 +0100
Source: kmatplot
Binary: kmatplot
Architecture: source i386
Version: 0.4-7.1
Distribution: unstable
Urgency: low
Maintainer: Hugo van der Merwe <hvdm@debian.org>
Changed-By: Aurelien Jarno <aurel32@debian.org>
 kmatplot   - A Gnuplot-like tool for plotting data sets in 2D or 3D
Closes: 286533 300867 326338 327980
 kmatplot (0.4-7.1) unstable; urgency=low
   * 0-day NMU during BSP.
   * Rebuild for the Qt/KDE transition (closes: bug#327980).
   * Rebuilt for libreadline transition (closes: bug#326338).
   * Applied a patch from Andreas Jochen to make the package buildable with
     gcc-4.0 (closes: bug#300867).
   * Build the shared libraries with -fPIC (closes: bug#286533).
   * Added support for GNU/kFreeBSD.
 8b56850043f9183f2ed8fcb859bb834e 650 math optional kmatplot_0.4-7.1.dsc
 f38868ce5e1a6484517dc01822544a9e 48352 math optional kmatplot_0.4-7.1.diff.gz
 04ec30eefa63174c956d6a66175b8962 735440 math optional kmatplot_0.4-7.1_i386.deb

Version: GnuPG v1.4.2 (GNU/Linux)


Reply to: