redis: Remove debug paths to avoid TMPDIR [buildpaths] errors
PATCH v2 1/1 redis: Remove debug paths to avoid TMPDIR [buildpaths] errors
Takes similar approach to valkey recipe seen here:
https://github.com/openembedded/meta-openembedded/commit/1b820b98afd55c881822beb9057162dc67ecb386
--- meta-oe/recipes-extended/redis/redis_7.2.12.bb | 7 +++++++ 1 file changed, 7 insertions(+)
meta-oe/recipes-extended/redis/redis_7.2.12.bb +7 -0
@@ -52,6 +52,11 @@ do_compile:prepend() { } do_install() { + # Remove debug paths to avoid TMPDIR [buildpaths] errors + sed -i -e 's#${TMPDIR}##g' ${S}/src/redis-benchmark + sed -i -e 's#${TMPDIR}##g' ${S}/src/redis-server + sed -i -e 's#${TMPDIR}##g' ${S}/src/redis-cli + export PREFIX=${D}/${prefix} oe_runmake install install -d ${D}/${sysconfdir}/redis
@@ -71,6 +76,8 @@ do_install() { fi } +INSANE_SKIP:${PN} += "already-stripped" + CONFFILES:${PN} = "${sysconfdir}/redis/redis.conf" INITSCRIPT_NAME = "redis-server"
Quoted 14 lines · Eric Meyers via lists.openembedded.org
Takes similar approach to valkey recipe seen here:
https://github.com/openembedded/meta-openembedded/commit/1b820b98afd55c881822beb9057162dc67ecb386
Signed-off-by Eric Meyers <[email protected]>--- meta-oe/recipes-extended/redis/redis_7.2.12.bb | 7 +++++++ 1 file changed, 7 insertions(+)meta-oe/recipes-extended/redis/redis_7.2.12.bb +0
-0
meta-oe/recipes-extended/redis/redis_7.2.12.bb do_compile:prepend() { · line 59
Quoted 8 lines
meta-oe/recipes-extended/redis/redis_7.2.12.bb +5
-0@@ -52,6 +52,11 @@ do_compile:prepend() { } do_install() { + # Remove debug paths to avoid TMPDIR [buildpaths] errors + sed -i -e 's#${TMPDIR}##g' ${S}/src/redis-benchmark + sed -i -e 's#${TMPDIR}##g' ${S}/src/redis-server + sed -i -e 's#${TMPDIR}##g' ${S}/src/redis-cli +
If I check the file type of these files, I get this:
https://gist.githubusercontent.com/OldManYellsAtCloud/5892bde7408475a93d2faa699ae65aea/raw/3309eb40e0467bd7e2a2bcbd540c822b071242d4/gistfile1.txt
These are binary files, cutting out parts with sed will break them most probably. I think this will need another solution (will take a look at valkey also, if it has the same)
Quoted 21 lines
meta-oe/recipes-extended/redis/redis_7.2.12.bb +2
-1export PREFIX=${D}/${prefix} oe_runmake install install -d ${D}/${sysconfdir}/redis@@ -71,6 +76,8 @@ do_install() { fi } +INSANE_SKIP:${PN} += "already-stripped" + CONFFILES:${PN} = "${sysconfdir}/redis/redis.conf" INITSCRIPT_NAME = "redis-server" -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#124360): https://lists.openembedded.org/g/openembedded-devel/message/124360
Mute This Topic: https://lists.openembedded.org/mt/117779563/6084445
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 26 lines · Gyorgy Sarvari via lists.openembedded.org
Quoted 14 lines · Eric Meyers via lists.openembedded.org
Takes similar approach to valkey recipe seen here:
https://github.com/openembedded/meta-openembedded/commit/1b820b98afd55c881822beb9057162dc67ecb386
Signed-off-by Eric Meyers <[email protected]>--- meta-oe/recipes-extended/redis/redis_7.2.12.bb | 7 +++++++ 1 file changed, 7 insertions(+)meta-oe/recipes-extended/redis/redis_7.2.12.bb +0
-0meta-oe/recipes-extended/redis/redis_7.2.12.bb do_compile:prepend() { · line 59
Quoted 8 lines
meta-oe/recipes-extended/redis/redis_7.2.12.bb +5
-0@@ -52,6 +52,11 @@ do_compile:prepend() { } do_install() { + # Remove debug paths to avoid TMPDIR [buildpaths] errors + sed -i -e 's#${TMPDIR}##g' ${S}/src/redis-benchmark + sed -i -e 's#${TMPDIR}##g' ${S}/src/redis-server + sed -i -e 's#${TMPDIR}##g' ${S}/src/redis-cli +If I check the file type of these files, I get this:
https://gist.githubusercontent.com/OldManYellsAtCloud/5892bde7408475a93d2faa699ae65aea/raw/3309eb40e0467bd7e2a2bcbd540c822b071242d4/gistfile1.txt
Quoted 4 lines
These are binary files, cutting out parts with sed will break them most probably. I think this will need another solution (will take a look at valkey also, if it has the same)
I have sent an alternative proposal[1] - do you think you could test it if works for you also?
[1]: https://lists.openembedded.org/g/openembedded-devel/message/124363
Quoted 25 lines
Quoted 8 lines
meta-oe/recipes-extended/redis/redis_7.2.12.bb +0
-0export PREFIX=${D}/${prefix} oe_runmake install install -d ${D}/${sysconfdir}/redismeta-oe/recipes-extended/redis/redis_7.2.12.bb do_install() { · line 83
Quoted 8 lines
meta-oe/recipes-extended/redis/redis_7.2.12.bb +2
-0@@ -71,6 +76,8 @@ do_install() { fi } +INSANE_SKIP:${PN} += "already-stripped" + CONFFILES:${PN} = "${sysconfdir}/redis/redis.conf" INITSCRIPT_NAME = "redis-server"-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#124361): https://lists.openembedded.org/g/openembedded-devel/message/124361
Mute This Topic: https://lists.openembedded.org/mt/117779563/6084445
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 35 lines · Gyorgy Sarvari via lists.openembedded.org
Quoted 4 lines · Gyorgy Sarvari via lists.openembedded.org
Quoted 3 lines · Eric Meyers via lists.openembedded.org
Takes similar approach to valkey recipe seen here:
https://github.com/openembedded/meta-openembedded/commit/1b820b98afd55c881822beb9057162dc67ecb386
Quoted 7 lines
Review
Quoted 7 lines
Signed-off-by Eric Meyers <[email protected]>--- meta-oe/recipes-extended/redis/redis_7.2.12.bb | 7 +++++++ 1 file changed, 7 insertions(+)(quoted diff) +0
-0b/meta-oe/recipes-extended/redis/redis_7.2.12.bb
Quoted 6 lines
Quoted 6 lines
index
8abf758930..589ffd6fb2100644meta-oe/recipes-extended/redis/redis_7.2.12.bb +0
-0@@ -52,6 +52,11 @@ do_compile:prepend() { }Quoted 8 lines
meta-oe/recipes-extended/redis/redis_7.2.12.bb do_compile:prepend() { · line 59
Quoted 6 lines
meta-oe/recipes-extended/redis/redis_7.2.12.bb +5
-0do_install() { + # Remove debug paths to avoid TMPDIR [buildpaths] errors + sed -i -e 's#${TMPDIR}##g' ${S}/src/redis-benchmark + sed -i -e 's#${TMPDIR}##g' ${S}/src/redis-server + sed -i -e 's#${TMPDIR}##g' ${S}/src/redis-cli +If I check the file type of these files, I get this:
Quoted 5 lines
These are binary files, cutting out parts with sed will break them most probably. I think this will need another solution (will take a look at valkey also, if it has the same)
Quoted 6 lines
I have sent an alternative proposal[1] - do you think you could test it if works for you also?
[1]: https://lists.openembedded.org/g/openembedded-devel/message/124363
yeah I think this would ensure that LDFLAGS behaviour prior to OE-core change so I would
take the patch proposed in [1]
Quoted 32 lines
Quoted 8 lines
Quoted 8 lines
meta-oe/recipes-extended/redis/redis_7.2.12.bb +0
-0export PREFIX=${D}/${prefix} oe_runmake install install -d ${D}/${sysconfdir}/redis@@ -71,6 +76,8 @@ do_install() { fi }Quoted 11 lines
meta-oe/recipes-extended/redis/redis_7.2.12.bb do_install() { · line 83
Quoted 8 lines
meta-oe/recipes-extended/redis/redis_7.2.12.bb +2
-0+INSANE_SKIP:${PN} += "already-stripped" + CONFFILES:${PN} = "${sysconfdir}/redis/redis.conf" INITSCRIPT_NAME = "redis-server"-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#124364):
https://lists.openembedded.org/g/openembedded-devel/message/124364
Mute This Topic: https://lists.openembedded.org/mt/117779563/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 43 lines · Khem Raj
Quoted 38 lines · Gyorgy Sarvari via lists.openembedded.org
Quoted 4 lines · Gyorgy Sarvari via lists.openembedded.org
Quoted 3 lines · Eric Meyers via lists.openembedded.org
Takes similar approach to valkey recipe seen here:
https://github.com/openembedded/meta-openembedded/commit/1b820b98afd55c881822beb9057162dc67ecb386
Quoted 7 lines
Review
Quoted 7 lines
Signed-off-by Eric Meyers <[email protected]>--- meta-oe/recipes-extended/redis/redis_7.2.12.bb | 7 +++++++ 1 file changed, 7 insertions(+)(quoted diff) +0
-0b/meta-oe/recipes-extended/redis/redis_7.2.12.bb
Quoted 6 lines
Quoted 6 lines
index
8abf758930..589ffd6fb2100644meta-oe/recipes-extended/redis/redis_7.2.12.bb +0
-0@@ -52,6 +52,11 @@ do_compile:prepend() { }Quoted 8 lines
meta-oe/recipes-extended/redis/redis_7.2.12.bb do_compile:prepend() { · line 59
Quoted 6 lines
meta-oe/recipes-extended/redis/redis_7.2.12.bb +5
-0do_install() { + # Remove debug paths to avoid TMPDIR [buildpaths] errors + sed -i -e 's#${TMPDIR}##g' ${S}/src/redis-benchmark + sed -i -e 's#${TMPDIR}##g' ${S}/src/redis-server + sed -i -e 's#${TMPDIR}##g' ${S}/src/redis-cli +If I check the file type of these files, I get this:
Quoted 5 lines
These are binary files, cutting out parts with sed will break them most probably. I think this will need another solution (will take a look at valkey also, if it has the same)
I have sent an alternative proposal[1] - do you think you could test it if works for you also?
Quoted 40 lines
Quoted 3 lines
[1]: https://lists.openembedded.org/g/openembedded-devel/message/124363
yeah I think this would ensure that LDFLAGS behaviour prior to OE-core change so I would
take the patch proposed in [1]Quoted 32 lines
Quoted 8 lines
Quoted 8 lines
meta-oe/recipes-extended/redis/redis_7.2.12.bb +0
-0export PREFIX=${D}/${prefix} oe_runmake install install -d ${D}/${sysconfdir}/redis@@ -71,6 +76,8 @@ do_install() { fi }Quoted 11 lines
meta-oe/recipes-extended/redis/redis_7.2.12.bb do_install() { · line 83
Quoted 8 lines
meta-oe/recipes-extended/redis/redis_7.2.12.bb +2
-0+INSANE_SKIP:${PN} += "already-stripped" + CONFFILES:${PN} = "${sysconfdir}/redis/redis.conf" INITSCRIPT_NAME = "redis-server"-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#124364):
https://lists.openembedded.org/g/openembedded-devel/message/124364
Mute This Topic: https://lists.openembedded.org/mt/117779563/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
I'm okay with using patch [1]. Things seem to be building on my end after pruning sstate/cleaning.