| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-Spam-Check-By: | sourceware.org |
| X-Mailer: | 21.4 (patch 21) "Educational Television" XEmacs Lucid (via feedmail 10 I) |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: [Packaging bug] Re: [ANNOUNCEMENT] Updated: libgcrypt-1.4.1-1 |
| References: | <announce.000001c8ab13$4f1ba800$28bfae05 AT cyberdyne> <7z4p95yvb3 DOT fsf AT vzell-de DOT de DOT oracle DOT com> |
| From: | "Dr. Volker Zell" <dr DOT volker DOT zell AT oracle DOT com> |
| Date: | Mon, 12 May 2008 11:45:17 +0200 |
| In-Reply-To: | <7z4p95yvb3.fsf@vzell-de.de.oracle.com> (Volker Zell's message of "Sun, 11 May 2008 12:44:16 +0200") |
| Message-ID: | <7zlk2fyhxu.fsf@vzell-de.de.oracle.com> |
| User-Agent: | Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.21 (cygwin32) |
| MIME-Version: | 1.0 |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
>>>>> Volker Zell writes:
>>>>> Gergely Budai writes:
>> Version 1.4.1-1 of "libgcrypt" has been uploaded.
> The latest version is somehow broken
> nm --demangle --defined-only libgcrypt.dll.a | grep 'gcry_control'
> nm: d000187.o: no symbols
> nm: d000000.o: no symbols
> nm: d000186.o: no symbols
> nm: d000185.o: no symbols
> nm: d000184.o: no symbols
> nm: d000183.o: no symbols
> nm: d000182.o: no symbols
> nm: d000181.o: no symbols
> nm: d000180.o: no symbols
> nm: d000179.o: no symbols
> nm: d000178.o: no symbols
> nm: d000177.o: no symbols
> nm: d000176.o: no symbols
> nm: d000175.o: no symbols
> nm: d000174.o: no symbols
> nm: d000173.o: no symbols
> nm: d000172.o: no symbols
> nm: d000171.o: no symbols
> nm: d000170.o: no symbols
> nm: d000169.o: no symbols
> nm: d000168.o: no symbols
> nm: d000167.o: no symbols
> nm: d000166.o: no symbols
> :
> :
It seems stripping the libraries is the culprit.
Try the attached .cygport file which also splits the package in main,
devel and runtime packages:
----------------------- cut here -------------------------
# Cygport script for libgcrypt
DESCRIPTION="A general purpose crypto library based on the code from GnuPG."
HOMEPAGE="http://www.gnupg.org/"
SRC_URI="ftp://ftp.gnupg.org/gcrypt/libgcrypt/${P}.tar.bz2 ftp://ftp.gnupg.org/gcrypt/libgcrypt/${P}.tar.bz2.sig"
abi=11
PKG_NAMES="${PN} ${PN}${abi} ${PN}-devel"
PKG_HINTS="setup lib devel"
PKG_CONTENTS[0]="
etc/
usr/bin/*.exe
usr/share/doc/
usr/share/info/
"
PKG_CONTENTS[1]="
usr/bin/*-${abi}.dll
"
PKG_CONTENTS[2]="
usr/bin/${PN}-config
usr/include/
usr/lib/
usr/share/aclocal/
"
# We also include the self-tests after compilation
src_compile() {
cd ${S}
cygautoreconf
cd ${B}
cygconf
cygmake
src_test
}
----------------------- cut here -------------------------
----------------------- cut here -------------------------
diff -urN origsrc/libgcrypt-1.4.1/CYGWIN-PATCHES/devel.hint src/libgcrypt-1.4.1/CYGWIN-PATCHES/devel.hint
--- origsrc/libgcrypt-1.4.1/CYGWIN-PATCHES/devel.hint 1970-01-01 01:00:00.000000000 +0100
+++ src/libgcrypt-1.4.1/CYGWIN-PATCHES/devel.hint 2008-05-12 11:28:40.703125000 +0200
@@ -0,0 +1,6 @@
+sdesc: "A general purpose crypto library based on the code from GnuPG - (development)"
+ldesc: "Libgcrypt is a general purpose crypto library based on the code
+used in GnuPG."
+category: Devel Libs
+requires: cygwin libgcrypt11 bash coreutils grep sed
+external-source: libgcrypt
diff -urN origsrc/libgcrypt-1.4.1/CYGWIN-PATCHES/lib.hint src/libgcrypt-1.4.1/CYGWIN-PATCHES/lib.hint
--- origsrc/libgcrypt-1.4.1/CYGWIN-PATCHES/lib.hint 1970-01-01 01:00:00.000000000 +0100
+++ src/libgcrypt-1.4.1/CYGWIN-PATCHES/lib.hint 2008-05-12 11:27:04.328125000 +0200
@@ -0,0 +1,6 @@
+sdesc: "A general purpose crypto library based on the code from GnuPG - (runtime)"
+ldesc: "Libgcrypt is a general purpose crypto library based on the code
+used in GnuPG."
+category: Libs
+requires: cygwin libgpg-error
+external-source: libgcrypt
diff -urN origsrc/libgcrypt-1.4.1/CYGWIN-PATCHES/setup.hint src/libgcrypt-1.4.1/CYGWIN-PATCHES/setup.hint
--- origsrc/libgcrypt-1.4.1/CYGWIN-PATCHES/setup.hint 1970-01-01 01:00:00.000000000 +0100
+++ src/libgcrypt-1.4.1/CYGWIN-PATCHES/setup.hint 2008-05-12 11:27:37.250000000 +0200
@@ -0,0 +1,5 @@
+sdesc: "A general purpose crypto library based on the code from GnuPG."
+ldesc: "Libgcrypt is a general purpose crypto library based on the code
+used in GnuPG."
+category: Libs
+requires: cygwin
----------------------- cut here -------------------------
Ciao
Volker
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |