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

Bug#641521: marked as done (procinfo: Fails to build with --as-needed link option)



Your message dated Wed, 23 Aug 2017 11:35:21 +0000
with message-id <E1dkTwP-00076g-Si@fasolo.debian.org>
and subject line Bug#641521: fixed in procinfo 1:2.0.304-3
has caused the Debian Bug report #641521,
regarding procinfo: Fails to build with --as-needed link option
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 owner@bugs.debian.org
immediately.)


-- 
641521: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=641521
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: procinfo
Version: 2.0.304-1
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch oneiric

Hello,

In https://launchpad.net/bugs/771106  it was reported that procinfo
fails to build when linking with --as-needed:

/tmp/cc4FCBB7.o: In function `mainLoop(bool, bool, bool, bool, bool, bool, bool, bool, bool, unsigned int, std::vector<IRQ, std::allocator<IRQ> > const&)':
/build/buildd/procinfo-2.0.304/procinfo.cpp:220: undefined reference to `refresh'
/build/buildd/procinfo-2.0.304/procinfo.cpp:222: undefined reference to `erase'
/tmp/cc4FCBB7.o: In function `main':
/build/buildd/procinfo-2.0.304/procinfo.cpp:375: undefined reference to `clear'
/tmp/cc4FCBB7.o: In function `resetConsole':
/build/buildd/procinfo-2.0.304/lib/prettyPrint.cpp:60: undefined reference to `endwin'
/tmp/cc4FCBB7.o: In function `initConsole':
/build/buildd/procinfo-2.0.304/lib/prettyPrint.cpp:52: undefined reference to `initscr'
/build/buildd/procinfo-2.0.304/lib/prettyPrint.cpp:54: undefined reference to `cbreak'
collect2: ld returned 1 exit status
make[1]: *** [procinfo] Error 1

Please see http://wiki.debian.org/ToolChain/DSOLinking for details.

Attached patch fixes the link order to build with --as-needed as well.

Thanks for considering,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
=== modified file 'Makefile.in'
--- Makefile.in	2009-05-03 23:34:49 +0000
+++ Makefile.in	2011-09-14 06:53:49 +0000
@@ -44,7 +44,7 @@
 cygwin_procstat.cpp cygwin_rendercpupagestat.cpp \
 lib/routines.cpp lib/timeRoutines.cpp lib/prettyPrint.cpp \
 Makefile
-	$(CXX) $(CFLAGS) $(LDFLAGS) procinfo.cpp -o $@
+	$(CXX) $(CFLAGS) procinfo.cpp $(LDFLAGS) -o $@
 
 #procinfo.o: procinfo.cpp procinfo.h
 #	$(XX) $(CFLAGS) procinfo.cpp -o procinfo.o

=== modified file 'debian/changelog'
--- debian/changelog	2009-05-03 23:34:49 +0000
+++ debian/changelog	2011-09-14 06:53:49 +0000
@@ -1,3 +1,10 @@
+procinfo (1:2.0.304-1ubuntu1) UNRELEASED; urgency=low
+
+  * Makefile.in: Fix link order so that this builds with --as-needed.
+    (LP: #771106)
+
+ -- Martin Pitt <martin.pitt@ubuntu.com>  Wed, 14 Sep 2011 08:53:26 +0200
+
 procinfo (1:2.0.304-1) unstable; urgency=low
 
   * [9413c06] New Upstream Version 2.0.304

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: procinfo
Source-Version: 1:2.0.304-3

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

Debian distribution maintenance software
pp.
Mattia Rizzolo <mattia@debian.org> (supplier of updated procinfo 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@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 23 Aug 2017 13:16:24 +0200
Source: procinfo
Binary: procinfo
Architecture: source
Version: 1:2.0.304-3
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Mattia Rizzolo <mattia@debian.org>
Description:
 procinfo   - tools to display information from /proc and /sys
Closes: 641521
Changes:
 procinfo (1:2.0.304-3) unstable; urgency=medium
 .
   * QA upload.
   * debian/control:
     + Move the git repository to collab-maint.
     + Bump Standards-Version to 4.1.0, no changes needed.
   * Add patch to fix linking with --as-needed.
     Thanks to Martin Pitt <martin.pitt@ubuntu.com> for the patch.
     Closes: #641521; LP: #771106
Checksums-Sha1:
 1ef2479843fc573e3777501050de36839e9e6abd 1881 procinfo_2.0.304-3.dsc
 702f8b8d3254c8bf8af731ea49a71baba20f3777 8940 procinfo_2.0.304-3.debian.tar.xz
 40c24ad9a20265386635d432ed1c9680ec5d8d5f 5248 procinfo_2.0.304-3_amd64.buildinfo
Checksums-Sha256:
 535cb4a21a96f201e274d689cfdd703f24fdaa5ccc6ed7614c8b5f29ba840d85 1881 procinfo_2.0.304-3.dsc
 a2dbc9a9fdc4783d79a457af13fd0da1477b52d0017afb489486a775d0889e05 8940 procinfo_2.0.304-3.debian.tar.xz
 116a03e6aa953ab0d45af74523d68bd00221b4dca1bbae15cb413c3df67029d2 5248 procinfo_2.0.304-3_amd64.buildinfo
Files:
 e06a5466c5c38f9b7865748976cb4436 1881 utils optional procinfo_2.0.304-3.dsc
 0c29bf38765c961f3d8a5d20433a3dd3 8940 utils optional procinfo_2.0.304-3.debian.tar.xz
 ee72bddc4491bf5ee9780ea7bb44adbc 5248 utils optional procinfo_2.0.304-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEi3hoeGwz5cZMTQpICBa54Yx2K60FAlmdZR0ACgkQCBa54Yx2
K60aUQ/+NfxPYtBhgDPxlSvJyJDyZH6htamcfvTjBqSZh4SAdZZ2GZB2W2+Lyw9p
ETgU6X0+gjINkMWTyFrIwRt+wjyDYwdaphLSXWqvN1tXgAM9Rc36pS9GBQJEX/sD
N/6nWhUxdnEOc15gfVYbzLgOKIZKY1HXb9vAt0lLsNqdyVVKr8Jeq5PkgEOFMThL
VKpk83oYiF7WGeBx8k12c8tT69zpFjtgzsLjEwBD1VTaeinViyw1QDirATvFWFrH
oWeH0mhoEqX/zUiTCp7PKXiA4jygOtRHU4as6HEU6k78HQckLNMl+wO0M2LIFe0h
+2t5EOKChKS2nceiRYTlWQOWUcFq0OxkVvfpJ8AQa8NP3XccFxu5i90GqxuSSOr3
850tRCXvmqDFFd+TL0RdDL1Nha1Q6166FYSPIon0l0cIFV/ok+wOj8L3ALyEOn6X
OYyyr5+ga9ECjZLfFv6l8Fc/yt4BzDwjoS77K6uL2EApWn4wWYNFpqJgpj7NqkUV
PdRAGbfXqtq8UDRpWsm185ldP638xyMToTLeduE1AOduZNVe/fHunyoVl79v7Dgm
cEhVPBhX9U/MSTNdDL47hWcsik9osMmxoj5Pzof36aZRHFzuBKTjFm6dkp3S5ZeH
AB4FuEUuhaDKKnQ0RRl1DCP1HJqrGclFxJlmOiCji23tKM2HTC8=
=NKpT
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: