Patchwork ghostscript: add missing dependencies on libgcrypt and libgpg-error

login
register
mail settings
Submitter jackie huang
Date July 30, 2014, 7:54 a.m.
Message ID <1406706883-15375-1-git-send-email-jackie.huang@windriver.com>
Download mbox | patch
Permalink /patch/76911/
State New
Headers show

Comments

jackie huang - July 30, 2014, 7:54 a.m.
From: Jackie Huang <jackie.huang@windriver.com>

Fix error:
tmp/sysroots/x86_64-linux/usr/libexec/x86_64-wrs-linux/gcc/x86_64-wrs-linux/4.9.0/ld: cannot find -lgcrypt
tmp/sysroots/x86_64-linux/usr/libexec/x86_64-wrs-linux/gcc/x86_64-wrs-linux/4.9.0/ld: cannot find -lgpg-error

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
 .../ghostscript/ghostscript_9.14.bb                |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
jackie huang - Aug. 15, 2014, 9:52 a.m.
Ping, could someone help merge this? thanks!

Thanks,
Jackie

> -----Original Message-----
> From: openembedded-core-bounces@lists.openembedded.org [mailto:openembedded-core-
> bounces@lists.openembedded.org] On Behalf Of jackie.huang@windriver.com
> Sent: Wednesday, July 30, 2014 3:55 PM
> To: openembedded-core@lists.openembedded.org
> Subject: [OE-core] [PATCH] ghostscript: add missing dependencies on libgcrypt and libgpg-error
> 
> From: Jackie Huang <jackie.huang@windriver.com>
> 
> Fix error:
> tmp/sysroots/x86_64-linux/usr/libexec/x86_64-wrs-linux/gcc/x86_64-wrs-linux/4.9.0/ld: cannot find -
> lgcrypt
> tmp/sysroots/x86_64-linux/usr/libexec/x86_64-wrs-linux/gcc/x86_64-wrs-linux/4.9.0/ld: cannot find -
> lgpg-error
> 
> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
> ---
>  .../ghostscript/ghostscript_9.14.bb                |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.14.bb b/meta/recipes-
> extended/ghostscript/ghostscript_9.14.bb
> index e14e656..fbec6ce 100644
> --- a/meta/recipes-extended/ghostscript/ghostscript_9.14.bb
> +++ b/meta/recipes-extended/ghostscript/ghostscript_9.14.bb
> @@ -15,7 +15,7 @@ SECTION = "console/utils"
>  LICENSE = "GPLv3"
>  LIC_FILES_CHKSUM = "file://LICENSE;md5=aad21ea85123608e6a0a58d54ee23567"
> 
> -DEPENDS = "ghostscript-native tiff jpeg fontconfig cups"
> +DEPENDS = "ghostscript-native tiff jpeg fontconfig cups libgcrypt libgpg-error"
>  DEPENDS_class-native = ""
> 
>  SRC_URI_BASE = "http://downloads.ghostscript.com/public/ghostscript-${PV}.tar.gz"
> --
> 1.7.9.5
> 
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
Peter Bigot - Aug. 15, 2014, 10:54 a.m.
On 08/15/2014 04:52 AM, Huang, Jie (Jackie) wrote:
> Ping, could someone help merge this? thanks!

That should have been fixed when cups was updated to not introduce false 
dependencies on libgcrypt.  Have you tried with current master?

Peter

