Package Details: mingw-w64-libgpg-error 1.47-1

Git Clone URL: https://aur.archlinux.org/mingw-w64-libgpg-error.git (read-only, click to copy)
Package Base: mingw-w64-libgpg-error
Description: Support library for libgcrypt (mingw-w64)
Upstream URL: http://www.gnupg.org
Keywords: libgpg-error mingw mingw-w64
Licenses: LGPL
Submitter: Schala
Maintainer: None
Last Packager: adsun
Votes: 8
Popularity: 0.000000
First Submitted: 2012-08-08 02:40 (UTC)
Last Updated: 2023-04-07 01:38 (UTC)

Latest Comments

Martchus commented on 2021-01-04 19:09 (UTC)

The download doesn't work:

==> Erstelle Paket: mingw-w64-libgpg-error 1.41-1 (Mo 04 Jan 2021 20:06:48 CET)
==> Empfange Quellen...
  -> Lade libgpg-error-1.41.tar.bz2 herunter...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
==> FEHLER: Fehler beim Download von https://www.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.41.tar.bz2
    Breche ab...

Likely it makes sense to use the same URL as in https://github.com/archlinux/svntogit-packages/blob/packages/libgpg-error/trunk/PKGBUILD.

xantares commented on 2014-10-24 15:38 (UTC)

I figured it out: I had binfmt enabled for wine. to detect cross-compiling it tries to run an exe, What I dont understand yet is why HOST_TRIPLET_STRING seems conditionaly defined, it seems it takes the host value: src/libgpg-error-1.13/configure.ac:237:AC_DEFINE_UNQUOTED(HOST_TRIPLET_STRING, "$host", [The host triplet]) xan.

ant32 commented on 2014-09-13 15:06 (UTC)

@xantares I compiled it on my laptop using a clean chroot which has only the base-devel group installed. Many of the base packages are missing. It is the recommended way to build packages meant for redistribution. https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_Clean_Chroot

xantares commented on 2014-09-13 10:20 (UTC)

I diffed the configure output from ant32 and found that configure detected cross_compiling=no: checking whether we are cross compiling... no I just did this ugly fix and it went fine: sed -i "s|cross_compiling=no|cross_compiling=yes|g" configure @ant32 also you've got no hostname command on your vm: hostname: command not found

ant32 commented on 2014-09-02 19:34 (UTC)

It builds for me in a clean chroot. https://gist.github.com/ant32/03f038ec698019a8bce9 I did not rebuild any packages.

xantares commented on 2014-09-02 19:19 (UTC)

