Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 407753

Summary: net-misc/mediatomb-0.12.1-r1 fails to compile with GCC 4.7
Product: Gentoo Linux Reporter: Ryan Hill (RETIRED) <rhill>
Component: [OLD] GCC PortingAssignee: Jeremy Olexa (darkside) (RETIRED) <darkside>
Status: RESOLVED FIXED    
Severity: normal CC: media-video
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://pkgs.fedoraproject.org/gitweb/?p=mediatomb.git;a=blob;f=mediatomb-0.12.1.gcc47.patch
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 390247    
Attachments: build.log

Description Ryan Hill (RETIRED) gentoo-dev 2012-03-11 02:05:53 UTC
Created attachment 304877 [details]
build.log

x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc   -D_FORTIFY_SOURCE=2 -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..   -I/usr/include/js -I/usr/include/taglib       -pthread        -O2 -march=native -g -pipe -D_FORTIFY_SOURCE=2  -MT libmediatomb_a-autoscan_inotify.o -MD -MP -MF .deps/libmediatomb_a-autoscan_inotify.Tpo -c -o libmediatomb_a-autoscan_inotify.o `test -f '../src/autoscan_inotify.cc' || echo './'`../src/autoscan_inotify.cc
In file included from ../src/hash.h:49:0,
                 from ../src/autoscan_inotify.h:36,
                 from ../src/autoscan_inotify.cc:38:
../src/hash/dbo_hash.h: In instantiation of 'zmm::Ref<VT> DBOHash<KT, VT>::get(KT) [with KT = int; VT = AutoscanInotify::Wd]':
../src/autoscan_inotify.cc:229:48:   required from here
../src/hash/dbo_hash.h:165:39: error: 'search' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
../src/hash/dbo_hash.h:165:39: note: declarations in dependent base 'DHashBase<int, dbo_hash_slot<int, AutoscanInotify::Wd> >' are not found by unqualified lookup
../src/hash/dbo_hash.h:165:39: note: use 'this->search' instead
../src/hash/dbo_hash.h: In instantiation of 'bool DBOHash<KT, VT>::remove(KT) [with KT = int; VT = AutoscanInotify::Wd]':
../src/autoscan_inotify.cc:329:39:   required from here
../src/hash/dbo_hash.h:109:9: error: 'search' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
../src/hash/dbo_hash.h:109:9: note: declarations in dependent base 'DHashBase<int, dbo_hash_slot<int, AutoscanInotify::Wd> >' are not found by unqualified lookup
../src/hash/dbo_hash.h:109:9: note: use 'this->search' instead
../src/hash/dbo_hash.h: In instantiation of 'void DBOHash<KT, VT>::put(KT, zmm::Ref<VT>) [with KT = int; VT = AutoscanInotify::Wd]':
../src/autoscan_inotify.cc:392:35:   required from here
../src/hash/dbo_hash.h:139:9: error: 'search' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
../src/hash/dbo_hash.h:139:9: note: declarations in dependent base 'DHashBase<int, dbo_hash_slot<int, AutoscanInotify::Wd> >' are not found by unqualified lookup
../src/hash/dbo_hash.h:139:9: note: use 'this->search' instead
make[2]: *** [libmediatomb_a-autoscan_inotify.o] Error 1
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2012-03-11 16:33:09 UTC
feel free to apply
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2012-04-11 04:49:18 UTC
Fixed in 0.12.1-r2.