[MacPorts] #61858: git : install fails

MacPorts noreply at macports.org
Fri Dec 18 05:37:52 UTC 2020


#61858: git : install fails
------------------------------+--------------------
 Reporter:  chhil             |      Owner:  (none)
     Type:  defect            |     Status:  new
 Priority:  Normal            |  Milestone:
Component:  ports             |    Version:  2.6.4
 Keywords:  git libunistring  |       Port:  git
------------------------------+--------------------
 Using
 https://distfiles.macports.org/MacPorts/MacPorts-2.6.4_1-11-BigSur.pkg

 Installing git errors out.
 **sudo port install git**



 {{{
 Error: Failed to build libunistring: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_libunistring/libunistring/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port git failed
 }}}


 From the log file generated

 {{{
 :info:build In file included from ./stdint.h:114:
 :info:build In file included from ./sys/types.h:48:
 :info:build In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/sys/types.h:170:
 :info:build
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/sys/_types/_useconds_t.h:31:33:
 error: cannot combine with previous 'type-name' declaration specifier
 :info:build typedef __darwin_useconds_t     useconds_t;
 :info:build                                 ^
 :info:build ./../config.h:2170:29: note: expanded from macro 'useconds_t'
 :info:build #define useconds_t unsigned int
 :info:build                             ^
 :info:build In file included from amemxfrm.c:33:
 :info:build In file included from ./stdlib.h:45:
 :info:build In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/stdlib.h:66:
 :info:build In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/sys/wait.h:110:
 :info:build In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/sys/resource.h:72:
 :info:build In file included from ./stdint.h:114:
 :info:build In file included from ./sys/types.h:48:
 :info:build In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/sys/types.h:170:
 :info:build
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/sys/_types/_useconds_t.h:31:33:
 error: 'type-name' cannot be signed or unsigned
 :info:build ./../config.h:2170:20: note: expanded from macro 'useconds_t'
 :info:build #define useconds_t unsigned int
 :info:build                    ^
 :info:build 9 errors generated.
 :info:build make[2]: *** [config.h] Error 1
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_libunistring/libunistring/work/libunistring-0.9.10/lib'
 :info:build make[1]: *** [all-recursive] Error 1
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_libunistring/libunistring/work/libunistring-0.9.10'
 :info:build make: *** [all] Error 2
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_libunistring/libunistring/work/libunistring-0.9.10'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_libunistring/libunistring/work/libunistring-0.9.10"
 && /usr/bin/make -j8 -w all
 :info:build Exit code: 2
 :error:build Failed to build libunistring: command execution failed
 :debug:build Error code: CHILDSTATUS 86213 2
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec 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_macports_release_tarballs_ports_textproc_libunistring/libunistring/main.log
 for details.

 }}}

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


More information about the macports-tickets mailing list