Gentoo Archives: gentoo-user

From: Shawn Haggett <podge@××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] emerge mythtv fails
Date: Mon, 03 Aug 2009 23:08:00
Message-Id: 200908040837.52808.podge@podgeweb.com
1 Some recent updates have broken my mythtv (missing libraries) so I'm of course
2 trying to recompile it. Whenever I try however, the following happens:
3
4 sgc ~ # emerge -va mythtv
5
6 These are the packages that would be merged, in order:
7
8 Calculating dependencies... done!
9 [ebuild N ] media-tv/mythtv-0.21_p18314-r1 USE="aac alsa dvd ieee1394 mmx
10 opengl perl python xvmc
11 (-altivec) -autostart -debug -directv -dvb -fftw -jack -lcd -lirc"
12 VIDEO_CARDS="nvidia" 0 kB
13
14 Total: 1 package (1 new), Size of downloads: 0 kB
15
16 Would you like to merge these packages? [Yes/No] y
17
18 >>> Verifying ebuild manifests
19
20 >>> Emerging (1 of 1) media-tv/mythtv-0.21_p18314-r1
21 * mythtv-0.21_p18314.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [
22 ok ]
23 * checking ebuild checksums ;-) ... [
24 ok ]
25 * checking auxfile checksums ;-) ... [
26 ok ]
27 * checking miscfile checksums ;-) ... [
28 ok ]
29 * This ebuild now uses a heavily stripped down version of your CFLAGS
30 *
31 * For NVIDIA based cards, the XvMC renderer only works on
32 * the NVIDIA 4, 5, 6 & 7 series cards.
33 >>> Unpacking source...
34 >>> Unpacking mythtv-0.21_p18314.tar.bz2
35 to /var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/work
36 /var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/temp/environment: line 3924:
37 cd: /var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/work/branches/release-0-21-fixes/mythtv:
38 No such file or directory
39 sed: can't
40 read /var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/work/branches/release-0-21-fixes/mythtv/version.pro:
41 No such file or directory
42 *
43 * ERROR: media-tv/mythtv-0.21_p18314-r1 failed.
44 * Call stack:
45 * ebuild.sh, line 49: Called src_unpack
46 * environment, line 3925: Called die
47 * The specific snippet of code:
48 * sed -e "s:\`(svnversion \$\${SVNTREEDIR} 2>\/dev\/null) || echo
49 Unknown\`:${MYTHTV_REV}:" -i "${S}"/version.pro || die "svnversion sed
50 failed";
51 * The die message:
52 * svnversion sed failed
53 *
54 * If you need support, post the topmost build error, and the call stack if
55 relevant.
56 * A complete build log is located
57 at '/var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/temp/build.log'.
58 * The ebuild environment file is located
59 at '/var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/temp/environment'.
60 *
61
62 >>> Failed to emerge media-tv/mythtv-0.21_p18314-r1, Log file:
63
64 >>> '/var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/temp/build.log'
65 sgc ~ #
66
67
68 The error seems to be in the line:
69 /var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/temp/environment: line 3924:
70 cd: /var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/work/branches/release-0-21-fixes/mythtv:
71 No such file or directory
72
73 There's a folder missing somewhere, and when I look, sure enough:
74
75 sgc ~ # ls /var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/work/
76 mythtv-0.21_p18314
77 sgc ~ #
78
79 It seems the work folder has a 'mythtv-0.21_p18314' folder, which has the
80 branches folder inside that.
81
82 This has been broken for over a week now (normally I just wait, resync and
83 these things go away if they're an ebuild problem) but I'm starting to think
84 it's a problem on my end. Anyone have any suggestions on how to track down
85 where the error is coming from. It the environment file, but I'm not sure if
86 that's a distributed file, or generated by portage (I suspect the later). So
87 where does that file get its contents from?
88
89 Thanks
90 Shawn

Replies

Subject Author
Re: [gentoo-user] emerge mythtv fails Alex Schuster <wonko@×××××××××.org>
Re: [gentoo-user] emerge mythtv fails Stroller <stroller@××××××××××××××××××.uk>
Re: [gentoo-user] emerge mythtv fails Brandon Vargo <brandon.vargo@×××××.com>