Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 274770 - dev-tex/luatex-0.40.5: compilation error: mplib.h (and others) missing
Summary: dev-tex/luatex-0.40.5: compilation error: mplib.h (and others) missing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-20 08:24 UTC by Nikos Chantziaras
Modified: 2009-06-24 09:07 UTC (History)
14 users (show)

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


Attachments
emerge --info (emerge--info,4.11 KB, text/plain)
2009-06-20 08:25 UTC, Nikos Chantziaras
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikos Chantziaras 2009-06-20 08:24:24 UTC
dev-tex/luatex-0.40.5 can't be emerged.  Error:

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./.. -I/var/tmp/portage/dev-tex/luatex-0.40.5/work/luatex-beta-0.40.5/source/texk -I/var/tmp/portage/dev-tex/luatex-0.40.5/work/luatex-beta-0.40.5/source/texk   -DPOPPLER_VERSION=\"0.10.7\" -I/usr/include/poppler   -I/var/tmp/portage/dev-tex/luatex-0.40.5/work/luatex-beta-0.40.5/source/libs/obsdcompat -I/var/tmp/portage/dev-tex/luatex-0.40.5/work/luatex-beta-0.40.5/source/libs/obsdcompat -I./libmd5 -Iluatexdir -I./luatexdir -I./luatexdir/lua51 -DpdfTeX   -mtune=core2 -march=core2 -O2 -fomit-frame-pointer -pipe -MT libluatex_a-lmplib.o -MD -MP -MF .deps/libluatex_a-lmplib.Tpo -c -o libluatex_a-lmplib.o `test -f 'mplibdir/lmplib.c' || echo './'`mplibdir/lmplib.c                                                                                                                                    
mplibdir/lmplib.c:36:19: error: mplib.h: No such file or directory                                                                           
mplibdir/lmplib.c:37:21: error: mplibps.h: No such file or directory                                                                         
mplibdir/lmplib.c:38:22: error: mplibsvg.h: No such file or directory
Comment 1 Nikos Chantziaras 2009-06-20 08:25:10 UTC
Created attachment 195253 [details]
emerge --info
Comment 2 Andrey Grozin gentoo-dev 2009-06-20 12:32:07 UTC
Same here (x86)
Comment 3 Philipp Riegger 2009-06-20 13:25:08 UTC
Same here.
Comment 4 Juergen Rose 2009-06-20 17:16:46 UTC
Same here.
Comment 5 J.C. Wren 2009-06-22 15:28:26 UTC
Same here.
Comment 6 Daniel J. 2009-06-22 16:44:02 UTC
For what it's worth, I'm experiencing the failure with GCC 4.4 and glibc 2.10.1 on amd64.
Comment 7 Roby 2009-06-22 17:47:00 UTC
Same error, gcc 4.3, glibc 2.9.
Comment 8 Honza Macháček 2009-06-23 05:27:00 UTC
Looks like dev-tex/mplib-1.110 does not install any header files.
Comment 9 Alexis Ballier gentoo-dev 2009-06-23 20:23:24 UTC
ls /var/tmp/portage/dev-tex/luatex-0.40.5/work/luatex-beta-0.40.5/source/texk/web2c/mplib*

please

the header files should be there...
Comment 10 Harald van Dijk (RETIRED) gentoo-dev 2009-06-23 20:53:02 UTC
Nothing for me, just the mplibdir directory.

$ ls /var/tmp/portage/dev-tex/luatex-0.40.5/work/luatex-beta-0.40.5/source/texk/web2c/mplib*
./  ../  am/  avl.c  avl.h  ChangeLog  dvitomp.test*  lmplib.c  memio.w  mpost.w  mptrap.test*  mp.w  mpxout.w  psout.w  svgout.w  tfmin.w

mplib.h would be created along with mp.c, listed as a prerequisite in web2c/Makefile for libmplib_a-mp.o, but the error is when building libluatex_a-lmplib.o (for me) which is done earlier. Is dependency info supposed to be generated somehow so that mp.c and others are created as soon as they're needed, or is the build order different for you (possibly due to -j options)?
Comment 11 Harald van Dijk (RETIRED) gentoo-dev 2009-06-24 05:07:27 UTC
(In reply to comment #10)
> or is the build order different for you (possibly due to -j
> options)?

That'll probably be it. I managed to get luatex 0.40.5 installed by trying a bit with the -j options. It fails with -j1, but may succeed with -j2+.
Comment 12 Alexis Ballier gentoo-dev 2009-06-24 09:07:30 UTC
(In reply to comment #11)
> (In reply to comment #10)
> > or is the build order different for you (possibly due to -j
> > options)?
> 
> That'll probably be it. I managed to get luatex 0.40.5 installed by trying a
> bit with the -j options. It fails with -j1, but may succeed with -j2+.

indeed, using sequential make triggers the failure here... should be fixed with patchlevel 12; thanks for the report.

First time in my life I see a sequential make failure though :)