Skip to content

rmlint: fix the build on older Darwin systems #573

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 22, 2025

Conversation

barracuda156
Copy link
Contributor

This PR fixes rmlint build for 10.5.8 and 10.6.
It contains two part, which come from:

  1. https://gist.github.com/ingramj/1105106/adfad1a7b1f0575dd7737c296d644856f2c2d074
  2. error: no member named 'st_atim' in 'struct stat' hboetes/mg#7 (comment)

P. S. There is also another problem related to how SCons build system works – trying to build a FAT binary on Leopard fails, for example, because arch flags get ignored. I solve it like this (for Macports): https://github.com/macports/macports-ports/pull/15003/files#diff-d43b1faa4b64984e308f2d41fddfd09fb559868da27208ff41417d636a4c7d20
I don’t know how to make a similar fix in the source code that gonna work without Macports assistance.

@kencu
Copy link

kencu commented Jun 1, 2022

instead of MAC_OS_X_VERSION_10_7 use 1070

@barracuda156 barracuda156 force-pushed the rmlint-darwin branch 2 times, most recently from e9133b8 to 7ee224e Compare June 2, 2022 11:11
@barracuda156
Copy link
Contributor Author

@sahib Could you please take a look at this PR?

@cebtenzzre cebtenzzre added the topic-compiling Related to building rmlint from source label Aug 8, 2022
@RayOei
Copy link
Collaborator

RayOei commented Mar 7, 2025

@vassilit I can't check as I have only macOS 15.3.1 on M2 (which compiles fine) but no older variances to test with (well, I can dig as I should have an old MacMini somewhere).
From which version would we expect to support this? Market share data is apparently unreliable at this time (see here). But that means that approx 96% of the macOS users is on Catalina or newer. As the update policy of macOS is rather pushy I would expect that approximately any model since 2017 will be on Big Sur (11) or newer. But that is a questimate, obviously.
As a side note: reference to Darwin should be macOS nowadays.

@barracuda156
Copy link
Contributor Author

barracuda156 commented Mar 7, 2025

@RayOei There is a lot of older hardware around, including powerpc, which is not supported in 10.7+. Even 10.4 has some active users. MacPorts supported it until recently and still supports 10.5+, NetBSD’s pkgsrc retains support for 10.4+.
I do not imply that anyone should be expected to pro-actively support older systems or test builds on them, but it makes sense to keep community-based support.

@vassilit
Copy link
Collaborator

vassilit commented Mar 7, 2025

macOS still runs on Darwin
The patch is used on macports already.

st_atimespec is not only a Darwin thing, but used on BSD as well. So I think we should find a way to support not only old Darwin but BSDs that would depend on it.

@vassilit
Copy link
Collaborator

vassilit commented Mar 18, 2025

@barracuda156 привет/你好。︁we have in config.h.in:

#if defined(__APPLE__) && defined(__MACH__)
# define RM_IS_APPLE 1
#else
# define RM_IS_APPLE 0
#endif

Do you know if old versions of MacOS X do define __MACH__ ?

@RayOei
Copy link
Collaborator

RayOei commented Mar 19, 2025

The Apple doc is a bit vague.
It states:

Note: To define a section of code to be compiled on OS X system, you should define a section using __APPLE__ with __MACH__ macros.

But it also explains why you should use a different approach.
At this point I would assume both __APPLE__ and __MACH__ are advised, though?

@vassilit
Copy link
Collaborator

@RayOei do the actual state of this branch (with compat in .h) compiles normally on your mac ?

@RayOei
Copy link
Collaborator

RayOei commented Mar 20, 2025

Currently compiling fails but not limited to this branch only. Not sure what has changed but glib throws all kinds availability errors. I wouldn't be surprised if this is related to the latest macOS update (this week). Not the first time things stop working because of an update 🤷
Will dig a bit...

@barracuda156
Copy link
Contributor Author

barracuda156 commented Mar 20, 2025

@barracuda156 привет/你好。︁we have in config.h.in:

#if defined(__APPLE__) && defined(__MACH__)
# define RM_IS_APPLE 1
#else
# define RM_IS_APPLE 0
#endif

Do you know if old versions of MacOS X do define __MACH__ ?

@vassilit Looks like OS X does, while 68k systems do not, so combo is supposed to filter out macOS < 10.0.
https://stackoverflow.com/questions/62525806/what-does-mach-mean-for-an-ifdef
I do not think it is practically necessary to bother about OS9 and earlier, to be honest. However, it should work as expected.

Apple doc reference: https://developer.apple.com/library/archive/documentation/Porting/Conceptual/PortingUnix/compiling/compiling.html

@vassilit
Copy link
Collaborator

Currently compiling fails but not limited to this branch only. Not sure what has changed but glib throws all kinds availability errors.

Which ones exactly ? Because some of them are normal.

@vassilit
Copy link
Collaborator

@barracuda156 ok thank you. Does my modification to put those headers in .h works for you ?

I have a iBook G4 (ppc 32) but it's running Linux, not macOS X anymore. I also have Intels macbook pros but they are running Linux as well. So I cannot test any of those branches.

@RayOei
Copy link
Collaborator

RayOei commented Mar 20, 2025

I do not think it is practically necessary to bother about OS9 and earlier,

