| Summary: | =dev-libs/libtasn1-4.9 - configure.ac patch doesn't call eautoreconf, breaks cross-compiling | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | James Le Cuirot <chewi> |
| Component: | Current packages | Assignee: | Crypto team [DISABLED] <crypto+disabled> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | alonbl |
| Priority: | Normal | Keywords: | PATCH |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Patch against libtasn1-4.9.ebuild | ||
Hi, I fixed several issues, however, I do not understand why the help2man breaks in cross compile, can you please attach a build log? It should work as far as I remember. Thanks. It's fundamentally at odds with cross-compiling as it tries to execute the binary with --help in order to generate the man page. A stupid idea, if you ask me! See these links. https://lists.debian.org/debian-devel/2007/11/msg00212.html https://lists.gnu.org/archive/html/grub-devel/2009-09/msg00206.html I still try to understand... the help2man is executed on the build not the host, so it should succeed. build-aux/missing help2man is running the host help2man. so unless you have the host bin in your $PATH it should work. Yes, it is the build's help2man but this then executes the host binary that was just built (such as asn1Parser) with --help in order to generate the man page. this version is out of tree. |
Created attachment 447788 [details, diff] Patch against libtasn1-4.9.ebuild A patch against configure.ac was added to 4.9 but no call to eautoreconf was added. The patch also breaks cross-compiling as the prebuilt man pages are no longer considered fresh. help2man is subsequently called and this always fails when cross-compiling. Please see the attached patch to deal with both issues. I can commit this myself if you like.