Summary: | sys-libs/pam-0.78-r3 does not cross compile. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Joakim Tjernlund <joakim.tjernlund> |
Component: | [OLD] Library | Assignee: | PAM Gentoo Team (OBSOLETE) <pam-bugs+disabled> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | kanaka, norguhtar |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Other | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 185203 | ||
Bug Blocks: | 206166 | ||
Attachments: |
Patch for pam xcompile
cross compile patch #2 cross compile patch #3 |
Description
Joakim Tjernlund
2006-09-03 06:50:11 UTC
Created attachment 95833 [details, diff]
Patch for pam xcompile
configure patch looks sane as for the LDCONFIG stuff, i would just force LDCONFIG to like '/bin/true' in the build system rather than trying to patch stuff out I just tried again without the LDCONFIG part applied and that worked too. Dunno why I removed that(I have had this patch for a while and forgot to send it in). It will be enough to apply just the configure.in part. Created attachment 97387 [details, diff]
cross compile patch #2
New version of the xcompile patch. This patch only patches configure.in
Replacing LDCONFIG="" with LDCONFIG="/bin/true" in the ebuild removes some
nonfatal error while building. I hope this is OK to commit.
Created attachment 97704 [details, diff]
cross compile patch #3
better patch per vapier suggestion
status? Can you see if 0.99 still has this problem? (In reply to comment #7) > Can you see if 0.99 still has this problem? I have moved on and is using 0.78-r3. Product is in final testing and we will not change anything unless there is a problem, sorry. 0.99 is worse for cross-compile because it tries to build and then run "padout" as part of the build process but it doesn't take into account cross situations. i.e. padout is the target architecture. padout is in docs, so we could probably force no docs in cross situations, or we can modify the build to also build a native padout during the build and use that during the build but install the cross-built one. After I get back from vacation in a couple weeks I might be able to work on that. Joel, is 0.99.7.0 better now? doc re-generation has stopped and we instead use upstream-provided documentation that should cover for it. I just tried 0.99.7.1 and it still builds padout (for the CHOST) and tries to run it: ./padout < ./draft-morgan-pam.raw > draft-morgan-pam-current.txt /bin/sh: ./padout: cannot execute binary file make[4]: *** [draft-morgan-pam-current.txt] Error 126 *** Bug 191478 has been marked as a duplicate of this bug. *** Linux-PAM 0.78 is no more supported, so closing this bug down as CANTFIX. If PAM 0.99.8.1-r1 or PAM 0.99.9.0 does not crosscompile either, please open a new bug. |