>
> Thanks,
> Jackie
>
>> -----Original Message-----
>> From: openembedded-core-bounces@lists.openembedded.org [mailto:openembedded-core-
>> bounces@lists.openembedded.org] On Behalf Of jackie.huang@windriver.com
>> Sent: Wednesday, July 30, 2014 3:55 PM
>> To: openembedded-core@lists.openembedded.org
>> Subject: [OE-core] [PATCH] ghostscript: add missing dependencies on libgcrypt and libgpg-error
>>
>> From: Jackie Huang <jackie.huang@windriver.com>
>>
>> Fix error:
>> tmp/sysroots/x86_64-linux/usr/libexec/x86_64-wrs-linux/gcc/x86_64-wrs-linux/4.9.0/ld: cannot find -
>> lgcrypt
>> tmp/sysroots/x86_64-linux/usr/libexec/x86_64-wrs-linux/gcc/x86_64-wrs-linux/4.9.0/ld: cannot find -
>> lgpg-error
>>
>> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
>> ---
>>   .../ghostscript/ghostscript_9.14.bb                |    2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.14.bb b/meta/recipes-
>> extended/ghostscript/ghostscript_9.14.bb
>> index e14e656..fbec6ce 100644
>> --- a/meta/recipes-extended/ghostscript/ghostscript_9.14.bb
>> +++ b/meta/recipes-extended/ghostscript/ghostscript_9.14.bb
>> @@ -15,7 +15,7 @@ SECTION = "console/utils"
>>   LICENSE = "GPLv3"
>>   LIC_FILES_CHKSUM = "file://LICENSE;md5=aad21ea85123608e6a0a58d54ee23567"
>>
>> -DEPENDS = "ghostscript-native tiff jpeg fontconfig cups"
>> +DEPENDS = "ghostscript-native tiff jpeg fontconfig cups libgcrypt libgpg-error"
>>   DEPENDS_class-native = ""
>>
>>   SRC_URI_BASE = "http://downloads.ghostscript.com/public/ghostscript-${PV}.tar.gz"
>> --
>> 1.7.9.5
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
Saul Wold - Aug. 15, 2014, 4:56 p.m.
On 07/30/2014 12:54 AM, jackie.huang@windriver.com wrote:
> From: Jackie Huang <jackie.huang@windriver.com>
>
> Fix error:
> tmp/sysroots/x86_64-linux/usr/libexec/x86_64-wrs-linux/gcc/x86_64-wrs-linux/4.9.0/ld: cannot find -lgcrypt
> tmp/sysroots/x86_64-linux/usr/libexec/x86_64-wrs-linux/gcc/x86_64-wrs-linux/4.9.0/ld: cannot find -lgpg-error
>
Are these true dependencies or are there optional configurations that 
should be covered with PACKAGECONFIG?  There is a patch to disable gcrypt.

Is this meant to be a daisy patch?

Sau!



> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
> ---
>   .../ghostscript/ghostscript_9.14.bb                |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.14.bb b/meta/recipes-extended/ghostscript/ghostscript_9.14.bb
> index e14e656..fbec6ce 100644
> --- a/meta/recipes-extended/ghostscript/ghostscript_9.14.bb
> +++ b/meta/recipes-extended/ghostscript/ghostscript_9.14.bb
> @@ -15,7 +15,7 @@ SECTION = "console/utils"
>   LICENSE = "GPLv3"
>   LIC_FILES_CHKSUM = "file://LICENSE;md5=aad21ea85123608e6a0a58d54ee23567"
>
> -DEPENDS = "ghostscript-native tiff jpeg fontconfig cups"
> +DEPENDS = "ghostscript-native tiff jpeg fontconfig cups libgcrypt libgpg-error"
>   DEPENDS_class-native = ""
>
>   SRC_URI_BASE = "http://downloads.ghostscript.com/public/ghostscript-${PV}.tar.gz"
>
jackie huang - Aug. 18, 2014, 2:30 a.m.
> -----Original Message-----
> From: Saul Wold [mailto:sgw@linux.intel.com]
> Sent: Saturday, August 16, 2014 12:56 AM
> To: Huang, Jie (Jackie); openembedded-core@lists.openembedded.org
> Subject: Re: [OE-core] [PATCH] ghostscript: add missing dependencies on libgcrypt and libgpg-error
> 
> On 07/30/2014 12:54 AM, jackie.huang@windriver.com wrote:
> > From: Jackie Huang <jackie.huang@windriver.com>
> >
> > Fix error:
> > tmp/sysroots/x86_64-linux/usr/libexec/x86_64-wrs-linux/gcc/x86_64-wrs-linux/4.9.0/ld: cannot find
> -lgcrypt
> > tmp/sysroots/x86_64-linux/usr/libexec/x86_64-wrs-linux/gcc/x86_64-wrs-linux/4.9.0/ld: cannot find
> -lgpg-error
> >
> Are these true dependencies or are there optional configurations that
> should be covered with PACKAGECONFIG?

I didn't find optional configurations for them.

>  There is a patch to disable gcrypt.

You mean cups-no-gcrypt.patch, right? It looks reasonable, I will port it for ghostscript. Thanks!

Thanks,
Jackie

