Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Failed while running mplex: Mytharchive
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
cdstealer
Guru
Guru


Joined: 30 Oct 2005
Posts: 431
Location: Leeds

PostPosted: Thu Dec 03, 2009 5:37 pm    Post subject: [SOLVED] Failed while running mplex: Mytharchive Reply with quote

Hi,
I've been reading quite a bit about this error on the net but no solutions. This seems to affect several distros and I can't seem to find a bug for it.

Creating a DVD fails on every DVD theme apart from "Simple Autoplay", which is no good when you have several programmes.

I'm currently running version "media-plugins/mytharchive-0.22_p22763"

The output of the log is here http://cdstealer.com/filez/gentoo-info/progress.log

I'm tempted to submit a bug. Anyone got any suggestions?

TIA
CD


Last edited by cdstealer on Wed Jan 20, 2010 7:51 pm; edited 1 time in total
Back to top
View user's profile Send private message
Furtim
n00b
n00b


Joined: 01 Dec 2002
Posts: 65

PostPosted: Fri Dec 04, 2009 6:26 pm    Post subject: Reply with quote

Hi
It's a problem with jpeg-7.
If you downgrade to jpeg-6b-r8 will work.
Back to top
View user's profile Send private message
cdstealer
Guru
Guru


Joined: 30 Oct 2005
Posts: 431
Location: Leeds

PostPosted: Fri Dec 04, 2009 6:40 pm    Post subject: Reply with quote

Thanks for the reply.
Unfortunately there is only jpeg-7 in portage and I am unable to find jpeg-6X anywhere. Do you have the ebuild at all?

Cheers
Back to top
View user's profile Send private message
Furtim
n00b
n00b


Joined: 01 Dec 2002
Posts: 65

PostPosted: Fri Dec 04, 2009 6:53 pm    Post subject: Reply with quote

Hope this helps

Code:

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/jpeg-6b-r8.ebuild,v 1.14 2008/08/16 14:46:39 vapier Exp $

inherit libtool eutils toolchain-funcs

PATCH_VER="1.6"
DESCRIPTION="Library to load, handle and manipulate images in the JPEG format"
HOMEPAGE="http://www.ijg.org/"
SRC_URI="ftp://ftp.uu.net/graphics/jpeg/${PN}src.v${PV}.tar.gz
   mirror://gentoo/${P}-patches-${PATCH_VER}.tar.bz2"

LICENSE="as-is"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
IUSE=""

RDEPEND=""
DEPEND="${RDEPEND}
   >=sys-devel/libtool-1.5.10-r4"

src_unpack() {
   unpack ${A}
   cd "${S}"
   EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch

   # hrmm. this is supposed to update it.
   # true, the bug is here:
   rm libtool-wrap
   ln -s libtool libtool-wrap
   elibtoolize
}

src_compile() {
   tc-export CC RANLIB AR
   econf \
      --enable-shared \
      --enable-static \
      --enable-maxmem=64 \
      || die "econf failed"
   emake || die "make failed"
   emake -C "${WORKDIR}"/extra || die "make extra failed"
}

src_install() {
   emake install DESTDIR="${D}" || die "install"
   emake -C "${WORKDIR}"/extra install DESTDIR="${D}" || die "install extra"

   dodoc README install.doc usage.doc wizard.doc change.log \
      libjpeg.doc example.c structure.doc filelist.doc \
      coderules.doc
}
Back to top
View user's profile Send private message
cdstealer
Guru
Guru


Joined: 30 Oct 2005
Posts: 431
Location: Leeds

PostPosted: Fri Dec 04, 2009 6:57 pm    Post subject: Reply with quote

Thanks.. gutted.. none of the files exist on any of the download servers. I guess I'll be sitting tight and waiting for jpeg-8 :(

*EDIT*
Ah.. I found some different version 6's. I'll see if I can piece together something.

*EDIT*
damn it.. ah well.. I'll give it another go when I've got more time to re-write one.
Back to top
View user's profile Send private message
gkmac
Guru
Guru


Joined: 19 Jan 2003
Posts: 333
Location: West Sussex, UK

PostPosted: Fri Dec 04, 2009 11:20 pm    Post subject: Reply with quote

Furtim wrote:
It's a problem with jpeg-7.
If you downgrade to jpeg-6b-r8 will work.

I can confirm this as I had to downgrade to jpeg-6b-r8 and recompile mjpegtools a couple of weeks ago.

But jpeg-7 seems to work with everything else, so is it really a problem with jpeg-7? Or is it a problem with mjpegtools?
_________________
If ~amd64 ebuilds are cutting edge, then git-9999 ebuilds are chainsaws.
"Not everyone can ride a unicycle, does that mean we should put another wheel on it?" - Lokheed
Back to top
View user's profile Send private message
cdstealer
Guru
Guru


Joined: 30 Oct 2005
Posts: 431
Location: Leeds

PostPosted: Sat Dec 05, 2009 5:07 am    Post subject: Reply with quote

I downgraded mjpegtool to b1.8.0X and related dependencies with the same results. Not having any luck stitching an ebuild together for jpeg-6... yet :)

Nope.. I give up. I can't believe only one version of this package exists in portage!!! I've even had a browse through some layman repos, but nothing.

