Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 916307 - sys-power/iasl-20230331 Fetch fails
Summary: sys-power/iasl-20230331 Fetch fails
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-26 17:10 UTC by bg.enduring772
Modified: 2023-11-25 19:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Emerge log (sys-power:iasl-20230331:20231026-164600.log,2.25 KB, text/x-log)
2023-10-26 17:10 UTC, bg.enduring772
Details
Fixed ebuild (iasl-20200717.ebuild,3.38 KB, text/plain)
2023-10-28 03:18 UTC, bg.enduring772
Details
iasl-20230628.ebuild (iasl-20230628.ebuild,3.20 KB, text/plain)
2023-11-25 19:20 UTC, Sv. Lockal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bg.enduring772 2023-10-26 17:10:40 UTC
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.
Comment 1 bg.enduring772 2023-10-28 03:16:53 UTC
Related bug report on NixOS and subsequent fix:
https://github.com/NixOS/nixpkgs/issues/250764
Comment 2 bg.enduring772 2023-10-28 03:18:48 UTC
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.
Comment 3 Sv. Lockal 2023-11-25 18:27:10 UTC
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.
Comment 4 Sv. Lockal 2023-11-25 19:20:10 UTC
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
```