Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178323 - media-plugins/mythvideo-0.21_pre13285 unpack fails
Summary: media-plugins/mythvideo-0.21_pre13285 unpack fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-13 11:57 UTC by kal
Modified: 2007-06-28 19:21 UTC (History)
0 users

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 kal 2007-05-13 11:57:26 UTC
Hello,

I'm using svn MythTV. While i was updating my system, i got an error for mythvideo :


minipc ~ # emerge -av media-plugins/mythvideo

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] media-plugins/mythvideo-0.21_pre13285 [0.20_p11671] USE="mmx mplayer xine -debug" 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] 

>>> Emerging (1 of 1) media-plugins/mythvideo-0.21_pre13285 to /
 * checking ebuild checksums ;-) ...                                                                                                                   [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                  [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                 [ ok ]
>>> Unpacking source...

!!! ERROR: media-plugins/mythvideo-0.21_pre13285 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_unpack
  ebuild.sh, line 751:   Called qa_call 'src_unpack'
  environment, line 3408:   Called src_unpack
  ebuild.sh, line 1304:   Called mythtv-plugins_src_unpack
  mythtv-plugins.eclass, line 41:   Called unpack
  ebuild.sh, line 389:   Called die

!!! Nothing passed to the 'unpack' command
!!! 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-plugins/mythvideo-0.21_pre13285/temp/build.log'.


Here is /var/tmp/portage/media-plugins/mythvideo-0.21_pre13285/temp/build.log :

minipc ~ # cat /var/tmp/portage/media-plugins/mythvideo-0.21_pre13285/temp/build.log
>>> Unpacking source...

!!! ERROR: media-plugins/mythvideo-0.21_pre13285 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_unpack
  ebuild.sh, line 751:   Called qa_call 'src_unpack'
  environment, line 3408:   Called src_unpack
  ebuild.sh, line 1304:   Called mythtv-plugins_src_unpack
  mythtv-plugins.eclass, line 41:   Called unpack
  ebuild.sh, line 389:   Called die

!!! Nothing passed to the 'unpack' command
!!! 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-plugins/mythvideo-0.21_pre13285/temp/build.log'.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-05-13 12:16:11 UTC
emerge --info please.
Comment 2 kal 2007-05-13 12:23:41 UTC
(In reply to comment #1)
> emerge --info please.
> 

Sorry, forgot it.

minipc ~ # emerge --info
Portage 2.1.2.2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r2, 2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System release 1.12.9
Timestamp of tree: Sun, 13 May 2007 10:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /home/mythtv/ /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fr fr_FR metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.club-internet.fr/pub/mirrors/gentoo "
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LINGUAS="fr fr_FR"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://trumpetti.atm.tut.fi/gentoo-portage/"
USE="3dnow 3dnowext X Xaw3d a52 aac aalib acpi aiglx alsa amarok amazon amr amrr apache2 asf atk audacious audiofile automount autostart avahi avi bash-completion berkdb bidi bitmap-fonts bluetooth branding browserplugin buttons bzip2 cairo calendar canvas ccache cdda cddb cdio cdr chardet cjk css cups curl daap dba dbus devhelp dhcp directfb disableslit disabletoolbar disablexmb divx4linux dmi dnd dri dts dvb dvd dvdr dvdread emacs emovix encode escreen esd ethereal exif exo fame fb fbcon fbsplash ffmpeg firefox flac font-server foomaticdb fr freetype ftp gd gdbm gif gnome gpm gps gstreamer hal howl howl-compat httpd iconv imagemagick imlib imlib2 ipod ithreads javascript jpeg kdeenablefinal kdgraphics kqemu lame leim libnotify libsamplerate libwww lirc live lm_sensors lzo mad matroska mikmod mjpeg mmx mod modplug mono motif mozilla mozsvg mozxmlterm mp3 mpeg mpeg2 mplayer msn msnextras mule musicbrainz mysql nas nautilus ncurses neXt netbeans network nfs nls nopo nptl nptlonly nsplugin nvidia oav objc objc++ objc-gc ogg oggvorbis opengl openssh openssl oracle oss pam panel-plugin pango pcre pdf pdflib perl png ppds pulseaudio python qemu-fast qmail qt3 quicktime rdesktop readline real rtsp samba screen sdl sensord server session shorten shout skins slp sms sndfile softmmu spell sse sse2 ssl startup-notification stream stroke svg tabs tagwriting threads threadsafe thumbnail thunar-vfs tiff timidity toolkit-scroll-bars transcode truetype truetype-fonts type1-fonts udev unicode usb userlocales utf8 v4l v4l2 vcd vidix vim vim-pager visualization vlm vorbis wifi win32codecs wma wmp wxwindows x264 x86 xcomposite xft xine xml xml2 xmlrpc xorg xosd xprint xslt xv xvid xvmc zeroconf zlib" ALSA_CARDS="ad1889 emu10k1 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 ice1724" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr fr_FR" LIRC_DEVICES="atiusb" USERLAND="GNU" VIDEO_CARDS="nvidia vesa vmware v4l nv vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-05-13 12:27:31 UTC
Thanks; just wanted to be sure you don't use some broken overlays.
Comment 4 kal 2007-05-13 12:31:02 UTC
(In reply to comment #3)
> Thanks; just wanted to be sure you don't use some broken overlays.
> 

I've tried to use an other overlay, but it doesn't change anything. By the way, if I try to emerge media-plugins/mythvideo-0.20.1_p13375, then it can grab the archive... The content of the ebuilds mythvideo-0.20.1_p13375 and mythvideo-0.21_pre13285 are the same, except the header. Maybe the correct archive isn't present on server ?
Comment 5 Daniel Burr 2007-05-28 16:38:37 UTC
This dies at the unpack ${A} line in mythtv-plugins_src_unpack because ${A} is empty.  The reason why ${A} is empty is because mythtv.eclass only sets SRC_URI if we are not using a SVN checkout or if we are using a patch revision.  mythvideo-0.21_pre13285 is using an SVN revision so SRC_URI is empty.

I think that we need to change that line in mythtv-plugins_src_unpack to something like:

if [[ -n ${SVNREV} ]]; then
    subversion_src_unpack
else
    unpack ${A}
fi

Of course this means that we need to add subversion to the inherit line for mythtv-plugins.eclass
Comment 6 Sebastian Kurfuerst 2007-05-29 20:27:31 UTC
my son got the solution:
edit: /usr/portage/media-plugins/mythvideo/mythvideo-0.21_pre13285.ebuild
(new linserted are in bold)

inherit mythtv-plugins subversion

DESCRIPTION="Video player module for MythTV."
IUSE="mplayer xine"
KEYWORDS="~amd64 ~ppc ~x86"

RDEPEND="dev-perl/libwww-perl
dev-perl/HTML-Parser
dev-perl/URI
dev-perl/XML-Simple
mplayer? ( || ( media-video/mplayer media-video/mplayer-bin ) )
xine? ( media-video/xine-ui )"
DEPEND="${RDEPEND}"
src_unpack() {
subversion_src_unpack
}

pkg_postinst() {
elog "MythVideo can use any media player to playback files, since"
elog "it's a setting in the setup menu."
elog
elog "MythTv also has an 'Internal' player you can use, though"
elog "it will not support as many formats. If you want to use it,"
elog "set the player to 'Internal' (note spelling & caps)."
}

after this you have to do a:
ebuild mythvideo-0.21_pre13285.ebuild digest
This updates the checksums for this file in Manifest.
After this changes the "emerge -av mythvideo" starts (is running now :-) )
Comment 7 Doug Goldstein (RETIRED) gentoo-dev 2007-06-28 19:21:57 UTC
Fixed in mythvideo-0.21_pre13775