[MacPorts] #31236: "port logfile" does not print correct location
MacPorts
noreply at macports.org
Tue Sep 13 02:40:54 PDT 2011
#31236: "port logfile" does not print correct location
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.0.3
Keywords: | Port:
-------------------------------------+--------------------------------------
{{{
Warning: the following items did not execute (for mongodb):
org.macports.build
Log for mongodb is at:
/opt/local/var/macports/logs/_Users_rschmidt_macports_dports_databases_mongodb/mongodb/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
$ ls -l $(port logfile )
ls:
/opt/local/var/macports/logs/_Users_rschmidt_macports_dports_databases_mongodb/main.log:
No such file or directory
}}}
Note: "port logfile" said the logfile is here:
/opt/local/var/macports/logs/_Users_rschmidt_macports_dports_databases_mongodb/main.log
The logfile is actually here, as the install failure message said:
/opt/local/var/macports/logs/_Users_rschmidt_macports_dports_databases_mongodb/mongodb/main.log
Or maybe "port logfile" is printing what should be the correct location,
but MacPorts base is writing the logfile in the wrong place. There didn't
used to be that intermediate portname directory in previous versions of
MacPorts; maybe that change was unintentional.
--
Ticket URL: <https://trac.macports.org/ticket/31236>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list