Page MenuHome GnuPG
Feed Advanced Search

Oct 25 2014

werner added a comment to T1744: lib-gpgerror cross compile ignore 2nd component of host for lock header?.

But that also introduces a new class of bugs. I think it is easier to simply
add a new file. If it eventually turns out that we have too many identical
files, we can change that by adding a mapping table to mkheader.

Oct 25 2014, 2:54 PM · gpgrt, Gentoo, Bug Report

Oct 21 2014

alonbl added projects to T1744: lib-gpgerror cross compile ignore 2nd component of host for lock header?: Bug Report, Gentoo, gpgrt.
Oct 21 2014, 12:26 AM · gpgrt, Gentoo, Bug Report

Oct 15 2014

werner added a project to T1717: Build problem due to lock header on Windows: Restricted Project.
Oct 15 2014, 11:22 AM · Bug Report, gpgrt
werner added a comment to T1717: Build problem due to lock header on Windows.

The generated header file is, as expected, identical to the one we use
when cross-compling (modulo that we put both versions into one file).
Thus I came up with a simpler solution (see below). I'll commit it soon and a
release will also follow today.

+force_use_syscfg=no
if test "$have_w32_system" = yes; then

AC_DEFINE(HAVE_W32_SYSTEM,1,[Defined if we run on a W32 API based system])
if test "$have_w64_system" = yes; then

@@ -461,11 +462,17 @@ if test "$have_w32_system" = yes; then

  AC_DEFINE(HAVE_W32CE_SYSTEM,1,[Defined if we run on WindowsCE])
  GPG_ERROR_CONFIG_ISUBDIRAFTER="gpg-extra"
fi

+ force_use_syscfg=yes
fi
+if test x$cross_compiling = xyes; then
+ force_use_syscfg=yes
+fi
+
AM_CONDITIONAL(HAVE_W32_SYSTEM, test "$have_w32_system" = yes)
AM_CONDITIONAL(HAVE_W64_SYSTEM, test "$have_w64_system" = yes)
AM_CONDITIONAL(HAVE_W32CE_SYSTEM, test "$have_w32ce_system" = yes)
AM_CONDITIONAL(CROSS_COMPILING, test x$cross_compiling = xyes)
+AM_CONDITIONAL(FORCE_USE_SYSCFG, test x$force_use_syscfg = xyes)

AC_DEFINE_UNQUOTED(HOST_TRIPLET_STRING, "$host", [The host triplet])

Modified src/Makefile.am
diff --git a/src/Makefile.am b/src/Makefile.am
index 65f8513..efc5970 100644

  • a/src/Makefile.am

+++ b/src/Makefile.am
@@ -262,9 +262,9 @@ parts_of_gpg_error_h = \

 	w32ce-add.h      	\
 	$(lock_obj_pub)
  • If we are cross-compiling we better make sure that no stale native
  • lock include file will be found by mkheader.

-if CROSS_COMPILING
+# If we are cross-compiling or building on Windows we better make sure
+# that no stale native lock include file will be found by mkheader.
+if FORCE_USE_SYSCFG
pre_mkheader_cmds = -rm lock-obj-pub.native.h 2>/dev/null

Oct 15 2014, 11:22 AM · Bug Report, gpgrt
werner removed a project from T1717: Build problem due to lock header on Windows: In Progress.
Oct 15 2014, 11:22 AM · Bug Report, gpgrt

Oct 2 2014

alexwmf added a comment to T1717: Build problem due to lock header on Windows.

Oct 2 2014, 9:09 PM · Bug Report, gpgrt
alexwmf added a comment to T1717: Build problem due to lock header on Windows.

and this is for i686 build

Oct 2 2014, 9:09 PM · Bug Report, gpgrt
alexwmf added a comment to T1717: Build problem due to lock header on Windows.

Oct 2 2014, 9:09 PM · Bug Report, gpgrt
alexwmf added a comment to T1717: Build problem due to lock header on Windows.

yes, i can. this is a gpg-error.h for x86_64 build.

Oct 2 2014, 9:09 PM · Bug Report, gpgrt
werner renamed T1717: Build problem due to lock header on Windows from abort() on application exit to Build problem due to lock header on Windows.
Oct 2 2014, 7:34 PM · Bug Report, gpgrt
werner closed T1712: libgpg-error upgrade fails during build phase (OS X 10.5, 10.6) as Resolved.
Oct 2 2014, 7:32 PM · gpgrt, Bug Report
werner removed a project from T1712: libgpg-error upgrade fails during build phase (OS X 10.5, 10.6): Restricted Project.
Oct 2 2014, 7:32 PM · gpgrt, Bug Report
werner added a project to T1717: Build problem due to lock header on Windows: In Progress.
Oct 2 2014, 7:32 PM · Bug Report, gpgrt
werner added a comment to T1717: Build problem due to lock header on Windows.

Can you please paste the generated file?

Oct 2 2014, 7:31 PM · Bug Report, gpgrt

Sep 27 2014

alexwmf added a comment to T1717: Build problem due to lock header on Windows.

This is additional patch for previous message, you'r tracker not allow to
attach more than one file.

Sep 27 2014, 10:33 PM · Bug Report, gpgrt
alexwmf added a comment to T1717: Build problem due to lock header on Windows.

D248: 510_07-windows-build.patch

Sep 27 2014, 10:33 PM · Bug Report, gpgrt
alexwmf added a comment to T1717: Build problem due to lock header on Windows.

D249: 509_09-fix-generating-union.patch

Sep 27 2014, 10:32 PM · Bug Report, gpgrt
alexwmf added a comment to T1717: Build problem due to lock header on Windows.

Werner, we (I'm and Alexpux) was made fix for windows build (x86_64 and i686)
and seems like it works. Patches in attachment. If you want to look at msys2's
libgpg-error package you may use this link https://github.com/Alexpux/MINGW-
packages/tree/master/mingw-w64-libgpg-error

Sep 27 2014, 10:32 PM · Bug Report, gpgrt

Sep 22 2014

werner added a project to T1712: libgpg-error upgrade fails during build phase (OS X 10.5, 10.6): gpgrt.
Sep 22 2014, 3:06 PM · gpgrt, Bug Report
werner added a project to T1717: Build problem due to lock header on Windows: gpgrt.
Sep 22 2014, 3:05 PM · Bug Report, gpgrt
werner removed a project from T1717: Build problem due to lock header on Windows: libgcrypt.
Sep 22 2014, 3:05 PM · Bug Report, gpgrt