Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218145 - Stable =media-libs/libtheora-1.0 (was: libtheora-1.0_beta3 compile fails)
Summary: Stable =media-libs/libtheora-1.0 (was: libtheora-1.0_beta3 compile fails)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2008-04-17 18:33 UTC by Florian E.J. Fruth
Modified: 2009-05-15 17:35 UTC (History)
5 users (show)

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


Attachments
build.log of failed build (build.log,54.70 KB, text/plain)
2008-04-18 16:31 UTC, Florian E.J. Fruth
Details
build.log (build.log,51.87 KB, text/plain)
2008-04-18 22:33 UTC, Juergen Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florian E.J. Fruth 2008-04-17 18:33:25 UTC
USE-Flags: encode -doc -examples

libtheora-1.0_beta3 fails with an error that it can't find the ltablex.sty file. It is used to create a documentation for the format specification. So at first with "-doc" this documentation shouldn't even be build. Additionally if +doc is specified you need the ltablex.sty file (e.g. download it from: http://ftp.ktug.or.kr/tex-archive/macros/latex/contrib/ltablex/ltablex.sty) and put it into: /var/tmp/portage/media-libs/libtheora-1.0_beta3/work/libtheora-1.0beta3/doc/spec
Comment 1 Robert Wetzel 2008-04-17 20:11:59 UTC
(in /usr/portage/distfiles)
$ tar tjf libtheora-1.0beta3.tar.bz2 | grep sty
$ tar tjf libtheora-1.0beta2.tar.bz2 | grep sty
libtheora-1.0beta2/doc/spec/ltablex.sty
$

I checked the distribution at xiph.org, and the provided *beta3.tar.gz download
lacks the file, too; however, it's contained in their repository ...
Comment 2 Juergen Rose 2008-04-18 07:17:52 UTC
I found ltablex.sty at http://www.ctan.org/get/macros/latex/contrib/ltablex/ltablex.sty.
But copying to /var/tmp/portage/media-libs/libtheora-1.0_beta3/work/libtheora-1.0beta3/doc/spec does not help, because /var/tmp/portage/media-libs/libtheora-1.0_beta3 is deleted if I do the next 'emerge libtheora'.
Comment 3 Michael Baer 2008-04-18 13:35:55 UTC
Hi Jürgen,

you should add the feature "keepwork" to your FEATURES variable in make.conf.

The workdir will not be deleted during the next emerge and so the downloaded file will remain in workdir.

After installation (emerge libtheora) you have to remove the keepwork from FEATURES and delete the directory /var/tmp/portage/media-libs/.

Then your system is up to date and clean ;-)
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2008-04-18 16:17:25 UTC
Please, attach the build.log here, I'd like to see how it's failing because it's not here with or without the doc flag.
Comment 5 Florian E.J. Fruth 2008-04-18 16:31:46 UTC
Created attachment 150189 [details]
build.log of failed build

build still fails here with emerge --sync about two hours ago
Comment 6 Roby 2008-04-18 20:53:46 UTC
To overcome the ltablex.sty error, you can do this:

1. Create /usr/share/texmf/tex/latex/ltablex directory
2. Copy ltablex.sty to that directory
3. cd /usr/share/texmf/tex/latex
4. sudo texhash

The compilation continues. BUT, there's a sandbox violation:

mkdir:     /var/cache/fonts/pk/ljfour/jknappen/tc
mkdir:     /var/cache/fonts/pk/ljfour/jknappen/tc
mkdir:     /var/cache/fonts/pk/ljfour/jknappen/tc
Comment 7 Juergen Rose 2008-04-18 22:33:35 UTC
Created attachment 150241 [details]
build.log
Comment 8 Juergen Rose 2008-04-18 22:35:25 UTC
It seems me that the the bug is tetex dependent. The bug does not happen if  texlive is installed.
Comment 9 Florian E.J. Fruth 2008-04-18 22:49:48 UTC
(In reply to comment #8)
> It seems me that the the bug is tetex dependent. The bug does not happen if 
> texlive is installed.

Good to know. But I'd still prefer that the -doc flag works by not trying to "make" the libtheora/doc dir.

Comment 10 Roby 2008-04-19 22:09:34 UTC
If you fix the tetex dependent bug, you still face the sandbox bug. See my post above.
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2009-04-30 00:09:58 UTC
It seems to be available in 1.0 final release again, libtheora-1.0/doc/spec/ltablex.sty

Please mark it stable.
Comment 12 Brent Baude (RETIRED) gentoo-dev 2009-05-01 15:19:15 UTC
ppc64 stable
Comment 13 Samuli Suominen (RETIRED) gentoo-dev 2009-05-01 15:24:05 UTC
aballier, would this package need the VARTEXFONT setting as well? see comment 6
Comment 14 Tobias Klausmann (RETIRED) gentoo-dev 2009-05-03 18:06:08 UTC
Stable on alpha.
Comment 15 Markus Meier gentoo-dev 2009-05-03 19:16:24 UTC
amd64/x86 stable
Comment 16 Samuli Suominen (RETIRED) gentoo-dev 2009-05-05 07:28:56 UTC
(In reply to comment #13)
> aballier, would this package need the VARTEXFONT setting as well? see comment 6
> 

done
Comment 17 Jeroen Roovers (RETIRED) gentoo-dev 2009-05-07 10:50:37 UTC
Stable for HPPA.
Comment 18 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-05-10 14:23:03 UTC
Stable on ppc
Comment 19 Raúl Porcel (RETIRED) gentoo-dev 2009-05-15 17:35:26 UTC
arm/ia64/sh/sparc stable, closing