Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 399741

Summary: media-libs/plotutils-2.6 - g_miscmi.c:26:58: fatal error: xmi.h: No such file or directory
Product: Gentoo Linux Reporter: Kent Fredric (IRC: kent\n) (RETIRED) <kentnl>
Component: [OLD] PrintingAssignee: Printing Team <printing>
Status: RESOLVED FIXED    
Severity: normal CC: john
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info =media-libs/plotutils-2.6
build.log
environment

Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2012-01-22 15:43:00 UTC
Created attachment 299537 [details]
emerge --info =media-libs/plotutils-2.6

Parallel Make seems a logical explanation as xmi.h is bundled with plotutils. 

emerge -pqv =media-libs/plotutils-2.6
[ebuild  N    ] media-libs/plotutils-2.6  USE="X png -static-libs"

setting MAKEOPTS="" via /etc/portage/env/* results in a successful compilation.

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -DLIBPLOT -march=native -mtune=native -pipe -O3 -mcx16 -msahf -mpclmul -mpopcnt -mavx --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mfpmath=sse -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msahf -ftree-loop-linear -ftree-loop-distribution -ftree-loop-im -c g_matrix.c  -fPIC -DPIC -o .libs/g_matrix.o
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I./../include -DLIBPLOT    -march=native -mtune=native -pipe -O3 -mcx16 -msahf -mpclmul -mpopcnt -mavx --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072  -mfpmath=sse -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msahf -ftree-loop-linear -ftree-loop-distribution -ftree-loop-im -c -o g_miscmi.lo g_miscmi.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -DLIBPLOT -march=native -mtune=native -pipe -O3 -mcx16 -msahf -mpclmul -mpopcnt -mavx --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mfpmath=sse -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msahf -ftree-loop-linear -ftree-loop-distribution -ftree-loop-im -c g_miscmi.c  -fPIC -DPIC -o .libs/g_miscmi.o
g_miscmi.c:26:58: fatal error: xmi.h: No such file or directory
compilation terminated.
make[2]: *** [g_miscmi.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/plotutils-2.6/work/plotutils-2.6/libplot'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/plotutils-2.6/work/plotutils-2.6'
make: *** [all] Error 2
make: INTERNAL: Exiting with 9 jobserver tokens available; should be 8!
emake failed
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2012-01-22 15:43:21 UTC
Created attachment 299539 [details]
build.log
Comment 2 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2012-01-22 15:43:40 UTC
Created attachment 299541 [details]
environment
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2012-04-05 19:14:15 UTC
Right... as far as I can see, nothing ensures that the subdir libxmi is already finished when libplot is built. Now we need someone with autotools foo...
Comment 4 Manuel Rüger (RETIRED) gentoo-dev 2012-10-21 00:03:05 UTC
As libxmi seems to be a bundled lib, why not split it out into a seperate package?

http://www.gnu.org/software/libxmi/
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2013-05-04 14:21:49 UTC
*plotutils-2.6-r1 (04 May 2013)

  04 May 2013; Justin Lecher <jlec@gentoo.org> +plotutils-2.6-r1.ebuild,
  +files/plotutils-2.6-libxmi.patch, metadata.xml:
  Unbundle media-libs/libxmi, #399741