[gnutls-dev] OpenCDK 0.6.0 problems

Simon Josefsson simon at josefsson.org
Thu May 3 19:52:05 CEST 2007


I installed a tiny patch to fix some build problems of 0.6.0 under
mingw32:

/bin/sh ../libtool --tag=CC   --mode=link i586-mingw32msvc-gcc  -g -O2 -Wall -Wcast-align -Wshadow -Wstrict-prototypes -no-undefined -export-symbols ../../../src/opencdk-0.6.0/src/opencdk.def -version-info 10:0:0   -o libopencdk.la -rpath /home/jas/gnutls4win/inst/lib new-packet.lo read-packet.lo proc-packet.lo write-packet.lo main.lo verify.lo armor.lo sig-check.lo sign.lo keydb.lo keylist.lo seskey.lo pubkey.lo misc.lo encrypt.lo trustdb.lo kbnode.lo compress.lo literal.lo cipher.lo stream.lo stream-socket.lo keyserver.lo keygen.lo -L/home/jas/gnutls4win/inst/lib -lgcrypt -L/home/jas/gnutls4win/inst/lib -lgpg-error -lws2_32
libtool: link: symbol file `../../../src/opencdk-0.6.0/src/opencdk.def' does not exist
make[2]: *** [libopencdk.la] Error 1
make[2]: Leaving directory `/home/jas/gnutls4win/build/opencdk-0.6.0/src'

However, 'make check' doesn't work under mingw32 any more:

make[2]: Entering directory `/home/jas/gnutls4win/build/opencdk-0.6.0/tests'
fixme:msvcrt:MSVCRT__sopen : pmode 0x615196d8 ignored
../../../src/opencdk-0.6.0/tests/t-stream.c:114 temp FAILED
Wine failed with return code 1
FAIL: t-stream.exe
fixme:msvcrt:MSVCRT__sopen : pmode 0x0001 ignored
../../../src/opencdk-0.6.0/tests/t-sign.c:131 plain-test.gpg: FAILED
fixme:msvcrt:MSVCRT__sopen : pmode 0x615196d8 ignored
../../../src/opencdk-0.6.0/tests/t-sign.c:131 plain-test-cs.asc: FAILED
../../../src/opencdk-0.6.0/tests/t-sign.c:131 plain-test.sig: FAILED
fixme:msvcrt:MSVCRT__sopen : pmode 0x40343de8 ignored
../../../src/opencdk-0.6.0/tests/t-sign.c: 209 sign enc FAILED
Wine failed with return code 4
FAIL: t-sign.exe
fixme:msvcrt:MSVCRT__sopen : pmode 0x4075dcb8 ignored
../../../src/opencdk-0.6.0/tests/t-key.c:248 pub-asc.gpg:CCC07C35: FAILED
fixme:msvcrt:MSVCRT__sopen : pmode 0x615196d8 ignored
fixme:msvcrt:MSVCRT__sopen : pmode 0x615196d8 ignored
../../../src/opencdk-0.6.0/tests/t-key.c:407 photo-id key FAILED
Wine failed with return code 2
FAIL: t-key.exe
fixme:msvcrt:MSVCRT__sopen : pmode 0x4075f598 ignored
../../../src/opencdk-0.6.0/tests/t-encr.c:205 plain-test-sym.gpg: Permission denied FAILED
fixme:msvcrt:MSVCRT__sopen : pmode 0x6e0072 ignored
fixme:msvcrt:MSVCRT__sopen : pmode 0x4075d4a4 ignored
fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot
fixme:toolhelp:Heap32ListFirst : stub
DBG: rndw32: get performance data problem
fixme:process:GetProcessWorkingSetSize (0xffffffff,0x4075eff0,0x4075eff4): stub
fixme:msvcrt:MSVCRT__sopen : pmode 0x4075f598 ignored
../../../src/opencdk-0.6.0/tests/t-encr.c:205 plain-test-pubenc-part.gpg: Permission denied FAILED
fixme:msvcrt:MSVCRT__sopen : pmode 0x615196d8 ignored
../../../src/opencdk-0.6.0/tests/t-encr.c:391 decrypt FAILED
fixme:msvcrt:MSVCRT__sopen : pmode 0x615196d8 ignored
../../../src/opencdk-0.6.0/tests/t-encr.c: 398 handle FAILED
fixme:msvcrt:MSVCRT__sopen : pmode 0x615196d8 ignored
../../../src/opencdk-0.6.0/tests/t-encr.c: 405 illegal FAILED
fixme:msvcrt:MSVCRT__sopen : pmode 0x615196d8 ignored
../../../src/opencdk-0.6.0/tests/t-encr.c:368 transform encrypt FAILED
fixme:msvcrt:MSVCRT__sopen : pmode 0x615196d8 ignored
../../../src/opencdk-0.6.0/tests/t-encr.c:368 transform encrypt FAILED
fixme:msvcrt:MSVCRT__sopen : pmode 0x615196d8 ignored
../../../src/opencdk-0.6.0/tests/t-encr.c:379 transform sym FAILED
Wine failed with return code 8
FAIL: t-encr.exe
fixme:msvcrt:MSVCRT__sopen : pmode 0x0001 ignored
../../../src/opencdk-0.6.0/tests/t-keydb.c: 349 search asc file FAILED
fixme:msvcrt:MSVCRT__sopen : pmode 0x615196d8 ignored
../../../src/opencdk-0.6.0/tests/t-keydb.c: 356 search asc data FAILED
fixme:msvcrt:MSVCRT__sopen : pmode 0x615196d8 ignored
../../../src/opencdk-0.6.0/tests/t-keydb.c: 371 asc tmp read FAILED
Wine failed with return code 3
FAIL: t-keydb.exe
Wine exited with a successful status
PASS: t-misc.exe
OpenCDK header version 0.6.0.
OpenCDK library version 0.6.0.
Wine exited with a successful status
PASS: basic.exe
================================
5 of 7 tests failed
Please report to twoaday at gmx.net
================================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/home/jas/gnutls4win/build/opencdk-0.6.0/tests'

Ideas?

/Simon



More information about the Gnutls-dev mailing list