Summary: | app-editors/xemacs-21.5.34-r5.ebuild fails to build on Gentoo Prefix due to QA concerns: there are files installed outside the prefix | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Sammy Pfeiffer <sammypfeiffer> |
Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | xemacs |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Sammy Pfeiffer
2020-03-16 04:29:19 UTC
Changing D to ED does not sound that difficult, however - What else is required? Is there some neat and easy way to verify that the ebuild work in the prefix environment? Nothing else is required as far as I know. As for how to test it yourself: I maintain a CI pipeline for Gentoo Prefix (amd64) here: https://github.com/awesomebytes/gentoo_prefix_ci (I also maintain a pipeline for 32b and @haubi maintains a new one https://github.com/haubi/gentoo-prefix-ci that covers many different bootstraps) You can use the latest successful bootstrap (run nightly) from the releases page: https://github.com/awesomebytes/gentoo_prefix_ci/releases You can download (800-900MB), extract and execute a shell in the prefix with (using the latest right now): wget https://github.com/awesomebytes/gentoo_prefix_ci/releases/download/release%2F2020-03-24T18at28plus00at00/gentoo_on_tmp-amd64_2020-03-24T18at28plus00at00.tar.gz tar xf gentoo_on_tmp*.tar.gz cd gentoo ./startprefix Alternatively, if you are familiar with Docker, you can use the latest successful Docker image with: docker pull awesomebytes/gentoo_prefix_latest_image_package_stage docker run -it awesomebytes/gentoo_prefix_latest_image_package_stage ./startprefix You can verify you are in the Prefix environment by checking your $PATH. Note that the 'startprefix' script will create a symlink in /tmp/gentoo pointing to the directory where 'startprefix' resides. '/tmp/gentoo' is the EPREFIX. I did this in order to make this Gentoo Prefix portable to any machine (otherwise there are hardcoded paths in the building process that wouldn't match, like, /home/myuser/gentoo, and some things break). Other than that it doesn't touch anything outside the 'gentoo' folder. (Sorry if I'm explaining a bit too much for the point here). Now you can do: emerge app-editors/xemacs Right now you'll see how it fails. Then doing: cd /tmp/gentoo/var/db/repos/gentoo/app-editors/xemacs sed -i -e 's/${D}/${ED}/g' xemacs-21.5.34-r5.ebuild ebuild xemacs-21.5.34-r5.ebuild manifest Will work. Let me know if I can help in anything else. The xemacs-21.5.34-r5.ebuild has been updated to support gentoo prefix. The prefix build was verified using the docker method. The prefix build has been verified using the the docker build. Closing this as resolved. |