Agree there. Been trying to get my old mac 2015 Monterey (macOS 12) to a state it will install and compile and a lot has been deprecated. Including brew support to install the needed libraries and applications (like scons) so it is fair to say that, although it works in the end, anything <= macOS 12 (at least) should not be something to worry about.
I don't have a mac which is restricted to macOS 13 so I can't tell how that behaves.
_(My current one is on the the latest which did build until an OS update broke things: still resolving).-

@RayOei
Copy link
Collaborator

RayOei commented Mar 20, 2025

Which ones exactly

All of them 😁 As I said: at this point I suspect my mac itself because of the update to 15.3.2. I get a lot of those GLIB_AVAILABLE_MACRO_IN_2_64 with different versions. So for some reason the correct glibis no longer present/found or whatever.

It did show me this particular comment in lib/utilities.c

/* Remove this branch in a few years (written end of 2019) */

May need to have a look there, and mark it properly with a TODO.

@barracuda156
Copy link
Contributor Author

I do not think it is practically necessary to bother about OS9 and earlier,

Agree there. Been trying to get my old mac 2015 Monterey (macOS 12) to a state it will install and compile and a lot has been deprecated. Including brew support to install the needed libraries and applications (like scons) so it is fair to say that, although it works in the end, anything <= macOS 12 (at least) should not be something to worry about. I don't have a mac which is restricted to macOS 13 so I can't tell how that behaves. _(My current one is on the the latest which did build until an OS update broke things: still resolving).-

@RayOei Systems from 10.5 up can be in a very decent shape if used correctly (obviously, a single-core G4 will be slow, nothing to do about it). brew does not work because it is broken, not because of some OS deficiency :)

I have a lot of stuff building and working on 10.6 on powerpc. It is decently fast, aside of some ridiculously huge test-suites.

@vassilit
Copy link
Collaborator

Which ones exactly

All of them 😁 As I said: at this point I suspect my mac itself because of the update to 15.3.2. I get a lot of those GLIB_AVAILABLE_MACRO_IN_2_64 with different versions. So for some reason the correct glibis no longer present/found or whatever.

The «Not available before 2.64» are warnings that could be ignored. They are still used properly. See below.

It did show me this particular comment in lib/utilities.c

/* Remove this branch in a few years (written end of 2019) */

May need to have a look there, and mark it properly with a TODO.

It's addressed in #707.

Basically, 64-bit compilation already requires Glib 2.64. The 32-bit code does not, so we wait a bit before imposing this requirement to 32-bit users (as PPC are, actually).

@vassilit
Copy link
Collaborator

I have a lot of stuff building and working on 10.6 on powerpc. It is decently fast, aside of some ridiculously huge test-suites.

I don't even know where to get macOS from, if I where to install it again on my iBook G4. The laptop is running well on Linux however, but it is seldom used.

@RayOei
Copy link
Collaborator

RayOei commented Mar 20, 2025

Ok, so I am able to compile and run on macOS 12 (Monterey) with current master.
AND it compiles and runs again on my M2 (macOS 15)

The «Not available before 2.64» are warnings that could be ignored.

I am aware of that but I didn't have those warnings before and scons didn't complain and bail before (that is: with scons install). And I am always curious why/what/how things are different than before 😀

It's addressed in #707.

👍 I now see: cool 😁

@barracuda156
Copy link
Contributor Author

I have a lot of stuff building and working on 10.6 on powerpc. It is decently fast, aside of some ridiculously huge test-suites.

I don't even know where to get macOS from, if I where to install it again on my iBook G4. The laptop is running well on Linux however, but it is seldom used.

I won’t spam here with detailed info LOL, but my GH page has everything needed, more or less.
Not sure if you get a better user experience with macOS or Linux, perhaps depends on what software is being used. G4 is slow, but you can use pre-built stuff.

Does my modification to put those headers in .h works for you ?

I can try tomorrow and let you know.

@vassilit
Copy link
Collaborator

I can try tomorrow and let you know.

Have you been able to test it?

@barracuda156
Copy link
Contributor Author

@barracuda156 ok thank you. Does my modification to put those headers in .h works for you ?
Have you been able to test it?

@vassilit Could you please specify which commit I should test? e5e0396 this one?

@vassilit
Copy link
Collaborator

@barracuda156 ok thank you. Does my modification to put those headers in .h works for you ?
Have you been able to test it?

@vassilit Could you please specify which commit I should test? e5e0396 this one?

HEAD of barracuda156:rmlint-darwin, i.e. e5e0396

@vassilit vassilit mentioned this pull request Mar 22, 2025
@barracuda156
Copy link
Contributor Author

Unfortunately, that fails:

