[MacPorts] #31548: dotwrp: Git clone failed
#31548: dotwrp: Git clone failed ------------------------------+--------------------------------------------- Reporter: ram@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: dotwrp ------------------------------+--------------------------------------------- dotwrp fails to build (Mac OS X 10.6.8, XCode-4.0.2) with the following error: {{{ ---> Computing dependencies for octave ---> Dependencies to be installed: dotwrp ftgl gawk gnuplot aquaterm pdflib hdf5-18 qhull cmake qrupdate ---> Fetching archive for dotwrp ---> Attempting to fetch dotwrp-1.0_1+gcc44.darwin_10.x86_64.tbz2 from http://packages.macports.org/dotwrp ---> Fetching dotwrp Error: Target org.macports.fetch returned: Git clone failed Error: Failed to install dotwrp Log for dotwrp is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_dotwrp/dotwrp/main.log Error: The following dependencies were not installed: dotwrp ftgl gawk gnuplot aquaterm pdflib hdf5-18 qhull cmake qrupdate Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> }}} log is attached, -- Ticket URL: <https://trac.macports.org/ticket/31548> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31548: dotwrp: Git clone failed ------------------------------+--------------------------------------------- Reporter: ram@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: dotwrp ------------------------------+--------------------------------------------- Comment(by ram@…): Ahh, it seems that it's using the system git to fetch the sources and as I have commands specific to the latest upstream git in my .gitconfig things are getting confused... Disabling the newer config options allows it too succeed but shouldn't MacPorts git be used in preference to the system git? -- Ticket URL: <https://trac.macports.org/ticket/31548#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31548: dotwrp: Git clone failed ------------------------------+--------------------------------------------- Reporter: ram@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: dotwrp ------------------------------+--------------------------------------------- Comment(by takeshi@…): I was able to git clone with current MacPorts git (1.7.7_0) . My .gitconfig is minimal (name and email). -- Ticket URL: <https://trac.macports.org/ticket/31548#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31548: dotwrp: Git clone failed ------------------------------+--------------------------------------------- Reporter: ram@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: dotwrp ------------------------------+--------------------------------------------- Comment(by ram@…): The entry that caused problems was: {{{ [push] default = upstream }}} it complained that `upstream` wasn't a valid option. This is a valid option for recent git versions but not older ones, like is supplied with Xcode4. The point is that why is MacPorts using the system git to fetch sources in preference to the MacPorts git? -- Ticket URL: <https://trac.macports.org/ticket/31548#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31548: dotwrp: Git clone failed ------------------------------+--------------------------------------------- Reporter: ram@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: dotwrp ------------------------------+--------------------------------------------- Comment(by ecronin@…): The second report on #26135 is probably a dup of this, but #31827 is the root issue. To answer the question in comment 4: MacPorts hard-codes the path to git/svn/etc that ./configure for base detects (and it looks in /usr first for those who build their own base from source). If you cleared out port_autoconf.tcl I think it would then fall-back to adding a depends_fetch git and use the macports git, but I haven't tried that. The real fix is to not read the user's .gitconfig, in which case any git will work -- Ticket URL: <https://trac.macports.org/ticket/31548#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31548: dotwrp: Git clone failed ------------------------------+--------------------------------------------- Reporter: ram@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: dotwrp ------------------------------+--------------------------------------------- Comment(by jmr@…): Was this fixed by the HOME changes in 2.0.4? (You really shouldn't delete the version field from tickets where it might be relevant BTW.) -- Ticket URL: <https://trac.macports.org/ticket/31548#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31548: dotwrp: Git clone failed -------------------------------+-------------------------------------------- Reporter: ram@… | Owner: takeshi@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: dotwrp | -------------------------------+-------------------------------------------- Changes (by takeshi@…): * status: new => closed * resolution: => fixed Comment: I tagged v1.1 to enable download in tar.gz. Committed in r93890. -- Ticket URL: <https://trac.macports.org/ticket/31548#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts