Page MenuHome GnuPG
Feed Advanced Search

Jun 21 2024

Marius_Schamschula added a comment to T7169: libgpg-error 1.50 build issue (spawn-posix.c:345:5: error: use of undeclared identifier 'environ').

See: MacPorts Ticket 70267 and MacPorts PR #24601

Jun 21 2024, 12:45 PM · gpgrt, MacOS, Bug Report

Jun 20 2024

Marius_Schamschula added a comment to T7169: libgpg-error 1.50 build issue (spawn-posix.c:345:5: error: use of undeclared identifier 'environ').

While the above patch worked for MacOS 10.8 and above, MacPorts CI shows a second error for older MacOS versions:

Jun 20 2024, 10:07 PM · gpgrt, MacOS, Bug Report
Marius_Schamschula added a comment to T7169: libgpg-error 1.50 build issue (spawn-posix.c:345:5: error: use of undeclared identifier 'environ').

It looks like various flavors of BSD (including macOS just declare environ when needed): environ -- user environment Note: this is a very old MacOS X man page, however the current version is from 2003, and has the same Synopsis.

Jun 20 2024, 5:20 PM · gpgrt, MacOS, Bug Report

Jun 19 2024

Marius_Schamschula created T7169: libgpg-error 1.50 build issue (spawn-posix.c:345:5: error: use of undeclared identifier 'environ').
Jun 19 2024, 11:28 PM · gpgrt, MacOS, Bug Report
Marius_Schamschula raised a concern with rEfbe1f5153c3c: Fix how environment variables are specified for spawn..

With the release of libgpg-error 1.50 I now get the following error:

Jun 19 2024, 2:36 PM

Apr 7 2023

Marius_Schamschula added a comment to T6442: libgcrypt-1.10.2: getrandom() is not available everywhere.

I just ran into this issue while attempting to update the MacPorts Portfile to version 1.10.2.

Apr 7 2023, 12:44 PM · MacOS, libgcrypt, Bug Report

Feb 14 2021

Marius_Schamschula added a comment to T5268: macOS getentropy.

Backward compatibility fixed using the MacPorts legacysupport PortGroup:
https://github.com/macports/macports-ports/commit/74b50424649a7c657521140fcd7f92ba79a3cec5

Feb 14 2021, 2:09 AM · libgcrypt, MacOS

Feb 13 2021

Marius_Schamschula added a comment to T5268: macOS getentropy.

This approach is too simplistic. See Ryan Schmidt's and Joshua Root's comments in https://trac.macports.org/ticket/62278

Feb 13 2021, 12:35 PM · libgcrypt, MacOS

Feb 1 2021

Marius_Schamschula added a comment to T5277: libgcrypt 1.9.1 fails to build with --disable-asm.

Unfortunately, building without "--disable-asm" does not work if building a universal package under MacPorts (e.g. 32bit and 64bit x86 or 64bit x86 and arm64).

Feb 1 2021, 10:34 PM · MacOS, libgcrypt, Bug Report

Apr 20 2019

Marius_Schamschula created T4469: libgpg-error build issue: error: redefinition of 'msgstr'.
Apr 20 2019, 1:25 PM · Bug Report

Apr 13 2019

Marius_Schamschula created T4459: libgpg-error build issue with gawk 5.0.0.
Apr 13 2019, 5:48 PM · Gentoo, gpgrt, MacOS, Bug Report

Sep 11 2014

Marius_Schamschula added a comment to T1712: libgpg-error upgrade fails during build phase (OS X 10.5, 10.6).

Unfortunately, version 1.15 breaks on the current version of OS X (10.9):

mv -f .deps/libgpg_error_la-posix-thread.Tpo .deps/libgpg_error_la-posix-thread.Plo
estream.c:3501:1: error: conflicting types for '_gpgrt_fseeko'
_gpgrt_fseeko (estream_t stream, gpgrt_off_t offset, int whence)
^
./gpgrt-int.h:108:5: note: previous declaration is here
int _gpgrt_fseeko (gpgrt_stream_t stream, off_t offset, int whence);

^

estream.c:3527:1: error: conflicting types for '_gpgrt_ftello'
_gpgrt_ftello (estream_t stream)
^
./gpgrt-int.h:110:7: note: previous declaration is here
off_t _gpgrt_ftello (gpgrt_stream_t stream);

^

2 errors generated.
make[3]: * [libgpg_error_la-estream.lo] Error 1
make[3]:
* Waiting for unfinished jobs....
mv -f .deps/libgpg_error_la-estream-printf.Tpo .deps/libgpg_error_la-estream-printf.Plo
make[3]: Leaving directory
`/opt/local/var/macports/build/_Users_marius_Development_MacPorts_ports_devel_libgpg-
error/libgpg-error/work/libgpg-error-1.15/src'
make[2]: * [all] Error 2
make[2]: Leaving directory
`/opt/local/var/macports/build/_Users_marius_Development_MacPorts_ports_devel_libgpg-
error/libgpg-error/work/libgpg-error-1.15/src'
make[1]:
* [all-recursive] Error 1
make[1]: Leaving directory
`/opt/local/var/macports/build/_Users_marius_Development_MacPorts_ports_devel_libgpg-
error/libgpg-error/work/libgpg-error-1.15'
make: *** [all] Error 2

Sep 11 2014, 7:01 PM · gpgrt, Bug Report
Marius_Schamschula changed Version from 1.14 to 1.15 on T1712: libgpg-error upgrade fails during build phase (OS X 10.5, 10.6).
Sep 11 2014, 7:01 PM · gpgrt, Bug Report

Sep 10 2014

Marius_Schamschula added a comment to T1712: libgpg-error upgrade fails during build phase (OS X 10.5, 10.6).

D247: 502_patch-src-gpg-error.h.in.diff

Sep 10 2014, 12:50 PM · gpgrt, Bug Report
Marius_Schamschula added a comment to T1712: libgpg-error upgrade fails during build phase (OS X 10.5, 10.6).

After a bit of research I cam up with the same solution, i.e. adding

#include <sys/types.h>

to gpg-error.h.in. See attached diff file.

It has been tested and found to work and committed.

Thanks.

Sep 10 2014, 12:50 PM · gpgrt, Bug Report

Sep 9 2014

Marius_Schamschula added a project to T1712: libgpg-error upgrade fails during build phase (OS X 10.5, 10.6): Bug Report.
Sep 9 2014, 1:04 PM · gpgrt, Bug Report
Marius_Schamschula set Version to 1.14 on T1712: libgpg-error upgrade fails during build phase (OS X 10.5, 10.6).
Sep 9 2014, 1:04 PM · gpgrt, Bug Report
Marius_Schamschula added a comment to T1712: libgpg-error upgrade fails during build phase (OS X 10.5, 10.6).

Sep 9 2014, 1:04 PM · gpgrt, Bug Report