FUPPES or the "Free UPnP Entertainment Service" is an advanced UPnP server capable of streaming content to a wide variety of UPnP/DLNA devices such as XBox360 and PS3. In addition to supporting a huge selection of hardware/software clients, FUPPES also supports on-the-fly transcoding and individual configuration for each device/type of device connected. It also supports customized virtual data organization structures. Reproducible: Always
Created attachment 143077 [details] Quick ebuild to install FUPPES, no USE flags yet. Here's an ebuild thrown together real quick. It will install FUPPES but doesn't support USE flags yet, so if you need transcoding or id3lib support you'll just have to wait a bit or fix it yourself.
Created attachment 143430 [details] Fuppes ebuild with init.d script This is my first stab at an ebuild, but I felt this package was worth it. This ebuild includes an init script that allows the daemon to be started at a desired run-level. This script includes some configuration modifications so that the configuration and run-time files are kept in more standard locations. Additionally, the initial cfg file is set up to support the PS3 (including transcoding). Finally, this ebuild creates a new "fuppes" user and group with which to run the daemon and edit the configuration files.
The ebuild worked for me. I ended up adding the configure parameter for doing video transcoding with EXTRA_ECONF. It should probably be set up as a use flag. ffmpeg isn't needed unless you are using video transcoding.
Created attachment 146376 [details] updated ebuild with supplemental files. supports USE flags Added USE Flags 'transcode imagemagick iconv lame taglib twolame gnome notify dlna' - the DLNA use flag requires the libdlna package (http://bugs.gentoo.org/attachment.cgi?id=146265&action=view) DLNA is a runtime dep needed to get fuppes to be viewable upon a PS3 - I wasn't able to test this ebuild using the notify or gnome use flags (they required over a 100 packages to be installed), but they should work. If someone who has gnome installed please test and post a thumbs up/down would be appreciated.
I'm willing to take over as maintainer of this ebuild, if there are no objections
Created attachment 147601 [details] new ebuild with USE flags Updated ebuild to include a patch that fixes this package's broken configure script
Created attachment 147602 [details, diff] fix broken configure script setting USE flags and using the euse function disabled the wanted functionality due to a bug in the configure script. This patch fixes the configure bug.
Created attachment 147603 [details] init.d start-up script This is just an extraction of the init script found in the tarball by Colin
Created attachment 147605 [details] sample config file This is the sample config file extracted from the tarball by Colin
Created attachment 150788 [details, diff] fix broken configure script fixed ffmpeg errors while configuring (not finding avstring.h)
Created attachment 150790 [details, diff] adjust src files to reflect ffmpeg header locations in gentoo ffmpeg does not install headers into the standard location (/usr/include/ffmpeg) rather they're all just plopped into different subdirs in /usr/include. this patch updates the location in the source to build cleanly. (i had previously built ffmpeg manually which is why this was missed)
Created attachment 150792 [details] new ebuild with USE flags this adds support for the new patch, building cleanly against the latest ffmpeg package in portage
ebuild fails for me: ..... config.status: creating src/config.h config.status: executing depfiles commands SUMMARY audio transcoding enabled encoder: lame : yes twolame : no wav : yes pcm : yes decoder: vorbis : no mpc : no flac : yes faad : yes (aac/NO mp4) video transcoding (experimental) ffmpeg : enabled iconv : enabled uuid : enabled taglib : enabled ImageMagick: enabled simage : disabled libavformat: enabled GNOME panel applet : enabled libnotify : enabled Thanks for using fuppes please report bugs >>> Source compiled. >>> Test phase [not enabled]: media-video/fuppes-578 >>> Install fuppes-578 into /var/tmp/portage/media-video/fuppes-578/image/ category media-video Making install in src make[1]: Entering directory `/var/tmp/portage/media-video/fuppes-578/work/fuppes-SVN-578/src' if test -e "../version.sh"; then \ ../version.sh; \ fi make install-am make[2]: Entering directory `/var/tmp/portage/media-video/fuppes-578/work/fuppes-SVN-578/src' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/usr/include/taglib -I/usr/include/ImageMagick -D__STDC_CONSTANT_MACROS -I/usr/include/ffmpeg -I/usr/include/ffmpeg -I/usr/include/libxml2 -DINOTIFY_THREAD_SAFE -march=athlon64 -O2 -pipe -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -MT UPnPAction.lo -MD -MP -MF .deps/UPnPAction.Tpo -c -o UPnPAction.lo `test -f 'lib/UPnPActions/UPnPAction.cpp' || echo './'`lib/UPnPActions/UPnPAction.cpp /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/usr/include/taglib -I/usr/include/ImageMagick -D__STDC_CONSTANT_MACROS -I/usr/include/ffmpeg -I/usr/include/ffmpeg -I/usr/include/libxml2 -DINOTIFY_THREAD_SAFE -march=athlon64 -O2 -pipe -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -MT FileDetails.lo -MD -MP -MF .deps/FileDetails.Tpo -c -o FileDetails.lo `test -f 'lib/ContentDirectory/FileDetails.cpp' || echo './'`lib/ContentDirectory/FileDetails.cpp /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/usr/include/taglib -I/usr/include/ImageMagick -D__STDC_CONSTANT_MACROS -I/usr/include/ffmpeg -I/usr/include/ffmpeg -I/usr/include/libxml2 -DINOTIFY_THREAD_SAFE -march=athlon64 -O2 -pipe -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -MT PlaylistFactory.lo -MD -MP -MF .deps/PlaylistFactory.Tpo -c -o PlaylistFactory.lo `test -f 'lib/ContentDirectory/PlaylistFactory.cpp' || echo './'`lib/ContentDirectory/PlaylistFactory.cpp mkdir .libs x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/usr/include/taglib -I/usr/include/ImageMagick -D__STDC_CONSTANT_MACROS -I/usr/include/ffmpeg -I/usr/include/ffmpeg -I/usr/include/libxml2 -DINOTIFY_THREAD_SAFE -march=athlon64 -O2 -pipe -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -MT UPnPAction.lo -MD -MP -MF .deps/UPnPAction.Tpo -c lib/UPnPActions/UPnPAction.cpp -fPIC -DPIC -o .libs/UPnPAction.o x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/usr/include/taglib -I/usr/include/ImageMagick -D__STDC_CONSTANT_MACROS -I/usr/include/ffmpeg -I/usr/include/ffmpeg -I/usr/include/libxml2 -DINOTIFY_THREAD_SAFE -march=athlon64 -O2 -pipe -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -MT FileDetails.lo -MD -MP -MF .deps/FileDetails.Tpo -c lib/ContentDirectory/FileDetails.cpp -fPIC -DPIC -o .libs/FileDetails.o x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/usr/include/taglib -I/usr/include/ImageMagick -D__STDC_CONSTANT_MACROS -I/usr/include/ffmpeg -I/usr/include/ffmpeg -I/usr/include/libxml2 -DINOTIFY_THREAD_SAFE -march=athlon64 -O2 -pipe -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -MT PlaylistFactory.lo -MD -MP -MF .deps/PlaylistFactory.Tpo -c lib/ContentDirectory/PlaylistFactory.cpp -fPIC -DPIC -o .libs/PlaylistFactory.o lib/ContentDirectory/FileDetails.cpp:46:36: error: libavformat/avformat.h: No such file or directory lib/ContentDirectory/FileDetails.cpp:47:34: error: libavcodec/avcodec.h: No such file or directory lib/ContentDirectory/PlaylistFactory.cpp:49:2: warning: #warning todo: audio details lib/ContentDirectory/FileDetails.cpp: In member function 'bool CFileDetails::GetVideoDetails(std::string, SVideoItem*)': lib/ContentDirectory/FileDetails.cpp:319: error: 'AVFormatContext' was not declared in this scope lib/ContentDirectory/FileDetails.cpp:319: error: 'pFormatCtx' was not declared in this scope lib/ContentDirectory/FileDetails.cpp:321: error: 'av_open_input_file' was not declared in this scope lib/ContentDirectory/FileDetails.cpp:326: error: 'av_find_stream_info' was not declared in this scope lib/ContentDirectory/FileDetails.cpp:328: error: 'av_close_input_file' was not declared in this scope lib/ContentDirectory/FileDetails.cpp:333: error: 'AV_NOPTS_VALUE' was not declared in this scope lib/ContentDirectory/FileDetails.cpp:337: error: 'AV_TIME_BASE' was not declared in this scope lib/ContentDirectory/FileDetails.cpp:368: error: 'AVStream' was not declared in this scope lib/ContentDirectory/FileDetails.cpp:368: error: 'pStream' was not declared in this scope lib/ContentDirectory/FileDetails.cpp:369: error: 'AVCodec' was not declared in this scope lib/ContentDirectory/FileDetails.cpp:369: error: 'pCodec' was not declared in this scope lib/ContentDirectory/FileDetails.cpp:371: error: 'avcodec_find_decoder' was not declared in this scope lib/ContentDirectory/FileDetails.cpp:375: error: 'CODEC_ID_MP3' was not declared in this scope lib/ContentDirectory/FileDetails.cpp:381: error: 'CODEC_ID_MPEG2TS' was not declared in this scope lib/ContentDirectory/FileDetails.cpp:405: error: 'CODEC_TYPE_VIDEO' was not declared in this scope lib/ContentDirectory/FileDetails.cpp:410: error: 'CODEC_TYPE_AUDIO' was not declared in this scope lib/ContentDirectory/FileDetails.cpp:414: error: 'CODEC_TYPE_DATA' was not declared in this scope lib/ContentDirectory/FileDetails.cpp:416: error: 'CODEC_TYPE_SUBTITLE' was not declared in this scope lib/ContentDirectory/FileDetails.cpp:424: error: 'av_close_input_file' was not declared in this scope x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/usr/include/taglib -I/usr/include/ImageMagick -D__STDC_CONSTANT_MACROS -I/usr/include/ffmpeg -I/usr/include/ffmpeg -I/usr/include/libxml2 -DINOTIFY_THREAD_SAFE -march=athlon64 -O2 -pipe -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -MT UPnPAction.lo -MD -MP -MF .deps/UPnPAction.Tpo -c lib/UPnPActions/UPnPAction.cpp -o UPnPAction.o >/dev/null 2>&1 make[2]: *** [FileDetails.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/usr/include/taglib -I/usr/include/ImageMagick -D__STDC_CONSTANT_MACROS -I/usr/include/ffmpeg -I/usr/include/ffmpeg -I/usr/include/libxml2 -DINOTIFY_THREAD_SAFE -march=athlon64 -O2 -pipe -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -MT PlaylistFactory.lo -MD -MP -MF .deps/PlaylistFactory.Tpo -c lib/ContentDirectory/PlaylistFactory.cpp -o PlaylistFactory.o >/dev/null 2>&1 mv -f .deps/UPnPAction.Tpo .deps/UPnPAction.Plo mv -f .deps/PlaylistFactory.Tpo .deps/PlaylistFactory.Plo make[2]: Leaving directory `/var/tmp/portage/media-video/fuppes-578/work/fuppes-SVN-578/src' make[1]: *** [install] Error 2 make[1]: Leaving directory `/var/tmp/portage/media-video/fuppes-578/work/fuppes-SVN-578/src' make: *** [install-recursive] Error 1 * * ERROR: media-video/fuppes-578 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 2140: Called die * The specific snippet of code: * emake DESTDIR="${D}" install || die "Install failed"; * The die message: * Install failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-video/fuppes-578/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/fuppes-578/temp/environment'. * This ebuild is from an overlay: '/usr/local/portage/'
I removed the ffmpeg path patch and now I get: ..... /usr/bin/install -c .libs/libfuppes.lai /var/tmp/portage/media-video/fuppes-578/image//usr/lib64/libfuppes.la /usr/bin/install -c .libs/libfuppes.a /var/tmp/portage/media-video/fuppes-578/image//usr/lib64/libfuppes.a chmod 644 /var/tmp/portage/media-video/fuppes-578/image//usr/lib64/libfuppes.a x86_64-pc-linux-gnu-ranlib /var/tmp/portage/media-video/fuppes-578/image//usr/lib64/libfuppes.a libtool: install: warning: remember to run `libtool --finish /usr/lib64' test -z "/usr/bin" || /bin/mkdir -p "/var/tmp/portage/media-video/fuppes-578/image//usr/bin" /bin/sh ../libtool --mode=install /usr/bin/install -c 'fuppes' '/var/tmp/portage/media-video/fuppes-578/image//usr/bin/fuppes' libtool: install: warning: `./libfuppes.la' has not been installed in `/usr/lib64' /usr/bin/install -c .libs/fuppes /var/tmp/portage/media-video/fuppes-578/image//usr/bin/fuppes /bin/sh ../libtool --mode=install /usr/bin/install -c 'fuppesd' '/var/tmp/portage/media-video/fuppes-578/image//usr/bin/fuppesd' libtool: install: warning: `./libfuppes.la' has not been installed in `/usr/lib64' /usr/bin/install -c .libs/fuppesd /var/tmp/portage/media-video/fuppes-578/image//usr/bin/fuppesd make[3]: Leaving directory `/var/tmp/portage/media-video/fuppes-578/work/fuppes-SVN-578/src' make[2]: Leaving directory `/var/tmp/portage/media-video/fuppes-578/work/fuppes-SVN-578/src' make[1]: Leaving directory `/var/tmp/portage/media-video/fuppes-578/work/fuppes-SVN-578/src' Making install in src/gnome make[1]: Entering directory `/var/tmp/portage/media-video/fuppes-578/work/fuppes-SVN-578/src/gnome' make[1]: *** No rule to make target `fuppes-applet.c.in', needed by `fuppes-applet.c'. Stop. make[1]: Leaving directory `/var/tmp/portage/media-video/fuppes-578/work/fuppes-SVN-578/src/gnome' make: *** [install-recursive] Error 1 * * ERROR: media-video/fuppes-578 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 2140: Called die * The specific snippet of code: * emake DESTDIR="${D}" install || die "Install failed"; * The die message: * Install failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-video/fuppes-578/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/fuppes-578/temp/environment'. * This ebuild is from an overlay: '/usr/local/portage/' Any info appreciated. Thanks.
(In reply to comment #13) > ebuild fails for me: > > ..... > config.status: creating src/config.h > config.status: executing depfiles commands > > SUMMARY > > audio transcoding enabled > encoder: > lame : yes > twolame : no > wav : yes > pcm : yes > decoder: > vorbis : no > mpc : no > flac : yes > faad : yes (aac/NO mp4) > > video transcoding (experimental) > ffmpeg : enabled > > > iconv : enabled > uuid : enabled > taglib : enabled > ImageMagick: enabled > simage : disabled > libavformat: enabled > > GNOME > panel applet : enabled > libnotify : enabled > > Thanks for using fuppes > please report bugs > > >>> Source compiled. > >>> Test phase [not enabled]: media-video/fuppes-578 > > >>> Install fuppes-578 into /var/tmp/portage/media-video/fuppes-578/image/ category media-video > Making install in src > make[1]: Entering directory > `/var/tmp/portage/media-video/fuppes-578/work/fuppes-SVN-578/src' > if test -e "../version.sh"; then \ > ../version.sh; \ > fi > make install-am > make[2]: Entering directory > `/var/tmp/portage/media-video/fuppes-578/work/fuppes-SVN-578/src' > /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ > -DHAVE_CONFIG_H -I. -I/usr/include/taglib -I/usr/include/ImageMagick > -D__STDC_CONSTANT_MACROS -I/usr/include/ffmpeg -I/usr/include/ffmpeg > -I/usr/include/libxml2 -DINOTIFY_THREAD_SAFE -march=athlon64 -O2 -pipe > -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include > -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include > -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo > -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 > -I/usr/include/pixman-1 -MT UPnPAction.lo -MD -MP -MF .deps/UPnPAction.Tpo -c > -o UPnPAction.lo `test -f 'lib/UPnPActions/UPnPAction.cpp' || echo > './'`lib/UPnPActions/UPnPAction.cpp > /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ > -DHAVE_CONFIG_H -I. -I/usr/include/taglib -I/usr/include/ImageMagick > -D__STDC_CONSTANT_MACROS -I/usr/include/ffmpeg -I/usr/include/ffmpeg > -I/usr/include/libxml2 -DINOTIFY_THREAD_SAFE -march=athlon64 -O2 -pipe > -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include > -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include > -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo > -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 > -I/usr/include/pixman-1 -MT FileDetails.lo -MD -MP -MF .deps/FileDetails.Tpo > -c -o FileDetails.lo `test -f 'lib/ContentDirectory/FileDetails.cpp' || echo > './'`lib/ContentDirectory/FileDetails.cpp > /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ > -DHAVE_CONFIG_H -I. -I/usr/include/taglib -I/usr/include/ImageMagick > -D__STDC_CONSTANT_MACROS -I/usr/include/ffmpeg -I/usr/include/ffmpeg > -I/usr/include/libxml2 -DINOTIFY_THREAD_SAFE -march=athlon64 -O2 -pipe > -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include > -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include > -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo > -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 > -I/usr/include/pixman-1 -MT PlaylistFactory.lo -MD -MP -MF > .deps/PlaylistFactory.Tpo -c -o PlaylistFactory.lo `test -f > 'lib/ContentDirectory/PlaylistFactory.cpp' || echo > './'`lib/ContentDirectory/PlaylistFactory.cpp > mkdir .libs > x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/usr/include/taglib > -I/usr/include/ImageMagick -D__STDC_CONSTANT_MACROS -I/usr/include/ffmpeg > -I/usr/include/ffmpeg -I/usr/include/libxml2 -DINOTIFY_THREAD_SAFE > -march=athlon64 -O2 -pipe -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 > -I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0 > -I/usr/lib64/dbus-1.0/include -I/usr/lib64/gtk-2.0/include > -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 > -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -MT > UPnPAction.lo -MD -MP -MF .deps/UPnPAction.Tpo -c > lib/UPnPActions/UPnPAction.cpp -fPIC -DPIC -o .libs/UPnPAction.o > x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/usr/include/taglib > -I/usr/include/ImageMagick -D__STDC_CONSTANT_MACROS -I/usr/include/ffmpeg > -I/usr/include/ffmpeg -I/usr/include/libxml2 -DINOTIFY_THREAD_SAFE > -march=athlon64 -O2 -pipe -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 > -I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0 > -I/usr/lib64/dbus-1.0/include -I/usr/lib64/gtk-2.0/include > -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 > -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -MT > FileDetails.lo -MD -MP -MF .deps/FileDetails.Tpo -c > lib/ContentDirectory/FileDetails.cpp -fPIC -DPIC -o .libs/FileDetails.o > x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/usr/include/taglib > -I/usr/include/ImageMagick -D__STDC_CONSTANT_MACROS -I/usr/include/ffmpeg > -I/usr/include/ffmpeg -I/usr/include/libxml2 -DINOTIFY_THREAD_SAFE > -march=athlon64 -O2 -pipe -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 > -I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0 > -I/usr/lib64/dbus-1.0/include -I/usr/lib64/gtk-2.0/include > -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 > -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -MT > PlaylistFactory.lo -MD -MP -MF .deps/PlaylistFactory.Tpo -c > lib/ContentDirectory/PlaylistFactory.cpp -fPIC -DPIC -o > .libs/PlaylistFactory.o > lib/ContentDirectory/FileDetails.cpp:46:36: error: libavformat/avformat.h: No > such file or directory > lib/ContentDirectory/FileDetails.cpp:47:34: error: libavcodec/avcodec.h: No > such file or directory > lib/ContentDirectory/PlaylistFactory.cpp:49:2: warning: #warning todo: audio > details > lib/ContentDirectory/FileDetails.cpp: In member function 'bool > CFileDetails::GetVideoDetails(std::string, SVideoItem*)': > lib/ContentDirectory/FileDetails.cpp:319: error: 'AVFormatContext' was not > declared in this scope > lib/ContentDirectory/FileDetails.cpp:319: error: 'pFormatCtx' was not declared > in this scope > lib/ContentDirectory/FileDetails.cpp:321: error: 'av_open_input_file' was not > declared in this scope > lib/ContentDirectory/FileDetails.cpp:326: error: 'av_find_stream_info' was not > declared in this scope > lib/ContentDirectory/FileDetails.cpp:328: error: 'av_close_input_file' was not > declared in this scope > lib/ContentDirectory/FileDetails.cpp:333: error: 'AV_NOPTS_VALUE' was not > declared in this scope > lib/ContentDirectory/FileDetails.cpp:337: error: 'AV_TIME_BASE' was not > declared in this scope > lib/ContentDirectory/FileDetails.cpp:368: error: 'AVStream' was not declared in > this scope > lib/ContentDirectory/FileDetails.cpp:368: error: 'pStream' was not declared in > this scope > lib/ContentDirectory/FileDetails.cpp:369: error: 'AVCodec' was not declared in > this scope > lib/ContentDirectory/FileDetails.cpp:369: error: 'pCodec' was not declared in > this scope > lib/ContentDirectory/FileDetails.cpp:371: error: 'avcodec_find_decoder' was not > declared in this scope > lib/ContentDirectory/FileDetails.cpp:375: error: 'CODEC_ID_MP3' was not > declared in this scope > lib/ContentDirectory/FileDetails.cpp:381: error: 'CODEC_ID_MPEG2TS' was not > declared in this scope > lib/ContentDirectory/FileDetails.cpp:405: error: 'CODEC_TYPE_VIDEO' was not > declared in this scope > lib/ContentDirectory/FileDetails.cpp:410: error: 'CODEC_TYPE_AUDIO' was not > declared in this scope > lib/ContentDirectory/FileDetails.cpp:414: error: 'CODEC_TYPE_DATA' was not > declared in this scope > lib/ContentDirectory/FileDetails.cpp:416: error: 'CODEC_TYPE_SUBTITLE' was not > declared in this scope > lib/ContentDirectory/FileDetails.cpp:424: error: 'av_close_input_file' was not > declared in this scope > x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/usr/include/taglib > -I/usr/include/ImageMagick -D__STDC_CONSTANT_MACROS -I/usr/include/ffmpeg > -I/usr/include/ffmpeg -I/usr/include/libxml2 -DINOTIFY_THREAD_SAFE > -march=athlon64 -O2 -pipe -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 > -I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0 > -I/usr/lib64/dbus-1.0/include -I/usr/lib64/gtk-2.0/include > -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 > -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -MT > UPnPAction.lo -MD -MP -MF .deps/UPnPAction.Tpo -c > lib/UPnPActions/UPnPAction.cpp -o UPnPAction.o >/dev/null 2>&1 > make[2]: *** [FileDetails.lo] Error 1 > make[2]: *** Waiting for unfinished jobs.... > x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/usr/include/taglib > -I/usr/include/ImageMagick -D__STDC_CONSTANT_MACROS -I/usr/include/ffmpeg > -I/usr/include/ffmpeg -I/usr/include/libxml2 -DINOTIFY_THREAD_SAFE > -march=athlon64 -O2 -pipe -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 > -I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0 > -I/usr/lib64/dbus-1.0/include -I/usr/lib64/gtk-2.0/include > -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 > -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -MT > PlaylistFactory.lo -MD -MP -MF .deps/PlaylistFactory.Tpo -c > lib/ContentDirectory/PlaylistFactory.cpp -o PlaylistFactory.o >/dev/null 2>&1 > mv -f .deps/UPnPAction.Tpo .deps/UPnPAction.Plo > mv -f .deps/PlaylistFactory.Tpo .deps/PlaylistFactory.Plo > make[2]: Leaving directory > `/var/tmp/portage/media-video/fuppes-578/work/fuppes-SVN-578/src' > make[1]: *** [install] Error 2 > make[1]: Leaving directory > `/var/tmp/portage/media-video/fuppes-578/work/fuppes-SVN-578/src' > make: *** [install-recursive] Error 1 > * > * ERROR: media-video/fuppes-578 failed. > * Call stack: > * ebuild.sh, line 49: Called src_install > * environment, line 2140: Called die > * The specific snippet of code: > * emake DESTDIR="${D}" install || die "Install failed"; > * The die message: > * Install failed > * > * If you need support, post the topmost build error, and the call stack if > relevant. > * A complete build log is located at > '/var/tmp/portage/media-video/fuppes-578/temp/build.log'. > * The ebuild environment file is located at > '/var/tmp/portage/media-video/fuppes-578/temp/environment'. > * This ebuild is from an overlay: '/usr/local/portage/' > What version of ffmpeg are you useing? I got the same results with 0.4.9_p20070616 which I resolved by upgrading to 0.4.9_p20080326.
Created attachment 163350 [details] fuppes ebuild with updated includes so that it compiles again. With this new ebuild and update_includes.patch, fuppes 578 will again compile, and I can watch anime through my PS3 again.
Created attachment 163352 [details, diff] patch to add now-needed includes to source. With this patch, fuppes 578 will again compile with the current dev environment.
(In reply to comment #12) > Created an attachment (id=150792) [edit] > new ebuild with USE flags > > this adds support for the new patch, building cleanly against the latest ffmpeg > package in portage > This ebuild should be made obsolete in favor of the new version (which is the same with the addition of including the new patch). I don't have authority to do so, but there it is. :D
Created attachment 168270 [details] Fuppes SVN r618 (dev) ebuild Modified fuppes-518.ebuild to reflect changes in libraries of SVN version 618. Note that I have created fuppes-618.tar.gz manually so you may need to package it after grabbing from SVN and regenerate Manifest (ebuild fuppes-618.ebuild digest).
Created attachment 168272 [details, diff] ffmpeg patch SVN 618 I've looked at original patch to see what changes were made and done same on applicable files in SVN 618.
Created attachment 168274 [details, diff] configure patch SVN 618 I've looked at original patch to see what changes were made and done same on applicable files in SVN 618.
(In reply to comment #19) > Created an attachment (id=168270) [edit] > Fuppes SVN r618 (dev) ebuild > > Modified fuppes-518.ebuild to reflect changes in libraries of SVN version 618. > Note that I have created fuppes-618.tar.gz manually so you may need to package > it after grabbing from SVN and regenerate Manifest (ebuild fuppes-618.ebuild > digest). > Note that I haven't made update_includes.patch for SVN 618 as it compiled without it anyway (amd64, kernel 2.6.22-gentoo-r6, ffmpeg 0.4.9_p20080326) and works well. If there would be someone who'd like to contribute, you are welcome. For me the MAIN reason for compiling SVN 618 was the external transcoder support. Otherwise I had strange problems for 5.1 transcoding (only!), the sound wasn't transcoded properly, it wasn't listenable at all while manual ffmpeg transcoding was OK. The format is (example of mine): <transcode enabled="true"> <transcoder>external</transcoder> <ext>mpg</ext> <mime_type>video/mpeg</mime_type> <external_cmd>/usr/bin/ffmpeg -i %in% -vcodec mpeg2video -vb 5800000 -acodec mp2 -ac 2 -ab 384000 %out%</external_cmd> <http_encoding>chunked</http_encoding> </transcode>
Created attachment 170972 [details, diff] includes patch SVN 618 Revised update_includes patch from previous version.
Created attachment 170973 [details, diff] relloc bug patch SVN 618 This fixes a bug with "symbol lookup error: /usr/local/lib/fuppes/libmetadata_magickwand.so: undefined symbol: relloc".
Created attachment 170974 [details] Fuppes SVN r618 (dev) ebuild Updated ebuild with includes & relloc patches.
(In reply to comment #25) > Created an attachment (id=170974) [edit] > Fuppes SVN r618 (dev) ebuild > > Updated ebuild with includes & relloc patches. > Hi i build the actual trunk version with the following Steps: -- svn co https://fuppes.svn.sourceforge.net/svnroot/fuppes/trunk (ver. 627) -- cd trunk ; autoreconf -vfi -- mv trunk fuppes-SVN-618; tar -cvzf fuppes-SVN-618.tar.gz fuppes-SVN-618 -- cp fuppes-SVN-618.tar.gz /usr/portage/distfiles -- created the local-overlay -- commented out all patch files in the latest ebuild from 2008-11-07! -- ebuild /usr/portage/local/local-overlay/net-misc/fuppes/fuppes-618.ebuild digest USE="dlna flac iconv imagemagick lame muse taglib transcode twolame -gnome -notify" emerge fuppes compile clean! (no more path patches are needed!) This is a nice app, thx for the ebuild! Greets Daniel
in case anyone (In reply to comment #26) > (In reply to comment #25) > > Created an attachment (id=170974) [edit] > > Fuppes SVN r618 (dev) ebuild > > > > Updated ebuild with includes & relloc patches. > > > > Hi > > i build the actual trunk version with the following Steps: > > -- svn co https://fuppes.svn.sourceforge.net/svnroot/fuppes/trunk (ver. 627) > -- cd trunk ; autoreconf -vfi > -- mv trunk fuppes-SVN-618; tar -cvzf fuppes-SVN-618.tar.gz fuppes-SVN-618 > -- cp fuppes-SVN-618.tar.gz /usr/portage/distfiles > -- created the local-overlay > -- commented out all patch files in the latest ebuild from 2008-11-07! > -- ebuild /usr/portage/local/local-overlay/net-misc/fuppes/fuppes-618.ebuild > digest > > USE="dlna flac iconv imagemagick lame muse taglib transcode twolame -gnome > -notify" emerge fuppes > > compile clean! (no more path patches are needed!) > > This is a nice app, thx for the ebuild! > > Greets Daniel > I used these instructions to compile successfully on a PPC64 system (64bit userland).
Created attachment 175712 [details] fuppes ebuild & source from SVN 618 This file needs to be untarred in the root of your linux build it has the /usr/portage/local/local-overlay/media-video/fuppes and the /usr/portage/distfiles paths in it. Make sure after untarring it that you edit the /etc/make.conf file and add the line: PORTDIR_OVERLAY="/usr/portage/local/local-overlay" This version uses no patches to compile and works fine on both my 64bit and 32bit Gentoo installations
(In reply to comment #28) I have created a new libdlna package tarball and uploaded it too in the same manner. http://bugs.gentoo.org/show_bug.cgi?id=204007 This means that the USE="dlna" now works painlessly
Added to the Funtoo Portage tree (not the gentoo one) http://github.com/funtoo/portage/commit/eb16fe58e1b7601b2f24aaf9c3ce7d3e6c12d4d0
Created attachment 187421 [details] Updated ebuild to revision 634. No tarball needed. Heh, ebuild included in funtoo is broken. Depends on downloading the above tarball as the last sf.net hosted snapshot is 578. ChangeLog: -Updated from 618 to 634. -Added dev-utils/subversion dependency. -Changed source location from non-existent tarball to SVN repo at sf.net. -Defined svn checkout and update commands to keep revision at ${PV}. -Placed 'eautoreconf' directive in src_unpack to prepare svn code for econf. Any future revisions should be able to just rename the ebuild to update.
An 'emerge -avuDN world' on my funtoo system today pulled up the following error: -------------------------------------------------------------------------------- Total: 27 packages (25 upgrades, 1 new, 1 in new slot), Size of downloads: 43,955 kB !!! Multiple package instances within a single package slot have been pulled !!! into the dependency graph, resulting in a slot conflict: media-video/ffmpeg:0 ('ebuild', '/', 'media-video/ffmpeg-0.5-r1', 'merge') pulled in by media-video/ffmpeg required by @world >=media-video/ffmpeg-0.4.9_p20081014 required by ('installed', '/', 'media-video/transcode-1.1.1-r4', 'nomerge') media-video/ffmpeg required by ('installed', '/', 'media-sound/mpd-0.14.2', 'nomerge') ('installed', '/', 'media-video/ffmpeg-0.4.9_p20090201-r1', 'nomerge') pulled in by media-video/ffmpeg[xvid,x264,aac,encode] required by ('installed', '/', 'media-video/fuppes-634', 'nomerge') (and 3 more) Explanation: New USE for 'media-video/ffmpeg:0' are incorrectly set. In order to solve this, adjust USE to satisfy 'media- video/ffmpeg[xvid,x264,aac,encode]'. -------------------------------------------------------------------------------- Problem seems to be that the 'aac' use flag has been removed from ffmpeg. Solution seems to be to remove 'aac' USE-flag requirement for ffmpeg from FUPPES ebuild. Not sure if problem exists with gentoo tree's ffmpeg ebuild. Can anyone confirm this?
(In reply to comment #31) > Created an attachment (id=187421) [edit] > Updated ebuild to revision 634. No tarball needed. > > Heh, ebuild included in funtoo is broken. Depends on downloading the above > tarball as the last sf.net hosted snapshot is 578. > > ChangeLog: > -Updated from 618 to 634. > -Added dev-utils/subversion dependency. > -Changed source location from non-existent tarball to SVN repo at sf.net. > -Defined svn checkout and update commands to keep revision at ${PV}. > -Placed 'eautoreconf' directive in src_unpack to prepare svn code for econf. > > Any future revisions should be able to just rename the ebuild to update. > Hey, Why can I not see fuppes anywhere amongst the available packages to emerge? eix fuppes Nothing comes up.
> Hey, > > Why can I not see fuppes anywhere amongst the available packages to emerge? > eix fuppes > > Nothing comes up. > Start here: http://linuxreviews.org/gentoo/ebuilds/ Hope it helps. :)
When I try to digest the most recent ebuild, I get this. Does anyone have an idea of what I am doing wrong or if the ebuild itself is erroneous? * * ERROR: media-video/fuppes-634 failed. * Call stack: * ebuild.sh, line 1872: Called _source_ebuild * ebuild.sh, line 1811: Called source '/usr/portage/local/media-video/fuppes/fuppes-634.ebuild' '* fuppes-634.ebuild, line 1: Called inherit 'eutils' 'subversion' 'autotools * ebuild.sh, line 1211: Called die * The specific snippet of code: * [ ! -e "$location" ] && die "${1}.eclass could not be found by inherit()" * The die message: .eclass could not be found by inherit() * * If you need support, post the topmost build error, and the call stack if relevant. *
(In reply to comment #35) > When I try to digest the most recent ebuild, I get this. Does anyone have an > idea of what I am doing wrong or if the ebuild itself is erroneous? > > * > * ERROR: media-video/fuppes-634 failed. > * Call stack: > * ebuild.sh, line 1872: Called _source_ebuild > * ebuild.sh, line 1811: Called source > '/usr/portage/local/media-video/fuppes/fuppes-634.ebuild' > '* fuppes-634.ebuild, line 1: Called inherit 'eutils' 'subversion' > 'autotools > * ebuild.sh, line 1211: Called die > * The specific snippet of code: > * [ ! -e "$location" ] && die "${1}.eclass could not be found by > inherit()" > * The die message: > .eclass could not be found by inherit() > * > * If you need support, post the topmost build error, and the call stack if > relevant. > * > do you have subversion installed?
(In reply to comment #36) > (In reply to comment #35) > > When I try to digest the most recent ebuild, I get this. Does anyone have an > > idea of what I am doing wrong or if the ebuild itself is erroneous? > > > > * > > * ERROR: media-video/fuppes-634 failed. > > * Call stack: > > * ebuild.sh, line 1872: Called _source_ebuild > > * ebuild.sh, line 1811: Called source > > '/usr/portage/local/media-video/fuppes/fuppes-634.ebuild' > > '* fuppes-634.ebuild, line 1: Called inherit 'eutils' 'subversion' > > 'autotools > > * ebuild.sh, line 1211: Called die > > * The specific snippet of code: > > * [ ! -e "$location" ] && die "${1}.eclass could not be found by > > inherit()" > > * The die message: > > .eclass could not be found by inherit() > > * > > * If you need support, post the topmost build error, and the call stack if > > relevant. > > * > > > > do you have subversion installed? > I emerged it moments ago and I got the same error. SF002 fuppes # ebuild fuppes-634.ebuild manifest * * ERROR: media-video/fuppes-634 failed. * Call stack: * ebuild.sh, line 1872: Called _source_ebuild * ebuild.sh, line 1811: Called source '/usr/portage/local/media-video/fuppes/fuppes-634.ebuild' '* fuppes-634.ebuild, line 1: Called inherit 'eutils' 'subversion' 'autotools * ebuild.sh, line 1211: Called die * The specific snippet of code: * [ ! -e "$location" ] && die "${1}.eclass could not be found by inherit()" * The die message: .eclass could not be found by inherit() * * If you need support, post the topmost build error, and the call stack if relevant. * SF002 fuppes # svn Type 'svn help' for usage.
> I emerged it moments ago and I got the same error. > > SF002 fuppes # ebuild fuppes-634.ebuild manifest > * > * ERROR: media-video/fuppes-634 failed. > * Call stack: > * ebuild.sh, line 1872: Called _source_ebuild > * ebuild.sh, line 1811: Called source > '/usr/portage/local/media-video/fuppes/fuppes-634.ebuild' > '* fuppes-634.ebuild, line 1: Called inherit 'eutils' 'subversion' > 'autotools > * ebuild.sh, line 1211: Called die > * The specific snippet of code: > * [ ! -e "$location" ] && die "${1}.eclass could not be found by > inherit()" > * The die message: > .eclass could not be found by inherit() > * > * If you need support, post the topmost build error, and the call stack if > relevant. > * > SF002 fuppes # svn > Type 'svn help' for usage. > If that's not the problem, I can think of a few other things. Try running an emerge --sync or eix-sync or whatever you use. That should re-download the eclass definitions. Also, did you download the ebuild or just copy and paste? If the later, make sure you didn't miss anything.
Created attachment 188160 [details] Updated ebuild to revision 634. No tarball needed. Fixed linefeeds. Son of a... Ok, sorry about that. Had a thought right after my last post. I uploaded that ebuild by pasting it from an SSH terminal into notepad on my Windows laptop. Notepad changed the line-feeds to \c\r. I've marked the broken one obsolete and uploaded the original from my linux box.
...thanks. It is working great now. I appreciate your help.
(In reply to comment #40) > ...thanks. It is working great now. I appreciate your help. > Yeah, sorry about that. I guess that's what I get for being lazy...
(this is an automated message based on filtering criteria that matched this bug) 'EBUILD' is in the KEYWORDS which should mean that there is a ebuild attached to this bug. This bug is assigned to maintainer-wanted which means that it is not in the main tree. Heuristics show that no Gentoo developer has commented on your ebuild. Hello, The Gentoo Team would like to firstly thank you for your ebuild submission. We also apologize for not being able to accommodate you in a timely manner. There are simply too many new packages. Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and all users can have ebuilds reviewed by Gentoo devs for entry into the overlay. So, the sunrise team is suggesting that you look into this and submit your ebuild to the overlay where even *you* can commit to. =) Because this is a mass message, we are also asking you to be patient with us. We anticipate a large number of requests in a short time. Thanks, On behalf of the Gentoo Sunrise Team, Jeremy. [1]: http://www.gentoo.org/proj/en/sunrise/ [2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
I keep getting failed build with the following: >>> Emerging (1 of 1) media-video/fuppes-634 from unknown repo * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... * subversion switch start --> * old repository: http://fuppes.svn.sourceforge.net/svnroot/fuppes/trunk@634 * new repository: https://fuppes.svn.sourceforge.net/svnroot/fuppes/trunk svn: 'http://fuppes.svn.sourceforge.net/svnroot/fuppes/trunk' is not the same repository as 'https://fuppes.svn.sourceforge.net/svnroot/fuppes' * * ERROR: media-video/fuppes-634 failed. * Call stack: * ebuild.sh, line 49: Called src_unpack * environment, line 2717: Called subversion_src_unpack * environment, line 2962: Called subversion_fetch * environment, line 2923: Called die * The specific snippet of code: * ${ESVN_SWITCH_CMD} ${options} ${repo_uri} || die "${ESVN}: can't update ${wc_path} from ${repo_uri}"; * The die message: * subversion: can't update /usr/portage/distfiles/svn-src/fuppes/trunk from https://fuppes.svn.sourceforge.net/svnroot/fuppes/trunk * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-video/fuppes-634/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/fuppes-634/temp/environment'. * This ebuild is from an overlay: '/usr/local/portage/' * >>> Failed to emerge media-video/fuppes-634, Log file:
Deleting '/trunk/ off of the repo_uri seems to have resolved this. (In reply to comment #43) > I keep getting failed build with the following: > > >>> Emerging (1 of 1) media-video/fuppes-634 from unknown repo > * checking ebuild checksums ;-) ... [ ok ] > * checking auxfile checksums ;-) ... [ ok ] > * checking miscfile checksums ;-) ... [ ok ] > >>> Unpacking source... > * subversion switch start --> > * old repository: > http://fuppes.svn.sourceforge.net/svnroot/fuppes/trunk@634 > * new repository: https://fuppes.svn.sourceforge.net/svnroot/fuppes/trunk > svn: 'http://fuppes.svn.sourceforge.net/svnroot/fuppes/trunk' > is not the same repository as > 'https://fuppes.svn.sourceforge.net/svnroot/fuppes' > * > * ERROR: media-video/fuppes-634 failed. > * Call stack: > * ebuild.sh, line 49: Called src_unpack > * environment, line 2717: Called subversion_src_unpack > * environment, line 2962: Called subversion_fetch > * environment, line 2923: Called die > * The specific snippet of code: > * ${ESVN_SWITCH_CMD} ${options} ${repo_uri} || die > "${ESVN}: can't update ${wc_path} from ${repo_uri}"; > * The die message: > * subversion: can't update /usr/portage/distfiles/svn-src/fuppes/trunk from > https://fuppes.svn.sourceforge.net/svnroot/fuppes/trunk > * > * If you need support, post the topmost build error, and the call stack if > relevant. > * A complete build log is located at > '/var/tmp/portage/media-video/fuppes-634/temp/build.log'. > * The ebuild environment file is located at > '/var/tmp/portage/media-video/fuppes-634/temp/environment'. > * This ebuild is from an overlay: '/usr/local/portage/' > * > > >>> Failed to emerge media-video/fuppes-634, Log file: >
I'm getting the following now: * working copy: /usr/portage/distfiles/svn-src/fuppes/fuppes * Running eautoreconf in '/var/tmp/portage/media-video/fuppes-634/work/fuppes-SVN-634' ... * Running aclocal ... [ !! ] * Failed Running aclocal ! * * Include in your bugreport the contents of: * * /var/tmp/portage/media-video/fuppes-634/temp/aclocal-4052.out * * ERROR: media-video/fuppes-634 failed. * Call stack: * ebuild.sh, line 49: Called src_unpack * environment, line 2718: Called eautoreconf * environment, line 889: Called eaclocal * environment, line 828: Called autotools_run_tool 'aclocal' * environment, line 379: Called die * The specific snippet of code: * die "Failed Running $1 !"; * The die message: * Failed Running aclocal ! * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-video/fuppes-634/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/fuppes-634/temp/environment'. * This ebuild is from an overlay: '/usr/local/portage/' * >>> Failed to emerge media-video/fuppes-634, Log file: The aclocal-4052.out file contains the following: ***** aclocal ***** ***** aclocal aclocal-1.10: `configure.ac' or `configure.in' is required
Created attachment 205350 [details] fuppes-0.640.ebuild
(In reply to comment #46) > Created an attachment (id=205350) [details] > fuppes-0.640.ebuild > Compile error using given ebuild and patch: libtool: compile: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src -O2 -march=prescott -pipe -MT libdecoder_musepack_la-decoder_musepack.lo -MD -MP -MF .deps/libdecoder_musepack_la-decoder_musepack.Tpo -c decoder_musepack.c -fPIC -DPIC -o .libs/libdecoder_musepack_la-decoder_musepack.o decoder_flac.c:313: error: conflicting types for 'fuppes_decoder_file_close' decoder_flac.c:250: error: previous implicit declaration of 'fuppes_decoder_file_close' was here ('fuppes_decoder_file_close' declaration is missed. Haven't done a patch since I've no idea where is supposed to go.) My emerge --info: Portage 2.1.6.13 (hardened/linux/x86/10.0, gcc-3.4.6-vanilla, glibc-2.9_p20081201-r2, 2.6.28-hardened-r9 i686) ================================================================= System uname: Linux-2.6.28-hardened-r9-i686-Intel-R-_Atom-TM-_CPU_330_@_1.60GHz-with-gentoo-2.0.1 Timestamp of tree: Mon, 05 Oct 2009 17:30:01 +0000 app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.5.4-r3, 2.6.2-r1 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=prescott -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo http://gentoo.virginmedia.com/sites/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="en_GB" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac acl acpi apache2 berkdb bzip2 cdr cli cracklib crypt cups dbus dri dvd faac faad ffmpeg flac gdbm gnome gpm gtk hal hardened howl iconv id3tag ipv6 isdnlog jpeg libmms lm_sensors mmx modules mono mp3 mudflap mysql ncurses nls no-epiphany no-seamonkey nptl nptlonly nsplugin ogg opengl pam pcre pdf perl pic pmu png pppd python readline reflection samba session spl sse ssl stream svg sysfs tcpd truetype type1 unicode urandom vhosts vorbis wma x86 xft xmlreader xmlwriter xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="i915" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 214867 [details] ebuld for latest svn version quick ebuild to build latest svn version.
I adapted this from the svn ebuild for mediatomb and appears to work ok. I've installed svn-655 with it. Just checkng over the ebuild manuals seeing if everything is done as should be and additions changes that are needed.
(In reply to comment #48) > Created an attachment (id=214867) [details] > ebuld for latest svn version > > quick ebuild to build latest svn version. > There is an typo in the ebuild: RDEPEND="... notify? ( x11-libs/libnotifiy ) (iy) ..." Regards Daniel Thx for the ebuild!
Created attachment 215760 [details] build.log for failed emerge Build log for a failed emerge of fuppes-9999
(In reply to comment #51) > Created an attachment (id=215760) [details] > build.log for failed emerge > > Build log for a failed emerge of fuppes-9999 > build failed using the latest ebuild here is my emerge --info enterprise portage # emerge --info Portage 2.1.6.13 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6 x86_64) ================================================================= System uname: Linux-2.6.31-gentoo-r6-x86_64-AMD_Athlon-tm-_64_Processor_4000+-with-gentoo-1.12.13 Timestamp of tree: Sat, 09 Jan 2010 00:15:01 +0000 app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.9-r2 dev-lang/python: 2.6.4 dev-python/pycrypto: 2.1.0_beta1 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.63-r1 sys-devel/automake: 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo " LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.lug.udel.edu/gentoo-portage" USE="3dnow X aac acl acpi aim alsa amd64 ao apache avahi bash-completion berkdb bluetooth branding bzip2 cddb cdinstall cdr cgi cli consolekit cracklib crypt css curl cxx dbus dri dvd dvdr emacs faad ffmpeg firefox fortran freetype ftp fuse gdbm gif gmp gnutls gpm hal hddtemp iconv icq imap ipod ipv6 jabber java javascript jpeg kerberos lame ldap mad memlimit mime mmx modules mp3 mp4 mpeg mplayer mtp mudflap multilib multiuser ncurses networkmanager nls nntp nptl nptlonly offensive ogg openal opengl openmp pam pcre perl php png pppd python radius readline reflection rss samba session smp sockets spl sse sse2 ssl sysfs syslog tcpd threads unicode vim-syntax winbind xine xinerama xml xorg xpm xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vga" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Graeme, this might help: http://bugs.gentoo.org/show_bug.cgi?id=285884 http://psykil.livejournal.com/338199.html
Created attachment 216567 [details] ebuild for latest SVN version Fixed typo.
Created attachment 217060 [details] config file for using virtual layout Attached default sample vfolder.cfg layout file.
More info on virtual folder layout here: http://fuppes.ulrich-voelkel.de/wiki/index.php?title=Virtual_folder_configuration
*** Bug 324855 has been marked as a duplicate of this bug. ***
Created attachment 238151 [details] svn ebuild with adapted use flags I adapted the use flags and disabled the gnome useflag as I didn't find it anymore. Also, I installed the original vfolders and devices folders in /etc/fuppes Use with the new update_includes-9999.patch (see next attachment)
Created attachment 238153 [details] new includes patch
Created attachment 238155 [details] new config file This is original config from source slightly adapted
I don't know if the includes patch is still needed, but it compiles fine with it... Also I can't compile it with the faad use flag enabled. See here: http://sourceforge.net/projects/fuppes/forums/forum/475749/topic/3761544
Current SVN (680) does not compile for me. I am attaching an updated update_includes-9999.patch that solves the problem for me on gcc 4.4.4 However, fuppes does not start with the init script, it just stands there forever (Starting Fuppes...) I have to investigate.
Created attachment 259941 [details, diff] Adds missing include stdint.h to avoid 'uint32_t' does not name a type
OK. Found out the init script is rather b0rked. It must have been broken all the time as f. ex. the checkconfig function never gets called. I just edited the needed things, I guess not all is done yet. But at least it works now.
Created attachment 259944 [details] corrected init-script (checkconfig, config-dir)
well... and there's another problem. changing the config file to go under /etc is a fine choice. however, /etc/fuppes/thumbnails gets created as well. this leads to 2 problems: 1) thumbnails do not belong to /etc 2) fuppes segfaults when trying to write to this dir as user fuppes (see https://sourceforge.net/tracker/?func=detail&aid=3159026&group_id=141999&atid=751213) we'll somehow have to split the config from the database stuff..
Created attachment 259970 [details] Better yet. Fuppes did not stop correcty without giving it a timeout.
New system group mediatomb should be added by ebuild, as it's not by default on system.