From: Matt B. <wal...@ma...> - 2024-07-10 17:10:29
|
> On Jul 9, 2024, at 6:49 PM, Greg Troxel <gd...@le...> wrote: > > Solomon Peachy via Gimp-print-devel > <gim...@li...> writes: > >> Gutenprint 5.3.5-pre1 is a prerelease of Gutenprint 5.3.5. > ........ >> 0) Support for running on MacOS has been deprecated. Unless someone >> steps up to maintain the MacOS port, there will be no MacOS >> builds for this (or any future) Gutenprint release. > > I'm hoping that a posix-type build on macos is ok, but if not we can > mark the pkgsrc package BROKEN. FWIW, on macos 12.7.5, I do have to edit the `configure` line 19887 and delete '-D_POSIX_C_SOURCE=200809L -std=c99' to get v5.3.5-pre1 to build. If left in, the build will fail with errors of the type: In file included from gutenprint.c:40: In file included from ./genppd.h:56: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/cups/raster.h:20: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/cups/cups.h:27: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/cups/ipp.h:18: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/cups/http.h:39: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/netinet/ip.h:86:2: error: unknown type name 'u_int' u_int ip_hl:4, /* header length */ ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/netinet/ip.h:90:2: error: unknown type name 'u_int' u_int ip_v:4, /* version */ ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/netinet/ip.h:90:10: error: duplicate member 'ip_v' u_int ip_v:4, /* version */ ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/netinet/ip.h:87:6: note: previous declaration is here ip_v:4; /* version */ ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/netinet/ip.h:91:6: error: duplicate member 'ip_hl' ip_hl:4; /* header length */ ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/netinet/ip.h:86:10: note: previous declaration is here u_int ip_hl:4, /* header length */ ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/netinet/ip.h:94:2: error: unknown type name 'u_char'; did you mean 'char'? u_char ip_tos; /* type of service */ ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/netinet/ip.h:95:2: error: unknown type name 'u_short'; did you mean 'n_short'? u_short ip_len; /* total length */ ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/netinet/in_systm.h:84:20: note: 'n_short' declared here typedef __uint16_t n_short; /* short as received from the net */ ^ Full configure and build available if desired. This problem seems to have come up beginning with v5.3.4. That is when it started to appear in the Configuration Summary. In v5.3.3 and prior, '-D_POSIX_C_SOURCE=200809L -std=c99' was never part of the compiler flags in the Configuration Summary. I have not done any testing of the v5.3.5-pre1 build itself. Matt |