>>>>> 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/

Reply via email to