Skip to contentSkip to conversation

ghostscript: add missing dependencies on libgcrypt and libgpg-error

PATCH In review [email protected] 3 participants 6 messages Jul 30, 2014 – Sep 1, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ghostscript: add missing dependencies on libgcrypt and libgpg-error

From: Jackie Huang <[email protected]>

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

---
 .../ghostscript/ghostscript_9.14.bb                |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-extended/ghostscript/ghostscript_9.14.bb +1 -1
index e14e656..fbec6ce 100644
@@ -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"
Signature · 1 line
1.7.9.5
#1 lore raw

Ping, could someone help merge this? thanks!

Thanks,
Jackie

Quoted 42 lines

-----Original Message-----
From: [email protected] [mailto:openembedded-core- [email protected]] On Behalf Of [email protected]
Sent: Wednesday, July 30, 2014 3:55 PM
To: [email protected]
Subject: [OE-core] [PATCH] ghostscript: add missing dependencies on libgcrypt and libgpg-error

From: Jackie Huang <[email protected]>

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

---
 .../ghostscript/ghostscript_9.14.bb                |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes- renamed from meta/recipes-extended/ghostscript/ghostscript_9.14.bb +0 -0

extended/ghostscript/ghostscript_9.14.bb
index e14e656..fbec6ce 100644

meta/recipes-extended/ghostscript/ghostscript_9.14.bb +1 -2
@@ -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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#2 lore raw
Quoted 1 line · Jie (Jackie)

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

Quoted 46 lines

Thanks,
Jackie

Quoted 42 lines

-----Original Message-----
From: [email protected] [mailto:openembedded-core- [email protected]] On Behalf Of [email protected]
Sent: Wednesday, July 30, 2014 3:55 PM
To: [email protected]
Subject: [OE-core] [PATCH] ghostscript: add missing dependencies on libgcrypt and libgpg-error

From: Jackie Huang <[email protected]>

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

---
  .../ghostscript/ghostscript_9.14.bb                |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes- renamed from meta/recipes-extended/ghostscript/ghostscript_9.14.bb +0 -0

extended/ghostscript/ghostscript_9.14.bb
index e14e656..fbec6ce 100644

meta/recipes-extended/ghostscript/ghostscript_9.14.bb +1 -2
@@ -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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#4 lore raw
In reply to [email protected]
Quoted 6 lines · On 07/30/2014 12:54 AM, [email protected] wrote:

From: Jackie Huang <[email protected]>

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!

Quoted 19 lines
---
  .../ghostscript/ghostscript_9.14.bb                |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-extended/ghostscript/ghostscript_9.14.bb +1 -1
index e14e656..fbec6ce 100644
@@ -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"
#5 lore raw
Quoted 11 lines

-----Original Message-----
From: Saul Wold [mailto:[email protected]]
Sent: Saturday, August 16, 2014 12:56 AM
To: Huang, Jie (Jackie); [email protected]
Subject: Re: [OE-core] [PATCH] ghostscript: add missing dependencies on libgcrypt and libgpg-error

Quoted 2 lines · On 07/30/2014 12:54 AM, [email protected] wrote:

From: Jackie Huang <[email protected]>

Quoted 8 lines
Quoted 2 lines

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

Quoted 1 line

tmp/sysroots/x86_64-linux/usr/libexec/x86_64-wrs-linux/gcc/x86_64-wrs-linux/4.9.0/ld: cannot find

-lgpg-error

Quoted 1 line

Are these true dependencies or are there optional configurations that should be covered with PACKAGECONFIG?

I didn't find optional configurations for them.

Quoted 1 line

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

Quoted 27 lines

Is this meant to be a daisy patch?

Sau!

meta/recipes-

Quoted 6 lines
---
  .../ghostscript/ghostscript_9.14.bb                |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes- renamed from meta/recipes-extended/ghostscript/ghostscript_9.14.bb +0 -0

extended/ghostscript/ghostscript_9.14.bb

Quoted 13 lines

index e14e656..fbec6ce 100644

meta/recipes-extended/ghostscript/ghostscript_9.14.bb +1 -1
@@ -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"
#3 lore raw
In reply to Peter A. Bigot
Quoted 9 lines

-----Original Message-----
From: [email protected] [mailto:openembedded-core- [email protected]] On Behalf Of Peter A. Bigot
Sent: Friday, August 15, 2014 6:54 PM
To: [email protected]
Subject: Re: [OE-core] [PATCH] ghostscript: add missing dependencies on libgcrypt and libgpg-error

Quoted 5 lines
Quoted 1 line · Jie (Jackie)

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

Quoted 57 lines

Peter

Quoted 43 lines

Thanks,
Jackie

Quoted 39 lines

-----Original Message-----
From: [email protected] [mailto:openembedded-core- [email protected]] On Behalf Of [email protected]
Sent: Wednesday, July 30, 2014 3:55 PM
To: [email protected]
Subject: [OE-core] [PATCH] ghostscript: add missing dependencies on libgcrypt and libgpg-error

From: Jackie Huang <[email protected]>

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

---
  .../ghostscript/ghostscript_9.14.bb                |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
(quoted diff) +0 -0

b/meta/recipes- extended/ghostscript/ghostscript_9.14.bb index e14e656..fbec6ce 100644

meta/recipes-extended/ghostscript/ghostscript_9.14.bb +1 -2
@@ -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

Quoted 5 lines
Quoted 5 lines

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core