Opened 13 years ago
Closed 13 years ago
#32232 closed defect (invalid)
Failed Initialization and Failed port extract
Reported by: | Aegershen@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
I keep attempting to install a port that is local and it gives me the error of:
Error: /opt/local/bin/port: Failed to initialize MacPorts, Port extract failed: tar: Error opening archive: Failed to open '/Users/jonathan/Users/jonathan/ports'
It seemed to duplicate the Users/jonathan part of the code and i haven't been able to figure out why. i think that might be the problem because i have talked to people who were able to get the same port running. Some help would be appreciated.
Change History (9)
comment:1 follow-up: 2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Description: | modified (diff) |
comment:2 follow-up: 3 Changed 13 years ago by Aegershen@…
Replying to ryandesign@…:
Exactly what command did you type, in what directory? Can you show us the Portfile you're using?
sudo port install gonstruct
the folder the port is in is just ~/
what do you mean by portfile? the folder form the port i'm useing?
comment:3 Changed 13 years ago by Aegershen@…
I guess i probably should have started with this...
Port extract failed: tar: Error opening archive: Failed to open '/Users/jonathan/Users/jonathan/ports' while executing "macports::fetch_port $path 1" (procedure "macports::getportdir" line 12) invoked from within "macports::getportdir $source" (procedure "macports::getindex" line 4) invoked from within "macports::getindex $source" (procedure "_mports_load_quickindex" line 11) invoked from within "_mports_load_quickindex" (procedure "mportinit" line 536) invoked from within "mportinit ui_options global_options global_variations" Error: /opt/local/bin/port: Failed to initialize MacPorts, Port extract failed: tar: Error opening archive: Failed to open '/Users/jonathan/Users/jonathan/ports'
comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Where is the port "gonstruct" defined? There has to be a file called "Portfile" somewhere that describes this port, and it's not in our standard ports repository. (You said it's a local port.) Where is it on disk? (Is it /Users/jonathan/Portfile or /Users/jonathan/ports/gonstruct/Portfile or what?) How have you informed MacPorts that it should look in that location for the port? (Have you edited sources.conf? If so what did you put there?)
comment:5 Changed 13 years ago by Aegershen@…
I edited sources.conf and put in
file://Users/jonathan/ports
above any url ports.
the portfile for gonstruct is in the folder /Users/jonathan/ports/games/gonstruct
comment:6 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Three slashes are needed in file: protocol URLs.
file:///Users/jonathan/ports
comment:7 follow-up: 8 Changed 13 years ago by Aegershen@…
ok, so that worked, but then i got an error but i'm not quite sure where. Here is the error if you can do anything with it.
Error: Target org.macports.build returned: shell command failed (see log for details) Error: Failed to install glib2 Log for glib2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/main.log Error: The following dependencies were not installed: gtkglarea2 gtk2 atk glib2 glib2 gtk-doc docbook-xml docbook-xml-4.1.2 xmlcatmgr docbook-xml-4.2 docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 docbook-xml-5.0 docbook-xsl gnome-doc-utils intltool gnome-common pkgconfig pkgconfig p5.12-getopt-long p5.12-pathtools p5.12-scalar-list-utils p5.12-xml-parser iso-codes libxslt libxml2 libxml2 libxslt py27-libxml2 python27 db46 libedit python_select sqlite3 python27 py27-libxml2 rarian getopt gdk-pixbuf2 jasper jpeg libpng tiff hicolor-icon-theme pango Xft2 fontconfig freetype xrender xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb xorg-libpthread-stubs xorg-xcb-proto xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-renderproto cairo apple-gcc42 gcc_select libpixman xorg-xcb-util shared-mime-info xorg-libXcomposite xorg-compositeproto xorg-libXext xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto mesa makedepend xorg-dri2proto xorg-glproto xorg-libXmu xorg-libXt xorg-libsm xorg-libice gtkmm atkmm glibmm libsigcxx2 cairomm pangomm gtksourceview2 ruby readline Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
I'm going to try and redownload the ports folder maybe i messed something up playing with it before.
Unless there is something in the error that's not on my end i think that might fix it.
comment:8 Changed 13 years ago by Aegershen@…
Replying to Aegershen@…:
ok, so that worked, but then i got an error but i'm not quite sure where. Here is the error if you can do anything with it.
Error: Target org.macports.build returned: shell command failed (see log for details) Error: Failed to install glib2 Log for glib2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/main.log Error: The following dependencies were not installed: gtkglarea2 gtk2 atk glib2 glib2 gtk-doc docbook-xml docbook-xml-4.1.2 xmlcatmgr docbook-xml-4.2 docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 docbook-xml-5.0 docbook-xsl gnome-doc-utils intltool gnome-common pkgconfig pkgconfig p5.12-getopt-long p5.12-pathtools p5.12-scalar-list-utils p5.12-xml-parser iso-codes libxslt libxml2 libxml2 libxslt py27-libxml2 python27 db46 libedit python_select sqlite3 python27 py27-libxml2 rarian getopt gdk-pixbuf2 jasper jpeg libpng tiff hicolor-icon-theme pango Xft2 fontconfig freetype xrender xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb xorg-libpthread-stubs xorg-xcb-proto xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-renderproto cairo apple-gcc42 gcc_select libpixman xorg-xcb-util shared-mime-info xorg-libXcomposite xorg-compositeproto xorg-libXext xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto mesa makedepend xorg-dri2proto xorg-glproto xorg-libXmu xorg-libXt xorg-libsm xorg-libice gtkmm atkmm glibmm libsigcxx2 cairomm pangomm gtksourceview2 ruby readline Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>I'm going to try and redownload the ports folder maybe i messed something up playing with it before.
Unless there is something in the error that's not on my end i think that might fix it.
redownloading it didn't work...
comment:9 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → invalid |
---|---|
Status: | new → closed |
File a new ticket about glib2, if none of the existing tickets about glib2 describe the problem, and if you've already selfupdated and upgraded outdated ports; I've fixed some glib2 things recently.
Exactly what command did you type, in what directory? Can you show us the Portfile you're using?