I've got an error, maybe due to new crt ? /tmp/yaourt-tmp-root/aur-mingw-w64-libgpg-error/src/libgpg-error-1.13/build-i686-w64-mingw32 /tmp/yaourt-tmp-root/aur-mingw-w64-libgpg-error/src/libgpg-error-1.13 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for i686-w64-mingw32-strip... i686-w64-mingw32-strip checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports nested variables... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... i686-w64-mingw32 configure: autobuild project... libgpg-error configure: autobuild revision... 1.13 configure: autobuild hostname... archlinux configure: autobuild timestamp... 20140902-201232 checking for i686-w64-mingw32-gcc... i686-w64-mingw32-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.exe checking for suffix of executables... .exe checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-w64-mingw32-gcc accepts -g... yes checking for i686-w64-mingw32-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of i686-w64-mingw32-gcc... gcc3 checking whether i686-w64-mingw32-gcc and cc understand -c and -o together... yes checking how to run the C preprocessor... i686-w64-mingw32-gcc -E checking for gawk... (cached) gawk checking for i686-w64-mingw32-ar... i686-w64-mingw32-ar checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by i686-w64-mingw32-gcc... /usr/i686-w64-mingw32/bin/ld checking if the linker (/usr/i686-w64-mingw32/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/i686-w64-mingw32-nm -B checking the name lister (/usr/bin/i686-w64-mingw32-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-unknown-linux-gnu file names to i686-w64-mingw32 format... func_convert_file_nix_to_w32 checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/i686-w64-mingw32/bin/ld option to reload object files... -r checking for i686-w64-mingw32-objdump... i686-w64-mingw32-objdump checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL checking for i686-w64-mingw32-dlltool... i686-w64-mingw32-dlltool checking how to associate runtime and link libraries... func_cygming_dll_for_implib checking for i686-w64-mingw32-ar... (cached) i686-w64-mingw32-ar checking for archiver @FILE support... @ checking for i686-w64-mingw32-strip... (cached) i686-w64-mingw32-strip checking for i686-w64-mingw32-ranlib... i686-w64-mingw32-ranlib checking command to parse /usr/bin/i686-w64-mingw32-nm -B output from i686-w64-mingw32-gcc object... ok checking for sysroot... no checking for i686-w64-mingw32-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for i686-w64-mingw32-as... i686-w64-mingw32-as checking for i686-w64-mingw32-dlltool... (cached) i686-w64-mingw32-dlltool checking for i686-w64-mingw32-objdump... (cached) i686-w64-mingw32-objdump checking for objdir... .libs checking if i686-w64-mingw32-gcc supports -fno-rtti -fno-exceptions... no checking for i686-w64-mingw32-gcc option to produce PIC... -DDLL_EXPORT -DPIC checking if i686-w64-mingw32-gcc PIC flag -DDLL_EXPORT -DPIC works... yes checking if i686-w64-mingw32-gcc static flag -static works... yes checking if i686-w64-mingw32-gcc supports -c -o file.o... yes checking if i686-w64-mingw32-gcc supports -c -o file.o... (cached) yes checking whether the i686-w64-mingw32-gcc linker (/usr/i686-w64-mingw32/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... Win32 ld.exe checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for i686-w64-mingw32-windres... i686-w64-mingw32-windres checking for cc for build... i686-w64-mingw32-gcc checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by GCC... /usr/i686-w64-mingw32/bin/ld checking if the linker (/usr/i686-w64-mingw32/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... no checking for iconv... yes checking for working iconv... no checking for GNU gettext in libintl... yes checking whether to use NLS... yes checking where the gettext function comes from... external libintl checking how to link with libintl... /usr/i686-w64-mingw32/lib/libintl.dll.a -L/usr/i686-w64-mingw32/lib checking for ANSI C header files... (cached) yes checking for stdlib.h... (cached) yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking whether strerror_r is declared... no checking for strerror_r... no checking whether strerror_r returns char *... no checking for strerror_r... (cached) no configure: WARNING: Without strerror_r, gpg_strerror_r might not be thread-safe checking for flockfile... no checking for an ANSI C-conforming const... yes configure: creating ./config.status config.status: creating Makefile config.status: creating po/Makefile.in config.status: creating m4/Makefile config.status: creating src/Makefile config.status: creating tests/Makefile config.status: creating lang/Makefile config.status: creating lang/cl/Makefile config.status: creating lang/cl/gpg-error.asd config.status: creating src/versioninfo.rc config.status: creating src/gpg-error-config config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile libgpg-error-1.13 prepared for make Revision: 1900266 (6400) Platform: i686-w64-mingw32 make all-recursive make[1]: Entering directory '/tmp/yaourt-tmp-root/aur-mingw-w64-libgpg-error/src/libgpg-error-1.13/build-i686-w64-mingw32' Making all in m4 make[2]: Entering directory '/tmp/yaourt-tmp-root/aur-mingw-w64-libgpg-error/src/libgpg-error-1.13/build-i686-w64-mingw32/m4' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/tmp/yaourt-tmp-root/aur-mingw-w64-libgpg-error/src/libgpg-error-1.13/build-i686-w64-mingw32/m4' Making all in src make[2]: Entering directory '/tmp/yaourt-tmp-root/aur-mingw-w64-libgpg-error/src/libgpg-error-1.13/build-i686-w64-mingw32/src' gawk -f ../../src/mkerrnos.awk ../../src/errnos.in >code-to-errno.h gawk -f ../../src/mkerrcodes1.awk ../../src/errnos.in >_mkerrcodes.h gawk -f ../../src/mkstrtable.awk -v textidx=2 -v nogettext=1 \ ../../src/err-sources.h.in >err-sources-sym.h gawk -f ../../src/mkstrtable.awk -v textidx=2 -v nogettext=1 \ ../../src/err-codes.h.in >err-codes-sym.h gawk -f ../../src/mkstrtable.awk -v textidx=2 -v nogettext=1 \ -v prefix=GPG_ERR_ -v namespace=errnos_ \ ../../src/errnos.in >errnos-sym.h i686-w64-mingw32-gcc -g -O0 -I. -I../../src -o mkheader ../../src/mkheader.c i686-w64-mingw32-gcc -E -I/usr/i686-w64-mingw32/include _mkerrcodes.h | grep GPG_ERR_ | \ gawk -f ../../src/mkerrcodes.awk >mkerrcodes.h i686-w64-mingw32-gcc -g -O2 -I/usr/i686-w64-mingw32/include ../../src/gen-posix-lock-obj.c -o gen-posix-lock-obj cat ../../src/gpg-error.def.in >_gpg-error.def.h i686-w64-mingw32-gcc -E -I. -I../../src -I.. _gpg-error.def.h | \ grep -v '^#' >gpg-error.def ../../src/gen-posix-lock-obj.c:39:3: error: #error sizeof pthread_mutex_t is not known. # error sizeof pthread_mutex_t is not known. ^ ../../src/gen-posix-lock-obj.c: In function ‘main’: ../../src/gen-posix-lock-obj.c:55:21: error: ‘SIZEOF_PTHREAD_MUTEX_T’ undeclared (first use in this function) if (sizeof mtx != SIZEOF_PTHREAD_MUTEX_T) ^ ../../src/gen-posix-lock-obj.c:55:21: note: each undeclared identifier is reported only once for each function it appears in ../../src/gen-posix-lock-obj.c:84:11: error: ‘HOST_TRIPLET_STRING’ undeclared (first use in this function) HOST_TRIPLET_STRING, ^ <builtin>: recipe for target 'gen-posix-lock-obj' failed make[2]: *** [gen-posix-lock-obj] Error 1 make[2]: *** Waiting for unfinished jobs.... rm _gpg-error.def.h rm _mkerrcodes.h make[2]: Leaving directory '/tmp/yaourt-tmp-root/aur-mingw-w64-libgpg-error/src/libgpg-error-1.13/build-i686-w64-mingw32/src' Makefile:401: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/tmp/yaourt-tmp-root/aur-mingw-w64-libgpg-error/src/libgpg-error-1.13/build-i686-w64-mingw32' Makefile:332: recipe for target 'all' failed make: *** [all] Error 2 ==> ERROR: A failure occurred in build().