Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 474888 - media-plugins/vdr-music-0.9.3 does not compile
Summary: media-plugins/vdr-music-0.9.3 does not compile
Status: RESOLVED DUPLICATE of bug 314309
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo VDR Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-26 16:22 UTC by Jens Ziller
Modified: 2016-06-18 07:48 UTC (History)
0 users

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


Attachments
build.log (build.log,4.81 KB, text/plain)
2013-06-29 09:55 UTC, Jens Ziller
Details
emerge info (emerge_info,4.17 KB, text/plain)
2013-06-29 09:57 UTC, Jens Ziller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Ziller 2013-06-26 16:22:58 UTC
>>> Unpacking source...
 * 
 * 	vdr-plugin.eclass is deprecated
 * 	Maintainer: please fix your ebuilds to use
 * 	vdr-plugin-2.eclass 
.
.
.music.c: In Elementfunktion »virtual const char* cPluginMp3::CommandLineHelp()«:
music.c:114:23: Warnung: Der Rückgabewert von »int asprintf(char**, const char*, ...)«, der mit dem Attribut warn_unused_result deklariert wurde, wird ignoriert [-Wunused-result]
make: *** [music.o] Fehler 1



Reproducible: Always
Comment 1 Joerg Bornkessel (RETIRED) gentoo-dev 2013-06-29 07:59:38 UTC
output of
emerge --info
please,

full emerge logfile please
(with this little log snipe, is nothing handlebar)

Note: plugin is dead on upstream since a lot of years
on the reply from plugin maintainer,
he stop the project and is not wills to fix anything in his sources anymore...

there  are more issues in the sources,
not adapted to newer imagemagick versions
etc.
etc.
Comment 2 Jens Ziller 2013-06-29 09:55:12 UTC
Created attachment 352224 [details]
build.log
Comment 3 Jens Ziller 2013-06-29 09:57:21 UTC
Created attachment 352226 [details]
emerge info
Comment 4 Jens Ziller 2013-06-29 10:04:24 UTC
Hallo Joerg,

attach the logs. There is a new version of music plugin:
http://www.glaserei-franz.de/VDR/Moronimo/files/vdr-music-0.9.9-dev2.tgz
music-0.9.3 is an old version. For the newer version I can't find an ebuild file.

Best regards
Jens.
Comment 5 Joerg Bornkessel (RETIRED) gentoo-dev 2013-06-30 10:43:23 UTC
iam updated the ebuild to 
media-plugins/vdr-music-0.9.9.ebuild

several fixes
- using vdr-plugin-2.eclass now
- changed the Makefile to use the new Makefile Handling of vdr-2.0.x
- some path fixed for Imagemagick
- removed untranslated .po files

im tested the plugin only on compile and install process
for now, it is pmasked in the tree
plz, unmasked for testing
and give a short reply if it works

echo "=media-plugins/vdr-music-0.9.9" >> /etc/portage/package.unmask

Plz. keep in mind,
the maintainer is not the best progger,
so you will see a lot of warnings on compile prozess
and finaly, a clear QA warning on the end of install
Comment 6 Jens Ziller 2013-07-02 18:25:21 UTC
Hello Joerg,

sorry, the test is negativ. When I start vdr I get an Error:
 * VDR errors from /var/log/messages:
 *   ERROR: /usr/lib64/vdr/plugins/libvdr-music.so.2.0.0: undefined symbol: _ZN6Magick5ImageD1Ev

Here I have make a 'emerge -e world'. Test again, the same failure.


The lib compiled with emerge:
media plugins # ls -l *music*
-rwxr-xr-x 1 root root 681480  2. Jul 19:46 libvdr-music.so.2.0.0

I have compiled the library with the sources from the work directory and get the same undefined symbol:
media plugins # ls -l *music*
-rwxr-xr-x 1 root root 4455152  2. Jul 19:58 libvdr-music.so.2.0.0

This is the lib compiled with the original source, this lib runs:
media plugins # ls -l *music*
-rwxr-xr-x 1 root root 4464642 29. Jun 12:10 libvdr-music.so.2.0.0

Thank you and best regards
Jens
Comment 7 Joerg Bornkessel (RETIRED) gentoo-dev 2013-07-09 19:31:37 UTC
Jens, thx for your reply/test

please can you paste me the output of

ldd libvdr-music.so.2.0.0

from the three diffrent compiled libs?

Maybe it gives me more clearness where the libs linked from.
Maybe there is an error on my replaced Makefile.

Thanks for your help out

btw. which version of imagemagick do you use?
Comment 8 Jens Ziller 2013-07-13 20:19:54 UTC
Hallo Joerg,
here the output from ldd
lib install with emerge:
media plugins # ldd libvdr-music.so.2.0.0
	linux-vdso.so.1 (0x00007fff50fff000)
	libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/libstdc++.so.6 (0x00007fa67d3f5000)
	libm.so.6 => /lib64/libm.so.6 (0x00007fa67d0fe000)
	libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/libgcc_s.so.1 (0x00007fa67cee8000)
	libc.so.6 => /lib64/libc.so.6 (0x00007fa67cb40000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fa67d9af000)

