Summary: | dev-tex/hevea-2.35-r1 [Prefix] searches for hevea files on the host | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Steven Trogdon <strogdon> |
Component: | Other | Assignee: | Gentoo non-Linux Team <alt> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | strogdon |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
strace |
Description
Steven Trogdon
2024-03-29 05:13:59 UTC
Created attachment 888950 [details]
build.log
Created attachment 888951 [details]
strace
From the documentation, https://hevea.inria.fr/distri/hevea-2.36-manual.pdf it appears that the HEVEADIR variable controls the hevea search path for hevea libs. The following works here. My EPREFIX is /storage/strogdon/gentoo-rap. HEVEADIR=/storage/strogdon/gentoo-rap/usr/lib64/hevea strace hevea with pertinent output (hevea.hva is found): openat(AT_FDCWD, "./hevea.hva", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/storage/strogdon/gentoo-rap/usr/lib64/hevea/hevea.hva", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/storage/strogdon/gentoo-rap/usr/lib64/hevea/html/hevea.hva", O_RDONLY|O_CLOEXEC) = 3 brk(0x7ff69d370000) = 0x7ff69d370000 lseek(3, 0, SEEK_CUR) = 0 openat(AT_FDCWD, "/storage/strogdon/gentoo-rap/usr/lib64/hevea/html/hevea.hva", O_RDONLY|O_CLOEXEC) = 4 lseek(4, 0, SEEK_CUR) There are 3 hevea files that need to be patched to avoid passing the HEVEADIR variable. But I'm not sure patching is the way to proceed. Patching hevea I'm able to build giac-1.9.0.93 which failed with out patching. Perhaps one could add a global environment variable, HEVEADIR without touching the hevea code. |