You are not logged in.

#1 2012-07-30 17:18:50

koei
Member
Registered: 2012-03-14
Posts: 11

Issue installing Mediatomb

I am having some issue installing both version of Mediatomb available in AUR. I am using Yaourt 1.1-1. Anyone got an idea what could be the cause?

...
vformat/avformat.h:1357) [-Wdeprecated-declarations]
../src/metadata/ffmpeg_handler.cc:298:9: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
../src/metadata/ffmpeg_handler.cc:298:39: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
../src/metadata/ffmpeg_handler.cc:307:5: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
../src/metadata/ffmpeg_handler.cc:307:35: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
make[2]: *** [libmediatomb_a-ffmpeg_handler.o] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-sho/aur-mediatomb/src/mediatomb-0.12.1/build'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-sho/aur-mediatomb/src/mediatomb-0.12.1'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build mediatomb.
==> Restart building mediatomb ? [y/N]
==> ----------------------------------
==>

Offline

#2 2012-07-30 20:33:56

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Issue installing Mediatomb

You didn't post the actual error message. It's higher in the build output.

Offline

#3 2012-07-30 21:01:13

koei
Member
Registered: 2012-03-14
Posts: 11

Re: Issue installing Mediatomb

I am not entirely sure which part is the error. I've looked at the whole output... Here is the make portion.