--->  Building rmlint
Executing:  cd "/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/rmlint-e5e039622d3a38d715db59bf807bab84d17fd480" && /opt/local/bin/scons -j6 --prefix=/opt/local VERBOSE=1 CC="/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14" CXX="/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cxx/opt/local/bin/g++-mp-14" OBJC="/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/objc/opt/local/bin/gcc-mp-14" OBJCXX="/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/objcxx/opt/local/bin/g++-mp-14" FC="/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/fc/opt/local/bin/gfortran-mp-14" F77="/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/f77/opt/local/bin/gfortran-mp-14" F90="/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/f90/opt/local/bin/gfortran-mp-14" INSTALL="/usr/bin/install -c" 
scons: Reading SConscript files ...
>> Using compiler: /opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14
>> Appending custom build flags : -Os -arch ppc
>> Appending custom link flags : -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc
Checking whether the C compiler works... yes
Checking for git revision... /bin/sh: git: command not found
Unable to find git revision.
(cached) unknown
Checking for pkg-config... yes
Checking for glib-2.0 >= 2.32... yes
Checking for gio-unix-2.0... yes
Checking for blkid... no
Checking for json-glib-1.0... yes
Checking for -std=c11 support...(cached) yes
Checking for cygwin environment...(cached) Darwin/Sergey-Fedorovs-Mac.local/10.8.0/Darwin Kernel Version 10.8.0: Tue Jun  7 16:34:44 PDT 2011; root:xnu-1504.15.3~1/RELEASE_PPC/Power Macintosh/powerpc(cached) no
Checking whether _mm_crc32_u64 is declared... no
Checking for GCC version... (cached) 14
Checking whether __builtin_cpu_supports is declared... yes
Checking whether blkid_devno_to_wholedisk is declared... no
Checking for existence of /sys/block... (cached) no
Checking for C header file libelf.h... no
Checking for C type struct fiemap... no
Checking for C function getxattr()... yes
Checking for C function setxattr()... yes
Checking for C function removexattr()... yes
Checking for C function listxattr()... yes
Checking for C function lgetxattr()... no
Checking size of off_t ... yes
Checking for C function stat64()... yes
Checking whether G_CHECKSUM_SHA512 is declared... yes
Checking for C header file locale.h... yes
Checking for C header file linux/limits.h... no
Checking whether posix_fadvise is declared... no
Checking for C header file linux/btrfs.h... no
Checking for C header file linux/fs.h... no
Checking for C header file sys/utsname.h... yes
Checking for C header file sys/sysmacros.h... no
Using compiler optimisation -O2 (to change, run scons with O=[0|1|2|3|s|fast])
Running with --jobs=6
Building rmlint
scons: done reading SConscript files.
scons: Building targets ...
build_config_template(["lib/config.h"], ["lib/config.h.in"])
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/checksums/highwayhash.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_32 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/checksums/highwayhash.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/utilities.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_32 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/utilities.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/cmdline.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_32 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/cmdline.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/checksum.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_32 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/checksum.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/treemerge.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_32 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/treemerge.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/pathtricia.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_32 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/pathtricia.c
In file included from /usr/include/string.h:148,
                 from /opt/local/include/glib-2.0/glib/galloca.h:35,
                 from /opt/local/include/glib-2.0/glib.h:32,
                 from lib/pathtricia.c:26:
In function '__inline_strncpy_chk',
    inlined from 'rm_path_iter_init' at lib/pathtricia.c:105:5:
