#38594: why are these error happening? ------------------------+-------------------------------- Reporter: connortk@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: ------------------------+-------------------------------- Over past week i have been trying to fix but with no luck these errors when installing ports. My xcode is installed and i have the command line tools. Im running Mountain Lion and was following: [http://www.davidbaumgold.com/tutorials/wine-mac/]. I put in: {{{ sudo port install wine }}} and get: {{{ Error: Port wine not found }}} after i did {{{ sudo port sync }}} and again did {{{ sudo port install wine }}} i get a really long log and it says {{{ Warning: xcodebuild exists but failed to execute Warning: Xcode does not appear to be installed; most ports will likely fail to build. }}} when in fact it is installed! Here is the rest of the log {{{ ---> Computing dependencies for wine ---> Dependencies to be installed: expat fontconfig freetype bzip2 zlib libiconv gstreamer010 bison gettext ncurses m4 xz flex glib2 libffi perl5 perl5.12 gdbm libxml2 gstreamer010-gst-plugins-base gnome-vfs desktop- file-utils popt gconf dbus-glib dbus gtk2 atk gobject-introspection cairo libpixman libpng lzo2 pkgconfig xorg-libXext xorg-libX11 xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb python27 db46 libedit openssl python_select sqlite3 xorg-libpthread-stubs xorg-xcb-proto xorg- xextproto xorg-xcb-util xrender xorg-renderproto gdk-pixbuf2 jasper jpeg tiff hicolor-icon-theme pango Xft2 harfbuzz graphite2 cmake libidn icu shared-mime-info xorg-libXcomposite xorg-compositeproto xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg- libXi xorg-inputproto xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto intltool p5.12-getopt-long p5.12-pathtools p5.12-scalar- list-utils p5.12-xml-parser orbit2 libidl policykit gnome-doc-utils docbook-xml docbook-xml-4.1.2 docbook-xml-4.2 xmlcatmgr docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 docbook-xml-5.0 docbook-xsl iso-codes libxslt py27-libxml2 rarian gnome-mime-data libtheora libvorbis libogg orc xorg-libice xorg-libsm lcms mesa xorg-dri2proto xorg-glproto xorg-libXmu xorg-libXt xorg-libXxf86vm xorg-xf86vidmodeproto ---> Fetching archive for expat ---> Attempting to fetch expat-2.1.0_0+universal.darwin_12.i386-x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/expat ---> Attempting to fetch expat-2.1.0_0+universal.darwin_12.i386-x86_64.tbz2.rmd160 from http://mse.uk.packages.macports.org/sites/packages.macports.org/expat ---> Installing expat @2.1.0_0+universal Error: org.macports.install for port expat returned: couldn't execute "/usr/bin/tar": Bad CPU type in executable Error: Failed to install expat Please see the log file for port expat for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_expat/expat/main.log Error: The following dependencies were not installed: expat fontconfig freetype bzip2 zlib libiconv gstreamer010 bison gettext ncurses m4 xz flex glib2 libffi perl5 perl5.12 gdbm libxml2 gstreamer010-gst-plugins-base gnome-vfs desktop-file-utils popt gconf dbus-glib dbus gtk2 atk gobject- introspection cairo libpixman libpng lzo2 pkgconfig xorg-libXext xorg- libX11 xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb python27 db46 libedit openssl python_select sqlite3 xorg-libpthread-stubs xorg-xcb-proto xorg-xextproto xorg-xcb-util xrender xorg-renderproto gdk- pixbuf2 jasper jpeg tiff hicolor-icon-theme pango Xft2 harfbuzz graphite2 cmake libidn icu shared-mime-info xorg-libXcomposite xorg-compositeproto xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg- damageproto xorg-libXi xorg-inputproto xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto intltool p5.12-getopt-long p5.12-pathtools p5.12-scalar-list-utils p5.12-xml-parser orbit2 libidl policykit gnome- doc-utils docbook-xml docbook-xml-4.1.2 docbook-xml-4.2 xmlcatmgr docbook- xml-4.3 docbook-xml-4.4 docbook-xml-4.5 docbook-xml-5.0 docbook-xsl iso- codes libxslt py27-libxml2 rarian gnome-mime-data libtheora libvorbis libogg orc xorg-libice xorg-libsm lcms mesa xorg-dri2proto xorg-glproto xorg-libXmu xorg-libXt xorg-libXxf86vm xorg-xf86vidmodeproto To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port wine failed }}} ---- Another problem: ---- also here is another error i get and it is about how my mac cannot extract tarballs: i put in: {{{ sudo port selfupdate }}} and get: {{{ ---> Updating MacPorts base sources using rsync Error: /opt/local/bin/port: port selfupdate failed: Failed to extract MacPorts sources from tarball! }}} i get the tarballs error a lot and do not know why. And another error is "Bad CPU type in executable", which is just as annoying. Please help me fix all of these errors so i can get macports working! -- Ticket URL: <https://trac.macports.org/ticket/38594> MacPorts <http://www.macports.org/> Ports system for OS X