Message ID | 20250621111721.1857015-1-alperyasinak1@gmail.com |
---|---|
State | New |
Headers | show |
Series | [meta-networking] autossh: Replace WORKDIR with UNPACKDIR to prevent compile error | expand |
Le sam. 21 juin 2025 à 13:17, Alper Ak via lists.openembedded.org <alperyasinak1=gmail.com@lists.openembedded.org> a écrit : > Issue was related to latest UNPACKDIR changes -> > https://git.openembedded.org/openembedded-core/commit/?id=46480a5e66747a673041fe4452a0ab14a1736d5e > > ERROR: autossh-1.4g-r0 do_compile: Execution of > '/srv/pokybuild/yocto-worker/meta-oe/build/build/tmp/work/core2-64-poky-linux/autossh/1.4g/temp/run.do_compile.2252' > failed with exit code 1 > > Signed-off-by: Alper Ak <alperyasinak1@gmail.com> > --- > .../recipes-connectivity/autossh/autossh_1.4g.bb | 14 +++++++------- > 1 file changed, 7 insertions(+), 7 deletions(-) > > diff --git a/meta-networking/recipes-connectivity/autossh/autossh_1.4g.bb > b/meta-networking/recipes-connectivity/autossh/autossh_1.4g.bb > index 4613ac61f1..2bc302081e 100644 > --- a/meta-networking/recipes-connectivity/autossh/autossh_1.4g.bb > +++ b/meta-networking/recipes-connectivity/autossh/autossh_1.4g.bb > @@ -11,19 +11,19 @@ SRC_URI[sha256sum] = > "5fc3cee3361ca1615af862364c480593171d0c54ec156de79fc421e31a > > RDEPENDS:${PN} = "ssh" > > -CFLAGS:prepend = "-I${WORKDIR}/build " > +CFLAGS:prepend = "-I${B} " > > inherit autotools > > EXTRA_OECONF = "--with-ssh=/usr/bin/ssh" > > do_compile:append() { > - cp ${WORKDIR}/autossh-${PV}/CHANGES ${WORKDIR}/build > - cp ${WORKDIR}/autossh-${PV}/README ${WORKDIR}/build > - cp ${WORKDIR}/autossh-${PV}/autossh.host ${WORKDIR}/build > - cp ${WORKDIR}/autossh-${PV}/rscreen ${WORKDIR}/build > - cp ${WORKDIR}/autossh-${PV}/autossh.1 ${WORKDIR}/build > - cp ${WORKDIR}/autossh-${PV}/autossh.spec ${WORKDIR}/build > + cp ${UNPACKDIR}/autossh-${PV}/CHANGES ${B}/ > + cp ${UNPACKDIR}/autossh-${PV}/README ${B}/ > + cp ${UNPACKDIR}/autossh-${PV}/autossh.host ${B}/ > + cp ${UNPACKDIR}/autossh-${PV}/rscreen ${B}/ > + cp ${UNPACKDIR}/autossh-${PV}/autossh.1 ${B}/ > + cp ${UNPACKDIR}/autossh-${PV}/autossh.spec ${B}/ > Hello, Can those "${UNPACKDIR}/autossh-${PV}/" be replaced by ${S} while you're changing these lines? (Sounds better to me) Thanks! > } > > do_install:append() { > -- > 2.43.0 > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#118002): > https://lists.openembedded.org/g/openembedded-devel/message/118002 > Mute This Topic: https://lists.openembedded.org/mt/113756056/4316185 > Group Owner: openembedded-devel+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ > yoann.congal@smile.fr] > -=-=-=-=-=-=-=-=-=-=-=- > >
Oops, I overlooked that. Thanks for letting me know! Yoann Congal <yoann.congal@smile.fr>, 21 Haz 2025 Cmt, 16:07 tarihinde şunu yazdı: > > > > Le sam. 21 juin 2025 à 13:17, Alper Ak via lists.openembedded.org <alperyasinak1=gmail.com@lists.openembedded.org> a écrit : >> >> Issue was related to latest UNPACKDIR changes -> https://git.openembedded.org/openembedded-core/commit/?id=46480a5e66747a673041fe4452a0ab14a1736d5e >> >> ERROR: autossh-1.4g-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/meta-oe/build/build/tmp/work/core2-64-poky-linux/autossh/1.4g/temp/run.do_compile.2252' failed with exit code 1 >> >> Signed-off-by: Alper Ak <alperyasinak1@gmail.com> >> --- >> .../recipes-connectivity/autossh/autossh_1.4g.bb | 14 +++++++------- >> 1 file changed, 7 insertions(+), 7 deletions(-) >> >> diff --git a/meta-networking/recipes-connectivity/autossh/autossh_1.4g.bb b/meta-networking/recipes-connectivity/autossh/autossh_1.4g.bb >> index 4613ac61f1..2bc302081e 100644 >> --- a/meta-networking/recipes-connectivity/autossh/autossh_1.4g.bb >> +++ b/meta-networking/recipes-connectivity/autossh/autossh_1.4g.bb >> @@ -11,19 +11,19 @@ SRC_URI[sha256sum] = "5fc3cee3361ca1615af862364c480593171d0c54ec156de79fc421e31a >> >> RDEPENDS:${PN} = "ssh" >> >> -CFLAGS:prepend = "-I${WORKDIR}/build " >> +CFLAGS:prepend = "-I${B} " >> >> inherit autotools >> >> EXTRA_OECONF = "--with-ssh=/usr/bin/ssh" >> >> do_compile:append() { >> - cp ${WORKDIR}/autossh-${PV}/CHANGES ${WORKDIR}/build >> - cp ${WORKDIR}/autossh-${PV}/README ${WORKDIR}/build >> - cp ${WORKDIR}/autossh-${PV}/autossh.host ${WORKDIR}/build >> - cp ${WORKDIR}/autossh-${PV}/rscreen ${WORKDIR}/build >> - cp ${WORKDIR}/autossh-${PV}/autossh.1 ${WORKDIR}/build >> - cp ${WORKDIR}/autossh-${PV}/autossh.spec ${WORKDIR}/build >> + cp ${UNPACKDIR}/autossh-${PV}/CHANGES ${B}/ >> + cp ${UNPACKDIR}/autossh-${PV}/README ${B}/ >> + cp ${UNPACKDIR}/autossh-${PV}/autossh.host ${B}/ >> + cp ${UNPACKDIR}/autossh-${PV}/rscreen ${B}/ >> + cp ${UNPACKDIR}/autossh-${PV}/autossh.1 ${B}/ >> + cp ${UNPACKDIR}/autossh-${PV}/autossh.spec ${B}/ > > > Hello, > > Can those "${UNPACKDIR}/autossh-${PV}/" be replaced by ${S} while you're changing these lines? (Sounds better to me) > > Thanks! > > >> >> } >> >> do_install:append() { >> -- >> 2.43.0 >> >> >> -=-=-=-=-=-=-=-=-=-=-=- >> Links: You receive all messages sent to this group. >> View/Reply Online (#118002): https://lists.openembedded.org/g/openembedded-devel/message/118002 >> Mute This Topic: https://lists.openembedded.org/mt/113756056/4316185 >> Group Owner: openembedded-devel+owner@lists.openembedded.org >> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [yoann.congal@smile.fr] >> -=-=-=-=-=-=-=-=-=-=-=- >> > > > -- > Yoann Congal > Smile ECS
diff --git a/meta-networking/recipes-connectivity/autossh/autossh_1.4g.bb b/meta-networking/recipes-connectivity/autossh/autossh_1.4g.bb index 4613ac61f1..2bc302081e 100644 --- a/meta-networking/recipes-connectivity/autossh/autossh_1.4g.bb +++ b/meta-networking/recipes-connectivity/autossh/autossh_1.4g.bb @@ -11,19 +11,19 @@ SRC_URI[sha256sum] = "5fc3cee3361ca1615af862364c480593171d0c54ec156de79fc421e31a RDEPENDS:${PN} = "ssh" -CFLAGS:prepend = "-I${WORKDIR}/build " +CFLAGS:prepend = "-I${B} " inherit autotools EXTRA_OECONF = "--with-ssh=/usr/bin/ssh" do_compile:append() { - cp ${WORKDIR}/autossh-${PV}/CHANGES ${WORKDIR}/build - cp ${WORKDIR}/autossh-${PV}/README ${WORKDIR}/build - cp ${WORKDIR}/autossh-${PV}/autossh.host ${WORKDIR}/build - cp ${WORKDIR}/autossh-${PV}/rscreen ${WORKDIR}/build - cp ${WORKDIR}/autossh-${PV}/autossh.1 ${WORKDIR}/build - cp ${WORKDIR}/autossh-${PV}/autossh.spec ${WORKDIR}/build + cp ${UNPACKDIR}/autossh-${PV}/CHANGES ${B}/ + cp ${UNPACKDIR}/autossh-${PV}/README ${B}/ + cp ${UNPACKDIR}/autossh-${PV}/autossh.host ${B}/ + cp ${UNPACKDIR}/autossh-${PV}/rscreen ${B}/ + cp ${UNPACKDIR}/autossh-${PV}/autossh.1 ${B}/ + cp ${UNPACKDIR}/autossh-${PV}/autossh.spec ${B}/ } do_install:append() {
Issue was related to latest UNPACKDIR changes -> https://git.openembedded.org/openembedded-core/commit/?id=46480a5e66747a673041fe4452a0ab14a1736d5e ERROR: autossh-1.4g-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/meta-oe/build/build/tmp/work/core2-64-poky-linux/autossh/1.4g/temp/run.do_compile.2252' failed with exit code 1 Signed-off-by: Alper Ak <alperyasinak1@gmail.com> --- .../recipes-connectivity/autossh/autossh_1.4g.bb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)