EUREEEEEEEKA! Found it.. got version jpeg-6b-r8 from the multilibs overlay.

Just out of curiosity, what version of mytharchive are you on? I'm now getting:

Quote:
$ python /usr/share/mythtv/mytharchive/scripts/mythburn.py -j /tmp/config/mydata.xml -l /tmp/logs/progress.log
Traceback (most recent call last):
File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 72, in <module>
import Image, ImageDraw, ImageFont, ImageColor
File "/usr/lib/python2.6/site-packages/PIL/ImageFont.py", line 115, in <module>
class FreeTypeFont:
File "/usr/lib/python2.6/site-packages/PIL/ImageFont.py", line 135, in FreeTypeFont
def getmask2(self, text, mode="", fill=Image.core.fill):
File "/usr/lib/python2.6/site-packages/PIL/Image.py", line 36, in __getattr__
raise ImportError("The _imaging C module is not installed")
ImportError: The _imaging C module is not installed
Back to top
View user's profile Send private message
Furtim
n00b
n00b


Joined: 01 Dec 2002
Posts: 65

PostPosted: Sat Dec 05, 2009 12:23 pm    Post subject: Reply with quote

Hi
I got 0.21_p20566 on backend serving 4 frontends with 0.21_p20744
Test backend/frontend 0.22 svn
All work after downgrading jpeg. My first thought was mjpegtools (but wasn't)
Back to top
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2790
Location: Pittsburgh, PA, USA

PostPosted: Fri Jan 15, 2010 2:36 pm    Post subject: Reply with quote

jpeg-6b is back in portage today so no need for an overlay. 8)
_________________
John

My gentoo overlay
Instructons for overlay
Back to top
View user's profile Send private message
njkfull
n00b
n00b


Joined: 15 Jan 2010
Posts: 1

PostPosted: Fri Jan 15, 2010 4:11 pm    Post subject: Reply with quote

have a problem with jpeg-7 !

it's true !
_________________
[IMG]http://www.google.com/images/nav_logo7.png[/IMG]
Back to top
View user's profile Send private message
cdstealer
Guru
Guru


Joined: 30 Oct 2005
Posts: 431
Location: Leeds

PostPosted: Mon Jan 18, 2010 3:40 pm    Post subject: Reply with quote

@drescherjm.. thanks for the heads up. I had emerged jpeg-8 which has the same result as jpeg-7. I'll emerge v6 now and see what happens.
Back to top
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2790
Location: Pittsburgh, PA, USA

PostPosted: Mon Jan 18, 2010 3:44 pm    Post subject: Reply with quote

I tested jpeg-8 as well and failed also. It appears with jpeg-8 it does not segfault but creates a 0 byte output which causes mytharchive to fail on the next step.
_________________
John

My gentoo overlay
Instructons for overlay
Back to top
View user's profile Send private message
cdstealer
Guru
Guru


Joined: 30 Oct 2005
Posts: 431
Location: Leeds

PostPosted: Mon Jan 18, 2010 6:00 pm    Post subject: Reply with quote

Hmmm.. not having any joy after emerging jpeg-6b-r9. By the look of the broken packages not emerging.. there is something wrong with the jpeg headers.

All my packages are failing with variations of
Code:
configure: error: I wasn't able to find a copy
  of the jpeg library. This is required for compiling
  ghostscript. Please download a copy of the source,
  e.g. from http://www.ijg.org/, unpack it at the
  top level of the gs source tree, and rename
  the directory to 'jpeg'.

Code:
libmng_types.h:197:76: error: jpeglib.h: No such file or directory

Code:
configure: error: 'jpeglib.h' header file not found.


Weird.. the jpeglib.h files exists in all the packages "work" directories.
Back to top
View user's profile Send private message
gkmac
Guru
Guru


Joined: 19 Jan 2003
Posts: 333
Location: West Sussex, UK

PostPosted: Tue Jan 19, 2010 10:56 pm    Post subject: Reply with quote

cdstealer wrote:
Hmmm.. not having any joy after emerging jpeg-6b-r9. By the look of the broken packages not emerging.. there is something wrong with the jpeg headers.

jpeg-6b-r9 only installs the .so file and none of the headers (I think). You'll need to retrieve jpeg-6b-r8 from Gentoo's CVS attic into an overlay to actually compile stuff against it.

More info here.
_________________
If ~amd64 ebuilds are cutting edge, then git-9999 ebuilds are chainsaws.
"Not everyone can ride a unicycle, does that mean we should put another wheel on it?" - Lokheed
Back to top
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2790
Location: Pittsburgh, PA, USA

PostPosted: Wed Jan 20, 2010 2:05 am    Post subject: Reply with quote

Thanks for the info. I stand corrected. The ebuild is on this page and I also have it in my overlay also my multilib fork.
_________________
John

My gentoo overlay
Instructons for overlay
Back to top
View user's profile Send private message
cdstealer
Guru
Guru


Joined: 30 Oct 2005
Posts: 431
Location: Leeds

PostPosted: Wed Jan 20, 2010 7:50 pm    Post subject: Reply with quote

YAY!! fixed. I can now archive and burn!! woooooohooooo. Thanks guys!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum