Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 329919 - Mythtv-0.23 p25423's libmyth breaks compilation of mythtv plugins
Summary: Mythtv-0.23 p25423's libmyth breaks compilation of mythtv plugins
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: MythTV Maintainers
URL:
Whiteboard:
Keywords:
: 329967 330055 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-07-26 14:58 UTC by Adam Stylinski
Modified: 2010-07-27 23:47 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Stylinski 2010-07-26 14:58:34 UTC
The ebuilds for the various plugins won't build, oddly enough this looks like a makefile related issue, as the build process is complaining about a lack of rule for the given target.  Maybe somewhere somebody didn't use real tabs.

Reproducible: Always

Steps to Reproduce:
1. emerge -u world
2. emerge myth{video,weather,movies,etc}
Actual Results:  
failure to build against /lib64/libmyth-0.23.

"make[2]: *** No rule to make target `/usr/lib64/libmyth-0.23.so', needed by `libmythvideo.so'.  Stop."


Expected Results:  
Successful compilation.

mythtv@mythtvbox ~ $ sudo emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-r2-x86_64-Intel-R-_Pentium-R-_Dual_CPU_E2200_@_2.20GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 26 Jul 2010 14:30:09 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=core2 -mtune=core2 -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /home/mythtv/ /usr/share/X11/xkb /usr/share/config"
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"
CXXFLAGS="-O3 -pipe -march=core2 -mtune=core2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.netnitco.net http://osmirrors.cerias.purdue.edu/pub/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.osuosl.org/"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US"
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/layman/berkano"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 a52codec aac aalib acl alsa amd64 amd64codecs apache2 avi bash-completion berkdb bzip2 cd-r cddb cdparanoia cdr cli cpudetection cracklib crypt cscope curl custom-cflags custom-cpuopts custom-cxxflags cxx dirac djbfft dri dts dv dvb dvd dvd-r dvdnav dvdr dvdread encode f77 ffmpeg flac fortran gdbm gif gpm gs gtk hal iconv ieee1394 imagemagick imlib ipv6 jbig joystick jpeg jpeg2k kde latin1 libcaca libdvdread libg++ libwww lirc lzo mad matroska mikmod mjpeg mmx mmxext modules mp2 mp3 mp4 mpeg mpeg2 mplayer mudflap multilib musepack musicbrainz mysql ncurses nls nptl nptlonly nvidia nvidia% offensive ogg openal opengl openmp openntpd oss pam pcre pdflib perl php php5 png pnm posix pppd python qt qt3 qt3support qt4 quicktime rar readline reflection ruby samba sasl sdl session speex spell spl srt sse sse2 sse3 ssl ssse3 suexec svg sysfs tcpd theora threads tiff transcode truetype unicode v4l v4l2 vcd vdpau vim-syntax vorbis x264 xml xorg xpm xv xvid zip 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 auth_digest suexec authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" DVB_CARDS="or51132" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" LIRC_DEVICES="serial" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Adam Stylinski 2010-07-26 15:04:54 UTC
Ahh, libmyth seems to be absent entirely from the newest ebuild and make sees that the non-existent library is a dependency.  Herein lies the problem.  Anyone know how to fix the ebuild or see anything glaringly obvious?
Comment 2 Adam Stylinski 2010-07-26 15:09:09 UTC
ahh, shared library received a bump.  Perhaps there should be some sort of version independent symlink in /usr/lib64 for all of the plugins to build against?
Comment 3 Adam Stylinski 2010-07-26 15:21:22 UTC
I'm sure there are probably updated plugin counter parts to this revision bump, any ETA on when the corresponding ebuilds will happen?  
Comment 4 Keith Harrison 2010-07-26 17:51:07 UTC
I believe the mythplugins ebuilds were updated at the same time as mythtv.

I get the following error when trying to compile the updated mythvideo.