make  all-recursive
make[1]: Entering directory `/tmp/yaourt-tmp-root/aur-mediatomb/src/mediatomb-0.12.1'
Making all in tombupnp
make[2]: Entering directory `/tmp/yaourt-tmp-root/aur-mediatomb/src/mediatomb-0.12.1/tombupnp'
Making all in build
make[3]: Entering directory `/tmp/yaourt-tmp-root/aur-mediatomb/src/mediatomb-0.12.1/tombupnp/build'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/yaourt-tmp-root/aur-mediatomb/src/mediatomb-0.12.1/tombupnp/build'
make[3]: Entering directory `/tmp/yaourt-tmp-root/aur-mediatomb/src/mediatomb-0.12.1/tombupnp'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/tmp/yaourt-tmp-root/aur-mediatomb/src/mediatomb-0.12.1/tombupnp'
make[2]: Leaving directory `/tmp/yaourt-tmp-root/aur-mediatomb/src/mediatomb-0.12.1/tombupnp'
Making all in build
make[2]: Entering directory `/tmp/yaourt-tmp-root/aur-mediatomb/src/mediatomb-0.12.1/build'
g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc    -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..   -I/usr/include/js -I/usr/include/taglib       -pthread        -fpermissive -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -MT libmediatomb_a-action_request.o -MD -MP -MF .deps/libmediatomb_a-action_request.Tpo -c -o libmediatomb_a-action_request.o `test -f '../src/action_request.cc' || echo './'`../src/action_request.cc
mv -f .deps/libmediatomb_a-action_request.Tpo .deps/libmediatomb_a-action_request.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc    -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..   -I/usr/include/js -I/usr/include/taglib       -pthread        -fpermissive -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -MT libmediatomb_a-autoscan.o -MD -MP -MF .deps/libmediatomb_a-autoscan.Tpo -c -o libmediatomb_a-autoscan.o `test -f '../src/autoscan.cc' || echo './'`../src/autoscan.cc
mv -f .deps/libmediatomb_a-autoscan.Tpo .deps/libmediatomb_a-autoscan.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc    -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..   -I/usr/include/js -I/usr/include/taglib       -pthread        -fpermissive -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -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: warning: ‘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: warning: ‘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: warning: ‘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
../src/hash/dbo_hash.h: In instantiation of ‘zmm::Ref<VT> DBOHash<KT, VT>::get(KT, hash_slot_struct**) [with KT = int; VT = AutoscanInotify::Wd; hash_slot_t = hash_slot_struct*]’:
../src/hash/dbo_hash.h:172:34:   required from ‘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:177:38: warning: ‘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:177:38: note: declarations in dependent base ‘DHashBase<int, dbo_hash_slot<int, AutoscanInotify::Wd> >’ are not found by unqualified lookup
../src/hash/dbo_hash.h:177:38: note: use ‘this->search’ instead
mv -f .deps/libmediatomb_a-autoscan_inotify.Tpo .deps/libmediatomb_a-autoscan_inotify.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc    -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..   -I/usr/include/js -I/usr/include/taglib       -pthread        -fpermissive -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -MT libmediatomb_a-buffered_io_handler.o -MD -MP -MF .deps/libmediatomb_a-buffered_io_handler.Tpo -c -o libmediatomb_a-buffered_io_handler.o `test -f '../src/buffered_io_handler.cc' || echo './'`../src/buffered_io_handler.cc
mv -f .deps/libmediatomb_a-buffered_io_handler.Tpo .deps/libmediatomb_a-buffered_io_handler.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc    -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..   -I/usr/include/js -I/usr/include/taglib       -pthread        -fpermissive -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -MT libmediatomb_a-cached_url.o -MD -MP -MF .deps/libmediatomb_a-cached_url.Tpo -c -o libmediatomb_a-cached_url.o `test -f '../src/cached_url.cc' || echo './'`../src/cached_url.cc
mv -f .deps/libmediatomb_a-cached_url.Tpo .deps/libmediatomb_a-cached_url.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc    -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..   -I/usr/include/js -I/usr/include/taglib       -pthread        -fpermissive -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -MT libmediatomb_a-cds_objects.o -MD -MP -MF .deps/libmediatomb_a-cds_objects.Tpo -c -o libmediatomb_a-cds_objects.o `test -f '../src/cds_objects.cc' || echo './'`../src/cds_objects.cc
mv -f .deps/libmediatomb_a-cds_objects.Tpo .deps/libmediatomb_a-cds_objects.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc    -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..   -I/usr/include/js -I/usr/include/taglib       -pthread        -fpermissive -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -MT libmediatomb_a-cds_resource.o -MD -MP -MF .deps/libmediatomb_a-cds_resource.Tpo -c -o libmediatomb_a-cds_resource.o `test -f '../src/cds_resource.cc' || echo './'`../src/cds_resource.cc
mv -f .deps/libmediatomb_a-cds_resource.Tpo .deps/libmediatomb_a-cds_resource.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc    -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..   -I/usr/include/js -I/usr/include/taglib       -pthread        -fpermissive -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -MT libmediatomb_a-cds_resource_manager.o -MD -MP -MF .deps/libmediatomb_a-cds_resource_manager.Tpo -c -o libmediatomb_a-cds_resource_manager.o `test -f '../src/cds_resource_manager.cc' || echo './'`../src/cds_resource_manager.cc
mv -f .deps/libmediatomb_a-cds_resource_manager.Tpo .deps/libmediatomb_a-cds_resource_manager.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc    -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..   -I/usr/include/js -I/usr/include/taglib       -pthread        -fpermissive -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -MT libmediatomb_a-config_manager.o -MD -MP -MF .deps/libmediatomb_a-config_manager.Tpo -c -o libmediatomb_a-config_manager.o `test -f '../src/config_manager.cc' || echo './'`../src/config_manager.cc
mv -f .deps/libmediatomb_a-config_manager.Tpo .deps/libmediatomb_a-config_manager.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc    -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..   -I/usr/include/js -I/usr/include/taglib       -pthread        -fpermissive -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -MT libmediatomb_a-content_manager.o -MD -MP -MF .deps/libmediatomb_a-content_manager.Tpo -c -o libmediatomb_a-content_manager.o `test -f '../src/content_manager.cc' || echo './'`../src/content_manager.cc
In file included from ../src/hash.h:47:0,
                 from ../src/storage.h:40,
                 from ../src/content_manager.h:36,
                 from ../src/content_manager.cc:45:
../src/hash/dbr_hash.h: In instantiation of ‘bool DBRHash<KT>::remove(KT) [with KT = int]’:
../src/content_manager.cc:904:42:   required from here
../src/hash/dbr_hash.h:127:9: warning: ‘search’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
../src/hash/dbr_hash.h:127:9: note: declarations in dependent base ‘DHashBase<int, dbr_hash_slot<int> >’ are not found by unqualified lookup
../src/hash/dbr_hash.h:127:9: note: use ‘this->search’ instead
../src/hash/dbr_hash.h:137:9: warning: ‘search’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
../src/hash/dbr_hash.h:137:9: note: declarations in dependent base ‘DHashBase<int, dbr_hash_slot<int> >’ are not found by unqualified lookup
../src/hash/dbr_hash.h:137:9: note: use ‘this->search’ instead
mv -f .deps/libmediatomb_a-content_manager.Tpo .deps/libmediatomb_a-content_manager.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc    -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..   -I/usr/include/js -I/usr/include/taglib       -pthread        -fpermissive -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -MT libmediatomb_a-curl_io_handler.o -MD -MP -MF .deps/libmediatomb_a-curl_io_handler.Tpo -c -o libmediatomb_a-curl_io_handler.o `test -f '../src/curl_io_handler.cc' || echo './'`../src/curl_io_handler.cc
mv -f .deps/libmediatomb_a-curl_io_handler.Tpo .deps/libmediatomb_a-curl_io_handler.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc    -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..   -I/usr/include/js -I/usr/include/taglib       -pthread        -fpermissive -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -MT libmediatomb_a-destroyer.o -MD -MP -MF .deps/libmediatomb_a-destroyer.Tpo -c -o libmediatomb_a-destroyer.o `test -f '../src/destroyer.cc' || echo './'`../src/destroyer.cc
mv -f .deps/libmediatomb_a-destroyer.Tpo .deps/libmediatomb_a-destroyer.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc    -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..   -I/usr/include/js -I/usr/include/taglib       -pthread        -fpermissive -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -MT libmediatomb_a-dictionary.o -MD -MP -MF .deps/libmediatomb_a-dictionary.Tpo -c -o libmediatomb_a-dictionary.o `test -f '../src/dictionary.cc' || echo './'`../src/dictionary.cc
mv -f .deps/libmediatomb_a-dictionary.Tpo .deps/libmediatomb_a-dictionary.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc    -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..   -I/usr/include/js -I/usr/include/taglib       -pthread        -fpermissive -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -MT libmediatomb_a-exceptions.o -MD -MP -MF .deps/libmediatomb_a-exceptions.Tpo -c -o libmediatomb_a-exceptions.o `test -f '../src/exceptions.cc' || echo './'`../src/exceptions.cc
mv -f .deps/libmediatomb_a-exceptions.Tpo .deps/libmediatomb_a-exceptions.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc    -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..   -I/usr/include/js -I/usr/include/taglib       -pthread        -fpermissive -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -MT libmediatomb_a-fd_io_handler.o -MD -MP -MF .deps/libmediatomb_a-fd_io_handler.Tpo -c -o libmediatomb_a-fd_io_handler.o `test -f '../src/fd_io_handler.cc' || echo './'`../src/fd_io_handler.cc
mv -f .deps/libmediatomb_a-fd_io_handler.Tpo .deps/libmediatomb_a-fd_io_handler.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc    -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..   -I/usr/include/js -I/usr/include/taglib       -pthread        -fpermissive -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -MT libmediatomb_a-file_io_handler.o -MD -MP -MF .deps/libmediatomb_a-file_io_handler.Tpo -c -o libmediatomb_a-file_io_handler.o `test -f '../src/file_io_handler.cc' || echo './'`../src/file_io_handler.cc
mv -f .deps/libmediatomb_a-file_io_handler.Tpo .deps/libmediatomb_a-file_io_handler.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc    -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..   -I/usr/include/js -I/usr/include/taglib       -pthread        -fpermissive -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -MT libmediatomb_a-file_request_handler.o -MD -MP -MF .deps/libmediatomb_a-file_request_handler.Tpo -c -o libmediatomb_a-file_request_handler.o `test -f '../src/file_request_handler.cc' || echo './'`../src/file_request_handler.cc
mv -f .deps/libmediatomb_a-file_request_handler.Tpo .deps/libmediatomb_a-file_request_handler.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc    -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..   -I/usr/include/js -I/usr/include/taglib       -pthread        -fpermissive -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -MT libmediatomb_a-filesystem.o -MD -MP -MF .deps/libmediatomb_a-filesystem.Tpo -c -o libmediatomb_a-filesystem.o `test -f '../src/filesystem.cc' || echo './'`../src/filesystem.cc
mv -f .deps/libmediatomb_a-filesystem.Tpo .deps/libmediatomb_a-filesystem.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc    -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..   -I/usr/include/js -I/usr/include/taglib       -pthread        -fpermissive -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -MT libmediatomb_a-generic_task.o -MD -MP -MF .deps/libmediatomb_a-generic_task.Tpo -c -o libmediatomb_a-generic_task.o `test -f '../src/generic_task.cc' || echo './'`../src/generic_task.cc
mv -f .deps/libmediatomb_a-generic_task.Tpo .deps/libmediatomb_a-generic_task.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc    -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..   -I/usr/include/js -I/usr/include/taglib       -pthread        -fpermissive -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -MT libmediatomb_a-io_handler_buffer_helper.o -MD -MP -MF .deps/libmediatomb_a-io_handler_buffer_helper.Tpo -c -o libmediatomb_a-io_handler_buffer_helper.o `test -f '../src/io_handler_buffer_helper.cc' || echo './'`../src/io_handler_buffer_helper.cc
mv -f .deps/libmediatomb_a-io_handler_buffer_helper.Tpo .deps/libmediatomb_a-io_handler_buffer_helper.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc    -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..   -I/usr/include/js -I/usr/include/taglib       -pthread        -fpermissive -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -MT libmediatomb_a-io_handler.o -MD -MP -MF .deps/libmediatomb_a-io_handler.Tpo -c -o libmediatomb_a-io_handler.o `test -f '../src/io_handler.cc' || echo './'`../src/io_handler.cc
mv -f .deps/libmediatomb_a-io_handler.Tpo .deps/libmediatomb_a-io_handler.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc    -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..   -I/usr/include/js -I/usr/include/taglib       -pthread        -fpermissive -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -MT libmediatomb_a-io_handler_chainer.o -MD -MP -MF .deps/libmediatomb_a-io_handler_chainer.Tpo -c -o libmediatomb_a-io_handler_chainer.o `test -f '../src/io_handler_chainer.cc' || echo './'`../src/io_handler_chainer.cc
mv -f .deps/libmediatomb_a-io_handler_chainer.Tpo .deps/libmediatomb_a-io_handler_chainer.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc    -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..   -I/usr/include/js -I/usr/include/taglib       -pthread        -fpermissive -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -MT libmediatomb_a-jpeg_resolution.o -MD -MP -MF .deps/libmediatomb_a-jpeg_resolution.Tpo -c -o libmediatomb_a-jpeg_resolution.o `test -f '../src/jpeg_resolution.cc' || echo './'`../src/jpeg_resolution.cc
mv -f .deps/libmediatomb_a-jpeg_resolution.Tpo .deps/libmediatomb_a-jpeg_resolution.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc    -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..   -I/usr/include/js -I/usr/include/taglib       -pthread        -fpermissive -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -MT libmediatomb_a-fallback_layout.o -MD -MP -MF .deps/libmediatomb_a-fallback_layout.Tpo -c -o libmediatomb_a-fallback_layout.o `test -f '../src/layout/fallback_layout.cc' || echo './'`../src/layout/fallback_layout.cc
mv -f .deps/libmediatomb_a-fallback_layout.Tpo .deps/libmediatomb_a-fallback_layout.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc    -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..   -I/usr/include/js -I/usr/include/taglib       -pthread        -fpermissive -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -MT libmediatomb_a-js_layout.o -MD -MP -MF .deps/libmediatomb_a-js_layout.Tpo -c -o libmediatomb_a-js_layout.o `test -f '../src/layout/js_layout.cc' || echo './'`../src/layout/js_layout.cc
mv -f .deps/libmediatomb_a-js_layout.Tpo .deps/libmediatomb_a-js_layout.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc    -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..   -I/usr/include/js -I/usr/include/taglib       -pthread        -fpermissive -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -MT libmediatomb_a-logger.o -MD -MP -MF .deps/libmediatomb_a-logger.Tpo -c -o libmediatomb_a-logger.o `test -f '../src/logger.cc' || echo './'`../src/logger.cc
mv -f .deps/libmediatomb_a-logger.Tpo .deps/libmediatomb_a-logger.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc    -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..   -I/usr/include/js -I/usr/include/taglib       -pthread        -fpermissive -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -MT libmediatomb_a-main.o -MD -MP -MF .deps/libmediatomb_a-main.Tpo -c -o libmediatomb_a-main.o `test -f '../src/main.cc' || echo './'`../src/main.cc
mv -f .deps/libmediatomb_a-main.Tpo .deps/libmediatomb_a-main.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc    -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..   -I/usr/include/js -I/usr/include/taglib       -pthread        -fpermissive -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -MT libmediatomb_a-mem_io_handler.o -MD -MP -MF .deps/libmediatomb_a-mem_io_handler.Tpo -c -o libmediatomb_a-mem_io_handler.o `test -f '../src/mem_io_handler.cc' || echo './'`../src/mem_io_handler.cc
mv -f .deps/libmediatomb_a-mem_io_handler.Tpo .deps/libmediatomb_a-mem_io_handler.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc    -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..   -I/usr/include/js -I/usr/include/taglib       -pthread        -fpermissive -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -MT libmediatomb_a-ffmpeg_handler.o -MD -MP -MF .deps/libmediatomb_a-ffmpeg_handler.Tpo -c -o libmediatomb_a-ffmpeg_handler.o `test -f '../src/metadata/ffmpeg_handler.cc' || echo './'`../src/metadata/ffmpeg_handler.cc
../src/metadata/ffmpeg_handler.cc: In function ‘void addFfmpegMetadataFields(zmm::Ref<CdsItem>, AVFormatContext*)’:
../src/metadata/ffmpeg_handler.cc:110:3: error: ‘AVMetadataTag’ was not declared in this scope
../src/metadata/ffmpeg_handler.cc:110:18: error: ‘tag’ was not declared in this scope
../src/metadata/ffmpeg_handler.cc:111:65: error: ‘av_metadata_get’ was not declared in this scope
../src/metadata/ffmpeg_handler.cc: In member function ‘virtual void FfmpegHandler::fillMetadata(zmm::Ref<CdsItem>)’:
../src/metadata/ffmpeg_handler.cc:292:69: error: ‘av_open_input_file’ was not declared in this scope
../src/metadata/ffmpeg_handler.cc:296:9: warning: ‘int av_find_stream_info(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1357) [-Wdeprecated-declarations]
../src/metadata/ffmpeg_handler.cc:296:39: warning: ‘int av_find_stream_info(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1357) [-Wdeprecated-declarations]
../src/metadata/ffmpeg_handler.cc:298:9: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
../src/metadata/ffmpeg_handler.cc:298:39: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
../src/metadata/ffmpeg_handler.cc:307:5: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
../src/metadata/ffmpeg_handler.cc:307:35: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
make[2]: *** [libmediatomb_a-ffmpeg_handler.o] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-root/aur-mediatomb/src/mediatomb-0.12.1/build'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-root/aur-mediatomb/src/mediatomb-0.12.1'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build mediatomb.
==> Restart building mediatomb ? [y/N]