> 
> Is this meant to be a daisy patch?
> 
> Sau!
> 
> 
> 
> > Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
> > ---
> >   .../ghostscript/ghostscript_9.14.bb                |    2 +-
> >   1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.14.bb b/meta/recipes-
> extended/ghostscript/ghostscript_9.14.bb
> > index e14e656..fbec6ce 100644
> > --- a/meta/recipes-extended/ghostscript/ghostscript_9.14.bb
> > +++ b/meta/recipes-extended/ghostscript/ghostscript_9.14.bb
> > @@ -15,7 +15,7 @@ SECTION = "console/utils"
> >   LICENSE = "GPLv3"
> >   LIC_FILES_CHKSUM = "file://LICENSE;md5=aad21ea85123608e6a0a58d54ee23567"
> >
> > -DEPENDS = "ghostscript-native tiff jpeg fontconfig cups"
> > +DEPENDS = "ghostscript-native tiff jpeg fontconfig cups libgcrypt libgpg-error"
> >   DEPENDS_class-native = ""
> >
> >   SRC_URI_BASE = "http://downloads.ghostscript.com/public/ghostscript-${PV}.tar.gz"
> >
jackie huang - Sept. 1, 2014, 8:15 a.m.
> -----Original Message-----
> From: openembedded-core-bounces@lists.openembedded.org [mailto:openembedded-core-
> bounces@lists.openembedded.org] On Behalf Of Peter A. Bigot
> Sent: Friday, August 15, 2014 6:54 PM
> To: openembedded-core@lists.openembedded.org
> Subject: Re: [OE-core] [PATCH] ghostscript: add missing dependencies on libgcrypt and libgpg-error
> 
> On 08/15/2014 04:52 AM, Huang, Jie (Jackie) wrote:
> > Ping, could someone help merge this? thanks!
> 
> That should have been fixed when cups was updated to not introduce false dependencies on libgcrypt.
> Have you tried with current master?

Yes, but ghostscript use the cups inside its source code, so the issue is still there, I will port the fix from
Cups for ghostscript, thanks!

Thanks,
Jackie

> 
> Peter
> 
> >
> > Thanks,
> > Jackie
> >
> >> -----Original Message-----
> >> From: openembedded-core-bounces@lists.openembedded.org
> >> [mailto:openembedded-core- bounces@lists.openembedded.org] On Behalf
> >> Of jackie.huang@windriver.com
> >> Sent: Wednesday, July 30, 2014 3:55 PM
> >> To: openembedded-core@lists.openembedded.org
> >> Subject: [OE-core] [PATCH] ghostscript: add missing dependencies on
> >> libgcrypt and libgpg-error
> >>
> >> From: Jackie Huang <jackie.huang@windriver.com>
> >>
> >> Fix error:
> >> tmp/sysroots/x86_64-linux/usr/libexec/x86_64-wrs-linux/gcc/x86_64-wrs
> >> -linux/4.9.0/ld: cannot find - lgcrypt
> >> tmp/sysroots/x86_64-linux/usr/libexec/x86_64-wrs-linux/gcc/x86_64-wrs
> >> -linux/4.9.0/ld: cannot find - lgpg-error
> >>
> >> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
> >> ---
> >>   .../ghostscript/ghostscript_9.14.bb                |    2 +-
> >>   1 file changed, 1 insertion(+), 1 deletion(-)
> >>
> >> diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.14.bb
> >> b/meta/recipes- extended/ghostscript/ghostscript_9.14.bb
> >> index e14e656..fbec6ce 100644
> >> --- a/meta/recipes-extended/ghostscript/ghostscript_9.14.bb
> >> +++ b/meta/recipes-extended/ghostscript/ghostscript_9.14.bb
> >> @@ -15,7 +15,7 @@ SECTION = "console/utils"
> >>   LICENSE = "GPLv3"
> >>   LIC_FILES_CHKSUM = "file://LICENSE;md5=aad21ea85123608e6a0a58d54ee23567"
> >>
> >> -DEPENDS = "ghostscript-native tiff jpeg fontconfig cups"
> >> +DEPENDS = "ghostscript-native tiff jpeg fontconfig cups libgcrypt libgpg-error"
> >>   DEPENDS_class-native = ""
> >>
> >>   SRC_URI_BASE = "http://downloads.ghostscript.com/public/ghostscript-${PV}.tar.gz"
> >> --
> >> 1.7.9.5
> >>
> >> --
> >> _______________________________________________
> >> Openembedded-core mailing list
> >> Openembedded-core@lists.openembedded.org
> >> http://lists.openembedded.org/mailman/listinfo/openembedded-core
> 
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

Patch

diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.14.bb b/meta/recipes-extended/ghostscript/ghostscript_9.14.bb
index e14e656..fbec6ce 100644
--- a/meta/recipes-extended/ghostscript/ghostscript_9.14.bb
+++ b/meta/recipes-extended/ghostscript/ghostscript_9.14.bb
@@ -15,7 +15,7 @@  SECTION = "console/utils"
 LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=aad21ea85123608e6a0a58d54ee23567"
 
-DEPENDS = "ghostscript-native tiff jpeg fontconfig cups"
+DEPENDS = "ghostscript-native tiff jpeg fontconfig cups libgcrypt libgpg-error"
 DEPENDS_class-native = ""
 
 SRC_URI_BASE = "http://downloads.ghostscript.com/public/ghostscript-${PV}.tar.gz"