Debian Bug report logs - #446360
oprofile: opreport depends on libbfd

version graph

Package: oprofile; Maintainer for oprofile is (unknown);

Reported by: Heikki Linnakangas <hlinnaka@iki.fi>

Date: Fri, 12 Oct 2007 13:36:12 UTC

Severity: critical

Tags: patch

Found in version oprofile/0.9.3-1

Fixed in versions oprofile/0.9.3-1.1, oprofile/0.9.3-2

Done: Junichi Uekawa <dancer@debian.org>

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, hlinnaka@iki.fi, Al Stone <ahs3@debian.org>:
Bug#446360; Package oprofile. (full text, mbox, link).


Acknowledgement sent to Heikki Linnakangas <hlinnaka@iki.fi>:
New Bug report received and forwarded. Copy sent to hlinnaka@iki.fi, Al Stone <ahs3@debian.org>. (full text, mbox, link).


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

From: Heikki Linnakangas <hlinnaka@iki.fi>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: oprofile: opreport depends on libbfd
Date: Fri, 12 Oct 2007 14:30:25 +0100
Package: oprofile
Version: 0.9.3-1
Severity: important


After I upgraded oprofile package to version0.9.3-1, opreport failed because it depends on 
libbfd-2.18:

 ldd /usr/bin/opreport
        linux-gate.so.1 =>  (0xffffe000)
        libpopt.so.0 => /lib/libpopt.so.0 (0xb7f8b000)
        libbfd-2.18.so => /usr/lib/libbfd-2.18.so (0xb7ec3000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7ebf000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7dd3000)
        libm.so.6 => /lib/libm.so.6 (0xb7dad000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7da2000)
        libc.so.6 => /lib/libc.so.6 (0xb7c5a000)
        /lib/ld-linux.so.2 (0xb7fab000)

Upgrading binutils-dev to version 2.18 fixed it, but according to the binutils-dev package 
description:  "Note that building Debian packages which depend on the shared libbfd is Not 
Allowed." 

If I understood that correctly, libbfd should be linked statically. Or if not, the oprofile 
package should be marked to depend on binutils-dev version 2.18.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.20.4 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages oprofile depends on:
ii  binutils                      2.18-1     The GNU assembler, linker and bina
ii  debconf [debconf-2.0]         1.5.14     Debian configuration management sy
ii  libc6                         2.6.1-1+b1 GNU C Library: Shared libraries
ii  libgcc1                       1:4.2.1-4  GCC support library
ii  libpopt0                      1.10-3     lib for parsing cmdline parameters
ii  libstdc++6                    4.2.1-4    The GNU Standard C++ Library v3

oprofile recommends no packages.

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Al Stone <ahs3@debian.org>:
Bug#446360; Package oprofile. (full text, mbox, link).


Acknowledgement sent to Emmanuel Fleury <fleury@labri.fr>:
Extra info received and forwarded to list. Copy sent to Al Stone <ahs3@debian.org>. (full text, mbox, link).


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

From: Emmanuel Fleury <fleury@labri.fr>
To: 446360@bugs.debian.org
Subject: Fixing libbfd dependancy
Date: Thu, 15 Nov 2007 18:39:23 +0100
Package: oprofile
Version: 0.9.3-1

--- Please enter the report below this line. ---

Got also a problem with libbfd-2.18.so:

[fleury@mazurek tmp]$ opreport -l ./multiple-hello
opreport: error while loading shared libraries: libbfd-2.18.so: cannot
open shared object file: No such file or directory
[fleury@mazurek tmp]$ locate libbfd
/home/uml/rootdir/usr/lib/libbfd-2.18.so
/usr/lib/libbfd-2.18.20071027.so

In fact the following fix the problem:
[root@mazurek tmp]# cd /usr/lib
[root@mazurek lib]# ln -s libbfd-2.18.20071027.so libbfd-2.18.so


--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.23.1