Offline

#4 2012-07-31 05:21:27

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Issue installing Mediatomb

koei wrote:

I am not entirely sure which part is the error. I've looked at the whole output... Here is the make portion.

g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc    -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..   -I/usr/include/js -I/usr/include/taglib       -pthread        -fpermissive -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -MT libmediatomb_a-ffmpeg_handler.o -MD -MP -MF .deps/libmediatomb_a-ffmpeg_handler.Tpo -c -o libmediatomb_a-ffmpeg_handler.o `test -f '../src/metadata/ffmpeg_handler.cc' || echo './'`../src/metadata/ffmpeg_handler.cc
../src/metadata/ffmpeg_handler.cc: In function ‘void addFfmpegMetadataFields(zmm::Ref<CdsItem>, AVFormatContext*)’:
../src/metadata/ffmpeg_handler.cc:110:3: error: ‘AVMetadataTag’ was not declared in this scope
../src/metadata/ffmpeg_handler.cc:110:18: error: ‘tag’ was not declared in this scope
../src/metadata/ffmpeg_handler.cc:111:65: error: ‘av_metadata_get’ was not declared in this scope
../src/metadata/ffmpeg_handler.cc: In member function ‘virtual void FfmpegHandler::fillMetadata(zmm::Ref<CdsItem>)’:
../src/metadata/ffmpeg_handler.cc:292:69: error: ‘av_open_input_file’ was not declared in this scope
../src/metadata/ffmpeg_handler.cc:296:9: warning: ‘int av_find_stream_info(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1357) [-Wdeprecated-declarations]
../src/metadata/ffmpeg_handler.cc:296:39: warning: ‘int av_find_stream_info(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1357) [-Wdeprecated-declarations]
../src/metadata/ffmpeg_handler.cc:298:9: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
../src/metadata/ffmpeg_handler.cc:298:39: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
../src/metadata/ffmpeg_handler.cc:307:5: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
../src/metadata/ffmpeg_handler.cc:307:35: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
make[2]: *** [libmediatomb_a-ffmpeg_handler.o] Error 1

That's the error. It need to be patched to build against the new ffmpeg. Try googling, maybe there's a patch somewhere.

Offline

#5 2012-07-31 06:21:34

koei
Member
Registered: 2012-03-14
Posts: 11

Re: Issue installing Mediatomb

Hm I see. I'll see if I can find anything regarding that. Thank you!

Offline

Board footer

Powered by FluxBB