Patchwork [3/7] freetype: upgrade to 2.5.3

login
register
mail settings
Submitter Ross Burton
Date May 12, 2014, 12:14 p.m.
Message ID <1399896893-486-3-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/71951/
State New
Headers show

Comments

Ross Burton - May 12, 2014, 12:14 p.m.
Also drop the redundant definition of S.

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 .../freetype/{freetype_2.5.2.bb => freetype_2.5.3.bb}        |   10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)
 rename meta/recipes-graphics/freetype/{freetype_2.5.2.bb => freetype_2.5.3.bb} (89%)
Saul Wold - May 14, 2014, 4:28 a.m.
On 05/12/2014 05:14 AM, Ross Burton wrote:
> Also drop the redundant definition of S.
>

There seems to be a problem with this update, both native and target 
fail as follows:

> | /bin/grep: /srv/ssd/builds/world/tmp/sysroots/qemux86-64/usr/lib64/libfreetype.la: No such file or directory
> | sed: can't read /srv/ssd/builds/world/tmp/sysroots/qemux86-64/usr/lib64/libfreetype.la: No such file or directory
> | x86_64-poky-linux-libtool: link: `/srv/ssd/builds/world/tmp/sysroots/qemux86-64/usr/lib64/libfreetype.la' is not a valid libtool archive
> | make: *** [/srv/ssd/builds/world/tmp/work/core2-64-poky-linux/freetype/2.5.3-r0/freetype-2.5.3/objs/libfreetype.la] Error 1
> | ERROR: oe_runmake failed
> | WARNING: /srv/ssd/builds/world/tmp/work/core2-64-poky-linux/freetype/2.5.3-r0/temp/run.do_compile.17097:1 exit 1 from
> |   exit 1
> | ERROR: Function failed: do_compile (log file is located at /srv/ssd/builds/world/tmp/work/core2-64-poky-linux/freetype/2.5.3-r0/temp/log.do_compile.17097)


Sau!


> Signed-off-by: Ross Burton <ross.burton@intel.com>
> ---
>   .../freetype/{freetype_2.5.2.bb => freetype_2.5.3.bb}        |   10 +++-------
>   1 file changed, 3 insertions(+), 7 deletions(-)
>   rename meta/recipes-graphics/freetype/{freetype_2.5.2.bb => freetype_2.5.3.bb} (89%)
>
> diff --git a/meta/recipes-graphics/freetype/freetype_2.5.2.bb b/meta/recipes-graphics/freetype/freetype_2.5.3.bb
> similarity index 89%
> rename from meta/recipes-graphics/freetype/freetype_2.5.2.bb
> rename to meta/recipes-graphics/freetype/freetype_2.5.3.bb
> index 0c62a67..7182c21 100644
> --- a/meta/recipes-graphics/freetype/freetype_2.5.2.bb
> +++ b/meta/recipes-graphics/freetype/freetype_2.5.3.bb
> @@ -13,13 +13,9 @@ LIC_FILES_CHKSUM = "file://docs/LICENSE.TXT;md5=c017ff17fc6f0794adf93db5559ccd56
>
>   SECTION = "libs"
>
> -SRC_URI = "${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2 \
> -"
> -
> -SRC_URI[md5sum] = "10e8f4d6a019b124088d18bc26123a25"
> -SRC_URI[sha256sum] = "4ff4bd393aa01071ec7b849d035508a505a78f88b2bcf25ff11e58e43c0b9def"
> -
> -S = "${WORKDIR}/freetype-${PV}"
> +SRC_URI = "${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2"
> +SRC_URI[md5sum] = "d6b60f06bfc046e43ab2a6cbfd171d65"
> +SRC_URI[sha256sum] = "c0848b29d52ef3ca27ad92e08351f023c5e24ce8cea7d8fe69fc96358e65f75e"
>
>   inherit autotools-brokensep pkgconfig binconfig multilib_header
>
>
Saul Wold - May 14, 2014, 4:30 a.m.
On 05/13/2014 09:28 PM, Saul Wold wrote:
> On 05/12/2014 05:14 AM, Ross Burton wrote:
>> Also drop the redundant definition of S.
>>
>
> There seems to be a problem with this update, both native and target
> fail as follows:
>

Forgot to mention, I am using MUT with GCC 4.9 Compiler, not sure if 
that's part of the issue.

Sau!


>> | /bin/grep:
>> /srv/ssd/builds/world/tmp/sysroots/qemux86-64/usr/lib64/libfreetype.la: No
>> such file or directory
>> | sed: can't read
>> /srv/ssd/builds/world/tmp/sysroots/qemux86-64/usr/lib64/libfreetype.la: No
>> such file or directory
>> | x86_64-poky-linux-libtool: link:
>> `/srv/ssd/builds/world/tmp/sysroots/qemux86-64/usr/lib64/libfreetype.la'
>> is not a valid libtool archive
>> | make: ***
>> [/srv/ssd/builds/world/tmp/work/core2-64-poky-linux/freetype/2.5.3-r0/freetype-2.5.3/objs/libfreetype.la]
>> Error 1
>> | ERROR: oe_runmake failed
>> | WARNING:
>> /srv/ssd/builds/world/tmp/work/core2-64-poky-linux/freetype/2.5.3-r0/temp/run.do_compile.17097:1
>> exit 1 from
>> |   exit 1
>> | ERROR: Function failed: do_compile (log file is located at
>> /srv/ssd/builds/world/tmp/work/core2-64-poky-linux/freetype/2.5.3-r0/temp/log.do_compile.17097)
>>
>
>
> Sau!
>
>
>> Signed-off-by: Ross Burton <ross.burton@intel.com>
>> ---
>>   .../freetype/{freetype_2.5.2.bb => freetype_2.5.3.bb}        |   10
>> +++-------
>>   1 file changed, 3 insertions(+), 7 deletions(-)
>>   rename meta/recipes-graphics/freetype/{freetype_2.5.2.bb =>
>> freetype_2.5.3.bb} (89%)
>>
>> diff --git a/meta/recipes-graphics/freetype/freetype_2.5.2.bb
>> b/meta/recipes-graphics/freetype/freetype_2.5.3.bb
>> similarity index 89%
>> rename from meta/recipes-graphics/freetype/freetype_2.5.2.bb
>> rename to meta/recipes-graphics/freetype/freetype_2.5.3.bb
>> index 0c62a67..7182c21 100644
>> --- a/meta/recipes-graphics/freetype/freetype_2.5.2.bb
>> +++ b/meta/recipes-graphics/freetype/freetype_2.5.3.bb
>> @@ -13,13 +13,9 @@ LIC_FILES_CHKSUM =
>> "file://docs/LICENSE.TXT;md5=c017ff17fc6f0794adf93db5559ccd56
>>
>>   SECTION = "libs"
>>
>> -SRC_URI = "${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2 \
>> -"
>> -
>> -SRC_URI[md5sum] = "10e8f4d6a019b124088d18bc26123a25"
>> -SRC_URI[sha256sum] =
>> "4ff4bd393aa01071ec7b849d035508a505a78f88b2bcf25ff11e58e43c0b9def"
>> -
>> -S = "${WORKDIR}/freetype-${PV}"
>> +SRC_URI = "${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2"
>> +SRC_URI[md5sum] = "d6b60f06bfc046e43ab2a6cbfd171d65"
>> +SRC_URI[sha256sum] =
>> "c0848b29d52ef3ca27ad92e08351f023c5e24ce8cea7d8fe69fc96358e65f75e"
>>
>>   inherit autotools-brokensep pkgconfig binconfig multilib_header
>>
>>
Koen Kooi - May 14, 2014, 7:27 a.m.
Op 14 mei 2014, om 06:28 heeft Saul Wold <sgw@linux.intel.com> het volgende geschreven:

