Opened 11 years ago

Closed 11 years ago

#40241 closed defect (invalid)

git-core @1.8.4_0 fail to build: command execution failed

Reported by: davidmenhur@… Owned by: ci42
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc:
Port: git-core

Description (last modified by neverpanic (Clemens Lang))

--->  Building git-core
Error: org.macports.build for port git-core returned: command execution failed

The relevant part of the error log is:

:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_git-core/git-core/work/git-1.8.4" && /usr/bin/make -j2 -w all CFLAGS="-I. -Wall -O2 -I/opt/local/include -arch x86_64" LDFLAGS="-L/opt/local/lib -arch x86_64" CC=/usr/bin/gcc-4.2 prefix=/opt/local CURLDIR=/opt/local OPENSSLDIR=/opt/local ICONVDIR=/opt/local PERL_PATH="/opt/local/bin/perl5.12" NO_FINK=1 NO_DARWIN_PORTS=1 NO_R_TO_GCC_LINKER=1 V=1 PYTHON_PATH="/opt/local/bin/python2.7" LIBPCREDIR=/opt/local USE_LIBPCRE=1 
:info:build Exit code: 2
:error:build org.macports.build for port git-core returned: command execution failed
:debug:build Error code: CHILDSTATUS 13766 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: targets not executed for git-core: org.macports.install org.macports.build org.macports.destroot

It also failed with the previous version, 1.8.3.4_1

Attachments (1)

bureport.log (262.9 KB) - added by davidmenhur@… 11 years ago.

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by davidmenhur@…

Attachment: bureport.log added

comment:1 Changed 11 years ago by neverpanic (Clemens Lang)

Description: modified (diff)

comment:2 Changed 11 years ago by neverpanic (Clemens Lang)

Cc: ciserlohn@… removed
Owner: changed from macports-tickets@… to ciserlohn@…

Error is:

:info:build /usr/bin/make -C git_remote_helpers  PYTHON_PATH='/opt/local/bin/python2.7' prefix='/opt/local' all
:info:build make[1]: execvp: /opt/local/bin/python2.7: Too many levels of symbolic links
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_git-core/git-core/work/git-1.8.4/git_remote_helpers'
:info:build make[1]: execvp: /opt/local/bin/python2.7: Too many levels of symbolic links
:info:build test "$(cat GIT-PYTHON-VERSION 2>/dev/null)" = "" || \
:info:build 	flags=--force; \
:info:build 	/opt/local/bin/python2.7 setup.py  build $flags
:info:build /bin/sh: /opt/local/bin/python2.7: Too many levels of symbolic links
:info:build make[1]: *** [all] Error 126

What does ls -lash /opt/local/bin/python2.7 print on your system? Does sudo port -f deactivate python27; sudo port activate python27 help?

comment:3 Changed 11 years ago by davidmenhur@…

Reactivating python worked, thank you. For reference:

$ ls -lash /opt/local/bin/python2.7
8 lrwxr-xr-x  1 root  admin    24B 14 Aug 09:28 /opt/local/bin/python2.7 -> /opt/local/bin/python2.7

comment:4 Changed 11 years ago by neverpanic (Clemens Lang)

Port: git-core added
Resolution: invalid
Status: newclosed

Yeah, that's definitely broken. No idea how that happened on your system, though.

Note: See TracTickets for help on using tickets.