diff options
author | Marius Bakke <mbakke@fastmail.com> | 2017-06-11 02:07:06 +0200 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2017-06-11 02:07:06 +0200 |
commit | 5bace4c8ad981b66b5c0769b885d0bb0db91a029 (patch) | |
tree | 0f2fb95c23d7990d26aeed71590bb94a3f2e17fe /gnu/packages/patches/gnutls-skip-pkgconfig-test.patch | |
parent | 653569e878f39345b05110b998f10db3b520ccfe (diff) | |
parent | 20d87dfb453cf27f95c5ef3858e8d096278e1702 (diff) | |
download | guix-patches-5bace4c8ad981b66b5c0769b885d0bb0db91a029.tar guix-patches-5bace4c8ad981b66b5c0769b885d0bb0db91a029.tar.gz |
Merge branch 'master' into core-updates
Conflicts:
* gnu/packages/tls.scm (gnutls): Incorporated 3.5.13 graft (88e2511e217f2).
Diffstat (limited to 'gnu/packages/patches/gnutls-skip-pkgconfig-test.patch')
-rw-r--r-- | gnu/packages/patches/gnutls-skip-pkgconfig-test.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/patches/gnutls-skip-pkgconfig-test.patch b/gnu/packages/patches/gnutls-skip-pkgconfig-test.patch new file mode 100644 index 0000000000..1fad7c14e3 --- /dev/null +++ b/gnu/packages/patches/gnutls-skip-pkgconfig-test.patch @@ -0,0 +1,24 @@ +FIXME: The static test fails with an error such as: + +/tmp/guix-build-gnutls-3.5.13.drv-0/ccOnGPmc.o: In function `main': +c.29617.tmp.c:(.text+0x5): undefined reference to `gnutls_global_init' +collect2: error: ld returned 1 exit status +FAIL pkgconfig.sh (exit status: 1) + +diff --git a/tests/pkgconfig.sh b/tests/pkgconfig.sh +index 6bd4e62f9..05aab8278 100755 +--- a/tests/pkgconfig.sh ++++ b/tests/pkgconfig.sh +@@ -57,11 +57,7 @@ echo "Trying dynamic linking with:" + echo " * flags: $(${PKGCONFIG} --libs gnutls)" + echo " * common: ${COMMON}" + echo " * lib: ${CFLAGS}" +-cc ${TMPFILE} -o ${TMPFILE_O} $(${PKGCONFIG} --libs gnutls) $(${PKGCONFIG} --cflags gnutls) ${COMMON} +- +-echo "" +-echo "Trying static linking with $(${PKGCONFIG} --libs --static gnutls)" +-cc ${TMPFILE} -o ${TMPFILE_O} $(${PKGCONFIG} --static --libs gnutls) $(${PKGCONFIG} --cflags gnutls) ${COMMON} ++gcc ${TMPFILE} -o ${TMPFILE_O} $(${PKGCONFIG} --libs gnutls) $(${PKGCONFIG} --cflags gnutls) ${COMMON} + + rm -f ${TMPFILE} ${TMPFILE_O} + |