Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#10376 closed Bug Report - General (Fixed)

Error with current gentoo ebuilds

Reported by: freedenizen@… Owned by: Raymond Wagner
Priority: minor Milestone: 0.25
Component: MythTV - General Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

looks like it is passing --disable-libass to configure which is failing

>>> Configuring source in /var/tmp/portage/media-tv/mythtv-0.25_pre20120223/work/MythTV-mythtv-89c34ef/mythtv ...
 * Running ./configure --prefix=/usr --mandir=/usr/share/man --libdir-name=lib64 --enable-pic --disable-altivec --disable-audio-jack --disable-audio-pulseoutput --disable-dvb --disable-fir
ewire --enable-lirc --dvb-path=/usr/include --enable-xrandr --enable-xv --enable-x11 --with-bindings=perl,python --compile-type=profile --enable-proc-opt --enable-vdpau --enable-libxvid --
disable-libass --disable-joystick-menu --disable-libcec --enable-symbol-visibility --disable-ccache
Unknown option "--disable-libass".
See ./configure --help for available options.

I can paste more logs if required, tried this on two gentoo boxes with the same result

Change History (5)

comment:1 Changed 8 years ago by Raymond Wagner

Milestone: unknown0.25
Resolution: Fixed
Status: newclosed

comment:2 Changed 8 years ago by Raymond Wagner

Owner: set to Raymond Wagner

comment:3 Changed 8 years ago by g8ecj@…

Also a problem with 0.24.2 ebuilds...

# emerge -DuvN world

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

Calculating dependencies... done! [ebuild U ] media-plugins/mythvideo-0.24.2_p20120221 [0.24.1_p20120101] USE="-debug -experimental -profile" 0 kB [1]

Total: 1 package (1 upgrade), Size of downloads: 0 kB Portage tree and overlays:

[0] /usr/portage [1] /usr/local/mythtv_portage/Gentoo

Verifying ebuild manifests

Emerging (1 of 1) media-plugins/mythvideo-0.24.2_p20120221 from mythtv

  • mythtv-0.24.2_p20120221.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]

Unpacking source... Unpacking mythtv-0.24.2_p20120221.tar.gz to /var/tmp/portage/media-plugins/mythvideo-0.24.2_p20120221/work Source unpacked in /var/tmp/portage/media-plugins/mythvideo-0.24.2_p20120221/work Preparing source in /var/tmp/portage/media-plugins/mythvideo-0.24.2_p20120221/work/MythTV-mythtv-c29d36f/mythplugins ... Source prepared. Configuring source in /var/tmp/portage/media-plugins/mythvideo-0.24.2_p20120221/work/MythTV-mythtv-c29d36f/mythplugins ...

  • QA Notice: The 'hasq' function is deprecated (replaced by 'has')
  • ERROR: media-plugins/mythvideo-0.24.2_p20120221 failed (configure phase):
  • Package mythvideo is unsupported
  • Call stack:
  • ebuild.sh, line 85: Called src_configure
  • environment, line 2312: Called mythtv-plugins_src_configure
  • environment, line 2097: Called die
  • The specific snippet of code:
  • die "Package ${PN} is unsupported";
  • If you need support, post the output of 'emerge --info =media-plugins/mythvideo-0.24.2_p20120221',
  • the complete build log and the output of 'emerge -pqv =media-plugins/mythvideo-0.24.2_p20120221'.
  • This ebuild used the following eclasses from overlays:
  • /usr/local/mythtv_portage/Gentoo/eclass/mythtv-plugins.eclass
  • /usr/local/mythtv_portage/Gentoo/eclass/mythtv.eclass
  • This ebuild is from an overlay named 'mythtv': '/usr/local/mythtv_portage/Gentoo/'
  • The complete build log is located at '/var/tmp/portage/media-plugins/mythvideo-0.24.2_p20120221/temp/build.log'.
  • The ebuild environment file is located at '/var/tmp/portage/media-plugins/mythvideo-0.24.2_p20120221/temp/environment'.
  • S: '/var/tmp/portage/media-plugins/mythvideo-0.24.2_p20120221/work/MythTV-mythtv-c29d36f/mythplugins'

Failed to emerge media-plugins/mythvideo-0.24.2_p20120221, Log file:

'/var/tmp/portage/media-plugins/mythvideo-0.24.2_p20120221/temp/build.log'

comment:4 Changed 8 years ago by Robin Gilks <g8ecj@…>

Never mind - solution below...

--- mythtv-plugins.eclass.orig 2012-02-25 08:05:31.000000000 +1300 +++ mythtv-plugins.eclass 2012-02-25 08:05:59.000000000 +1300 @@ -51,7 +51,7 @@

MYTHPLUGINS="${MYTHPLUGINS} mythmusic" MYTHPLUGINS="${MYTHPLUGINS} mythnetvision" MYTHPLUGINS="${MYTHPLUGINS} mythnews"

+ if ${MY_PV} == "0.24.2" ?; then

MYTHPLUGINS="${MYTHPLUGINS} mythvideo"

fi MYTHPLUGINS="${MYTHPLUGINS} mythweather"

comment:5 in reply to:  4 Changed 8 years ago by Raymond Wagner

Better patch

diff --git a/Gentoo/eclass/mythtv-plugins.eclass b/Gentoo/eclass/mythtv-plugins.eclass
index 31fd714..da22a4b 100644
--- a/Gentoo/eclass/mythtv-plugins.eclass
+++ b/Gentoo/eclass/mythtv-plugins.eclass
@@ -51,7 +51,7 @@ mythtv-plugins_pkg_setup() {
        MYTHPLUGINS="${MYTHPLUGINS} mythmusic"
        MYTHPLUGINS="${MYTHPLUGINS} mythnetvision"
        MYTHPLUGINS="${MYTHPLUGINS} mythnews"
-       if [[ ${MY_PV} == "0.24.1" ]]; then
+       if [[ ${MY_PV} =~ 0\.24\.[0-9] ]]; then
                MYTHPLUGINS="${MYTHPLUGINS} mythvideo"
        fi
        MYTHPLUGINS="${MYTHPLUGINS} mythweather"

Although admittedly, it shouldn't make any difference unless by some chance there is a 0.24.3 point release.

Note: See TracTickets for help on using tickets.