Message ID | 20170331164247.5052-18-raj.khem@gmail.com |
---|---|
State | New |
Headers | show |
Series | [oe,meta-oe,01/43] gpm: Update to use git src uri | expand |
mv: cannot stat 'TOPDIR/tmp-glibc/work/all-oe-linux/ttf-inconsolata/20100526-r0/Inconsolata.otf': No such file or directory WARNING: exit code 1 from a shell command. http://errors.yoctoproject.org/Errors/Details/138841/ On Fri, Mar 31, 2017 at 6:42 PM, Khem Raj <raj.khem@gmail.com> wrote: > Fixes errors like > > | mv: cannot stat '/mnt/b/build/tmp-musl/work/ > all-oe-linux/ttf-inconsolata/20100526-r0/Inconsolata.otf': No such file > or directory > | WARNING: /mnt/b/build/tmp-musl/work/all-oe-linux/ttf-inconsolata/ > 20100526-r0/temp/run.do_configure.2485:1 exit 1 from 'mv > /mnt/b/build/tmp-musl/work/all-oe-linux/ttf-inconsolata/20100526-r0/Inconsolata.otf > /mnt/b/build/tmp-musl/work/all-oe-linux/ttf-inconsolata/ > 20100526-r0/ttf-inconsolata-20100526/Inconsolata.ttf' > > Signed-off-by: Khem Raj <raj.khem@gmail.com> > --- > meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb | 7 > ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_ > 20100526.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_ > 20100526.bb > index 20041bb7b..0d6df242a 100644 > --- a/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb > +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb > @@ -13,13 +13,14 @@ S = "${WORKDIR}/ttf-inconsolata-${PV}" > FILES_${PN} = "${datadir}/fonts/truetype/Inconsolata.ttf \ > ${datadir}/doc/ttf-inconsolata/*" > > -do_configure() { > +deltask do_configure > + > +do_compile_prepend() { > mv ${WORKDIR}/Inconsolata.otf ${S}/Inconsolata.ttf > } > > do_install_append() { > - install -d ${D}${datadir}/doc/ttf-inconsolata/ > - install -m 0644 ${WORKDIR}/OFL.txt ${D}${datadir}/doc/ttf- > inconsolata/ > + install -D -m 0644 ${WORKDIR}/OFL.txt ${D}${datadir}/doc/ttf- > inconsolata/OFL.txt > } > > SRC_URI[md5sum] = "0fbe014c1f0fb5e3c71140ff0dc63edf" > -- > 2.12.1 > > -- > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-devel > -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Drop this one, I see same error without this change, since it does not fix the problem, I can look into it and send a new version if I find the proper fix On Sun, Apr 2, 2017 at 12:14 AM, Martin Jansa <martin.jansa@gmail.com> wrote: > mv: cannot stat > 'TOPDIR/tmp-glibc/work/all-oe-linux/ttf-inconsolata/20100526-r0/Inconsolata.otf': > No such file or directory > WARNING: exit code 1 from a shell command. > > http://errors.yoctoproject.org/Errors/Details/138841/ > > > > On Fri, Mar 31, 2017 at 6:42 PM, Khem Raj <raj.khem@gmail.com> wrote: >> >> Fixes errors like >> >> | mv: cannot stat >> '/mnt/b/build/tmp-musl/work/all-oe-linux/ttf-inconsolata/20100526-r0/Inconsolata.otf': >> No such file or directory >> | WARNING: >> /mnt/b/build/tmp-musl/work/all-oe-linux/ttf-inconsolata/20100526-r0/temp/run.do_configure.2485:1 >> exit 1 from 'mv >> /mnt/b/build/tmp-musl/work/all-oe-linux/ttf-inconsolata/20100526-r0/Inconsolata.otf >> /mnt/b/build/tmp-musl/work/all-oe-linux/ttf-inconsolata/20100526-r0/ttf-inconsolata-20100526/Inconsolata.ttf' >> >> Signed-off-by: Khem Raj <raj.khem@gmail.com> >> --- >> meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb | 7 >> ++++--- >> 1 file changed, 4 insertions(+), 3 deletions(-) >> >> diff --git >> a/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb >> b/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb >> index 20041bb7b..0d6df242a 100644 >> --- a/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb >> +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb >> @@ -13,13 +13,14 @@ S = "${WORKDIR}/ttf-inconsolata-${PV}" >> FILES_${PN} = "${datadir}/fonts/truetype/Inconsolata.ttf \ >> ${datadir}/doc/ttf-inconsolata/*" >> >> -do_configure() { >> +deltask do_configure >> + >> +do_compile_prepend() { >> mv ${WORKDIR}/Inconsolata.otf ${S}/Inconsolata.ttf >> } >> >> do_install_append() { >> - install -d ${D}${datadir}/doc/ttf-inconsolata/ >> - install -m 0644 ${WORKDIR}/OFL.txt >> ${D}${datadir}/doc/ttf-inconsolata/ >> + install -D -m 0644 ${WORKDIR}/OFL.txt >> ${D}${datadir}/doc/ttf-inconsolata/OFL.txt >> } >> >> SRC_URI[md5sum] = "0fbe014c1f0fb5e3c71140ff0dc63edf" >> -- >> 2.12.1 >> >> -- >> _______________________________________________ >> Openembedded-devel mailing list >> Openembedded-devel@lists.openembedded.org >> http://lists.openembedded.org/mailman/listinfo/openembedded-devel > > -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb index 20041bb7b..0d6df242a 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb @@ -13,13 +13,14 @@ S = "${WORKDIR}/ttf-inconsolata-${PV}" FILES_${PN} = "${datadir}/fonts/truetype/Inconsolata.ttf \ ${datadir}/doc/ttf-inconsolata/*" -do_configure() { +deltask do_configure + +do_compile_prepend() { mv ${WORKDIR}/Inconsolata.otf ${S}/Inconsolata.ttf } do_install_append() { - install -d ${D}${datadir}/doc/ttf-inconsolata/ - install -m 0644 ${WORKDIR}/OFL.txt ${D}${datadir}/doc/ttf-inconsolata/ + install -D -m 0644 ${WORKDIR}/OFL.txt ${D}${datadir}/doc/ttf-inconsolata/OFL.txt } SRC_URI[md5sum] = "0fbe014c1f0fb5e3c71140ff0dc63edf"
Fixes errors like | mv: cannot stat '/mnt/b/build/tmp-musl/work/all-oe-linux/ttf-inconsolata/20100526-r0/Inconsolata.otf': No such file or directory | WARNING: /mnt/b/build/tmp-musl/work/all-oe-linux/ttf-inconsolata/20100526-r0/temp/run.do_configure.2485:1 exit 1 from 'mv /mnt/b/build/tmp-musl/work/all-oe-linux/ttf-inconsolata/20100526-r0/Inconsolata.otf /mnt/b/build/tmp-musl/work/all-oe-linux/ttf-inconsolata/20100526-r0/ttf-inconsolata-20100526/Inconsolata.ttf' Signed-off-by: Khem Raj <raj.khem@gmail.com> --- meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) -- 2.12.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel