Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707466 - net-misc/gerbera-1.4.0 : /.../request_handler.h:41:26: error: IN has not been declared
Summary: net-misc/gerbera-1.4.0 : /.../request_handler.h:41:26: error: IN has not been...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ian Whyman (thev00d00) (RETIRED)
URL:
Whiteboard:
Keywords:
: 710310 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-01-30 19:23 UTC by Toralf Förster
Modified: 2020-05-09 09:49 UTC (History)
6 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.62 KB, text/plain)
2020-01-30 19:23 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,212.07 KB, text/plain)
2020-01-30 19:23 UTC, Toralf Förster
Details
environment (environment,117.10 KB, text/plain)
2020-01-30 19:23 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,20.42 KB, application/x-bzip)
2020-01-30 19:23 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.86 KB, application/x-bzip)
2020-01-30 19:23 UTC, Toralf Förster
Details
net-misc:gerbera-1.4.0:20200130-115211.log (net-misc:gerbera-1.4.0:20200130-115211.log,14.04 KB, text/plain)
2020-01-30 19:23 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,30.02 KB, application/x-bzip)
2020-01-30 19:23 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 2020-01-30 19:23:38 UTC
In file included from /var/tmp/portage/net-misc/gerbera-1.4.0/work/gerbera-1.4.0/src/server.h:38,
                 from /var/tmp/portage/net-misc/gerbera-1.4.0/work/gerbera-1.4.0/src/main.cc:47:
/var/tmp/portage/net-misc/gerbera-1.4.0/work/gerbera-1.4.0/src/request_handler.h:41:26: error: ‘IN’ has not been declared
   41 |     virtual void getInfo(IN const char *filename, OUT UpnpFileInfo *info) = 0;
      |                          ^~
/var/tmp/portage/net-misc/gerbera-1.4.0/work/gerbera-1.4.0/src/request_handler.h:41:41: error: two or more data types in declaration of ‘filename’

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

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

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

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

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.242_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 7.10.3

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Thu, 30 Jan 2020 10:48:24 +0000

emerge -qpvO net-misc/gerbera
[ebuild  N    ] net-misc/gerbera-1.4.0  USE="exif ffmpeg javascript magic matroska taglib -curl -debug -exiv2 -ffmpegthumbnailer -lastfm -libav -mysql -systemd"
Comment 1 Toralf Förster gentoo-dev 2020-01-30 19:23:41 UTC
Created attachment 609104 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-30 19:23:44 UTC
Created attachment 609106 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-30 19:23:46 UTC
Created attachment 609108 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-30 19:23:49 UTC
Created attachment 609110 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-30 19:23:52 UTC
Created attachment 609112 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-30 19:23:55 UTC
Created attachment 609114 [details]
net-misc:gerbera-1.4.0:20200130-115211.log
Comment 7 Toralf Förster gentoo-dev 2020-01-30 19:23:57 UTC
Created attachment 609116 [details]
temp.tbz2
Comment 8 Elias Probst 2020-02-16 20:01:39 UTC
FYI: net-misc/gerbera-9999 seems to have a fix for this issue (didn't identify the corresponding commit yet).

Using the following diff for the *-9999.ebuild made it build:

```
--- /var/cache/portage/repos/gentoo/net-misc/gerbera/gerbera-9999.ebuild        2020-01-29 22:39:40.000000000 +0100
+++ /var/cache/portage/repos/hack/net-misc/gerbera/gerbera-9999.ebuild  2020-02-11 11:30:28.132546908 +0100
@@ -28,6 +28,9 @@
        >=net-libs/libupnp-1.8.3:=[ipv6,reuseaddr]
        >=dev-db/sqlite-3
        dev-libs/expat
+       dev-libs/libfmt
+       dev-libs/pugixml
+       dev-libs/spdlog
        mysql? ( dev-db/mysql-connector-c )
        javascript? ( dev-lang/duktape )
        taglib? ( >=media-libs/taglib-1.11 )

```
Comment 9 Brian Evans (RETIRED) gentoo-dev 2020-02-20 16:32:46 UTC
*** Bug 710310 has been marked as a duplicate of this bug. ***
Comment 10 René Kjellerup 2020-03-19 20:04:24 UTC
I downgraded libupnp from 1.12.0-r1 to 1.8.6-r1 and I don't see this issue with gerbera-1.4.0 anymore.

maybe there need to be a mask on libupnp like:
>=net-libs/libupnp-1.8.3:=[ipv6,reuseaddr]
<net-libs/libupnp-1.10.0:=[ipv6,reuseaddr]
Comment 11 Roy Bamford gentoo-dev 2020-03-30 14:04:57 UTC
(In reply to Elias Probst from comment #8)
> FYI: net-misc/gerbera-9999 seems to have a fix for this issue (didn't
> identify the corresponding commit yet).
> 
> Using the following diff for the *-9999.ebuild made it build:
> 
> ```
> --- /var/cache/portage/repos/gentoo/net-misc/gerbera/gerbera-9999.ebuild    
> 2020-01-29 22:39:40.000000000 +0100
> +++ /var/cache/portage/repos/hack/net-misc/gerbera/gerbera-9999.ebuild 
> 2020-02-11 11:30:28.132546908 +0100
> @@ -28,6 +28,9 @@
>         >=net-libs/libupnp-1.8.3:=[ipv6,reuseaddr]
>         >=dev-db/sqlite-3
>         dev-libs/expat
> +       dev-libs/libfmt
> +       dev-libs/pugixml
> +       dev-libs/spdlog
>         mysql? ( dev-db/mysql-connector-c )
>         javascript? ( dev-lang/duktape )
>         taglib? ( >=media-libs/taglib-1.11 )
> 
> ```

didn't affect the error for me but net-misc/gerbera-9999 built for me.
Comment 12 Larry the Git Cow gentoo-dev 2020-05-09 09:49:37 UTC
The bug has been closed via the following commit(s):

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

commit 34b2f76402780298787f6b91c083b3d389ced83a
Author:     Ian Whyman <thev00d00@gentoo.org>
AuthorDate: 2020-05-09 09:49:03 +0000
Commit:     Ian Whyman <thev00d00@gentoo.org>
CommitDate: 2020-05-09 09:49:23 +0000

    net-misc/gerbera: 1.4: Make libupnp dep 1.8
    
    Closes: https://bugs.gentoo.org/707466
    Closes: https://bugs.gentoo.org/716816
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Ian Whyman <thev00d00@gentoo.org>

 net-misc/gerbera/{gerbera-1.4.0.ebuild => gerbera-1.4.0-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)