Debian Release: lenny/sid
  500 unstable        ftp.fr.debian.org

--- Package information. ---
Depends            (Version) | Installed
============================-+-=============
debconf                      | 1.5.17
 OR debconf-2.0              |
binutils                     | 2.18.1~cvs20071027-1
libc6           (>= 2.6.1-1) | 2.6.1-6
libgcc1         (>= 1:4.2.1) | 1:4.2.2-3
libpopt0           (>= 1.10) | 1.10-3
libstdc++6        (>= 4.2.1) | 4.2.2-3


-- 
Emmanuel Fleury

Put your talent into your work, but your genius into your life.
  -- Oscar Wilde




Information forwarded to debian-bugs-dist@lists.debian.org, Al Stone <ahs3@debian.org>:
Bug#446360; Package oprofile. (full text, mbox, link).


Acknowledgement sent to Robert Edmonds <edmonds@debian.org>:
Extra info received and forwarded to list. Copy sent to Al Stone <ahs3@debian.org>. (full text, mbox, link).


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

From: Robert Edmonds <edmonds@debian.org>
To: 446360@bugs.debian.org, control@bugs.debian.org
Subject: severity is critical
Date: Sun, 18 Nov 2007 23:01:00 -0500
[Message part 1 (text/plain, inline)]
severity 446360 critical
thanks

This is similar to #450607, #319089, #273849, #227135; oprofile should
not dynamically link against libbfd.

-- 
Robert Edmonds
edmonds@debian.org
[signature.asc (application/pgp-signature, inline)]

Severity set to `critical' from `important' Request was from Robert Edmonds <edmonds@debian.org> to control@bugs.debian.org. (Mon, 19 Nov 2007 06:09:05 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Al Stone <ahs3@debian.org>:
Bug#446360; Package oprofile. (full text, mbox, link).


Acknowledgement sent to Junichi Uekawa <dancer@netfort.gr.jp>:
Extra info received and forwarded to list. Copy sent to Al Stone <ahs3@debian.org>. (full text, mbox, link).


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

From: Junichi Uekawa <dancer@netfort.gr.jp>
To: 446360@bugs.debian.org, control@bugs.debian.org
Subject: patch to create static
Date: Wed, 12 Dec 2007 08:37:33 +0900
[Message part 1 (text/plain, inline)]
tags 446360 patch
thanks

Hi,

I think the following patch added to debian/patches/ would work.
I changed the following part, and re-ran autoconf etc.

Index: oprofile-0.9.3/configure.in
===================================================================
--- oprofile-0.9.3.orig/configure.in	2007-12-12 08:24:36.524646014 +0900
+++ oprofile-0.9.3/configure.in	2007-12-12 08:29:08.707644676 +0900
@@ -14,6 +14,7 @@
 AC_INIT(libop/op_config.h)
 AM_INIT_AUTOMAKE(oprofile, 0.9.3)
 AM_CONFIG_HEADER(config.h)
+AM_MAINTAINER_MODE
 
 AC_PROG_RANLIB
 
@@ -127,7 +128,7 @@
 dnl finally restore the original libs setting
 LIBS="$ORIG_SAVE_LIBS"
 LIBERTY_LIBS="-liberty $DL_LIB $INTL_LIB"
-BFD_LIBS="-lbfd -liberty $DL_LIB $INTL_LIB"
+BFD_LIBS="/usr/lib/libbfd.a -liberty $DL_LIB $INTL_LIB"
 POPT_LIBS="-lpopt"
 AC_SUBST(LIBERTY_LIBS)
 AC_SUBST(BFD_LIBS)



[staticlibbfd (application/octet-stream, attachment)]

