Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 700396 - net-libs/libupnpp-0.17.0 : libupnpp/.../vdir.cxx:321:48: error: invalid conversion from int
Summary: net-libs/libupnpp-0.17.0 : libupnpp/.../vdir.cxx:321:48: error: invalid conve...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Erik Mackdanz
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-17 21:05 UTC by Toralf Förster
Modified: 2020-11-17 01:41 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.37 KB, text/plain)
2019-11-17 21:05 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,174.31 KB, text/plain)
2019-11-17 21:05 UTC, Toralf Förster
Details
environment (environment,19.00 KB, text/plain)
2019-11-17 21:05 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.40 KB, application/x-bzip)
2019-11-17 21:05 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.49 KB, application/x-bzip)
2019-11-17 21:05 UTC, Toralf Förster
Details
net-libs:libupnpp-0.17.0:20191117-193328.log (net-libs:libupnpp-0.17.0:20191117-193328.log,28.84 KB, text/plain)
2019-11-17 21:06 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,9.85 KB, application/x-bzip)
2019-11-17 21:06 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-11-17 21:05:43 UTC
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I./libupnpp -DDEBUG -g -Wall -pthread -I/usr/include/upnp -DDATADIR=\"/usr/share/libupnpp\" -DCONFIGDIR=\"/etc\" -std=c++11 -std=c++11 -O2 -pipe -march=native -c libupnpp/device/vdir.cxx  -fPIC -DPIC -o libupnpp/device/.libs/vdir.o
libupnpp/device/vdir.cxx: In static member function ‘static UPnPProvider::VirtualDir* UPnPProvider::VirtualDir::getVirtualDir()’:
libupnpp/device/vdir.cxx:321:48: error: invalid conversion from ‘int (*)(const char*, UpnpFileInfo*, const void*)’ {aka ‘int (*)(const char*, s_UpnpFileInfo*, const void*)’} to ‘VDCallback_GetInfo’ {aka ‘int (*)(const char*, s_UpnpFileInfo*, const void*, const void**)’} [-fpermissive]
  321 |         if (UpnpVirtualDir_set_GetInfoCallback(vdgetinfo) ||
      |                                                ^~~~~~~~~
      |                                                |

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-libressl-20191115-001559

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.0 (tags/RELEASE_900/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.0
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.39.0 *



repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sun, 17 Nov 2019 19:06:11 +0000

emerge -qpvO net-libs/libupnpp
[ebuild   R   ] net-libs/libupnpp-0.17.0
Comment 1 Toralf Förster gentoo-dev 2019-11-17 21:05:46 UTC
Created attachment 596572 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-11-17 21:05:48 UTC
Created attachment 596574 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-11-17 21:05:51 UTC
Created attachment 596576 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-11-17 21:05:54 UTC
Created attachment 596578 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-11-17 21:05:57 UTC
Created attachment 596580 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-11-17 21:06:00 UTC
Created attachment 596582 [details]
net-libs:libupnpp-0.17.0:20191117-193328.log
Comment 7 Toralf Förster gentoo-dev 2019-11-17 21:06:02 UTC
Created attachment 596584 [details]
temp.tbz2
Comment 8 antonello 2019-11-30 13:55:15 UTC
I have the same bug, has any solution been found?
Comment 9 wbrana 2020-02-03 20:38:45 UTC
libupnpp needs libupnp 1.6 branch
build failed with 1.12
Comment 10 Fitap 2020-09-28 02:07:52 UTC
I have the same bug. Someone has a workaround?
Comment 11 Robert 2020-10-13 17:00:53 UTC
Build failes with =net-libs/libupnp-1.14.0 but succeedes after downgrading libupnp (not libupnpp) to 1.6.21.
Comment 12 Agostino Sarubbo gentoo-dev 2020-10-29 08:43:34 UTC
Dear treecleaner@:

I'm still able to reproduce this issue right now.

Since it has not been fixed for a long time, I'd suggest to evaluate if it is the case to remove this package from the tree. Thanks
Comment 13 Larry the Git Cow gentoo-dev 2020-11-17 01:39:40 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebc7eb30e7293c0f35cdf076822e8b8b1e9d0feb

commit ebc7eb30e7293c0f35cdf076822e8b8b1e9d0feb
Author:     Erik Mackdanz <stasibear@gentoo.org>
AuthorDate: 2020-11-17 01:39:15 +0000
Commit:     Erik Mackdanz <stasibear@gentoo.org>
CommitDate: 2020-11-17 01:39:15 +0000

    net-libs/libupnpp: Pin to earlier libupnp
    
    Signed-off-by: Erik Mackdanz <stasibear@gentoo.org>
    Closes: https://bugs.gentoo.org/700396
    Package-Manager: Portage-3.0.9, Repoman-3.0.2

 net-libs/libupnpp/libupnpp-0.17.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 14 Erik Mackdanz gentoo-dev 2020-11-17 01:41:12 UTC
antonello, wbrana, Fitap, and Robert: thanks for troubleshooting that.  Sorry for the delay.