Repository navigation
fwts: 25.09.00 -> 26.07.00, remove kernel module, remove pcre - #505060
Conversation
|
Ma27
left a comment
There was a problem hiding this comment.
Please add a throw alias to linux-kernels.nix for the removed attribute.
a40ba07 to
bceaa8f
Compare
| --replace-fail "dtc -I" "${dtc}/bin/dtc -I" | ||
|
|
||
| substituteInPlace src/lib/src/Makefile.am \ | ||
| --replace-fail "libfwts_la_LIBADD =" "libfwts_la_LIBADD = -lz" |
There was a problem hiding this comment.
We can't just set this in makeFlags?
There was a problem hiding this comment.
No, at least I don't know how. We are replacing in a multi line statement that looks like
libfwts_la_LIBADD = \
-lm -lpthread -lbsd \
@GIO_LIBS@ \
@GLIB_LIBS@
There was a problem hiding this comment.
Hmm. How is this supposed to work? Why hasn't upstream needed to add this?
There was a problem hiding this comment.
This is what I got with a bisect bisect-fwts.log
I am not entirely sure why it broke fwts, but since fwts is using zlib directly, it should have the flags here. For why it did work before and upstream, maybe there was a library reexporting zlib or something similar.
But we are clearly not the only once having issues with this: https://github.com/openbmc/openbmc/blob/7afa8803b803635f8eb6411e7e6ca63703b9d62e/upstream-layers/meta-openembedded/meta-oe/recipes-test/fwts/fwts/0001-Makefile.am-Add-missing-link-with-zlib.patch
There was a problem hiding this comment.
I think a change ought to be submitted upstream for this. They call zlib functions directly in their code, so they should also link it directly.
There was a problem hiding this comment.
Well #522269 was faster so for now I dropped this part, for upstream see fwts/fwts#38
There was a problem hiding this comment.
solved: use github release like https://wiki.ubuntu.com/FirmwareTestSuite (seems to be the official wiki) recommends
There was a problem hiding this comment.
sorry wrong discussion
| src = fetchzip { | ||
| url = "https://fwts.ubuntu.com/release/fwts-V${finalAttrs.version}.tar.gz"; | ||
| hash = "sha256-OJI2O9MptckmGj4rTrh9haIGaXJOO3er59yIorbgSVw="; | ||
| hash = "sha256-w4KIGag+o7XQ9qLE6oJ0EgzwEp4Rq5nSsWPP0oeQ44A="; |
There was a problem hiding this comment.
Any idea why OfBorg can't access this?
There was a problem hiding this comment.
No, I currently cannot access it either it seems. I don't know if this a temporary problem.
We could also switch to github or github releases.
There was a problem hiding this comment.
solved: use github release like https://wiki.ubuntu.com/FirmwareTestSuite (seems to be the official wiki) recommends
|
Because of #356387 I added a commit to remove pcre from the dependencies, builds fine usage seems fine too. |
|
|
In the process of fixing the url, it is also updated to 26.05.00 |
|
Please squash the two update commits. |
|
| version = "25.09.00"; | ||
| version = "26.05.00"; | ||
|
|
||
| src = fetchzip { |
There was a problem hiding this comment.
does this actually need to be a fetchzip or can we fetchFromGitHub like we do everywhere else?
The url changed since it wasn't acessible and the wiki did recommend this url,
build fines and usage seems fine too see NixOS#356387 for deprecation
|
Latest changes: Use FetchFromGitHub, Update to latest version |
|
Things done
Changelog: https://github.com/fwts/fwts/releases
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.