Tags added: patch Request was from Junichi Uekawa <dancer@netfort.gr.jp> to control@bugs.debian.org. (Tue, 11 Dec 2007 23:39:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Al Stone <ahs3@debian.org>:
Bug#446360; Package oprofile. (full text, mbox, link).


Acknowledgement sent to Junichi Uekawa <dancer@netfort.gr.jp>:
Extra info received and forwarded to list. Copy sent to Al Stone <ahs3@debian.org>. (full text, mbox, link).


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

From: Junichi Uekawa <dancer@netfort.gr.jp>
To: 446360@bugs.debian.org
Subject: NMU uploaded to DELAYED
Date: Fri, 14 Dec 2007 01:34:36 +0900
[Message part 1 (text/plain, inline)]
Hi,

I've uploaded a NMU in delayed queue.

regards,
	junichi
-- 
dancer@{debian.org,netfort.gr.jp}   Debian Project

[patch (application/octet-stream, attachment)]

Reply sent to Junichi Uekawa <dancer@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Heikki Linnakangas <hlinnaka@iki.fi>:
Bug acknowledged by developer. (full text, mbox, link).


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

From: Junichi Uekawa <dancer@debian.org>
To: 446360-close@bugs.debian.org
Subject: Bug#446360: fixed in oprofile 0.9.3-1.1
Date: Fri, 21 Dec 2007 21:32:02 +0000
Source: oprofile
Source-Version: 0.9.3-1.1

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

oprofile-gui_0.9.3-1.1_amd64.deb
  to pool/main/o/oprofile/oprofile-gui_0.9.3-1.1_amd64.deb
oprofile_0.9.3-1.1.dsc
  to pool/main/o/oprofile/oprofile_0.9.3-1.1.dsc
oprofile_0.9.3-1.1.tar.gz
  to pool/main/o/oprofile/oprofile_0.9.3-1.1.tar.gz
oprofile_0.9.3-1.1_amd64.deb
  to pool/main/o/oprofile/oprofile_0.9.3-1.1_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 446360@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Junichi Uekawa <dancer@debian.org> (supplier of updated oprofile 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: Fri, 14 Dec 2007 01:26:31 +0900
Source: oprofile
Binary: oprofile oprofile-gui
Architecture: source amd64
Version: 0.9.3-1.1
Distribution: unstable
Urgency: low
Maintainer: Al Stone <ahs3@debian.org>
Changed-By: Junichi Uekawa <dancer@debian.org>
Description: 
 oprofile   - system-wide profiler for Linux systems
 oprofile-gui - system-wide profiler for Linux systems (GUI components)
Closes: 446360
Changes: 
 oprofile (0.9.3-1.1) unstable; urgency=low
 .
   * NMU
   * link libbfd static (closes: #446360)
Files: 
 419b1a05b1451b704a468dda3d216383 689 devel optional oprofile_0.9.3-1.1.dsc
 2e02e5f0b307826fae87116b3e84721b 2748832 devel optional oprofile_0.9.3-1.1.tar.gz
 cb453c71aad58f9dbc11075fa9eb62f6 2564536 devel optional oprofile_0.9.3-1.1_amd64.deb
 d1b4289ae896aceaa4f1990555e4c1f9 95642 devel optional oprofile-gui_0.9.3-1.1_amd64.deb

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

iD8DBQFHYV552Dd9TugeVcERAkctAJ9z/bZ4ZgfQFusv9VcDlRuUSUODugCdFIlA
7KkGvvtg4Y0/zgsphm8LAxo=
=1puG
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 01 Feb 2008 07:35:32 GMT) (full text, mbox, link).


Bug unarchived. Request was from Lucas Nussbaum <lucas@lucas-nussbaum.net> to control@bugs.debian.org. (Wed, 28 May 2008 13:27:04 GMT) (full text, mbox, link).


Bug marked as fixed in version 0.9.3-2. Request was from Lucas Nussbaum <lucas@lucas-nussbaum.net> to control@bugs.debian.org. (Wed, 28 May 2008 14:09:10 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 26 Jun 2008 07:36:21 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: Sun Jul 30 22:59:13 2023; 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.