Debian Bug report logs - #646148
multipath-tools: FTBFS: /usr/bin/ld: cannot find -lncurses

version graph

Package: multipath-tools; Maintainer for multipath-tools is Debian DM Multipath Team <team+linux-blocks@tracker.debian.org>; Source for multipath-tools is src:multipath-tools (PTS, buildd, popcon).

Reported by: Sven Joachim <svenjoac@gmx.de>

Date: Fri, 21 Oct 2011 18:18:01 UTC

Severity: serious

Tags: patch

Found in version multipath-tools/0.4.9-2

Fixed in version multipath-tools/0.4.9-3

Done: Ritesh Raj Sarraf <rrs@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, svenjoac@gmx.de, Debian LVM Team <pkg-lvm-maintainers@lists.alioth.debian.org>:
Bug#646148; Package multipath-tools. (Fri, 21 Oct 2011 18:18:04 GMT) (full text, mbox, link).


Acknowledgement sent to Sven Joachim <svenjoac@gmx.de>:
New Bug report received and forwarded. Copy sent to svenjoac@gmx.de, Debian LVM Team <pkg-lvm-maintainers@lists.alioth.debian.org>. (Fri, 21 Oct 2011 18:18:04 GMT) (full text, mbox, link).


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

From: Sven Joachim <svenjoac@gmx.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: multipath-tools: FTBFS: /usr/bin/ld: cannot find -lncurses
Date: Fri, 21 Oct 2011 20:16:47 +0200
Package: multipath-tools
Version: 0.4.9-2
Severity: serious

From my pbuilder log:

,----
| cc -pipe -g -Wall -Wunused -Wstrict-prototypes -fPIC -DLIB_STRING=\"lib\" -I../libmultipath -c -o cli_handlers.o cli_handlers.c
| cc -pipe -g -Wall -Wunused -Wstrict-prototypes -fPIC -DLIB_STRING=\"lib\" -I../libmultipath -lpthread -ldevmapper -lreadline -lncurses -ldl -lmultipath -L../libmultipath -o multipathd main.o pidfile.o uxlsnr.o uxclnt.o cli.o cli_handlers.o
| /usr/bin/ld: cannot find -lncurses
| collect2: ld returned 1 exit status
| make[2]: *** [multipathd] Error 1
`----

Either add libncurses-dev to Build-Depends, or (preferably) patch
multipathd/Makefile to not add -lncurses to LDFLAGS, since it is not
needed.


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.1.0-rc10-nouveau (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash




Information forwarded to debian-bugs-dist@lists.debian.org, Debian LVM Team <pkg-lvm-maintainers@lists.alioth.debian.org>:
Bug#646148; Package multipath-tools. (Sat, 05 Nov 2011 12:45:41 GMT) (full text, mbox, link).


Acknowledgement sent to Sven Joachim <svenjoac@gmx.de>:
Extra info received and forwarded to list. Copy sent to Debian LVM Team <pkg-lvm-maintainers@lists.alioth.debian.org>. (Sat, 05 Nov 2011 12:45:43 GMT) (full text, mbox, link).


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

From: Sven Joachim <svenjoac@gmx.de>
To: 646148@bugs.debian.org
Subject: Re: Bug#646148: multipath-tools: FTBFS: /usr/bin/ld: cannot find -lncurses
Date: Sat, 05 Nov 2011 13:42:44 +0100
[Message part 1 (text/plain, inline)]
tags 646148 + patch
thanks

On 2011-10-21 20:16 +0200, Sven Joachim wrote:

> Package: multipath-tools
> Version: 0.4.9-2
> Severity: serious
>
> From my pbuilder log:
>
> ,----
> | cc -pipe -g -Wall -Wunused -Wstrict-prototypes -fPIC
> | -DLIB_STRING=\"lib\" -I../libmultipath -c -o cli_handlers.o
> | cli_handlers.c
> | cc -pipe -g -Wall -Wunused -Wstrict-prototypes -fPIC
> | -DLIB_STRING=\"lib\" -I../libmultipath -lpthread -ldevmapper
> | -lreadline -lncurses -ldl -lmultipath -L../libmultipath -o
> | multipathd main.o pidfile.o uxlsnr.o uxclnt.o cli.o cli_handlers.o
> | /usr/bin/ld: cannot find -lncurses
> | collect2: ld returned 1 exit status
> | make[2]: *** [multipathd] Error 1
> `----
>
> Either add libncurses-dev to Build-Depends, or (preferably) patch
> multipathd/Makefile to not add -lncurses to LDFLAGS, since it is not
> needed.