> On 05/12/2014 05:14 AM, Ross Burton wrote:
>> Also drop the redundant definition of S.
>> 
> 
> There seems to be a problem with this update, both native and target fail as follows:
> 
>> | /bin/grep: /srv/ssd/builds/world/tmp/sysroots/qemux86-64/usr/lib64/libfreetype.la: No such file or directory
>> | sed: can't read /srv/ssd/builds/world/tmp/sysroots/qemux86-64/usr/lib64/libfreetype.la: No such file or directory
>> | x86_64-poky-linux-libtool: link: `/srv/ssd/builds/world/tmp/sysroots/qemux86-64/usr/lib64/libfreetype.la' is not a valid libtool archive
>> | make: *** [/srv/ssd/builds/world/tmp/work/core2-64-poky-linux/freetype/2.5.3-r0/freetype-2.5.3/objs/libfreetype.la] Error 1
>> | ERROR: oe_runmake failed
>> | WARNING: /srv/ssd/builds/world/tmp/work/core2-64-poky-linux/freetype/2.5.3-r0/temp/run.do_compile.17097:1 exit 1 from
>> |   exit 1
>> | ERROR: Function failed: do_compile (log file is located at /srv/ssd/builds/world/tmp/work/core2-64-poky-linux/freetype/2.5.3-r0/temp/log.do_compile.17097)

I noticed the same this morning, but a build from scratch (no sstate or sysroots) seems to get past this. It's still running, but do_package_write_ipk has succeed for freetype.

regards,

Koen

> 
> 
> Sau!
> 
> 
>> Signed-off-by: Ross Burton <ross.burton@intel.com>
>> ---
>>  .../freetype/{freetype_2.5.2.bb => freetype_2.5.3.bb}        |   10 +++-------
>>  1 file changed, 3 insertions(+), 7 deletions(-)
>>  rename meta/recipes-graphics/freetype/{freetype_2.5.2.bb => freetype_2.5.3.bb} (89%)
>> 
>> diff --git a/meta/recipes-graphics/freetype/freetype_2.5.2.bb b/meta/recipes-graphics/freetype/freetype_2.5.3.bb
>> similarity index 89%
>> rename from meta/recipes-graphics/freetype/freetype_2.5.2.bb
>> rename to meta/recipes-graphics/freetype/freetype_2.5.3.bb
>> index 0c62a67..7182c21 100644
>> --- a/meta/recipes-graphics/freetype/freetype_2.5.2.bb
>> +++ b/meta/recipes-graphics/freetype/freetype_2.5.3.bb
>> @@ -13,13 +13,9 @@ LIC_FILES_CHKSUM = "file://docs/LICENSE.TXT;md5=c017ff17fc6f0794adf93db5559ccd56
>> 
>>  SECTION = "libs"
>> 
>> -SRC_URI = "${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2 \
>> -"
>> -
>> -SRC_URI[md5sum] = "10e8f4d6a019b124088d18bc26123a25"
>> -SRC_URI[sha256sum] = "4ff4bd393aa01071ec7b849d035508a505a78f88b2bcf25ff11e58e43c0b9def"
>> -
>> -S = "${WORKDIR}/freetype-${PV}"
>> +SRC_URI = "${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2"
>> +SRC_URI[md5sum] = "d6b60f06bfc046e43ab2a6cbfd171d65"
>> +SRC_URI[sha256sum] = "c0848b29d52ef3ca27ad92e08351f023c5e24ce8cea7d8fe69fc96358e65f75e"
>> 
>>  inherit autotools-brokensep pkgconfig binconfig multilib_header
>> 
>> 
> -- 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
Richard Purdie - May 14, 2014, 7:53 a.m.
On Wed, 2014-05-14 at 09:27 +0200, Koen Kooi wrote:
> Op 14 mei 2014, om 06:28 heeft Saul Wold <sgw@linux.intel.com> het volgende geschreven:
> 
> > On 05/12/2014 05:14 AM, Ross Burton wrote:
> >> Also drop the redundant definition of S.
> >> 
> > 
> > There seems to be a problem with this update, both native and target fail as follows:
> > 
> >> | /bin/grep: /srv/ssd/builds/world/tmp/sysroots/qemux86-64/usr/lib64/libfreetype.la: No such file or directory
> >> | sed: can't read /srv/ssd/builds/world/tmp/sysroots/qemux86-64/usr/lib64/libfreetype.la: No such file or directory
> >> | x86_64-poky-linux-libtool: link: `/srv/ssd/builds/world/tmp/sysroots/qemux86-64/usr/lib64/libfreetype.la' is not a valid libtool archive
> >> | make: *** [/srv/ssd/builds/world/tmp/work/core2-64-poky-linux/freetype/2.5.3-r0/freetype-2.5.3/objs/libfreetype.la] Error 1
> >> | ERROR: oe_runmake failed
> >> | WARNING: /srv/ssd/builds/world/tmp/work/core2-64-poky-linux/freetype/2.5.3-r0/temp/run.do_compile.17097:1 exit 1 from
> >> |   exit 1
> >> | ERROR: Function failed: do_compile (log file is located at /srv/ssd/builds/world/tmp/work/core2-64-poky-linux/freetype/2.5.3-r0/temp/log.do_compile.17097)
> 
> I noticed the same this morning, but a build from scratch (no sstate
> or sysroots) seems to get past this. It's still running, but
> do_package_write_ipk has succeed for freetype.

Its an odd error, why would a build of freetype be looking into the
sysroot for a freetype.la file?

Its as if there is some kind of bad state in the sysroot referring to
the freetype.la file, I'm not sure what would do that though and why
freetype would pull it in...

Cheers,

Richard
Ross Burton - May 14, 2014, 9:32 a.m.
On 14 May 2014 08:53, Richard Purdie <richard.purdie@linuxfoundation.org> wrote:
> Its an odd error, why would a build of freetype be looking into the
> sysroot for a freetype.la file?

Someone on oe-devel hit this too and I noticed it was looking in the
sysroot, which I didn't spot when Saul first encounted this error.

Freetype now has an optional dependency on harfbuzz, but harfbuzz
depends on freetype.  The changelog implies this is opt-in but I
suspect it's automatically detected, which is why we're hitting this
breakage.  I'll replicate and force-disable the harfbuzz linking in
freetype if that's the problem.

Ross

Patch

diff --git a/meta/recipes-graphics/freetype/freetype_2.5.2.bb b/meta/recipes-graphics/freetype/freetype_2.5.3.bb
similarity index 89%
rename from meta/recipes-graphics/freetype/freetype_2.5.2.bb
rename to meta/recipes-graphics/freetype/freetype_2.5.3.bb
index 0c62a67..7182c21 100644
--- a/meta/recipes-graphics/freetype/freetype_2.5.2.bb
+++ b/meta/recipes-graphics/freetype/freetype_2.5.3.bb
@@ -13,13 +13,9 @@  LIC_FILES_CHKSUM = "file://docs/LICENSE.TXT;md5=c017ff17fc6f0794adf93db5559ccd56
 
 SECTION = "libs"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2 \
-"
-
-SRC_URI[md5sum] = "10e8f4d6a019b124088d18bc26123a25"
-SRC_URI[sha256sum] = "4ff4bd393aa01071ec7b849d035508a505a78f88b2bcf25ff11e58e43c0b9def"
-
-S = "${WORKDIR}/freetype-${PV}"
+SRC_URI = "${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2"
+SRC_URI[md5sum] = "d6b60f06bfc046e43ab2a6cbfd171d65"
+SRC_URI[sha256sum] = "c0848b29d52ef3ca27ad92e08351f023c5e24ce8cea7d8fe69fc96358e65f75e"
 
 inherit autotools-brokensep pkgconfig binconfig multilib_header