/usr/include/secure/_string.h:116:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
  116 |   return __builtin___strncpy_chk (__dest, __src, __len, __darwin_obsz(__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from lib/cmdline.c:42:
lib/cmdline.h: In function 'getdelim':
lib/cmdline.h:106:27: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare]
  106 |                 if (bytes >= *n - 1) {
      |                           ^~
lib/utilities.c: In function 'rm_iso8601_parse':
lib/utilities.c:1363:5: warning: 'g_date_time_new_from_iso8601' is deprecated: Not available before 2.56 [-Wdeprecated-declarations]
 1363 |     GDateTime *time_result = g_date_time_new_from_iso8601(string, NULL);
      |     ^~~~~~~~~
In file included from /opt/local/include/glib-2.0/glib/gbookmarkfile.h:28,
                 from /opt/local/include/glib-2.0/glib.h:39,
                 from lib/config.h:108,
                 from lib/utilities.c:33:
/opt/local/include/glib-2.0/glib/gdatetime.h:125:25: note: declared here
  125 | GDateTime *             g_date_time_new_from_iso8601                    (const gchar    *text,
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/md-scheduler.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_32 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/md-scheduler.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/traverse.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_32 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/traverse.c
lib/traverse.c: In function 'rm_traverse_convert_small_stat_buf':
lib/traverse.c:262:8: error: 'RmStat' {aka 'struct stat'} has no member named 'st_atim'
  262 |     buf->st_atim = fts_statp->st_atim;
      |        ^~
lib/traverse.c:262:29: error: 'struct stat' has no member named 'st_atim'
  262 |     buf->st_atim = fts_statp->st_atim;
      |                             ^~
lib/traverse.c:263:8: error: 'RmStat' {aka 'struct stat'} has no member named 'st_mtim'
  263 |     buf->st_mtim = fts_statp->st_mtim;
      |        ^~
lib/traverse.c:263:29: error: 'struct stat' has no member named 'st_mtim'
  263 |     buf->st_mtim = fts_statp->st_mtim;
      |                             ^~
lib/traverse.c:264:8: error: 'RmStat' {aka 'struct stat'} has no member named 'st_ctim'
  264 |     buf->st_ctim = fts_statp->st_ctim;
      |        ^~
lib/traverse.c:264:29: error: 'struct stat' has no member named 'st_ctim'
  264 |     buf->st_ctim = fts_statp->st_ctim;
      |                             ^~
lib/traverse.c: In function 'rm_traverse_tree':
lib/traverse.c:532:60: warning: operand of '?:' changes signedness from 'dev_t' {aka 'int'} to 'guint' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare]
  532 |                                                          : buffer->stat_buf.st_dev);
      |                                                            ^~~~~~~~~~~~~~~~~~~~~~~
scons: *** [lib/traverse.o] Error 1
scons: building terminated because of errors.
Exception ignored in: <function _DeleteDummyThreadOnDel.__del__ at 0x1324938>
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/threading.py", line 1383, in __del__
TypeError: 'NoneType' object does not support the context manager protocol
Command failed:  cd "/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/rmlint-e5e039622d3a38d715db59bf807bab84d17fd480" && /opt/local/bin/scons -j6 --prefix=/opt/local VERBOSE=1 CC="/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14" CXX="/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cxx/opt/local/bin/g++-mp-14" OBJC="/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/objc/opt/local/bin/gcc-mp-14" OBJCXX="/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/objcxx/opt/local/bin/g++-mp-14" FC="/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/fc/opt/local/bin/gfortran-mp-14" F77="/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/f77/opt/local/bin/gfortran-mp-14" F90="/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/f90/opt/local/bin/gfortran-mp-14" INSTALL="/usr/bin/install -c" 
Exit code: 2
Error: Failed to build rmlint: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_ppcports_sysutils_rmlint/rmlint/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.
Error: Processing of port rmlint failed

Here I just used e5e0396 without adding patches from my side.

@vassilit
Copy link
Collaborator

I've rebased to master (I see you have GLib warnings).

@vassilit
Copy link
Collaborator

Unfortunately, that fails:

Could you try again ? After we merge that one, I release right away 2.10.3.

lib/traverse.c: In function 'rm_traverse_convert_small_stat_buf':
lib/traverse.c:262:8: error: 'RmStat' {aka 'struct stat'} has no member named 'st_atim'
262 | buf->st_atim = fts_statp->st_atim;
| ^~

traverse.h was not included in traverse.c

Here I just used e5e0396 without adding patches from my side.

Thank you for testing !

@barracuda156
Copy link
Contributor Author

Almost, but linking fails due to a duplicate symbol (I think Linux is lax on that, but macOS linker is stricter):

--->  Building rmlint
Executing:  cd "/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/rmlint-b1f1673d24fea1d592fcdd033609384f1c3e1247" && /opt/local/bin/scons -j6 --prefix=/opt/local VERBOSE=1 CC="/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14" CXX="/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cxx/opt/local/bin/g++-mp-14" OBJC="/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/objc/opt/local/bin/gcc-mp-14" OBJCXX="/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/objcxx/opt/local/bin/g++-mp-14" FC="/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/fc/opt/local/bin/gfortran-mp-14" F77="/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/f77/opt/local/bin/gfortran-mp-14" F90="/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/f90/opt/local/bin/gfortran-mp-14" INSTALL="/usr/bin/install -c" 
scons: Reading SConscript files ...
>> Using compiler: /opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14
>> Appending custom build flags : -Os -arch ppc
>> Appending custom link flags : -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc
Checking whether the C compiler works... yes
Checking for git revision... /bin/sh: git: command not found
Unable to find git revision.
(cached) unknown
Checking for pkg-config... yes
Checking for glib-2.0 >= 2.64... yes
Checking for gio-unix-2.0... yes
Checking for blkid... no
Checking for json-glib-1.0... yes
Checking for -std=c11 support...(cached) yes
Checking for cygwin environment...(cached) Darwin/Sergey-Fedorovs-Mac.local/10.8.0/Darwin Kernel Version 10.8.0: Tue Jun  7 16:34:44 PDT 2011; root:xnu-1504.15.3~1/RELEASE_PPC/Power Macintosh/powerpc(cached) no
Checking whether _mm_crc32_u64 is declared... no
Checking for GCC version... (cached) 14
Checking whether __builtin_cpu_supports is declared... yes
Checking whether blkid_devno_to_wholedisk is declared... no
Checking for existence of /sys/block... (cached) no
Checking for C header file libelf.h... no
Checking for C type struct fiemap... no
Checking for C function getxattr()... yes
Checking for C function setxattr()... yes
Checking for C function removexattr()... yes
Checking for C function listxattr()... yes
Checking for C function lgetxattr()... no
Checking size of off_t ... yes
Checking for C function stat64()... yes
Checking whether G_CHECKSUM_SHA512 is declared... yes
Checking for C header file locale.h... yes
Checking for C header file linux/limits.h... no
Checking whether posix_fadvise is declared... no
Checking for C header file linux/btrfs.h... no
Checking for C header file linux/fs.h... no
Checking for C header file sys/utsname.h... yes
Checking for C header file sys/sysmacros.h... no
Using compiler optimisation -O2 (to change, run scons with O=[0|1|2|3|s|fast])
Running with --jobs=6
Building rmlint
scons: done reading SConscript files.
scons: Building targets ...
build_config_template(["lib/config.h"], ["lib/config.h.in"])
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/checksums/highwayhash.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/checksums/highwayhash.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/utilities.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/utilities.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/cmdline.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/cmdline.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/checksum.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/checksum.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/pathtricia.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/pathtricia.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/treemerge.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/treemerge.c
In file included from /usr/include/string.h:148,
                 from /opt/local/include/glib-2.0/glib/galloca.h:35,
                 from /opt/local/include/glib-2.0/glib.h:32,
                 from lib/pathtricia.c:26:
In function '__inline_strncpy_chk',
    inlined from 'rm_path_iter_init' at lib/pathtricia.c:105:5:
/usr/include/secure/_string.h:116:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
  116 |   return __builtin___strncpy_chk (__dest, __src, __len, __darwin_obsz(__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from lib/cmdline.c:42:
lib/cmdline.h: In function 'getdelim':
lib/cmdline.h:106:27: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare]
  106 |                 if (bytes >= *n - 1) {
      |                           ^~
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/md-scheduler.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/md-scheduler.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/traverse.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/traverse.c
lib/traverse.c: In function 'rm_traverse_tree':
lib/traverse.c:532:60: warning: operand of '?:' changes signedness from 'dev_t' {aka 'int'} to 'guint' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare]
  532 |                                                          : buffer->stat_buf.st_dev);
      |                                                            ^~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/cfg.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/cfg.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/hasher.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/hasher.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o src/rmlint.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include src/rmlint.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/shredder.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/shredder.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/hash-utility.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/hash-utility.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/session.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/session.c
In file included from src/../lib/api.h:30,
                 from src/rmlint.c:34:
src/../lib/cmdline.h: In function 'getdelim':
src/../lib/cmdline.h:106:27: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare]
  106 |                 if (bytes >= *n - 1) {
      |                           ^~
lib/shredder.c: In function 'rm_shred_file_preprocess':
lib/shredder.c:1112:67: warning: operand of '?:' changes signedness from 'dev_t' {aka 'int'} to 'RmOff' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare]
 1112 |                                                                 : file->dev);
      |                                                                   ^~~~~~~~~
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/formats.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/formats.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/replay.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/replay.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/xattr.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/xattr.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/file.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/file.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/preprocess.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/preprocess.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/checksums/metrohash128.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/checksums/metrohash128.c
In file included from lib/preprocess.c:31:
lib/cmdline.h: In function 'getdelim':
lib/cmdline.h:106:27: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare]
  106 |                 if (bytes >= *n - 1) {
      |                           ^~
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/checksums/murmur3.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/checksums/murmur3.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/checksums/xxhash/xxhash.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/checksums/xxhash/xxhash.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/checksums/blake2/blake2b-ref.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/checksums/blake2/blake2b-ref.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/checksums/blake2/blake2bp-ref.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/checksums/blake2/blake2bp-ref.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/checksums/blake2/blake2s-ref.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/checksums/blake2/blake2s-ref.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/checksums/blake2/blake2sp-ref.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/checksums/blake2/blake2sp-ref.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/checksums/blake2/blake2xb-ref.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/checksums/blake2/blake2xb-ref.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/checksums/blake2/blake2xs-ref.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/checksums/blake2/blake2xs-ref.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/checksums/sha3/sha3.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/checksums/sha3/sha3.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/formats/_equal.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/formats/_equal.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/formats/csv.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/formats/csv.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/formats/fdupes.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/formats/fdupes.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/formats/json.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/formats/json.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/formats/null.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/formats/null.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/formats/pretty.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/formats/pretty.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/formats/progressbar.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/formats/progressbar.c
build_python_formatter(["lib/formats/py.c"], ["lib/formats/py.c.in"])
build_sh_formatter(["lib/formats/sh.c"], ["lib/formats/sh.c.in"])
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/formats/py.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/formats/py.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/formats/sh.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/formats/sh.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/formats/stats.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/formats/stats.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/formats/summary.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/formats/summary.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/formats/timestamp.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/formats/timestamp.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/formats/uniques.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/formats/uniques.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/fts/fts.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/fts/fts.c
Building manpage from rst...
Using sphinx-build binary: /opt/local/bin/sphinx-build-3.11
Linking Static Library ==> librmlint.a
Ranlib Library ==> librmlint.a
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o rmlint -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc -s src/rmlint.o librmlint.a -L/opt/local/lib -ljson-glib-1.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lm
ld: warning: option -s is obsolete and being ignored
ld: duplicate symbol _getdelim in librmlint.a(cmdline.o) and src/rmlint.o
collect2: error: ld returned 1 exit status
scons: *** [rmlint] Error 1
Cannot import `sphinx_bootstrap_theme`; falling back to `nature`.
^ This is no error, will cause only slightly different html output.
scons: building terminated because of errors.
Exception ignored in: <function _DeleteDummyThreadOnDel.__del__ at 0x1324938>
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/threading.py", line 1383, in __del__
TypeError: 'NoneType' object does not support the context manager protocol
Command failed:  cd "/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/rmlint-b1f1673d24fea1d592fcdd033609384f1c3e1247" && /opt/local/bin/scons -j6 --prefix=/opt/local VERBOSE=1 CC="/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14" CXX="/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cxx/opt/local/bin/g++-mp-14" OBJC="/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/objc/opt/local/bin/gcc-mp-14" OBJCXX="/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/objcxx/opt/local/bin/g++-mp-14" FC="/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/fc/opt/local/bin/gfortran-mp-14" F77="/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/f77/opt/local/bin/gfortran-mp-14" F90="/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/f90/opt/local/bin/gfortran-mp-14" INSTALL="/usr/bin/install -c" 
Exit code: 2
Error: Failed to build rmlint: command execution failed

@vassilit
Copy link
Collaborator

Almost, but linking fails due to a duplicate symbol (I think Linux is lax on that, but macOS linker is stricter):

Linux also have clang available ;)