g++ -Wl,-O1 -Wl,-rpath,/usr/lib64/qt4 -o mtd main.o dbcheck.o logging.o mtd.o jobthread.o dvdprobe.o fileobs.o threadevents.o moc_logging.o moc_mtd.o    -L/usr/lib -L/usr/lib64/qt4 -L/usr/lib64 -ldl -lfreetype -lmp3lame -lasound -lraw1394 -liec61883 -lavc1394 -lrom1394 -L/usr/lib -lXv -lmythdb-0.23 -lmythavutil-0.23 -lmythavcodec-0.23 -lmyth-0.23 -lmythui-0.23 -lmythupnp-0.23 -lmythdvdnav-0.23 -lGLU -lGL -lQtSql -L/usr/lib64/mysql -L/usr/lib64/qt4 -lQtXml -lQtGui -L/usr/X11R6/lib -lQtNetwork -lQtCore -lgthread-2.0 -lrt -lglib-2.0 -lpthread
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lmythdvdnav-0.23
collect2: ld returned 1 exit status
make[2]: *** [mtd] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-plugins/mythvideo-0.23.1_p25367/work/branches/release-0-23-fixes/mythplugins/mythvideo/mtd'
make[1]: *** [sub-mtd-make_default] Error 2
make[1]: *** Waiting for unfinished jobs....
Comment 5 rob shelton 2010-07-26 19:26:56 UTC
I seem to be having problems with libmythdvdnav, which doesn't seem to install properly.

gentoo64 lib64 # equery f mythtv | grep -i mythdvdnav
/usr/lib64/libmythdvdnav-0.23.1.a
gentoo64 lib64 # file libmythdvdnav-0.23.1.a 
libmythdvdnav-0.23.1.a: current ar archive
gentoo64 lib64 #
Comment 6 Wormo (RETIRED) gentoo-dev 2010-07-26 19:34:59 UTC
*** Bug 329967 has been marked as a duplicate of this bug. ***
Comment 7 Adam Stylinski 2010-07-26 19:49:14 UTC
interestingly I don't even get that far, mine complains that it can't find libmyth-0.23.so (the old shared lib from previous builds).  This is post new mythplugin packages, too.  Very strange.  
Comment 8 Chris Brown 2010-07-26 21:42:22 UTC
I get the same issue
make[2]: *** No rule to make target `/usr/lib64/libmyth-0.23.so', needed by `libmythvideo.so'.  Stop.
Comment 9 Chris Brown 2010-07-26 22:25:05 UTC
(In reply to comment #5)
> I seem to be having problems with libmythdvdnav, which doesn't seem to install
> properly.
> 
> gentoo64 lib64 # equery f mythtv | grep -i mythdvdnav
> /usr/lib64/libmythdvdnav-0.23.1.a
> gentoo64 lib64 # file libmythdvdnav-0.23.1.a 
> libmythdvdnav-0.23.1.a: current ar archive
> gentoo64 lib64 #
> 
I made synlinks
# ln -s libmyth-0.23.1.so.0.23.1 libmyth-0.23.so
for all the mythtv libraries
Now I get this libmythdvdnav issue
Comment 10 Adam Stylinski 2010-07-27 12:27:28 UTC
Generally the symlink name change indicates an API change that could break things during the linking process.  Ultimately the application should be updated to reflect the new version.
Comment 11 Keith Harrison 2010-07-27 16:31:47 UTC
http://bugs.gentoo.org/show_bug.cgi?id=330055
Comment 12 Adam Stylinski 2010-07-27 17:44:35 UTC
Latest sync is building for me now, I'll confirm it bug free when I can get home and try it out.
Comment 13 Adam Stylinski 2010-07-27 19:54:14 UTC
ah mythweather won't build properly.  It claims "no Makefile found"
Comment 14 Doug Goldstein (RETIRED) gentoo-dev 2010-07-27 23:44:29 UTC
*** Bug 330055 has been marked as a duplicate of this bug. ***
Comment 15 Doug Goldstein (RETIRED) gentoo-dev 2010-07-27 23:47:24 UTC
mythweather issue is in bug 330057. This issue has been fixed in the tree.