source from the work directory:
media music-0.9.9-dev2 # ldd libvdr-music.so.2.0.0
	linux-vdso.so.1 (0x00007fff2d9ff000)
	libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/libstdc++.so.6 (0x00007fb4c0c64000)
	libm.so.6 => /lib64/libm.so.6 (0x00007fb4c096d000)
	libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/libgcc_s.so.1 (0x00007fb4c0757000)
	libc.so.6 => /lib64/libc.so.6 (0x00007fb4c03af000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fb4c121e000)

from the original source:
media plugins # ldd libvdr-music.so.2.0.0
	linux-vdso.so.1 (0x00007fff3eb9c000)
	libasound.so.2 => /usr/lib64/libasound.so.2 (0x00007f2a686e7000)
	libmad.so.0 => /usr/lib64/libmad.so.0 (0x00007f2a684c4000)
	libid3tag.so.0 => /usr/lib64/libid3tag.so.0 (0x00007f2a682aa000)
	libMagick++.so.5 => /usr/lib64/libMagick++.so.5 (0x00007f2a68039000)
	libMagickCore.so.5 => /usr/lib64/libMagickCore.so.5 (0x00007f2a67ad4000)
	libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/libstdc++.so.6 (0x00007f2a677cf000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f2a674d9000)
	libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/libgcc_s.so.1 (0x00007f2a672c3000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f2a66f1a000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007f2a66d16000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f2a66af9000)
	librt.so.1 => /lib64/librt.so.1 (0x00007f2a668ef000)
	libz.so.1 => /lib64/libz.so.1 (0x00007f2a666d8000)
	libMagickWand.so.5 => /usr/lib64/libMagickWand.so.5 (0x00007f2a663b5000)
	libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f2a6619f000)
	libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f2a65e56000)
	libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f2a65c44000)
	libgomp.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/libgomp.so.1 (0x00007f2a65a35000)
	libltdl.so.7 => /usr/lib64/libltdl.so.7 (0x00007f2a6582b000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f2a68c83000)
	libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f2a65609000)
	libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f2a65405000)
	libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007f2a651ff000)

media plugins # convert -v
Version: ImageMagick 6.7.8-7 2013-07-01 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP

Best regards Jens
Comment 9 Pacho Ramos gentoo-dev 2016-02-08 21:04:46 UTC
It doesn't build for me:
make -j5 all LOCALEDIR=/var/tmp/portage/media-plugins/vdr-music-0.9.9/work/tmp-locale LOCDIR=/var/tmp/portage/media-plugins/vdr-music-0.9.9/work/tmp-locale LIBDIR=/var/tmp/portage/media-plugins/vdr-music-0.9.9/work/music-0.9.9-dev2 TMPDIR=/var/tmp/portage/media-plugins/vdr-music-0.9.9/temp 
grep: /usr/include/vdr/Makefile: No such file or directory
grep: /usr/include/vdr/Makefile: No such file or directory
x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fno-stack-protector -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -DCONFDIR=\"/etc/vdr\" -DUSE_GRAPHTFT -DUSE_MENUORG -DUSE_PLUGINMISSING -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"music"' -DNO_DEBUG -DHAVE_IMAGEMAGICK -DHAVE_VORBISFILE -I/usr/include -I/usr/include -I/usr/include/ImageMagick music.c
x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fno-stack-protector -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -DCONFDIR=\"/etc/vdr\" -DUSE_GRAPHTFT -DUSE_MENUORG -DUSE_PLUGINMISSING -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"music"' -DNO_DEBUG -DHAVE_IMAGEMAGICK -DHAVE_VORBISFILE -I/usr/include -I/usr/include -I/usr/include/ImageMagick config.c
x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fno-stack-protector -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -DCONFDIR=\"/etc/vdr\" -DUSE_GRAPHTFT -DUSE_MENUORG -DUSE_PLUGINMISSING -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"music"' -DNO_DEBUG -DHAVE_IMAGEMAGICK -DHAVE_VORBISFILE -I/usr/include -I/usr/include -I/usr/include/ImageMagick vars.c
x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fno-stack-protector -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -DCONFDIR=\"/etc/vdr\" -DUSE_GRAPHTFT -DUSE_MENUORG -DUSE_PLUGINMISSING -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"music"' -DNO_DEBUG -DHAVE_IMAGEMAGICK -DHAVE_VORBISFILE -I/usr/include -I/usr/include -I/usr/include/ImageMagick bitmap.c
x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fno-stack-protector -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -DCONFDIR=\"/etc/vdr\" -DUSE_GRAPHTFT -DUSE_MENUORG -DUSE_PLUGINMISSING -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"music"' -DNO_DEBUG -DHAVE_IMAGEMAGICK -DHAVE_VORBISFILE -I/usr/include -I/usr/include -I/usr/include/ImageMagick commands.c
bitmap.c:6:22: fatal error: Magick++.h: No such file or directory
 #include <Magick++.h>
                      ^
compilation terminated.
Makefile:172: recipe for target 'bitmap.o' failed
make: *** [bitmap.o] Error 1
make: *** Waiting for unfinished jobs....
Comment 10 Toralf Förster gentoo-dev 2016-06-18 07:48:09 UTC

*** This bug has been marked as a duplicate of bug 314309 ***