[MacPorts] #37213: pkgconfig - build fails
MacPorts
noreply at macports.org
Fri Dec 7 01:13:08 PST 2012
#37213: pkgconfig - build fails
-------------------------+--------------------------
Reporter: jkorchok@… | Owner: ryandesign@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords:
Port: pkgconfig |
-------------------------+--------------------------
Comment (by ryandesign@…):
I should have mentioned when I said that it builds fine for me that I was
testing on a Power Mac G4 with Leopard.
The new log shows a different error:
{{{
:debug:extract Executing command line: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_pkgconfig/pkgconfig/work"
&& /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/pkgconfig/pkg-
config-0.27.1.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -
:info:extract /usr/bin/gnutar: pkg-
config-0.27.1/glib/glib/gunicodeprivate.h: Cannot open: File exists
:info:extract /usr/bin/gnutar: pkg-config-0.27.1/glib/glib/gtree.c: Cannot
open: File exists
:info:extract /usr/bin/gnutar: Error exit delayed from previous errors
}}}
I don't see how the files it's trying to extract could already exist if
you cleaned the port before trying, which the log shows you did do, so I
don't understand.
[http://fvue.nl/wiki/Tar:_Cannot_open:_File_exists This page] says the
error "Cannot open: File exists" actually means permission denied. But I
don't understand why permission would be denied for these two files only.
You did use `sudo` when running the `port` command, right? (`sudo port
install pkgconfig`) How was MacPorts itself installed—using the dmg you
can download from our web site, or compiled manually from source? Have you
been able to install any other ports?
According to `tar -zf pkg-config-0.27.1.tar.gz` the archive contains 327
items. gunicodeprivate.h is 138 and gtree.c is 185; not sure what's
significant about those two files. Does the `port work pkgconfig`
directory contain other files that were successfully extracted?
Could you `sudo port clean pkgconfig` again and then try again and see if
you still get this same error?
--
Ticket URL: <https://trac.macports.org/ticket/37213#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list