Summary: | dev-python/reportlab-2.5-r1 fails to build : libart.h : No such file or directory | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | EEva <eeva+gentoo_bugzilla> |
Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | yac |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | OS X | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
buildlog
Buildlog for dev-python/reportlab-2.5 Kludge patch that gets it working for me. |
Description
EEva
2012-05-16 14:48:25 UTC
Created attachment 312015 [details]
buildlog
archtester pyparted # USE_PYTHON="2.5 2.6 2.7" emerge =dev-python/reportlab-2.5-r1::gentoo >>> Emerging (1 of 1) dev-python/reportlab-2.5-r1 >>> Installing (1 of 1) dev-python/reportlab-2.5-r1 archtester pyparted # emerge dev-python/rst2pdf::gentoo >>> Emerging (1 of 1) dev-python/rst2pdf-0.91 >>> Installing (1 of 1) dev-python/rst2pdf-0.91 Couldn't replicate I'm getting the same message with dev-python/reportlab-2.5. Attaching my build log (not that I think it's going to help). Created attachment 347144 [details]
Buildlog for dev-python/reportlab-2.5
Interesting line is:
/var/tmp/portage/dev-python/reportlab-2.5/work/reportlab-2.5/src/rl_addons/renderPM/_renderPM.c:7:32: fatal error: libart_lgpl/libart.h: No such file or directory
Also, it looks like some M4 macro engine missed @GENTOO_PORTAGE_EPREFIX@. x86_64-pc-linux-gnu-gcc -pthread -march=core2 -mtune=core2 -O3 -pipe -fno-strict-aliasing -fPIC -DRENDERPM_FT -I/var/tmp/portage/dev-python/reportlab-2.5/work/reportlab-2.5/src/rl_addons/renderPM -I@GENTOO_PORTAGE_EPREFIX@/usr/include/libart-2.0 -I/var/tmp/portage/dev-python/reportlab-2.5/work/reportlab-2.5/src/rl_addons/renderPM/gt1 -I/usr/include -I/usr/include/freetype2 -I/usr/include/python2.7 -c /var/tmp/portage/dev-python/reportlab-2.5/work/reportlab-2.5/src/rl_addons/renderPM/_renderPM.c -o build-2.7/temp.linux-x86_64-2.7/var/tmp/portage/dev-python/reportlab-2.5/work/reportlab-2.5/src/rl_addons/renderPM/_renderPM.o Created attachment 347148 [details, diff]
Kludge patch that gets it working for me.
Would suggest someone else look at this. It removes the @GENTOO_PORTAGE_EPREFIX@ from LIBART_DIR. I'm not sure what that's there for (I'm not well versed in all the special variables for portage). I'm guessing there's a right way to do this without just deleting it, but this works for me (I assume my GENTOO_PORTAGE_EPREFIX is just not set and if it were for someone else that it wouldn't work for them).
The patch worked like a charm for me! I had the same problem: /var/tmp/portage/dev-python/reportlab-2.5/work/reportlab-2.5/src/rl_addons/renderPM/_renderPM.c:7:32: fatal error: libart_lgpl/libart.h: No such file or directory Maybe my "@GENTOO_PORTAGE_EPREFIX@" is misconfigured? not specific to prefix, just reproduced on x86 gentoo. Reopening. Upon examining the build logs what comment #5 and #7 reports may be a different issue than the OPs - note in the OPs build.log the GENTOO_PORTAGE_EPREFIX is expanded. I have just commited a fix for that of #5 and #7 but I don't have a prefix system. I have the same problem with 2.5. I have not tested the patch, but 2.6 works. (In reply to comment #10) > I have the same problem with 2.5. I have not tested the patch, but 2.6 works. Do you have the same issue as OP or as comment #5 and comment #7 (unexpanded eprefix), cause the latter should be fixed since yesterday 6 AM CET. (In reply to comment #10) > I have the same problem with 2.5. I have not tested the patch, but 2.6 works. Do you have the same issue as OP or as comment #5 and comment #7 (unexpanded eprefix), cause the latter should be fixed since yesterday 6 AM CET. |