Opened 2 years ago

Closed 2 years ago

#64090 closed defect (fixed)

rdiff-backup @1.2.8_3 build failure: undeclared identifier RS_DEFAULT_STRONG_LEN

Reported by: bolet (Andre R) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc:
Port: rdiff-backup

Description

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.

Attachments (1)

main.log (60.5 KB) - added by bolet (Andre R) 2 years ago.
Main.log from build

Download all attachments as: .zip

Change History (4)

Changed 2 years ago by bolet (Andre R)

Attachment: main.log added

Main.log from build

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Summary: fails to build on undeclared RS_DEFAULT_STRONG_LENrdiff-backup @1.2.8_3 build failure: undeclared identifier RS_DEFAULT_STRONG_LEN

comment:2 Changed 2 years ago by jmroot (Joshua Root)

Looks like an incompatibility with more recent versions of librsync. Updating rdiff-backup to the latest version (currently 2.0.5) should fix it.

comment:3 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In bebd4f2388a297271dce3c581fcd68e56db9b360/macports-ports (master):

rdiff-backup: Update to 2.0.5

Closes: #64090

Note: See TracTickets for help on using tickets.