Debian Bug report logs - #670962
amule: FTBFS ("cannot convert 'UpnpString* {aka s_UpnpString*}' to 'const char*'")

version graph

Package: src:amule; Maintainer for src:amule is Sandro Tosi <morph@debian.org>;

Reported by: "Adam D. Barratt" <adam@adam-barratt.org.uk>

Date: Mon, 30 Apr 2012 19:42:01 UTC

Severity: serious

Tags: patch, sid, wheezy

Found in versions amule/2.3.1-6, amule/2.3.1-1

Fixed in version amule/2.3.1-7

Done: Sandro Tosi <morph@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, Debian aMule Team <pkg-amule-devel@lists.alioth.debian.org>:
Bug#670962; Package src:amule. (Mon, 30 Apr 2012 19:42:04 GMT) (full text, mbox, link).


Acknowledgement sent to "Adam D. Barratt" <adam@adam-barratt.org.uk>:
New Bug report received and forwarded. Copy sent to Debian aMule Team <pkg-amule-devel@lists.alioth.debian.org>. (Mon, 30 Apr 2012 19:42:04 GMT) (full text, mbox, link).


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

From: "Adam D. Barratt" <adam@adam-barratt.org.uk>
To: submit@bugs.debian.org
Subject: amule: FTBFS ("cannot convert 'UpnpString* {aka s_UpnpString*}' to 'const char*'")
Date: Mon, 30 Apr 2012 20:37:05 +0100
Source: amule
Version: 2.3.1-6
Severity: serious
Tags: wheezy sid

Hi,

amule FTBFS having been binNMUed for the libupnp6 transition.  From the
amd64 build log:

g++ -DHAVE_CONFIG_H -I. -I../../../../src/webserver/src -I../../..  -I../.. -I../../../../src -I../../../../src/libs -I../../../../src/include -DUSE_WX_EXTENSIONS -DWITH_LIBPNG  -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DwxUSE_GUI=0 -DWEBSERVERDIR="\"/usr/share/amule/webserver\""   -I/usr/include/upnp   -DENABLE_UPNP=1 -D_FORTIFY_SOURCE=2 -W -Wall -Wshadow -Wundef -pthread  -I/usr/include/libpng12 -pthread   -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c -o amuleweb-UPnPBase.o `test -f '../../../../src/UPnPBase.cpp' || echo '../../../../src/webserver/src/'`../../../../src/UPnPBase.cpp
../../../../src/UPnPBase.cpp: In static member function 'static int CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)':
../../../../src/UPnPBase.cpp:1329:10: error: cannot convert 'UpnpString* {aka s_UpnpString*}' to 'const char*' for argument '2' to 'int UpnpSubscribe(UpnpClient_Handle, const char*, int*, char*)'
../../../../src/UPnPBase.cpp:1336:53: error: no matching function for call to 'std::map<const std::basic_string<char>, CUPnPService*, std::less<const std::basic_string<char> >, std::allocator<std::pair<const std::basic_string<char>, CUPnPService*> > >::find(UpnpString*&)'
../../../../src/UPnPBase.cpp:1336:53: note: candidates are:
/usr/include/c++/4.6/bits/stl_map.h:741:7: note: std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::find(const key_type&) [with _Key = const std::basic_string<char>, _Tp = CUPnPService*, _Compare = std::less<const std::basic_string<char> >, _Alloc = std::allocator<std::pair<const std::basic_string<char>, CUPnPService*> >, std::map<_Key, _Tp, _Compare, _Alloc>::iterator = std::_Rb_tree_iterator<std::pair<const std::basic_string<char>, CUPnPService*> >, std::map<_Key, _Tp, _Compare, _Alloc>::key_type = const std::basic_string<char>]
/usr/include/c++/4.6/bits/stl_map.h:741:7: note:   no known conversion for argument 1 from 'UpnpString* {aka s_UpnpString*}' to 'std::map<const std::basic_string<char>, CUPnPService*, std::less<const std::basic_string<char> >, std::allocator<std::pair<const std::basic_string<char>, CUPnPService*> > >::key_type& {aka const std::basic_string<char>&}'
/usr/include/c++/4.6/bits/stl_map.h:756:7: note: std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator std::map<_Key, _Tp, _Compare, _Alloc>::find(const key_type&) const [with _Key = const std::basic_string<char>, _Tp = CUPnPService*, _Compare = std::less<const std::basic_string<char> >, _Alloc = std::allocator<std::pair<const std::basic_string<char>, CUPnPService*> >, std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator = std::_Rb_tree_const_iterator<std::pair<const std::basic_string<char>, CUPnPService*> >, std::map<_Key, _Tp, _Compare, _Alloc>::key_type = const std::basic_string<char>]
/usr/include/c++/4.6/bits/stl_map.h:756:7: note:   no known conversion for argument 1 from 'UpnpString* {aka s_UpnpString*}' to 'std::map<const std::basic_string<char>, CUPnPService*, std::less<const std::basic_string<char> >, std::allocator<std::pair<const std::basic_string<char>, CUPnPService*> > >::key_type& {aka const std::basic_string<char>&}'
make[5]: *** [amuleweb-UPnPBase.o] Error 1
make[5]: Leaving directory `/build/buildd-amule_2.3.1-6+b1-amd64-v3UiKh/amule-2.3.1/obj-x86_64-linux-gnu/src/webserver/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/build/buildd-amule_2.3.1-6+b1-amd64-v3UiKh/amule-2.3.1/obj-x86_64-linux-gnu/src/webserver'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/build/buildd-amule_2.3.1-6+b1-amd64-v3UiKh/amule-2.3.1/obj-x86_64-linux-gnu/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/buildd-amule_2.3.1-6+b1-amd64-v3UiKh/amule-2.3.1/obj-x86_64-linux-gnu'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/buildd-amule_2.3.1-6+b1-amd64-v3UiKh/amule-2.3.1/obj-x86_64-linux-gnu'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2

Full logs available via
https://buildd.debian.org/status/package.php?p=amule&suite=sid

Regards,

Adam





Added indication that bug 670962 blocks 655912 Request was from "Adam D. Barratt" <adam@adam-barratt.org.uk> to control@bugs.debian.org. (Mon, 30 Apr 2012 19:45:08 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian aMule Team <pkg-amule-devel@lists.alioth.debian.org>:
Bug#670962; Package src:amule. (Tue, 01 May 2012 00:15:04 GMT) (full text, mbox, link).


Acknowledgement sent to is19253 <is19253@salle.url.edu>:
Extra info received and forwarded to list. Copy sent to Debian aMule Team <pkg-amule-devel@lists.alioth.debian.org>. (Tue, 01 May 2012 00:15:04 GMT) (full text, mbox, link).


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

From: is19253 <is19253@salle.url.edu>
To: <670962@bugs.debian.org>
Subject: Re: amule: FTBFS ("cannot convert 'UpnpString* {aka s_UpnpString*}' to 'const char*'")
Date: Tue, 01 May 2012 02:04:11 +0200
Hi Adam D. Barratt

You have to use: libupnp 1.6.6

Other version don't work.

The info it's in:
http://forum.amule.org/index.php?topic=19701.msg105515#msg105515

Have a nice day/night!   :)




Information forwarded to debian-bugs-dist@lists.debian.org, Debian aMule Team <pkg-amule-devel@lists.alioth.debian.org>:
Bug#670962; Package src:amule. (Thu, 03 May 2012 01:57:06 GMT) (full text, mbox, link).


Acknowledgement sent to Cyril Brulebois <kibi@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian aMule Team <pkg-amule-devel@lists.alioth.debian.org>. (Thu, 03 May 2012 01:57:06 GMT) (full text, mbox, link).


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

From: Cyril Brulebois <kibi@debian.org>
To: is19253 <is19253@salle.url.edu>, 670962@bugs.debian.org
Cc: "Adam D. Barratt" <adam@adam-barratt.org.uk>
Subject: Re: Bug#670962: amule: FTBFS ("cannot convert 'UpnpString* {aka s_UpnpString*}' to 'const char*'")
Date: Thu, 3 May 2012 03:52:34 +0200
[Message part 1 (text/plain, inline)]
tag 670962 patch
thanks

Hi,

is19253 <is19253@salle.url.edu> (01/05/2012):
> Hi Adam D. Barratt
> 
> You have to use: libupnp 1.6.6
> 
> Other version don't work.
> 
> The info it's in:
> http://forum.amule.org/index.php?topic=19701.msg105515#msg105515
> 
> Have a nice day/night!   :)

we can't stay in the past forever (and you need to Cc the submitter
if you want him to read your mail).

Anyway, the following patch allows amule to build, but I performed no
run-time test.

Mraw,
KiBi.
[libupnp6_transition.diff (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]

Added tag(s) patch. Request was from Cyril Brulebois <kibi@debian.org> to control@bugs.debian.org. (Thu, 03 May 2012 01:57:08 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian aMule Team <pkg-amule-devel@lists.alioth.debian.org>:
Bug#670962; Package src:amule. (Thu, 03 May 2012 07:06:03 GMT) (full text, mbox, link).


Acknowledgement sent to Sandro Tosi <morph@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian aMule Team <pkg-amule-devel@lists.alioth.debian.org>. (Thu, 03 May 2012 07:06:03 GMT) (full text, mbox, link).


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

From: Sandro Tosi <morph@debian.org>
To: Cyril Brulebois <kibi@debian.org>, 670962@bugs.debian.org
Subject: Re: [Pkg-amule-devel] Bug#670962: amule: FTBFS ("cannot convert 'UpnpString* {aka s_UpnpString*}' to 'const char*'")
Date: Thu, 3 May 2012 09:03:07 +0200
Hi Cyril,

On Thu, May 3, 2012 at 3:52 AM, Cyril Brulebois <kibi@debian.org> wrote:
> Anyway, the following patch allows amule to build, but I performed no
> run-time test.

Thanks for the patch! I've just forwarded upstream (which is currently
tracking it at http://forum.amule.org/index.php?topic=19738).

Cheers,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi




Information forwarded to debian-bugs-dist@lists.debian.org, Debian aMule Team <pkg-amule-devel@lists.alioth.debian.org>:
Bug#670962; Package src:amule. (Thu, 03 May 2012 07:54:04 GMT) (full text, mbox, link).


Acknowledgement sent to Nick Leverton <nick@leverton.org>:
Extra info received and forwarded to list. Copy sent to Debian aMule Team <pkg-amule-devel@lists.alioth.debian.org>. (Thu, 03 May 2012 07:54:09 GMT) (full text, mbox, link).


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

From: Nick Leverton <nick@leverton.org>
To: Debian Bug Tracking System <670962@bugs.debian.org>
Subject: Re: amule: FTBFS ("cannot convert 'UpnpString* {aka s_UpnpString*}' to 'const char*'")
Date: Thu, 3 May 2012 08:51:24 +0100
[Message part 1 (text/plain, inline)]
Package: amule
Version: 2.3.1-1
Followup-For: Bug #670962
Tags: +patch

Hi,

I'm very sorry for ths oversight, I sneaked a last minute API change into
the libupnp6 package before the transition and missed this place where it
requires a source change.  Please would you apply the attached patch to amule ?

Thanks and apologies

Nick (libupnp maintainer)
[libupnp-fix-publisherurl.patch (text/x-diff, attachment)]

Added tag(s) pending. Request was from Sandro Tosi <morph@debian.org> to control@bugs.debian.org. (Thu, 03 May 2012 20:51:07 GMT) (full text, mbox, link).


Reply sent to Sandro Tosi <morph@debian.org>:
You have taken responsibility. (Thu, 03 May 2012 21:21:19 GMT) (full text, mbox, link).


Notification sent to "Adam D. Barratt" <adam@adam-barratt.org.uk>:
Bug acknowledged by developer. (Thu, 03 May 2012 21:21:21 GMT) (full text, mbox, link).


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

From: Sandro Tosi <morph@debian.org>
To: 670962-close@bugs.debian.org
Subject: Bug#670962: fixed in amule 2.3.1-7
Date: Thu, 03 May 2012 21:05:35 +0000
Source: amule
Source-Version: 2.3.1-7

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

amule-common_2.3.1-7_all.deb
  to main/a/amule/amule-common_2.3.1-7_all.deb
amule-daemon_2.3.1-7_amd64.deb
  to main/a/amule/amule-daemon_2.3.1-7_amd64.deb
amule-gnome-support_2.3.1-7_all.deb
  to main/a/amule/amule-gnome-support_2.3.1-7_all.deb
amule-utils-gui_2.3.1-7_amd64.deb
  to main/a/amule/amule-utils-gui_2.3.1-7_amd64.deb
amule-utils_2.3.1-7_amd64.deb
  to main/a/amule/amule-utils_2.3.1-7_amd64.deb
amule_2.3.1-7.debian.tar.gz
  to main/a/amule/amule_2.3.1-7.debian.tar.gz
amule_2.3.1-7.dsc
  to main/a/amule/amule_2.3.1-7.dsc
amule_2.3.1-7_amd64.deb
  to main/a/amule/amule_2.3.1-7_amd64.deb
plasma-widget-amule_2.3.1-7_amd64.deb
  to main/a/amule/plasma-widget-amule_2.3.1-7_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 670962@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sandro Tosi <morph@debian.org> (supplier of updated amule 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: Thu, 03 May 2012 22:11:58 +0200
Source: amule
Binary: amule amule-common amule-utils amule-utils-gui amule-daemon amule-gnome-support plasma-widget-amule
Architecture: source amd64 all
Version: 2.3.1-7
Distribution: unstable
Urgency: low
Maintainer: Debian aMule Team <pkg-amule-devel@lists.alioth.debian.org>
Changed-By: Sandro Tosi <morph@debian.org>
Description: 
 amule      - client for the eD2k and Kad networks, like eMule
 amule-common - common files for the rest of aMule packages
 amule-daemon - non-graphic version of aMule, a client for the eD2k and Kad netwo
 amule-gnome-support - ed2k links handling support for GNOME web browsers
 amule-utils - utilities for aMule (command-line version)
 amule-utils-gui - graphic utilities for aMule
 plasma-widget-amule - kde plasmoid to control amule
Closes: 653503 662267 670962
Changes: 
 amule (2.3.1-7) unstable; urgency=low
 .
   * [af4640e] build-depends on libpng-dev, to prepare for libpng transition;
     thanks to Nobuhiro Iwamatsu for the report; Closes: #662267
   * [c6b9487] enable hardening flags for mkFileSum.c too; thanks to Simon
     Ruderich for the patch; Closes: #653503
   * [117b5c6] Handle libupnp3->libupnp6 transition; thanks to Adam D. Barratt
     for the report and Nick Leverton for the patch; Closes: #670962
   * [2c2f6d5] Bump Standards-Version to 3.9.3 (no changes needed)
   * [6bae44f] don't ignore real errors with lintian-overrides
Checksums-Sha1: 
 fd93ebc9ae5eae6805fc03cd5f7da540b6649a03 1810 amule_2.3.1-7.dsc
 7c672af083931e4c834486bc696e0addbfb050c4 27695 amule_2.3.1-7.debian.tar.gz
 ecab05570deca3021e8a1aa0800a5226566deb01 1780422 amule_2.3.1-7_amd64.deb
 55f1e1fe2199a221a42c9d1f4f5e8d28c48665b1 517068 amule-utils_2.3.1-7_amd64.deb
 2a3dd5d0bbf43d9e14bd29989f0642e5eb88e74f 1351934 amule-utils-gui_2.3.1-7_amd64.deb
 69100b0786f7827523438aa2828068cc858a831b 1276030 amule-daemon_2.3.1-7_amd64.deb
 ad22c527b66473a087d7915f00aee23576f35bce 219644 plasma-widget-amule_2.3.1-7_amd64.deb
 a9a06fdf59bbbec9efb07386b30641d07791149e 2111610 amule-common_2.3.1-7_all.deb
 e38f31ec90d89f7b55ec76d55a8da5ca2efea103 129616 amule-gnome-support_2.3.1-7_all.deb
Checksums-Sha256: 
 218d6df3348a575b1f9e8cc5980ee4fc36885e80bfd7b24e3d98600ca61cfdf3 1810 amule_2.3.1-7.dsc
 957e8d981fe61a53f7923aa177502e4a10687a3682094998a1878137503ef376 27695 amule_2.3.1-7.debian.tar.gz
 eef80a20bc52ca2adac6ff2cc48faa988048eace51e7a6f2b82ba9ff369c23d6 1780422 amule_2.3.1-7_amd64.deb
 f8070a1214db92147f27502070f8254f2d8c0c8f7021a5ace1a6315a4fa22552 517068 amule-utils_2.3.1-7_amd64.deb
 23f3c87bcdcf7e8d192ab44ef85578a3c1256cf335ca0d882653760aaa0ecbe4 1351934 amule-utils-gui_2.3.1-7_amd64.deb
 8d520a28e69a06d6f487f1c301b80c20889ca0c4e2aaab17fc5b6188412cea6c 1276030 amule-daemon_2.3.1-7_amd64.deb
 a731019a83298bd5058080cc50382eed2a06ce245d9682405a0e1a0468e8dc16 219644 plasma-widget-amule_2.3.1-7_amd64.deb
 d525abc010abc32eb9d915dc9e6e79cfd91ee2f765828a51dbce2d46971e9a8e 2111610 amule-common_2.3.1-7_all.deb
 99e11c672df8122cdc3b08644236ba0c6c8bbae1bcd47c93c0113b764d18e2bf 129616 amule-gnome-support_2.3.1-7_all.deb
Files: 
 5072865eb87eb568b14385573579cd69 1810 net optional amule_2.3.1-7.dsc
 1684737c9e84489437443e8572a08935 27695 net optional amule_2.3.1-7.debian.tar.gz
 e0746bcca900050696bb392a4d8594c9 1780422 net optional amule_2.3.1-7_amd64.deb
 46300f495cee696564a25b45ed375048 517068 net optional amule-utils_2.3.1-7_amd64.deb
 318561eb7267ad30a6b056721735c981 1351934 net optional amule-utils-gui_2.3.1-7_amd64.deb
 b6750ee941f98e71d26b91946e67885e 1276030 net optional amule-daemon_2.3.1-7_amd64.deb
 49258e8a55232d44e2110cd6fe630afd 219644 net optional plasma-widget-amule_2.3.1-7_amd64.deb
 aee5f29108ff6b442130c9cf0dafdcaa 2111610 net optional amule-common_2.3.1-7_all.deb
 8e3c03b06114cd48b554b9b915a5c57f 129616 net optional amule-gnome-support_2.3.1-7_all.deb

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

iEYEARECAAYFAk+i6aQACgkQAukwV0RN2VDtRgCgndiQDDKkzYn9rkrxNMFnCEsV
4cYAn2z+/VXYAlvnJB3vCm0cpOHx5jAw
=9Gqp
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 08 Jun 2012 07:44:16 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 2 07:20:33 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.