Attached is a debdiff with a patch that does the latter.

Cheers,
       Sven

[debdiff (text/plain, attachment)]

Added tag(s) patch. Request was from Sven Joachim <svenjoac@gmx.de> to control@bugs.debian.org. (Sat, 05 Nov 2011 12:46:15 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian LVM Team <pkg-lvm-maintainers@lists.alioth.debian.org>:
Bug#646148; Package multipath-tools. (Sat, 05 Nov 2011 17:33:32 GMT) (full text, mbox, link).


Acknowledgement sent to rrs@researchut.com:
Extra info received and forwarded to list. Copy sent to Debian LVM Team <pkg-lvm-maintainers@lists.alioth.debian.org>. (Sat, 05 Nov 2011 17:33:32 GMT) (full text, mbox, link).


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

From: Ritesh Raj Sarraf <rrs@researchut.com>
To: Sven Joachim <svenjoac@gmx.de>, 646148@bugs.debian.org
Subject: Re: Bug#646148: multipath-tools: FTBFS: /usr/bin/ld: cannot find -lncurses
Date: Sat, 05 Nov 2011 22:59:03 +0530
[Message part 1 (text/plain, inline)]
Thanks Sven. I will include it when I do the new upload (which I plan
for Wheezy).


On 11/05/2011 06:12 PM, Sven Joachim wrote:
> tags 646148 + patch
> thanks
>
> On 2011-10-21 20:16 +0200, Sven Joachim wrote:
>
>> Package: multipath-tools
>> Version: 0.4.9-2
>> Severity: serious
>>
>> From my pbuilder log:
>>
>> ,----
>> | cc -pipe -g -Wall -Wunused -Wstrict-prototypes -fPIC
>> | -DLIB_STRING=\"lib\" -I../libmultipath -c -o cli_handlers.o
>> | cli_handlers.c
>> | cc -pipe -g -Wall -Wunused -Wstrict-prototypes -fPIC
>> | -DLIB_STRING=\"lib\" -I../libmultipath -lpthread -ldevmapper
>> | -lreadline -lncurses -ldl -lmultipath -L../libmultipath -o
>> | multipathd main.o pidfile.o uxlsnr.o uxclnt.o cli.o cli_handlers.o
>> | /usr/bin/ld: cannot find -lncurses
>> | collect2: ld returned 1 exit status
>> | make[2]: *** [multipathd] Error 1
>> `----
>>
>> Either add libncurses-dev to Build-Depends, or (preferably) patch
>> multipathd/Makefile to not add -lncurses to LDFLAGS, since it is not
>> needed.
> Attached is a debdiff with a patch that does the latter.
>
> Cheers,
>        Sven
>


-- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."


[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian LVM Team <pkg-lvm-maintainers@lists.alioth.debian.org>:
Bug#646148; Package multipath-tools. (Sat, 03 Dec 2011 13:30:03 GMT) (full text, mbox, link).


Acknowledgement sent to Alexander Reichle-Schmehl <tolimar@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian LVM Team <pkg-lvm-maintainers@lists.alioth.debian.org>. (Sat, 03 Dec 2011 13:30:04 GMT) (full text, mbox, link).


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

From: Alexander Reichle-Schmehl <tolimar@debian.org>
To: rrs@researchut.com, 646148@bugs.debian.org
Cc: Sven Joachim <svenjoac@gmx.de>
Subject: Re: Bug#646148: multipath-tools: FTBFS: /usr/bin/ld: cannot find -lncurses
Date: Sat, 3 Dec 2011 14:27:02 +0100
Hi!

* Ritesh Raj Sarraf <rrs@researchut.com> [111105 18:29]:
> Thanks Sven. I will include it when I do the new upload (which I plan
> for Wheezy).

Ping?  Any reason for keeping this release critical bug open for such a
long time?

Best Regards,
  Alexander




Reply sent to Ritesh Raj Sarraf <rrs@debian.org>:
You have taken responsibility. (Sat, 03 Dec 2011 15:03:30 GMT) (full text, mbox, link).


Notification sent to Sven Joachim <svenjoac@gmx.de>:
Bug acknowledged by developer. (Sat, 03 Dec 2011 15:03:30 GMT) (full text, mbox, link).


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

From: Ritesh Raj Sarraf <rrs@debian.org>
To: 646148-close@bugs.debian.org
Subject: Bug#646148: fixed in multipath-tools 0.4.9-3
Date: Sat, 03 Dec 2011 14:58:49 +0000
Source: multipath-tools
Source-Version: 0.4.9-3

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

kpartx_0.4.9-3_amd64.deb
  to main/m/multipath-tools/kpartx_0.4.9-3_amd64.deb
multipath-tools-boot_0.4.9-3_all.deb
  to main/m/multipath-tools/multipath-tools-boot_0.4.9-3_all.deb
multipath-tools-dbg_0.4.9-3_amd64.deb
  to main/m/multipath-tools/multipath-tools-dbg_0.4.9-3_amd64.deb
multipath-tools_0.4.9-3.debian.tar.gz
  to main/m/multipath-tools/multipath-tools_0.4.9-3.debian.tar.gz
multipath-tools_0.4.9-3.dsc
  to main/m/multipath-tools/multipath-tools_0.4.9-3.dsc
multipath-tools_0.4.9-3_amd64.deb
  to main/m/multipath-tools/multipath-tools_0.4.9-3_amd64.deb
multipath-udeb_0.4.9-3_amd64.udeb
  to main/m/multipath-tools/multipath-udeb_0.4.9-3_amd64.udeb



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

Debian distribution maintenance software
pp.
Ritesh Raj Sarraf <rrs@debian.org> (supplier of updated multipath-tools 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: SHA512

Format: 1.8
Date: Sat, 03 Dec 2011 19:34:59 +0530
Source: multipath-tools
Binary: multipath-tools multipath-tools-dbg kpartx multipath-tools-boot multipath-udeb
Architecture: source amd64 all
Version: 0.4.9-3
Distribution: unstable
Urgency: low
Maintainer: Debian LVM Team <pkg-lvm-maintainers@lists.alioth.debian.org>
Changed-By: Ritesh Raj Sarraf <rrs@debian.org>
Description: 
 kpartx     - create device mappings for partitions
 multipath-tools - maintain multipath block device access
 multipath-tools-boot - Support booting from multipath devices
 multipath-tools-dbg - maintain multipath block device access - debugging symbols
 multipath-udeb - maintain multipath block device access - udeb package (udeb)
Closes: 628225 637538 640802 646148
Changes: 
 multipath-tools (0.4.9-3) unstable; urgency=low
 .
   * [dd85b8b] Add example to kpartx manpage. Committed upstream.
     Thanks to Lars Wirzenius (Closes: 637538)
   * [652acf5] Add Brazilian Portuguese debconf templates translation.
     Thanks to Flamarion Jorge (Closes: 640802)
   * [71df377] Add Danish translation of the debconf templates multipath-tools.
     Thanks to Joe Hansen (Closes: #628225)
   * [19ab90f] Avoid unnecessary linkage to ncurses library.
     Thanks to Sven Joachim (Closes: 646148)
Checksums-Sha1: 
 4b9b2ff9ebb78302508fefb347339b862b409492 2297 multipath-tools_0.4.9-3.dsc
 e42669b173f6d06e4c703631cea9f9f8d99470b3 26422 multipath-tools_0.4.9-3.debian.tar.gz
 b9b9b8814e10b08051017cac5ecb16b908867c8c 176042 multipath-tools_0.4.9-3_amd64.deb
 ea6d204cc3b5763818e90b50e5dfb641ef1a8f5b 224656 multipath-tools-dbg_0.4.9-3_amd64.deb
 ada0f3312a5624d4699db93aeca449ef079be8b6 30756 kpartx_0.4.9-3_amd64.deb
 cd030d02f68e9699a1b7f622f950fefdd5e4b99d 14904 multipath-tools-boot_0.4.9-3_all.deb
 48ab28aea11ceb776962fd98c8ee3abba2439252 140528 multipath-udeb_0.4.9-3_amd64.udeb
Checksums-Sha256: 
 5fa181857148908cee193b48c4c40e6788058f1ea92d57c93a72a8a06fbb7469 2297 multipath-tools_0.4.9-3.dsc
 5d3226a8c4cb96de3d2276a0c816d6cf7999be9b4531e0f309a89d8ffa20a0c0 26422 multipath-tools_0.4.9-3.debian.tar.gz
 8445872a6d4908179d918093d1c16c1cafbd973e96fe35381e479993a88787b7 176042 multipath-tools_0.4.9-3_amd64.deb
 92b1cc58705c958f03907d49a8a178caee5533f1305233e6e73a8d902a66e76c 224656 multipath-tools-dbg_0.4.9-3_amd64.deb
 5620ac178abea3e0ec364cddda2289946ae13c59c9d21e6cc7c95ee4be6218ae 30756 kpartx_0.4.9-3_amd64.deb
 5974f0fdebc804eec19c000ee723c835aa9220675cf85fdc272637bfbb468ef3 14904 multipath-tools-boot_0.4.9-3_all.deb
 58dae7fe201e5ec1d26bc3c6b1db2c2cdaf7da946302d05f726bcaebf411a628 140528 multipath-udeb_0.4.9-3_amd64.udeb
Files: 
 cbaea2b0dfa70dc868d75ad2aca48b0c 2297 admin extra multipath-tools_0.4.9-3.dsc
 0524470cb03549f39773a39983ff166a 26422 admin extra multipath-tools_0.4.9-3.debian.tar.gz
 a60650090ae0a4c19814737cb7928b58 176042 admin extra multipath-tools_0.4.9-3_amd64.deb
 a5e2c52d3936db713c802bb7412795c2 224656 debug extra multipath-tools-dbg_0.4.9-3_amd64.deb
 cb9fda73e0bd629a1f7bc2a6c7ed0af6 30756 admin extra kpartx_0.4.9-3_amd64.deb
 046470b8ad7a621c165c3d942ae4c3c1 14904 admin extra multipath-tools-boot_0.4.9-3_all.deb
 0075d6268f82e857efcdc12ca2839f0f 140528 debian-installer extra multipath-udeb_0.4.9-3_amd64.udeb

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

iQIcBAEBCgAGBQJO2jLyAAoJEKY6WKPy4XVpFpcP/22cgooIKg4EXC/kTwg6/dvw
TRNS1cqKw5rQ3XaXisx8qha6Ah/nKkj2wT01g+w/fXjiunp3uAQa2q0laeIcXv2B
8gM2uTvkx2wAr9gfOKX2+HAcL2XnLCy0qoKltIwRl30pT4L6y3vZtDoFz2UGlyBv
802rg+97M4RAXkqy1Ug25GehgoXn9693ej3cBzOYOgPyjxHx5UHAEythFBF7LUWz
Vsc0TdlQ4a+HgehkiKsHEHUFn0cfyXqO5QFLNbhf89sN6N00gbeHiysRc3P78CCb
O1rk8bIi9emgtwtljf5GWCG6YXFqgwn19Je80/O3gp042EkZJfL8ev7+VVXhOJFL
D4Z3Aa1xS4uZTWLc/1yC79QsMH/ojP5vXllw0euMtg4P5q78kc6aYT8530yvrF97
dG5sjlkT9VesvN3URIm9vnAbDfdJ3HhZHigCpu78t53u8UD5Jf59JnKG0BfLZ6gN
OcBG5NoqiIVm9MCJKwtpo1prVkTIOQ2+vvac49C4oJ1lIPsuNyUiZBCWf3sbnTtn
v4JWHwXMP0KW4CSYoUVPxXNOzAkgk73vHs/HC1WG+kWWtwtBeTef/8dfvTLjniHE
haepUJ2nbWuqoqEsJEGjOJ5rI15HREqbJ5FDNXfymLVTQsofzW1UQy2pECrWf9uK
AGT145IlDb9TlRx9EBLo
=G6UE
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 11 Jan 2012 07:35:31 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 Aug 20 17:46:05 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.