Could you try again ?

@barracuda156
Copy link
Contributor Author

From 4a6b81c everything works now, thank you!

--->  Building rmlint
Executing:  cd "/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/rmlint-4a6b81c198cd174abf57a2d12779f9ebf1a7c555" && /opt/local/bin/scons -j6 --prefix=/opt/local VERBOSE=1 CC="/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14" CXX="/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cxx/opt/local/bin/g++-mp-14" OBJC="/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/objc/opt/local/bin/gcc-mp-14" OBJCXX="/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/objcxx/opt/local/bin/g++-mp-14" FC="/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/fc/opt/local/bin/gfortran-mp-14" F77="/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/f77/opt/local/bin/gfortran-mp-14" F90="/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/f90/opt/local/bin/gfortran-mp-14" INSTALL="/usr/bin/install -c" 
scons: Reading SConscript files ...
>> Using compiler: /opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14
>> Appending custom build flags : -Os -arch ppc
>> Appending custom link flags : -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc
Checking whether the C compiler works... yes
Checking for git revision... /bin/sh: git: command not found
Unable to find git revision.
(cached) unknown
Checking for pkg-config... yes
Checking for glib-2.0 >= 2.64... yes
Checking for gio-unix-2.0... yes
Checking for blkid... no
Checking for json-glib-1.0... yes
Checking for -std=c11 support...(cached) yes
Checking for cygwin environment...(cached) Darwin/Sergey-Fedorovs-Mac.local/10.8.0/Darwin Kernel Version 10.8.0: Tue Jun  7 16:34:44 PDT 2011; root:xnu-1504.15.3~1/RELEASE_PPC/Power Macintosh/powerpc(cached) no
Checking whether _mm_crc32_u64 is declared... no
Checking for GCC version... (cached) 14
Checking whether __builtin_cpu_supports is declared... yes
Checking whether blkid_devno_to_wholedisk is declared... no
Checking for existence of /sys/block... (cached) no
Checking for C header file libelf.h... no
Checking for C type struct fiemap... no
Checking for C function getxattr()... yes
Checking for C function setxattr()... yes
Checking for C function removexattr()... yes
Checking for C function listxattr()... yes
Checking for C function lgetxattr()... no
Checking size of off_t ... yes
Checking for C function stat64()... yes
Checking whether G_CHECKSUM_SHA512 is declared... yes
Checking for C header file locale.h... yes
Checking for C header file linux/limits.h... no
Checking whether posix_fadvise is declared... no
Checking for C header file linux/btrfs.h... no
Checking for C header file linux/fs.h... no
Checking for C header file sys/utsname.h... yes
Checking for C header file sys/sysmacros.h... no
Using compiler optimisation -O2 (to change, run scons with O=[0|1|2|3|s|fast])
Running with --jobs=6
Building rmlint
scons: done reading SConscript files.
scons: Building targets ...
build_config_template(["lib/config.h"], ["lib/config.h.in"])
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/checksums/highwayhash.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/checksums/highwayhash.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/utilities.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/utilities.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/checksum.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/checksum.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/cmdline.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/cmdline.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/pathtricia.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/pathtricia.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/treemerge.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/treemerge.c
In file included from /usr/include/string.h:148,
                 from /opt/local/include/glib-2.0/glib/galloca.h:35,
                 from /opt/local/include/glib-2.0/glib.h:32,
                 from lib/pathtricia.c:26:
