nativesdk-gzip: fix reproducibility issues
PATCH 1/1 nativesdk-gzip: fix reproducibility issues
There is absolute path in zgrep binary. It is related to the changes that fix an issue with zgrep on Solaris and other platforms with 'grep -e'. I'd like to ask here if Yocto supports Solaris as host architecture, and if there's a reliable way to detect the host arch. If there is, I'll place additional check to be compatible with it.
Original change:
git.savannah.gnu.org/cgit/gzip.git/commit?id=60b3f4eb672a85de28ecaad47ed426f8c8fe6c32
--- meta/recipes-extended/gzip/gzip.inc | 1 + 1 file changed, 1 insertion(+)
meta/recipes-extended/gzip/gzip.inc +1 -0
@@ -8,6 +8,7 @@ inherit autotools texinfo export DEFS="NO_ASM" EXTRA_OEMAKE:class-target = "GREP=${base_bindir}/grep" +EXTRA_OEMAKE:append:class-nativesdk = " GREP=grep" EXTRA_OECONF:append:libc-musl = " gl_cv_func_fflush_stdin=yes " do_install:append () {
Signature · 1 line
2.33.0
Quoted 8 lines · Oleh Matiusha via lists.openembedded.org
There is absolute path in zgrep binary. It is related to the changes that fix an issue with zgrep on Solaris and other platforms with 'grep -e'. I'd like to ask here if Yocto supports Solaris as host architecture, and if there's a reliable way to detect the host arch. If there is, I'll place additional check to be compatible with it.
We do not have support for solaris build hosts.
Quoted 33 lines
Original change:
git.savannah.gnu.org/cgit/gzip.git/commit?id=60b3f4eb672a85de28ecaad47ed426f8c8fe6c32Signed-off-by Oleh Matiusha <[email protected]>--- meta/recipes-extended/gzip/gzip.inc | 1 + 1 file changed, 1 insertion(+)meta/recipes-extended/gzip/gzip.inc +1
-1@@ -8,6 +8,7 @@ inherit autotools texinfo export DEFS="NO_ASM" EXTRA_OEMAKE:class-target = "GREP=${base_bindir}/grep" +EXTRA_OEMAKE:append:class-nativesdk = " GREP=grep" EXTRA_OECONF:append:libc-musl = " gl_cv_func_fflush_stdin=yes " do_install:append () { --2.33.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#198130): https://lists.openembedded.org/g/openembedded-core/message/198130
Mute This Topic: https://lists.openembedded.org/mt/105462485/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Can it be accepted in upstream then?
Quoted 7 lines · Oleh Matiusha via lists.openembedded.org
There is absolute path in zgrep binary. It is related to the changes that fix an issue with zgrep on Solaris and other platforms with 'grep -e'. I'd like to ask here if Yocto supports Solaris as host architecture, and if there's a reliable way to detect the host arch. If there is, I'll place additional check to be compatible with it.
How far did you get builds to work on Solaris out of interest?
We don't support it since none of us have access to it and it is something we've never really been asked about before.
We did used to add BUILD_OS to OVERRIDES so that you could do build system overrides to variables. It was so rarely used we ended up dropping it though.
I'm not against the idea of Solaris support but I'd want to understand how invasive it is and it may be better starting as a separate layer. That layer could append to OVERRIDES to make the metadata easier for example.
Also, is this running builds on Solaris, or is this building SDKs to run on Solaris. I suddenly realised this could be taken both ways.
Cheers,
Richard
How far did you get builds to work on Solaris out of interest?
Perhaps you have misunderstood me. I have neither the desire nor the hardware to work on providing Solaris support, but I asked if Yocto supports or plans to support Solaris to see if my patch is compatible with the current version.
Quoted 7 lines · Oleh Matiusha -X (omatiush - GLOBALLOGIC INC at Cisco)
Quoted 1 line
How far did you get builds to work on Solaris out of interest?
Perhaps you have misunderstood me. I have neither the desire nor the hardware to work on providing Solaris support, but I asked if Yocto supports or plans to support Solaris to see if my patch is compatible with the current version.
Definitely misunderstanding! We have no support or plans for support for Solaris.
Cheers,
Richard