[MacPorts] #61066: rlwrap fails on build of MacOS Big Sur Beta 11.0 using XCode 12 Beta 5

MacPorts noreply at macports.org
Tue Aug 25 16:44:33 UTC 2020


#61066: rlwrap fails on build of MacOS Big Sur Beta 11.0 using XCode 12 Beta 5
--------------------------+--------------------
 Reporter:  chicagotripp  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:
 Keywords:                |       Port:  rlwrap
--------------------------+--------------------
 The port rlwrap is unable to build on MacOS Big Sur Beta 11.0 using XCode
 12 Beta 5.I receive the following error message:

 {{{
 /usr/bin/clang -DHAVE_CONFIG_H -I. -I..   -I/opt/local/include
 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk
 -DDATADIR=\"/opt/local/share\"  -pipe -Os
 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk
 -arch x86_64 -MT filter.o -MD -MP -MF .deps/filter.Tpo -c -o filter.o
 filter.c
 completion.rb:25:32: warning: unknown warning group '-Wunused-but-set-
 variable', ignored [-Wunknown-warning-option]
 #pragma GCC diagnostic ignored "-Wunused-but-set-variable"
                                ^
 ptytty.c:72:7: error: implicit declaration of function 'openpty' is
 invalid in C99 [-Werror,-Wimplicit-function-declaration]
   if (openpty(&pfd, fd_tty, tty_name, NULL, NULL) != -1) {
       ^
 ptytty.c:72:7: note: did you mean 'openat'?
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/usr/include/sys/fcntl.h:556:9:
 note: 'openat' declared here
 int     openat(int, const char *, int, ...) __DARWIN_NOCANCEL(openat)
 __OSX_AVAILABLE_STARTING(__MAC_10_10, __IPHONE_8_0);
         ^
 1 error generated.
 make[2]: *** [ptytty.o] Error 1
 make[2]: *** Waiting for unfinished jobs....
 mv -f .deps/malloc_debug.Tpo .deps/malloc_debug.Po
 string_utils.c:982:16: warning: shifting a negative signed value is
 undefined [-Wshift-negative-value]
   if (length > MAX_FIELD_LENGTH)
                ^~~~~~~~~~~~~~~~
 string_utils.c:914:33: note: expanded from macro 'MAX_FIELD_LENGTH'
 #define MAX_FIELD_LENGTH (~((-1)<<(DIGITS_NUMBER * 4 -1)) -1)
                             ~~~~^
 string_utils.c:984:62: warning: shifting a negative signed value is
 undefined [-Wshift-negative-value]
             mangle_string_for_debug_log(field, 10), length,
 MAX_FIELD_LENGTH);
 ^~~~~~~~~~~~~~~~
 string_utils.c:914:33: note: expanded from macro 'MAX_FIELD_LENGTH'
 #define MAX_FIELD_LENGTH (~((-1)<<(DIGITS_NUMBER * 4 -1)) -1)
                             ~~~~^
 mv -f .deps/pty.Tpo .deps/pty.Po
 mv -f .deps/filter.Tpo .deps/filter.Po
 mv -f .deps/term.Tpo .deps/term.Po
 mv -f .deps/signals.Tpo .deps/signals.Po
 mv -f .deps/utils.Tpo .deps/utils.Po
 1 warning generated.
 mv -f .deps/completion.Tpo .deps/completion.Po
 mv -f .deps/main.Tpo .deps/main.Po
 mv -f .deps/readline.Tpo .deps/readline.Po
 2 warnings generated.
 mv -f .deps/string_utils.Tpo .deps/string_utils.Po
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_rlwrap/rlwrap/work/rlwrap-0.43/src'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_rlwrap/rlwrap/work/rlwrap-0.43'
 make: *** [all] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_rlwrap/rlwrap/work/rlwrap-0.43'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_rlwrap/rlwrap/work/rlwrap-0.43"
 && /usr/bin/make -j16 -w all
 Exit code: 2
 Error: Failed to build rlwrap: command execution failed
 DEBUG: Error code: CHILDSTATUS 35457 2
 DEBUG: Backtrace: command execution failed
     while executing
 "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
     invoked from within
 "command_exec -callback portprogress::target_progress_callback build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_rlwrap/rlwrap/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port rlwrap failed
 }}}

 I am including the main.log file as an attachment.

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


More information about the macports-tickets mailing list