Summary: | sys-power/iasl-20230331 Fetch fails | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | bg.enduring772 |
Component: | Current packages | Assignee: | Robin Johnson <robbat2> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | lockalsash |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Emerge log
Fixed ebuild iasl-20230628.ebuild |
Related bug report on NixOS and subsequent fix: https://github.com/NixOS/nixpkgs/issues/250764 Created attachment 873562 [details]
Fixed ebuild
Attached is a fixed ebuild if someone wants to double check my work and push the change. I just changed the SRC_URL. This is my first time updating an ebuild.
The package itself is sorely out of date, but that's another issue.
bg.enduring772@simplelogin.com, in I understand correctly, you changed http://www.acpica.org/... to https://acpica.org/..., but from my test, wget https://acpica.org/sites/acpica/files/acpica-unix-20200717.tar.gz still returns 403 (while http://distfiles.gentoo.org/distfiles/dd/acpica-unix-20200717.tar.gz obviously works). I know that new version has direct url like https://downloadmirror.intel.com/783534/acpica-unix-20230628.tar.gz , but I was not able to found a link to 20200717 there. There is https://github.com/acpica/acpica/archive/refs/tags/R07_17_20.tar.gz , but this file is much larger and looks like a combination of tests and src in a single tar.gz. IMO (not a maintainer), at this point it is easier to consider old link as rotten, use distfiles.gentoo.org mirror for old version and github.com for new ones. Created attachment 875646 [details]
iasl-20230628.ebuild
I attached iasl-20230628.ebuild for the latest version. It also is compatible with previous releases (just change version in the file name). However I was not able to run tests. `ebuild iasl-20230628.ebuild test` completes with success code (0), but I can clearly see that it outputs errors like:
```
Test path: /var/tmp/portage/sys-power/iasl-20230628/work/acpica-R06_28_23/tests/aslts/src/runtime/collections/IMPL/ACPICA/tests/dynobj
Type: Compile => Removing files => Done **** Unexpected iASL failure in /var/tmp/portage/sys-power/iasl-20230628/work/acpica-R06_28_23/tests/aslts/src/runtime/collections/IMPL/ACPICA/tests/dynobj/MAIN.asl!
ls: cannot access 'dynobj.aml': No such file or directory
mv: cannot stat 'dynobj.aml': No such file or directory
```
|
Created attachment 873499 [details] Emerge log sys-power/iasl fails to fetch required sources. acpica.org redirects to intel.com breaking url. I will add a comment linking a related issue and fix from NixOS after my 24 hour new account URL restriction is lifted.