Tiger-Patches.diff2 KBDownload
patch set used.- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed Advanced Search
Advanced Search
Advanced Search
Fri, Apr 11
Fri, Apr 11
ballapete added a comment to T7533: gpgme-1.24.1 and gpgme-1.24.2 do not compile on Mac OS X 10.4.11, Tiger, because of problem with strcasecmp/strncasecmp in gpgme-tool.c.
patch set used.
ballapete added a comment to T7533: gpgme-1.24.1 and gpgme-1.24.2 do not compile on Mac OS X 10.4.11, Tiger, because of problem with strcasecmp/strncasecmp in gpgme-tool.c.
I tried to apply crude patches. Since _POSIX_C_SOURCE is defined when <string.h> is included (in pre-compiled source I see
Feb 16 2025
Feb 16 2025
May 6 2024
May 6 2024
ballapete added a comment to T7056: GPGme 1.23.2 has Undefined symbols: "strcasecmp(char const*, char const*)" on Mac OS X 10.4.11, PPC Tiger.
Meanwhile version 1.32.2 builds. Greatest change is Python 3.12 instead of 3.11…
Apr 29 2024
Apr 29 2024
ballapete added a comment to T7056: GPGme 1.23.2 has Undefined symbols: "strcasecmp(char const*, char const*)" on Mac OS X 10.4.11, PPC Tiger.
Sorry, I meant they do *not* arrive at the web interface, they are not visible to me.
ballapete added a comment to T7056: GPGme 1.23.2 has Undefined symbols: "strcasecmp(char const*, char const*)" on Mac OS X 10.4.11, PPC Tiger.
It seems my eMails to gnupg-devel@gnupg.org do reach the list …
Apr 1 2024
Apr 1 2024
On Mac OS X 10.5.8, PPC Leopard, it built with the patch, gpg-agent works.
Mar 28 2024
Mar 28 2024
ballapete added a comment to T7056: GPGme 1.23.2 has Undefined symbols: "strcasecmp(char const*, char const*)" on Mac OS X 10.4.11, PPC Tiger.
Trying to reach Ralph Seichter via the eMail address he is using failed – Osterferien?
Mar 26 2024
Mar 26 2024
I've reported the success to MacPorts. My test was performed on only one platform, Mac OS X 10.4.11 or "Tiger". Since there exists a problem with building recent version of GPGME testing on Mac OS X 10.5.8 or "Leopard" will have to wait a few days…
With the unified patch all works fine (again), even the test target succeeds!
Performing the patch manually the "port" (package) built and installed. Starting then gpg-agent worked too, killing it (with gpgconf) worked as well.
Mar 25 2024
Mar 25 2024
ballapete added a comment to T7056: GPGme 1.23.2 has Undefined symbols: "strcasecmp(char const*, char const*)" on Mac OS X 10.4.11, PPC Tiger.
By adding "-Wl,-t" to the arguments g++ reported:
ballapete added a comment to T7056: GPGme 1.23.2 has Undefined symbols: "strcasecmp(char const*, char const*)" on Mac OS X 10.4.11, PPC Tiger.
Libtool invocation has "--tag=CXX --mode=link /opt/local/bin/g++-mp-7 -std=c++11 -pipe -Os -std=c++17 -D_GLIBCXX_USE_CXX11_ABI=0", but g++ then has no -lstdc++ – in C -lc is automatically used because there all C library functions can be taken from… (same for mathematical functions and -lm)
Mar 24 2024
Mar 24 2024
Mar 23 2024
Mar 23 2024
Sep 29 2021
Sep 29 2021
Mar 11 2021
Mar 11 2021
Tiger's /usr/include/AvailabilityMacros.h seems to provide what rndlinux.c was looking for: libgcrypt 1.9.2 just built!
Alright! Here is the error report from GCC:
Feb 2 2021
Feb 2 2021
There is some (partly) good news: The function getentropy() is available in the packet manager MacPorts. It has a legacy support:
Feb 1 2021
Feb 1 2021
In T5268#142714, @gniibe wrote:To do that, I'd like to know, when the symbol getentropy was added.
Jan 29 2021
Jan 29 2021
Wouldn't it be better to move these failures as a single one into the configure script that it definitely can tell "This Mac has getentropy()"?
I applied the two patches on Mac OS X 10.5.8, Leopard, to random/rndlinux.c, resulting in this unified diff:
Jan 27 2021
Jan 27 2021
In the next few days I'll be able to boot into Leopard, Mac OS X 10.5.8, to test this. Right now it seems that I need to fix a few problems with updated software sources…
In T5268#142155, @gniibe wrote:To support old macOS (< 10.12), I think that code should be something like this:
After libgcrypt 1.9.0 first built on Tiger and 'make check' succeeded I ran 'make clean' and applied the changes to random/rndlinux.c. A simple make succeeded without problem. 'make check' then ran into problems, spitting out many times messages messages like these:
With these two patches libgcrypt 1.9.0 built on PPC Tiger, Mac OS X 10.4.11. 'make check' succeeded.
Jan 26 2021
Jan 26 2021
ballapete added a comment to T5264: libgcrypt 1.9.0 does not compile on old Mac OS X, versions 10.5.8 (Leopard) and 10.4.11 (Tiger), both on PPC hardware.
In T5264#142204, @jukivili wrote:I also needed this patch:
0001-global-fix-compile-error-at-pragma-GCC-diagnostic.patch2 KBDownloadI am going to check whether I need it on Tiger!
ballapete added a comment to T5264: libgcrypt 1.9.0 does not compile on old Mac OS X, versions 10.5.8 (Leopard) and 10.4.11 (Tiger), both on PPC hardware.
In T5264#142204, @jukivili wrote:I tested building on Ubuntu 8.04 (gcc-4.2) and got same error about cipher_bulk_ops_t. Applying patch fixed that problem.
ballapete added a comment to T5264: libgcrypt 1.9.0 does not compile on old Mac OS X, versions 10.5.8 (Leopard) and 10.4.11 (Tiger), both on PPC hardware.
I see now my mistake: I also have to re-write line #132 which I did not see yet!
ballapete added a comment to T5264: libgcrypt 1.9.0 does not compile on old Mac OS X, versions 10.5.8 (Leopard) and 10.4.11 (Tiger), both on PPC hardware.
With your other patch I still get:
libtool: compile: /opt/local/bin/gcc-apple-4.2 -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I../mpi -I../mpi -I/opt/local/include -I/opt/local/include -pipe -Os -std=gnu89 -arch ppc -fno-delete-null-pointer-checks -Wall -MT cipher.lo -MD -MP -MF .deps/cipher.Tpo -c cipher.c -fno-common -DPIC -o .libs/cipher.o In file included from cipher.c:31: ./cipher-internal.h:145: error: redefinition of typedef 'cipher_bulk_ops_t' ../src/cipher-proto.h:132: error: previous declaration of 'cipher_bulk_ops_t' was here
ballapete added a comment to T5264: libgcrypt 1.9.0 does not compile on old Mac OS X, versions 10.5.8 (Leopard) and 10.4.11 (Tiger), both on PPC hardware.
In T5264#142203, @jukivili wrote:Thanks for testing. However, I do not believe patch has been correctly applied.
The "Portfile" that conducts the build process has the patch contained, I sent you the list of files being patched, and here is the end of my translated patch set:
ballapete added a comment to T5264: libgcrypt 1.9.0 does not compile on old Mac OS X, versions 10.5.8 (Leopard) and 10.4.11 (Tiger), both on PPC hardware.
In T5264#142094, @jukivili wrote:Here's patch to try out:
0001-cipher-proto-remove-forward-typedef-of-cipher_bulk_o.patch6 KBDownload
In T5268#142155, @gniibe wrote:To support old macOS (< 10.12), I think that code should be something like this:
diff --git a/random/rndlinux.c b/random/rndlinux.c index 04e2a464..f378a549 100644
ballapete added a comment to T5264: libgcrypt 1.9.0 does not compile on old Mac OS X, versions 10.5.8 (Leopard) and 10.4.11 (Tiger), both on PPC hardware.
In T5264#142064, @jukivili wrote:In "src/cipher-proto.h", try removing typedef and leaving just forward declaration of structure.
Performing only this change leads consistently to the well-known error of:
ballapete added a comment to T5264: libgcrypt 1.9.0 does not compile on old Mac OS X, versions 10.5.8 (Leopard) and 10.4.11 (Tiger), both on PPC hardware.
In T5264#142059, @werner wrote:Do not use -fno-common
ballapete added a comment to T5264: libgcrypt 1.9.0 does not compile on old Mac OS X, versions 10.5.8 (Leopard) and 10.4.11 (Tiger), both on PPC hardware.
The translated bulk patch fails. Compilation still runs into this error:
ballapete added a comment to T5264: libgcrypt 1.9.0 does not compile on old Mac OS X, versions 10.5.8 (Leopard) and 10.4.11 (Tiger), both on PPC hardware.
In T5264#142094, @jukivili wrote:Here's patch to try out:
0001-cipher-proto-remove-forward-typedef-of-cipher_bulk_o.patch6 KBDownload
ballapete added a comment to T5264: libgcrypt 1.9.0 does not compile on old Mac OS X, versions 10.5.8 (Leopard) and 10.4.11 (Tiger), both on PPC hardware.
Alright!
Jan 25 2021
Jan 25 2021
ballapete added a comment to T5264: libgcrypt 1.9.0 does not compile on old Mac OS X, versions 10.5.8 (Leopard) and 10.4.11 (Tiger), both on PPC hardware.
Right now I am compiling with my old PowerBook in Tiger. In case a compilation fails I'll try this patch – on Tiger (Mac OS X 10.4.11)! It's a bit more primitive than Leopard.
Jan 24 2021
Jan 24 2021
Mar 1 2017
Mar 1 2017
ballapete added a comment to T2447: macport compile failed in libassuan-2.4.3 due to undefine _POSIX_C_SOURCE.
This happens on at least PPC Mac OS X 10.4.11, Tiger. Compiler is by default Apple's
version of GCC 4.2. The error is reported as this:
libtool: compile: /opt/local/bin/gcc-apple-4.2 -DHAVE_CONFIG_H -I. -I..
-I.. -I/opt/local/include -I/opt/local/include -pipe -Os -arch ppc -Wall
-Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -MT
libassuan_la-assuan-socket.lo -MD -MP -MF .deps/libassuan_la-assuan-
socket.Tpo -c assuan-socket.c -fno-common -DPIC -o .libs/libassuan_la-
assuan-socket.o
assuan-socket.c: In function 'socks5_connect':
assuan-socket.c:732: error: 'INADDR_LOOPBACK' undeclared (first use in
this function)
assuan-socket.c:732: error: (Each undeclared identifier is reported only
once
assuan-socket.c:732: error: for each function it appears in.)
make[3]: * [libassuan_la-assuan-socket.lo] Error 1
make[3]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.or
g_release_tarballs_ports_devel_libassuan/libassuan/work/libassuan-2.4.3/src'
make[2]: * [all] Error 2
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.or
g_release_tarballs_ports_devel_libassuan/libassuan/work/libassuan-2.4.3/src'
make[1]: * [all-recursive] Error 1
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.or
g_release_tarballs_ports_devel_libassuan/libassuan/work/libassuan-2.4.3'
make: * [all] Error 2
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.or
g_release_tarballs_ports_devel_libassuan/libassuan/work/libassuan-2.4.3'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.or
g_release_tarballs_ports_devel_libassuan/libassuan/work/libassuan-2.4.3"
&& /usr/bin/make -w all
Cause is that the declaration of 'INADDR_LOOPBACK' is hidden behind some guards. The
two external links document the situation, they also offer patches, either the attached
one or this addition for src/assuan-socket.c:
//fix missing define in MacOSX 10.4 Tiger
#ifndef INADDR_LOOPBACK
#define INADDR_LOOPBACK (u_int32_t)0x7f000001
#endif
In ten days I'll be at home again with my Apple PowerBook G4 and might have time to
check the situation in Mac OS X 10.5, Leopard.
ballapete changed External Link from https://trac.macports.org/ticket/51708 to https://trac.macports.org/ticket/51708, https://trac.macports.org/ticket/53602 on T2447: macport compile failed in libassuan-2.4.3 due to undefine _POSIX_C_SOURCE.
ballapete changed Version from 2.4.3 to 2.4.3, 2.4.2 on T2447: macport compile failed in libassuan-2.4.3 due to undefine _POSIX_C_SOURCE.