Debian Bug report logs - #662989
gtest: libgtest.a needs to be built with -fPIC

version graph

Package: gtest; Maintainer for gtest is Steve M. Robbins <smr@debian.org>;

Reported by: Chase Douglas <chase.douglas@ubuntu.com>

Date: Wed, 7 Mar 2012 20:15:02 UTC

Severity: normal

Tags: patch, wontfix

Found in version 1.6.0-1

Fixed in version gtest/1.6.0-2

Done: smr@debian.org (Steve M. Robbins)

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Steve M. Robbins <smr@debian.org>:
Bug#662989; Package gtest. (Wed, 07 Mar 2012 20:15:05 GMT) (full text, mbox, link).


Acknowledgement sent to Chase Douglas <chase.douglas@ubuntu.com>:
New Bug report received and forwarded. Copy sent to Steve M. Robbins <smr@debian.org>. (Wed, 07 Mar 2012 20:15:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Chase Douglas <chase.douglas@ubuntu.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gtest: libgtest.a needs to be built with -fPIC
Date: Wed, 07 Mar 2012 12:00:50 -0800
[Message part 1 (text/plain, inline)]
Package: gtest
Version: 1.6.0-1
Severity: normal
Tags: patch

Dear Maintainer,

The libgtest.a library is not build with -fPIC. This inhibits linking against
objects compiled with -fPIC. To fix this, the CXXFLAGS should include -fPIC for
the static library.

I am providing a patch that ensures -fPIC is used for all built libraries. I
applied the patch for Ubuntu Precise and uploaded it as 1.6.0-1ubuntu1 in the
meantime.

Thanks!

-- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 'precise'), (100, 'precise-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-17-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
[debdiff (text/x-diff, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Steve M. Robbins <smr@debian.org>:
Bug#662989; Package gtest. (Fri, 09 Mar 2012 04:57:03 GMT) (full text, mbox, link).


Acknowledgement sent to "Steve M. Robbins" <steve@sumost.ca>:
Extra info received and forwarded to list. Copy sent to Steve M. Robbins <smr@debian.org>. (Fri, 09 Mar 2012 04:57:03 GMT) (full text, mbox, link).


Message #10 received at 662989@bugs.debian.org (full text, mbox, reply):

From: "Steve M. Robbins" <steve@sumost.ca>
To: Chase Douglas <chase.douglas@ubuntu.com>, 662989@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Re: Bug#662989: gtest: libgtest.a needs to be built with -fPIC
Date: Thu, 8 Mar 2012 22:48:53 -0600
[Message part 1 (text/plain, inline)]
tags 662989 + wontfix
thanks

On Wed, Mar 07, 2012 at 12:00:50PM -0800, Chase Douglas wrote:
> Package: gtest
> Version: 1.6.0-1
> Severity: normal
> Tags: patch
> 
> Dear Maintainer,
> 
> The libgtest.a library is not build with -fPIC. This inhibits linking against
> objects compiled with -fPIC. To fix this, the CXXFLAGS should include -fPIC for
> the static library.

Not convinced this is a good idea in general and in any event the
static library is going away (see NEWS.Debian) so I'm not planning to
implement the patch.

Regards,
-Steve
[signature.asc (application/pgp-signature, inline)]

Added tag(s) wontfix. Request was from "Steve M. Robbins" <steve@sumost.ca> to control@bugs.debian.org. (Fri, 09 Mar 2012 04:57:05 GMT) (full text, mbox, link).


Reply sent to smr@debian.org (Steve M. Robbins):
You have taken responsibility. (Sun, 22 Apr 2012 03:33:05 GMT) (full text, mbox, link).


Notification sent to Chase Douglas <chase.douglas@ubuntu.com>:
Bug acknowledged by developer. (Sun, 22 Apr 2012 03:33:05 GMT) (full text, mbox, link).


Message #17 received at 662989-close@bugs.debian.org (full text, mbox, reply):

From: smr@debian.org (Steve M. Robbins)
To: 662989-close@bugs.debian.org
Subject: Bug#662989: fixed in gtest 1.6.0-2
Date: Sun, 22 Apr 2012 03:32:19 +0000
Source: gtest
Source-Version: 1.6.0-2

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

gtest_1.6.0-2.debian.tar.gz
  to main/g/gtest/gtest_1.6.0-2.debian.tar.gz
gtest_1.6.0-2.dsc
  to main/g/gtest/gtest_1.6.0-2.dsc
libgtest-dev_1.6.0-2_amd64.deb
  to main/g/gtest/libgtest-dev_1.6.0-2_amd64.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 662989@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Steve M. Robbins <smr@debian.org> (supplier of updated gtest 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.8
Date: Sat, 21 Apr 2012 16:10:45 -0500
Source: gtest
Binary: libgtest-dev
Architecture: source amd64
Version: 1.6.0-2
Distribution: unstable
Urgency: low
Maintainer: Steve M. Robbins <smr@debian.org>
Changed-By: Steve M. Robbins <smr@debian.org>
Description: 
 libgtest-dev - Google's framework for writing C++ tests - header files
Closes: 662989 666438
Changes: 
 gtest (1.6.0-2) unstable; urgency=low
 .
   * libgtest-dev.install: Do not ship static libs (closes: #662989).
     Install CMakeLists.txt to build lib (closes: #666438).
Checksums-Sha1: 
 70ff9f03d00b166053385e4e88dd53332da17801 1233 gtest_1.6.0-2.dsc
 110613f6ccbd607f06c57f94d041714813ed1893 5339 gtest_1.6.0-2.debian.tar.gz
 c5d1432b438764f8529a2b24dd193e9cd1f82313 264836 libgtest-dev_1.6.0-2_amd64.deb
Checksums-Sha256: 
 5aa452a5ba6d22848659abe2730c87b35a724becef7f5942b02b659bac0e2a9d 1233 gtest_1.6.0-2.dsc
 2074d15bfa1c91412a2efe2ef2c2d13e8b16ede7ac127cade95c9e5c2b406878 5339 gtest_1.6.0-2.debian.tar.gz
 c810c134dac26c6202584a5ee7415cfc0dc712186d0de703d1756691f58518fa 264836 libgtest-dev_1.6.0-2_amd64.deb
Files: 
 96bb082142029460c20b452ccfb14f14 1233 devel optional gtest_1.6.0-2.dsc
 f8672cd602fa7b8817c6fa9d4982de92 5339 devel optional gtest_1.6.0-2.debian.tar.gz
 69ea83ac3b6dfff605cc5fc4fad99d3d 264836 libdevel optional libgtest-dev_1.6.0-2_amd64.deb

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

iD8DBQFPkzJl0i2bPSHbMcURAjO+AKCGXcB5fhEq3jrsu1CWUjOSCS1SQgCcCFhg
Nfz6QvE63K+YzAp7rlt8CnM=
=KCG3
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 30 May 2012 07:41:26 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Jan 10 14:07:47 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.