Opened 12 years ago

Closed 12 years ago

#35315 closed defect (duplicate)

git-core: build fails: No such file or directory

Reported by: jel+macports@… Owned by: ci42
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: git-core

Description (last modified by ryandesign (Ryan Carsten Schmidt))

notice:build --->  Building git-core
:debug:build Executing org.macports.build (git-core)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_git-core/git-core/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_git-core/git-core/work/git-1.7.11.3" && /usr/bin/make -j2 -w all CFLAGS="-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'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_git-core/git-core/work/git-1.7.11.3" && /usr/bin/make -j2 -w all CFLAGS="-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 sh: line 0: cd: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_git-core/git-core/work/git-1.7.11.3: No such file or directory
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_git-core/git-core/work/git-1.7.11.3" && /usr/bin/make -j2 -w all CFLAGS="-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: 1
:error:build org.macports.build for port git-core returned: command execution failed
:debug:build Error code: CHILDSTATUS 45794 1
: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.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port git-core for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_git-core/git-core/main.log

Change History (3)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to ciserlohn@…
Port: git-core added
Summary: git-core failsegit-core: build fails: No such file or directory
git-1.7.11.3: No such file or directory

Sounds like #29223. Please "sudo port clean git-core" and try again, and attach the main.log if it fails again.

comment:2 Changed 12 years ago by jel+macports@…

Yes, that solved the problem.

Thanx a lot, jel.

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

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.