[MacPorts] #64090: fails to build on undeclared RS_DEFAULT_STRONG_LEN

MacPorts noreply at macports.org
Tue Nov 30 18:09:30 UTC 2021


#64090: fails to build on undeclared RS_DEFAULT_STRONG_LEN
--------------------+--------------------------
 Reporter:  bolet   |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.7.1
 Keywords:          |       Port:  rdiff-backup
--------------------+--------------------------
 Here is where the build log starts to show errors:

 {{{
 :info:build running build_ext
 :info:build building 'rdiff_backup.C' extension
 :info:build creating build/temp.macosx-10.15-x86_64-2.7
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_rdiff-backup/rdiff-
 backup/work/compwrap/cc/usr/bin/clang -fno-strict-aliasing -fno-common
 -dynamic -pipe -I/opt/local/libexec/openssl11/include -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -DNDEBUG
 -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch x86_64
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
 -c cmodule.c -o build/temp.macosx-10.15-x86_64-2.7/cmodule.o
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_rdiff-backup/rdiff-
 backup/work/compwrap/cc/usr/bin/clang -bundle -undefined dynamic_lookup
 -L/opt/local/libexec/openssl11/lib -L/opt/local/lib
 -Wl,-headerpad_max_install_names -L/opt/local/lib/db48
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
 -arch x86_64 -arch x86_64
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
 build/temp.macosx-10.15-x86_64-2.7/cmodule.o -o
 build/lib.macosx-10.15-x86_64-2.7/rdiff_backup/C.so
 :info:build building 'rdiff_backup._librsync' extension
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_rdiff-backup/rdiff-
 backup/work/compwrap/cc/usr/bin/clang -fno-strict-aliasing -fno-common
 -dynamic -pipe -I/opt/local/libexec/openssl11/include -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -DNDEBUG
 -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch x86_64
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
 -I/opt/local/include
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
 -c _librsyncmodule.c -o
 build/temp.macosx-10.15-x86_64-2.7/_librsyncmodule.o
 :info:build _librsyncmodule.c:63:17: error: use of undeclared identifier
 'RS_DEFAULT_STRONG_LEN'
 :info:build
 (size_t)RS_DEFAULT_STRONG_LEN);
 :info:build
 ^
 :info:build 1 error generated.
 :info:build error: command
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_rdiff-backup/rdiff-
 backup/work/compwrap/cc/usr/bin/clang' failed with exit status 1
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_rdiff-backup/rdiff-backup/work/rdiff-
 backup-1.2.8" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
 setup.py --no-user-cfg build --librsync-dir=/opt/local
 :info:build Exit code: 1
 :error:build Failed to build rdiff-backup: command execution failed
 :debug:build Error code: CHILDSTATUS 57202 1
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec -callback
 portprogress::target_progress_callback build"
 :debug:build     (procedure "portbuild::build_main" line 8)
 :debug:build     invoked from within
 :debug:build "$procedure $targetname"
 :error:build See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_rdiff-backup/rdiff-backup/main.log for
 details.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/64090>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list