[MacPorts] #72311: WIP new port: openrsync

MacPorts noreply at macports.org
Tue Apr 8 22:11:32 UTC 2025


#72311: WIP new port: openrsync
-----------------------+--------------------
  Reporter:  artkiver  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:            |
-----------------------+--------------------

Comment (by artkiver):

 https://bsd.network/users/kristapsdz/statuses/114304224105192692 provides
 some additional insight:

 "It uses oconfigure, not GNU configure. Just pass PREFIX=blah as an
 argument to the script."

 oconfigure: https://github.com/kristapsdz/oconfigure

 I started work on creating a Portfile for that too.

 (see attached)

 But am running into a different error when I attempt to install it:

 {{{
 port -v install
 --->  Fetching archive for oconfigure
 --->  oconfigure-20250331_0.darwin_24.arm64.tbz2 doesn't seem to exist in
 /opt/local/var/macports/incoming/verified
 --->  Attempting to fetch oconfigure-20250331_0.darwin_24.arm64.tbz2 from
 http://mirror.fcix.net/macports/packages/oconfigure
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
   0   153    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 0
 --->  Attempting to fetch oconfigure-20250331_0.darwin_24.arm64.tbz2 from
 https://packages.macports.org/oconfigure
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
   0   126    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 0
 --->  Attempting to fetch oconfigure-20250331_0.darwin_24.arm64.tbz2 from
 https://ywg.ca.packages.macports.org/mirror/macports/packages/oconfigure
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
   0   153    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 0
 --->  Fetching distfiles for oconfigure
 --->  Verifying checksums for oconfigure
 --->  Checksumming oconfigure-
 47566f2a87495561bd208021f48e3b52fc118259.tar.gz
 --->  Extracting oconfigure
 --->  Extracting oconfigure-
 47566f2a87495561bd208021f48e3b52fc118259.tar.gz
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_oconfigure/oconfigure/work"
 && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/oconfigure
 /oconfigure-47566f2a87495561bd208021f48e3b52fc118259.tar.gz' |
 /usr/bin/tar -xf -
 --->  Configuring oconfigure
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_oconfigure/oconfigure/work
 /oconfigure-47566f2a87495561bd208021f48e3b52fc118259" && ./configure
 --prefix=/opt/local
 config.log: writing...
 ld: unknown options: -soname
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 configure.local: no (fully automatic configuration)
 arc4random: yes
 blowfish: no
 b64_ntop: yes (with -lresolv)
 capsicum: no
 crypt: yes
 crypt_newhash: no
 endian_h: no
 err: yes
 explicit_bzero: no
 fts: yes
 getexecname: no
 getprogname: yes
 INFTIM: no
 landlock: no
 lib_socket: yes
 md5: no
 memmem: yes
 memrchr: no
 memset_s: yes
 mkfifoat: yes
 mknodat: yes
 osbyteorder_h: yes
 PASSWORD_LEN: yes
 PATH_MAX: yes
 pledge: no
 program_invocation_short_name: no
 readpassphrase: yes
 reallocarray: no
 recallocarray: no
 sandbox_init: yes
 scan_scaled: no
 seccomp-filter: no
 setresgid: no
 setresuid: no
 sha2: no
 SOCK_NONBLOCK: no
 static: no
 strlcat: yes
 strlcpy: yes
 strndup: yes
 strnlen: yes
 strtonum: yes
 sys_byteorder_h: no
 sys_endian_h: no
 sys_mkdev_h: no
 sys_sysmacros_h: no
 sys_queue: yes
 sys_tree: no
 termios: yes
 timingsafe_bcmp: no
 unveil: no
 WAIT_ANY: yes
 __progname: yes
 config.h: written
 Makefile.configure: written
 Warning: Configuration logfiles contain indications of -Wimplicit-
 function-declaration; check that features were not accidentally disabled:
   crypt_newhash: found in oconfigure-
 47566f2a87495561bd208021f48e3b52fc118259/config.log
   crypt_checkpass: found in oconfigure-
 47566f2a87495561bd208021f48e3b52fc118259/config.log
   explicit_bzero: found in oconfigure-
 47566f2a87495561bd208021f48e3b52fc118259/config.log
   getexecname: found in oconfigure-
 47566f2a87495561bd208021f48e3b52fc118259/config.log
   memrchr: found in oconfigure-
 47566f2a87495561bd208021f48e3b52fc118259/config.log
   pledge: found in oconfigure-
 47566f2a87495561bd208021f48e3b52fc118259/config.log
   reallocarray: found in oconfigure-
 47566f2a87495561bd208021f48e3b52fc118259/config.log
   recallocarray: found in oconfigure-
 47566f2a87495561bd208021f48e3b52fc118259/config.log
   scan_scaled: found in oconfigure-
 47566f2a87495561bd208021f48e3b52fc118259/config.log
   setresgid: found in oconfigure-
 47566f2a87495561bd208021f48e3b52fc118259/config.log
   setresuid: found in oconfigure-
 47566f2a87495561bd208021f48e3b52fc118259/config.log
   timingsafe_memcmp: found in oconfigure-
 47566f2a87495561bd208021f48e3b52fc118259/config.log
   unveil: found in oconfigure-
 47566f2a87495561bd208021f48e3b52fc118259/config.log
 --->  Building oconfigure
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_oconfigure/oconfigure/work
 /oconfigure-47566f2a87495561bd208021f48e3b52fc118259" && /usr/bin/make -j8
 -w all
 make: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_oconfigure/oconfigure/work
 /oconfigure-47566f2a87495561bd208021f48e3b52fc118259'
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -c -o compats.o compats.c
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/b64_ntop regress/b64_ntop.c compats.o -lresolv
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/crypt regress/crypt.c compats.o
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/SOCK_NONBLOCK regress/SOCK_NONBLOCK.c compats.o
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/md5 regress/md5.c compats.o
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/arc4random regress/arc4random.c compats.o
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/blowfish regress/blowfish.c compats.o
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/capsicum regress/capsicum.c compats.o
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/crypt_newhash regress/crypt_newhash.c compats.o
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/endian regress/endian.c compats.o
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/err regress/err.c compats.o
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/explicit_bzero regress/explicit_bzero.c compats.o
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/fts regress/fts.c compats.o
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/getprogname regress/getprogname.c compats.o
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/INFTIM regress/INFTIM.c compats.o
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/memmem regress/memmem.c compats.o
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/memrchr regress/memrchr.c compats.o
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/minor regress/minor.c compats.o
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/mkfifoat regress/mkfifoat.c compats.o
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/mknodat regress/mknodat.c compats.o
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/PASSWORD_LEN regress/PASSWORD_LEN.c compats.o
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/PATH_MAX regress/PATH_MAX.c compats.o
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/pledge regress/pledge.c compats.o
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/reallocarray regress/reallocarray.c compats.o
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/recallocarray regress/recallocarray.c compats.o
 regress/mknodat.c:12:8: warning: 'tmpnam' is deprecated: This function is
 provided for compatibility reasons only.  Due to security concerns
 inherent in the design of tmpnam(3), it is highly recommended that you use
 mkstemp(3) instead. [-Wdeprecated-declarations]
    12 |         str = tmpnam(NULL);
       |               ^
 /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/_stdio.h:287:1:
 note: 'tmpnam' has been explicitly marked deprecated here
   287 | __deprecated_msg("This function is provided for compatibility
 reasons only.  Due to security concerns inherent in the design of
 tmpnam(3), it is highly recommended that you use mkstemp(3) instead.")
       | ^
 /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/sys/cdefs.h:218:48:
 note: expanded from macro '__deprecated_msg'
   218 |         #define __deprecated_msg(_msg)
 __attribute__((__deprecated__(_msg)))
       |                                                       ^
 regress/mkfifoat.c:12:8: warning: 'tmpnam' is deprecated: This function is
 provided for compatibility reasons only.  Due to security concerns
 inherent in the design of tmpnam(3), it is highly recommended that you use
 mkstemp(3) instead. [-Wdeprecated-declarations]
    12 |         str = tmpnam(NULL);
       |               ^
 /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/_stdio.h:287:1:
 note: 'tmpnam' has been explicitly marked deprecated here
   287 | __deprecated_msg("This function is provided for compatibility
 reasons only.  Due to security concerns inherent in the design of
 tmpnam(3), it is highly recommended that you use mkstemp(3) instead.")
       | ^
 /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/sys/cdefs.h:218:48:
 note: expanded from macro '__deprecated_msg'
   218 |         #define __deprecated_msg(_msg)
 __attribute__((__deprecated__(_msg)))
       |                                                       ^
 1 warning generated.
 1 warning generated.
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/setresgid regress/setresgid.c compats.o
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/setresuid regress/setresuid.c compats.o
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/strndup regress/strndup.c compats.o
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/strnlen regress/strnlen.c compats.o
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/strlcpy regress/strlcpy.c compats.o
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/strlcat regress/strlcat.c compats.o
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/strtonum regress/strtonum.c compats.o
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/sys_queue regress/sys_queue.c compats.o
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/systrace regress/systrace.c compats.o
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/termios regress/termios.c compats.o
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/timingsafe_bcmp regress/timingsafe_bcmp.c compats.o
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/unveil regress/unveil.c compats.o
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/WAIT_ANY regress/WAIT_ANY.c compats.o
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/scan_scaled regress/scan_scaled.c compats.o
 /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -o regress/sha2 regress/sha2.c compats.o
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_oconfigure/oconfigure/work
 /oconfigure-47566f2a87495561bd208021f48e3b52fc118259'
 --->  Staging oconfigure into destroot
 ./usr missing (created)
 . missing (directory not created: File exists)
 ./Applications missing (created)
 ./Developer missing (created)
 ./Library missing (created)
 ./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)
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_oconfigure/oconfigure/work
 /oconfigure-47566f2a87495561bd208021f48e3b52fc118259" && /usr/bin/make -w
 install
 DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_oconfigure/oconfigure/work/destroot
 make: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_oconfigure/oconfigure/work
 /oconfigure-47566f2a87495561bd208021f48e3b52fc118259'
 # Do nothing.
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_oconfigure/oconfigure/work
 /oconfigure-47566f2a87495561bd208021f48e3b52fc118259'
 Error: No files have been installed in the destroot directory!
 Error: Please make sure that this software supports 'make install
 DESTDIR=${destroot}' or implement an alternative destroot mechanism in the
 Portfile.
 Error: Files might have been installed directly into your system, check
 before proceeding.
 Error: Failed to destroot oconfigure: Staging oconfigure into destroot
 failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_oconfigure/oconfigure/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there
 is a bug.
 Error: Processing of port oconfigure failed
 }}}

 I think from the oconfigure documentation, it does support DESTDIR?

 Also, I thought I would try a different approach with modifying the
 openrsync Portfile by adding a

 {{{
 configure.args PREFIX=${prefix}
 }}}

 Since locally, that does not throw the error encountered previously, e.g.

 {{{
 ./configure PREFIX=/opt/local
 config.log: writing...
 ld: unknown options: -soname
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 configure.local: no (fully automatic configuration)
 arc4random: yes
 blowfish: no
 b64_ntop: yes (with -lresolv)
 capsicum: no
 crypt: yes
 crypt_newhash: no
 endian_h: no
 err: yes
 explicit_bzero: no
 fts: yes
 getexecname: no
 getprogname: yes
 INFTIM: no
 landlock: no
 lib_socket: yes
 md5: no
 memmem: yes
 memrchr: no
 memset_s: yes
 mkfifoat: yes
 mknodat: yes
 osbyteorder_h: yes
 PASSWORD_LEN: yes
 PATH_MAX: yes
 pledge: no
 program_invocation_short_name: no
 readpassphrase: yes
 reallocarray: no
 recallocarray: no
 sandbox_init: yes
 scan_scaled: no
 seccomp-filter: no
 setresgid: no
 setresuid: no
 sha2: no
 SOCK_NONBLOCK: no
 static: no
 strlcat: yes
 strlcpy: yes
 strndup: yes
 strnlen: yes
 strtonum: yes
 sys_byteorder_h: no
 sys_endian_h: no
 sys_mkdev_h: no
 sys_sysmacros_h: no
 sys_queue: yes
 sys_tree: no
 termios: yes
 timingsafe_bcmp: no
 unveil: no
 WAIT_ANY: yes
 __progname: yes
 config.h: written
 Makefile.configure: written
 grey at Tyrones-MacBook-Air openrsync % make
 cc -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-
 strings -Wno-unused-parameter   -c -o blocks.o blocks.c
 cc -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-
 strings -Wno-unused-parameter   -c -o client.o client.c
 cc -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-
 strings -Wno-unused-parameter   -c -o compats.o compats.c
 cc -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-
 strings -Wno-unused-parameter   -c -o copy.o copy.c
 cc -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-
 strings -Wno-unused-parameter   -c -o downloader.o downloader.c
 cc -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-
 strings -Wno-unused-parameter   -c -o fargs.o fargs.c
 cc -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-
 strings -Wno-unused-parameter   -c -o flist.o flist.c
 cc -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-
 strings -Wno-unused-parameter   -c -o hash.o hash.c
 cc -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-
 strings -Wno-unused-parameter   -c -o ids.o ids.c
 cc -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-
 strings -Wno-unused-parameter   -c -o io.o io.c
 cc -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-
 strings -Wno-unused-parameter   -c -o log.o log.c
 cc -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-
 strings -Wno-unused-parameter   -c -o md4.o md4.c
 cc -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-
 strings -Wno-unused-parameter   -c -o misc.o misc.c
 cc -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-
 strings -Wno-unused-parameter   -c -o mkpath.o mkpath.c
 cc -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-
 strings -Wno-unused-parameter   -c -o mktemp.o mktemp.c
 cc -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-
 strings -Wno-unused-parameter   -c -o receiver.o receiver.c
 cc -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-
 strings -Wno-unused-parameter   -c -o rmatch.o rmatch.c
 cc -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-
 strings -Wno-unused-parameter   -c -o rules.o rules.c
 cc -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-
 strings -Wno-unused-parameter   -c -o sender.o sender.c
 cc -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-
 strings -Wno-unused-parameter   -c -o server.o server.c
 cc -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-
 strings -Wno-unused-parameter   -c -o session.o session.c
 cc -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-
 strings -Wno-unused-parameter   -c -o socket.o socket.c
 cc -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-
 strings -Wno-unused-parameter   -c -o symlinks.o symlinks.c
 cc -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-
 strings -Wno-unused-parameter   -c -o uploader.o uploader.c
 cc -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-
 strings -Wno-unused-parameter   -c -o main.o main.c
 cc -o openrsync blocks.o client.o compats.o copy.o downloader.o fargs.o
 flist.o hash.o ids.o io.o log.o md4.o misc.o mkpath.o mktemp.o receiver.o
 rmatch.o rules.o sender.o server.o session.o socket.o symlinks.o
 uploader.o main.o -lm
 }}}

 But that just appends it to the ./configure parameters, which still
 invokes --prefix=/opt/local

 So it will still error out with:

 {{{
 port -v install
 --->  Fetching archive for openrsync
 --->  openrsync-20250127_0.darwin_24.arm64.tbz2 doesn't seem to exist in
 /opt/local/var/macports/incoming/verified
 --->  Attempting to fetch openrsync-20250127_0.darwin_24.arm64.tbz2 from
 http://mirror.fcix.net/macports/packages/openrsync
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
   0   153    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 0
 --->  Attempting to fetch openrsync-20250127_0.darwin_24.arm64.tbz2 from
 https://packages.macports.org/openrsync
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
   0   126    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 0
 --->  Attempting to fetch openrsync-20250127_0.darwin_24.arm64.tbz2 from
 https://ywg.ca.packages.macports.org/mirror/macports/packages/openrsync
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
   0   153    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 0
 --->  Fetching distfiles for openrsync
 --->  Verifying checksums for openrsync
 --->  Checksumming openrsync-
 a257c0f495af2b5ee6b41efc6724850a445f87ed.tar.gz
 --->  Extracting openrsync
 --->  Extracting openrsync-a257c0f495af2b5ee6b41efc6724850a445f87ed.tar.gz
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_openrsync/openrsync/work"
 && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/openrsync
 /openrsync-a257c0f495af2b5ee6b41efc6724850a445f87ed.tar.gz' | /usr/bin/tar
 -xf -
 --->  Configuring openrsync
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_openrsync/openrsync/work
 /openrsync-a257c0f495af2b5ee6b41efc6724850a445f87ed" && ./configure
 --prefix=/opt/local PREFIX=/opt/local
 config.log: writing...
 ./configure: invalid key: --prefix
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_openrsync/openrsync/work
 /openrsync-a257c0f495af2b5ee6b41efc6724850a445f87ed" && ./configure
 --prefix=/opt/local PREFIX=/opt/local
 Exit code: 1
 Error: Failed to configure openrsync: consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_openrsync/openrsync/work
 /openrsync-a257c0f495af2b5ee6b41efc6724850a445f87ed/config.log
 Error: Failed to configure openrsync: configure failure: command execution
 failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_openrsync/openrsync/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there
 is a bug.
 Error: Processing of port openrsync failed
 }}}

 So, is there a way to get MacPorts to not pass ./configure
 {{{
 --prefix=/opt/local
 }}}

 And instead just have it pass:

 {{{
 PREFIX=/opt/local
 }}}

 ?

 Or maybe someone has some perspective on how clean up my oconfigure
 Portfile so it installs correctly and then invoke that instead of the
 built-in configure?

-- 
Ticket URL: <https://trac.macports.org/ticket/72311#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list