In function '__inline_strncpy_chk',
    inlined from 'rm_path_iter_init' at lib/pathtricia.c:105:5:
/usr/include/secure/_string.h:116:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
  116 |   return __builtin___strncpy_chk (__dest, __src, __len, __darwin_obsz(__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from lib/cmdline.c:42:
lib/cmdline.h: In function 'getdelim':
lib/cmdline.h:106:27: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare]
  106 |                 if (bytes >= *n - 1) {
      |                           ^~
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/md-scheduler.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/md-scheduler.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/traverse.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/traverse.c
lib/traverse.c: In function 'rm_traverse_tree':
lib/traverse.c:532:60: warning: operand of '?:' changes signedness from 'dev_t' {aka 'int'} to 'guint' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare]
  532 |                                                          : buffer->stat_buf.st_dev);
      |                                                            ^~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/cfg.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/cfg.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/hasher.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/hasher.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o src/rmlint.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include src/rmlint.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/shredder.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/shredder.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/hash-utility.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/hash-utility.c
In file included from src/../lib/api.h:30,
                 from src/rmlint.c:34:
src/../lib/cmdline.h: In function 'getdelim':
src/../lib/cmdline.h:106:27: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare]
  106 |                 if (bytes >= *n - 1) {
      |                           ^~
lib/shredder.c: In function 'rm_shred_file_preprocess':
lib/shredder.c:1112:67: warning: operand of '?:' changes signedness from 'dev_t' {aka 'int'} to 'RmOff' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare]
 1112 |                                                                 : file->dev);
      |                                                                   ^~~~~~~~~
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/session.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/session.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/formats.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/formats.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/replay.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/replay.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/xattr.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/xattr.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/file.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/file.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/preprocess.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/preprocess.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/checksums/metrohash128.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/checksums/metrohash128.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/checksums/murmur3.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/checksums/murmur3.c
In file included from lib/preprocess.c:31:
lib/cmdline.h: In function 'getdelim':
lib/cmdline.h:106:27: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare]
  106 |                 if (bytes >= *n - 1) {
      |                           ^~
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/checksums/xxhash/xxhash.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/checksums/xxhash/xxhash.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/checksums/blake2/blake2b-ref.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/checksums/blake2/blake2b-ref.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/checksums/blake2/blake2bp-ref.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/checksums/blake2/blake2bp-ref.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/checksums/blake2/blake2s-ref.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/checksums/blake2/blake2s-ref.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/checksums/blake2/blake2sp-ref.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/checksums/blake2/blake2sp-ref.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/checksums/blake2/blake2xb-ref.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/checksums/blake2/blake2xb-ref.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/checksums/blake2/blake2xs-ref.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/checksums/blake2/blake2xs-ref.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/checksums/sha3/sha3.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/checksums/sha3/sha3.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/formats/_equal.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/formats/_equal.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/formats/csv.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/formats/csv.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/formats/fdupes.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/formats/fdupes.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/formats/json.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/formats/json.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/formats/null.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/formats/null.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/formats/pretty.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/formats/pretty.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/formats/progressbar.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/formats/progressbar.c
build_python_formatter(["lib/formats/py.c"], ["lib/formats/py.c.in"])
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/formats/py.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/formats/py.c
build_sh_formatter(["lib/formats/sh.c"], ["lib/formats/sh.c.in"])
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/formats/sh.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/formats/sh.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/formats/stats.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/formats/stats.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/formats/summary.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/formats/summary.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/formats/timestamp.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/formats/timestamp.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/formats/uniques.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/formats/uniques.c
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o lib/fts/fts.o -c -Os -arch ppc -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -std=c11 -pipe -D_GNU_SOURCE -fPIC -Wno-cast-function-type -Wall -W -Wextra -Winit-self -Wstrict-aliasing -Wmissing-include-dirs -Wuninitialized -Wstrict-prototypes -Wno-implicit-fallthrough -Werror=undef -DG_DISABLE_ASSERT -DNDEBUG -O2 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include lib/fts/fts.c
Building manpage from rst...
Using sphinx-build binary: /opt/local/bin/sphinx-build-3.11
Linking Static Library ==> librmlint.a
Ranlib Library ==> librmlint.a
/opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/compwrap/cc/opt/local/bin/gcc-mp-14 -o rmlint -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc -s src/rmlint.o librmlint.a -L/opt/local/lib -ljson-glib-1.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lm
ld: warning: option -s is obsolete and being ignored
Cannot import `sphinx_bootstrap_theme`; falling back to `nature`.
^ This is no error, will cause only slightly different html output.
scons: done building targets.
Exception ignored in: <function _DeleteDummyThreadOnDel.__del__ at 0x1324938>
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/threading.py", line 1383, in __del__
TypeError: 'NoneType' object does not support the context manager protocol
--->  Staging rmlint into destroot
. changed
	gid expected 0 found 80 modified
./usr missing (created)
. missing (directory not created: File exists)
./Applications missing (created)
./Developer missing (created)
./Library missing (created)
. changed
	gid expected 80 found 0 modified
./bin missing (created)
./etc missing (created)
./include missing (created)
./lib missing (created)
./lib/pkgconfig missing (created)
./libexec missing (created)
./sbin missing (created)
./share missing (created)
./share/doc missing (created)
./share/info missing (created)
./share/man missing (created)
./share/man/cat1 missing (created)
./share/man/cat2 missing (created)
./share/man/cat3 missing (created)
./share/man/cat4 missing (created)
./share/man/cat5 missing (created)
./share/man/cat6 missing (created)
./share/man/cat7 missing (created)
./share/man/cat8 missing (created)
./share/man/cat9 missing (created)
./share/man/catl missing (created)
./share/man/catn missing (created)
./share/man/man1 missing (created)
./share/man/man2 missing (created)
./share/man/man3 missing (created)
./share/man/man4 missing (created)
./share/man/man5 missing (created)
./share/man/man6 missing (created)
./share/man/man7 missing (created)
./share/man/man8 missing (created)
./share/man/man9 missing (created)
./share/man/manl missing (created)
./share/man/mann missing (created)
./share/nls missing (created)
./share/nls/C missing (created)
./share/nls/af_ZA.ISO8859-1 missing (created)
./share/nls/af_ZA.ISO8859-15 missing (created)
./share/nls/bg_BG.CP1251 missing (created)
./share/nls/cs_CZ.ISO8859-2 missing (created)
./share/nls/da_DK.ISO8859-1 missing (created)
./share/nls/da_DK.ISO8859-15 missing (created)
./share/nls/de_AT.ISO8859-1 missing (created)
./share/nls/de_AT.ISO8859-15 missing (created)
./share/nls/de_CH.ISO8859-1 missing (created)
./share/nls/de_CH.ISO8859-15 missing (created)
./share/nls/de_DE.ISO8859-1 missing (created)
./share/nls/de_DE.ISO8859-15 missing (created)
./share/nls/el_GR.ISO8859-7 missing (created)
./share/nls/en_AU.ISO8859-1 missing (created)
./share/nls/en_AU.ISO8859-15 missing (created)
./share/nls/en_AU.US-ASCII missing (created)
./share/nls/en_CA.ISO8859-1 missing (created)
./share/nls/en_CA.ISO8859-15 missing (created)
./share/nls/en_CA.US-ASCII missing (created)
./share/nls/en_GB.ISO8859-1 missing (created)
./share/nls/en_GB.ISO8859-15 missing (created)
./share/nls/en_GB.US-ASCII missing (created)
./share/nls/en_NZ.ISO8859-1 missing (created)
./share/nls/en_NZ.ISO8859-15 missing (created)
./share/nls/en_NZ.US-ASCII missing (created)
./share/nls/en_US.ISO8859-1 missing (created)
./share/nls/en_US.ISO8859-15 missing (created)
./share/nls/es_ES.ISO8859-1 missing (created)
./share/nls/es_ES.ISO8859-15 missing (created)
./share/nls/et_EE.ISO8859-15 missing (created)
./share/nls/fi_FI.ISO8859-1 missing (created)
./share/nls/fi_FI.ISO8859-15 missing (created)
./share/nls/fr_BE.ISO8859-1 missing (created)
./share/nls/fr_BE.ISO8859-15 missing (created)
./share/nls/fr_CA.ISO8859-1 missing (created)
./share/nls/fr_CA.ISO8859-15 missing (created)
./share/nls/fr_CH.ISO8859-1 missing (created)
./share/nls/fr_CH.ISO8859-15 missing (created)
./share/nls/fr_FR.ISO8859-1 missing (created)
./share/nls/fr_FR.ISO8859-15 missing (created)
./share/nls/hi_IN.ISCII-DEV missing (created)
./share/nls/hr_HR.ISO8859-2 missing (created)
./share/nls/hu_HU.ISO8859-2 missing (created)
./share/nls/is_IS.ISO8859-1 missing (created)
./share/nls/is_IS.ISO8859-15 missing (created)
./share/nls/it_CH.ISO8859-1 missing (created)
./share/nls/it_CH.ISO8859-15 missing (created)
./share/nls/it_IT.ISO8859-1 missing (created)
./share/nls/it_IT.ISO8859-15 missing (created)
./share/nls/ja_JP.SJIS missing (created)
./share/nls/ja_JP.eucJP missing (created)
./share/nls/ko_KR.eucKR missing (created)
./share/nls/la_LN.ISO8859-1 missing (created)
./share/nls/la_LN.ISO8859-15 missing (created)
./share/nls/la_LN.ISO8859-2 missing (created)
./share/nls/la_LN.ISO8859-4 missing (created)
./share/nls/la_LN.US-ASCII missing (created)
./share/nls/lt_LT.ISO8859-4 missing (created)
./share/nls/nl_BE.ISO8859-1 missing (created)
./share/nls/nl_BE.ISO8859-15 missing (created)
./share/nls/nl_NL.ISO8859-1 missing (created)
./share/nls/nl_NL.ISO8859-15 missing (created)
./share/nls/no_NO.ISO8859-1 missing (created)
./share/nls/no_NO.ISO8859-15 missing (created)
./share/nls/pl_PL.ISO8859-2 missing (created)
./share/nls/pt_BR.ISO8859-1 missing (created)
./share/nls/pt_PT.ISO8859-1 missing (created)
./share/nls/pt_PT.ISO8859-15 missing (created)
./share/nls/ro_RO.ISO8859-2 missing (created)
./share/nls/ru_RU.CP866 missing (created)
./share/nls/ru_RU.ISO8859-5 missing (created)
./share/nls/ru_RU.KOI8-R missing (created)
./share/nls/sk_SK.ISO8859-2 missing (created)
./share/nls/sl_SI.ISO8859-2 missing (created)
./share/nls/sv_SE.ISO8859-1 missing (created)
./share/nls/sv_SE.ISO8859-15 missing (created)
./share/nls/tr_TR.ISO8859-9 missing (created)
./share/nls/uk_UA.ISO8859-5 missing (created)
./share/nls/uk_UA.KOI8-U missing (created)
./share/nls/zh_CN.eucCN missing (created)
./share/nls/zh_TW.Big5 missing (created)
./share/skel missing (created)
./var missing (created)
./var/cache missing (created)
./var/db missing (created)
./var/log missing (created)
./var/run missing (created)
./var/spool missing (created)
./www missing (created)
xinstall: /opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/rmlint-4a6b81c198cd174abf57a2d12779f9ebf1a7c555/rmlint -> /opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/destroot/opt/local/bin//rmlint
xinstall: /opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/rmlint-4a6b81c198cd174abf57a2d12779f9ebf1a7c555/docs/_build/man/rmlint.1 -> /opt/local/var/macports/build/_opt_local_ppcports_sysutils_rmlint/rmlint/work/destroot/opt/local/share/man/man1//rmlint.1
--->  Compressing man pages for rmlint

@vassilit vassilit merged commit 06197a9 into sahib:master Mar 22, 2025
@barracuda156 barracuda156 deleted the rmlint-darwin branch March 22, 2025 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic-compiling Related to building rmlint from source
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants