Opened 14 years ago
Closed 14 years ago
#25980 closed defect (invalid)
xorg-libXt can't install universal when xorg-libice and xorg-libsm aren't installed universal
Reported by: | wwinter86@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.1 |
Keywords: | Cc: | sewebster@…, wwinter86@… | |
Port: | xorg-libXt |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Hi, When I try to install Wine 1.3 with the wine-devel package I get the following error:
---> Computing dependencies for xorg-libXt ---> Building xorg-libXt Error: Target org.macports.build returned: shell command failed Log for xorg-libXt is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xorg-libXt/main.log Error: Unable to upgrade port: 1 Error: Unable to execute port: upgrade mesa failed
Any ideas please?
Attachments (1)
Change History (24)
comment:1 follow-up: 2 Changed 14 years ago by sewebster@…
comment:2 Changed 14 years ago by wwinter86@…
Replying to sewebster@…:
Looks like xorg-libsm and xorg-libice were not built i386. Since wine only builds 32 bit, all of it's dependencies also need to be 32 bit (or universal).
Ok thanks, how can I fix this?
comment:3 Changed 14 years ago by sewebster@…
Install all of wine's dependencies (and their dependencies etc.) with the +universal variant
comment:4 Changed 14 years ago by wwinter86@…
Sorry I'm new to this, how do I do that?
I tried:
sudo port install wine-devel +universal i386
Is this completely wrong? lol
comment:5 Changed 14 years ago by sewebster@…
At this point, it is likely better to ask for help on the macports-users mailing list: http://www.macports.org/contact.php#Lists
As an example, if you wanted to install xorg-libsm universal, then you would run:
sudo port install xorg-libsm+universal
comment:6 Changed 14 years ago by wwinter86@…
I just tried sudo port install xorg-libsm+universal
and got ->
Error: Port xorg-libsm+universal not found
I also just tried sudo port install wine-devel+universal
and got ->
Error: Port wine-devel+universal not found
\ :(
comment:7 Changed 14 years ago by sewebster@…
oops, missing a space: sudo port install xorg-libsm +universal
comment:8 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Milestone: | MacPorts 1.9.2 |
Port: | xorg-libXt added; wine-devel removed |
Summary: | wine-devel fails with "upgrade mesa failed" → xorg-libXt can't install universal when xorg-libice and xorg-libsm aren't installed universal |
Do not set the Milestone field for port tickets. Do use WikiFormatting.
If all your ports were installed after MacPorts 1.9.0 was installed, MacPorts should have handled upgrading them to universal for you. The fact that this does not happen suggests some of your ports were built with MacPorts 1.8.x or earlier so you'll have to handle upgrading them manually.
Try:
sudo port upgrade --enforce-variants rdepof:wine-devel +universal
comment:9 Changed 14 years ago by wwinter86@…
Just tried it and I get this error:
Error: Target org.macports.build returned: shell command failed Log for perl5.8 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5.8/main.log Error: Unable to upgrade port: 1
comment:10 Changed 14 years ago by sewebster@…
We can't tell anything from that output so you'll have to attach the mentioned log file.
comment:13 Changed 14 years ago by sewebster@…
:info:build ld: in /usr/local/lib/libstdc++.6.dylib, file was built for unsupported file format which is not the architecture being linked (i386) for architecture i386
You have files, including the one mentioned above, in /usr/local. Having anything in /usr/local is not supported when using macports. You should move them out of the way (eg. mv /usr/local /usr/local-moved) and try again. Note that this could mess up whatever you have in installed there...
comment:14 Changed 14 years ago by wwinter86@…
Tried it, but still same problem:
Error: Target org.macports.build returned: shell command failed Log for xorg-libXt is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xorg-libXt/main.log Error: Unable to upgrade port: 1 Error: Unable to execute port: upgrade mesa failed
Changed 14 years ago by wwinter86@…
comment:16 Changed 14 years ago by wwinter86@…
apache-ant @1.8.1_0 (active) apr @1.4.2_1 (active) apr-util @1.3.9_2 (active) aspell @0.60.6_3+macosx (active) atk @1.28.0_0 atk @1.30.0_0 (active) autoconf @2.64_2 autoconf @2.65_1 autoconf @2.65_2 autoconf @2.67_0 (active) autogen @5.9.8_0 (active) automake @1.11_0 automake @1.11.1_0 (active) bison @2.4.2_0 (active) boost-jam @3.1.17_0 boost-jam @3.1.18_0 (active) bzip2 @1.0.5_3+darwin (active) cabextract @1.2_0 (active) cairo @1.8.10_0+macosx (active) cmake @2.8.1_2 cmake @2.8.2_0 cmake @2.8.2_1 (active) coreutils @8.4_0 (active) cppunit @1.12.1_0 (active) curl @7.21.0_1+ssl (active) curl-ca-bundle @7.21.0_0 curl-ca-bundle @7.21.0_1 (active) cyrus-sasl2 @2.1.23_2+kerberos cyrus-sasl2 @2.1.23_3+kerberos (active) db46 @4.6.21_6 (active) dbus @1.2.16_1 dbus @1.2.24_1 (active) dbus-glib @0.86_0 dbus-glib @0.86_1 (active) desktop-file-utils @0.15_1 (active) dirac @1.0.2_0 (active) docbook-xml @5.0_0 (active) docbook-xml-4.1.2 @4.1.2_1 (active) docbook-xml-4.2 @4.2_0 (active) docbook-xml-4.3 @4.3_0 (active) docbook-xml-4.4 @4.4_0 (active) docbook-xml-4.5 @4.5_0 (active) docbook-xml-5.0 @5.0_0 (active) docbook-xsl @1.75.2_0 (active) dom4j @1.6.1_1 (active) enchant @1.5.0_1 enchant @1.6.0_0 (active) expat @2.0.1_0 expat @2.0.1_0+universal (active) faac @1.28_1 faac @1.28_2 (active) faad2 @2.7_0 (active) faad2 @2.7_0+darwin ffmpeg @0.5_5+darwin_10 ffmpeg @0.5.1_2 ffmpeg-devel @22866_0 ffmpeg-devel @24678_0 (active) flex @2.5.35_0 (active) fontconfig @2.8.0_0 fontconfig @2.8.0_0+macosx fontconfig @2.8.0_0+universal (active) freetype @2.3.12_0 freetype @2.3.12_0+macosx freetype @2.3.12_0+universal freetype @2.4.0_0 freetype @2.4.0_0+universal freetype @2.4.1_0 freetype @2.4.1_0+universal (active) gconf @2.26.2_0 gconf @2.26.2_1 (active) gdbm @1.8.3_2 (active) getopt @1.1.4_1 (active) gettext @0.17_4 gettext @0.18.1.1_0 gettext @0.18.1.1_1 gettext @0.18.1.1_2 (active) git-core @1.7.1.1_1+doc+svn git-core @1.7.2_0+doc+svn git-core @1.7.2.1_0+doc+svn (active) glib2 @2.22.2_0+darwin glib2 @2.22.5_0+darwin glib2 @2.24.1_0 (active) glut @3.7_3 (active) gmake @3.81_0 (active) gmp @5.0.1_0 (active) gnome-common @2.26.0_0 (active) gnome-doc-utils @0.18.1_1 (active) gnome-keyring @2.26.3_0 (active) gnome-mime-data @2.18.0_3 (active) gnome-vfs @2.24.3_0 gnome-vfs @2.24.3_1 (active) gnutls @2.8.6_0 (active) gperf @3.0.4_0 gperf @3.0.4_0+universal (active) gst-plugins-base @0.10.28_0 gst-plugins-base @0.10.29_1 (active) gstreamer @0.10.28_0 gstreamer @0.10.29_0 (active) gtk-doc @1.14_0 gtk-doc @1.15_0 (active) gtk2 @2.18.8_0+x11 gtk2 @2.20.1_0+x11 (active) guile @1.8.7_0 (active) gzip @1.4_0 (active) hamcrest-core @1.2_0 (active) help2man @1.36.4_1 help2man @1.37.1_1 help2man @1.38.2_0 (active) hunspell @1.2.8_1 (active) icu @4.3.4_0 (active) intltool @0.40.6_0 (active) iso-codes @3.15_0 iso-codes @3.18_0 iso-codes @3.19_0 (active) jasper @1.900.1_7 (active) jpeg @8a_0 jpeg @8b_0 jpeg @8b_0+universal (active) junit @4.6_1 (active) lame @3.98.2_1 lame @3.98.4_0 (active) lcms @1.19_2 (active) libart_lgpl @2.3.21_0 (active) libbonobo @2.24.3_0 (active) libcroco @0.6.2_1 (active) libebml @0.7.8_0 (active) libgcrypt @1.4.4_0 libgcrypt @1.4.5_0 libgcrypt @1.4.6_0 (active) libgpg-error @1.7_0 libgpg-error @1.8_0 libgpg-error @1.9_0 (active) libgsf @1.14.18_0 (active) libiconv @1.13_0 libiconv @1.13.1_0 libiconv @1.13.1_0+universal (active) libidl @0.8.14_0 (active) libidn @1.18_0 libidn @1.19_0 (active) libmad @0.15.1b_2 (active) libmatroska @0.8.1_0 (active) libmng @1.0.10_2 (active) libmpc @0.8.2_0 (active) libnotify @0.4.5_0 (active) libogg @1.1.4_0 libogg @1.2.0_0 (active) liboil @0.3.16_1+darwin_10 liboil @0.3.17_0 (active) libpixman @0.18.0_0 libpixman @0.18.2_0 (active) libpng @1.2.43_0 libpng @1.2.44_0 libpng @1.2.44_0+universal (active) libproxy @0.4.0_3 (active) librsvg @2.26.2_0 librsvg @2.26.3_0 (active) libsdl-devel @1.3.0-5101_0 libsdl-devel @1.3.0-5552_0 (active) libsoup @2.28.2_1 (active) libtasn1 @2.2_0 (active) libtheora @1.1.1_0 (active) libtool @2.2.6a_0 libtool @2.2.6b_1+darwin libtool @2.2.10_0 libtool @2.2.10_0+universal (active) libunique @1.1.6_0 (active) libvorbis @1.2.3_0 libvorbis @1.3.1_0 (active) libvpx @0.9.1_0 libvpx @0.9.1_1 (active) libxml2 @2.7.7_0 (active) libxslt @1.1.26_0 (active) lzmautils @4.32.7_1 (active) lzo @1.08_0 (active) lzo2 @2.03_2 (active) m4 @1.4.13_0 m4 @1.4.14_0 (active) macports-notifier @0.1.2_0 (active) MacPorts_Framework @1.2.0_0 (active) makedepend @1.0.2_0 makedepend @1.0.2_0+universal (active) mesa @7.8.1_1+hw_render mesa @7.8.2_2 (active) midori @0.1.2_1 (active) mp4v2 @1.9.1_1 mp4v2 @1.9.1_2 (active) mpeg2vidcodec @1.2_4 (active) mpfr @3.0.0-p3_0 (active) mplayer-devel @31034_0 (active) ncurses @5.7_0 ncurses @5.7_0+darwin_10 ncurses @5.7_0+universal (active) ncursesw @5.7_0 ncursesw @5.7_0+darwin_10 ncursesw @5.7_0+universal (active) neon @0.29.3_2 (active) nspr @4.8.4_0 (active) nss @3.12.6_0 (active) opencdk @0.6.6_0 (active) openssl @0.9.8n_0+darwin openssl @1.0.0a_0 openssl @1.0.0a_0+universal (active) orbit2 @2.14.18_0 (active) orc @0.4.5_1 orc @0.4.6_0 (active) p5-compress-raw-bzip2 @2.027_0 (active) p5-compress-raw-zlib @2.027_0 (active) p5-crypt-ssleay @0.57_1 (active) p5-error @0.17016_0 (active) p5-getopt-long @2.38_0 (active) p5-html-parser @3.65_0 (active) p5-html-tagset @3.20_0 (active) p5-io-compress @2.027_0 (active) p5-libwww-perl @5.836_0 (active) p5-locale-gettext @1.05_0 p5-locale-gettext @1.05_2 (active) p5-pathtools @3.31_0 (active) p5-scalar-list-utils @1.23_0 (active) p5-svn-simple @0.28_0 (active) p5-term-readkey @2.30_0 (active) p5-uri @1.54_0 (active) p5-xml-parser @2.36_0 (active) Pallet @1.0_0 (active) pango @1.24.5_0+macosx (active) perl5 @5.8.9_0 (active) perl5.8 @5.8.9_3 (active) pkgconfig @0.23_1 pkgconfig @0.25_0 pkgconfig @0.25_0+universal (active) policykit @0.9_0 (active) popt @1.15_0 popt @1.16_0 (active) py26-distribute @0.6.13_0 py26-distribute @0.6.14_0 (active) py26-docutils @0.7_0 (active) py26-libxml2 @2.6.21_0 (active) py26-roman @1.4.0_0 (active) py27-bdist_mpkg @0.4.4_0 (active) py27-distribute @0.6.13_0 py27-distribute @0.6.14_0 (active) python26 @2.6.5_0+darwin python26 @2.6.5_3 (active) python27 @2.7_1 (active) python31 @3.1.2_2 (active) python_select @0.3_0 (active) qt4_select @0.3_3 (active) rarian @0.8.1_0 (active) readline @6.1.000_1+darwin (active) rsync @3.0.7_0 (active) schroedinger @1.0.8_0 schroedinger @1.0.9_0 (active) serf @0.6.1_1 (active) shared-mime-info @0.71_0 (active) speex @1.2rc1_0 (active) sqlite3 @3.6.23.1_0 (active) subversion @1.6.12_1 (active) subversion-perlbindings @1.6.12_0 (active) tcl @8.5.8_0+darwin tcl @8.5.8_0+universal (active) texi2html @5.0_0 (active) texinfo @4.13_0 texinfo @4.13_1 texinfo @4.13_2 (active) tiff @3.9.2_3 tiff @3.9.2_3+macosx tiff @3.9.4_0 (active) tk @8.5.8_0+darwin (active) vala @0.9.1_0 vala @0.9.4_0 (active) webkit-gtk @1.1.15.4_0 webkit-gtk @1.2.1_0 webkit-gtk @1.2.3_0 (active) wget @1.12_0 wget @1.12_1 wget @1.12_2+ssl (active) x264 @20090810_2 x264 @20100412_0 x264 @20100603_0 (active) Xft2 @2.1.14_0 (active) xmlcatmgr @2.2_1 (active) xorg-bigreqsproto @1.1.0_0 (active) xorg-compositeproto @0.4.1_0 (active) xorg-damageproto @1.2.0_0 (active) xorg-dri2proto @2.3_0 (active) xorg-fixesproto @4.1.1_0 (active) xorg-glproto @1.4.11_0 (active) xorg-inputproto @2.0_0 (active) xorg-kbproto @1.0.4_0 (active) xorg-libice @1.0.6_0 (active) xorg-libsm @1.1.1_0 (active) xorg-libX11 @1.3.3_0 xorg-libX11 @1.3.4_0 xorg-libX11 @1.3.4_0+universal (active) xorg-libXau @1.0.5_0 xorg-libXau @1.0.5_0+universal xorg-libXau @1.0.6_0+universal (active) xorg-libXcomposite @0.4.1_0 xorg-libXcomposite @0.4.2_0 xorg-libXcomposite @0.4.2_0+universal (active) xorg-libXcursor @1.1.10_0 (active) xorg-libXdamage @1.1.2_0 xorg-libXdamage @1.1.3_0 (active) xorg-libXdmcp @1.0.3_0 xorg-libXdmcp @1.0.3_0+universal (active) xorg-libXext @1.1.1_0 xorg-libXext @1.1.2_0 xorg-libXext @1.1.2_0+universal (active) xorg-libXfixes @4.0.4_0 xorg-libXfixes @4.0.5_0 xorg-libXfixes @4.0.5_0+universal (active) xorg-libXi @1.3_0 xorg-libXi @1.3.2_0 xorg-libXi @1.3.2_0+universal (active) xorg-libXinerama @1.1_0 (active) xorg-libXmu @1.0.5_0 (active) xorg-libXrandr @1.3.0_1 (active) xorg-libXScrnSaver @1.2.0_0 (active) xorg-libXt @1.0.8_0 (active) xorg-libXxf86vm @1.1.0_0 (active) xorg-randrproto @1.3.1_0 (active) xorg-renderproto @0.11_0 (active) xorg-scrnsaverproto @1.2.0_0 (active) xorg-util-macros @1.7.0_0 xorg-util-macros @1.9.0_0 xorg-util-macros @1.10.0_0 (active) xorg-xcmiscproto @1.2.0_0 (active) xorg-xextproto @7.1.1_0 (active) xorg-xf86bigfontproto @1.2.0_0 (active) xorg-xf86vidmodeproto @2.3_0 (active) xorg-xineramaproto @1.2_0 (active) xorg-xproto @7.0.16_0 xorg-xproto @7.0.17_0 (active) xorg-xtrans @1.2.5_0 (active) xrender @0.9.5_0 xrender @0.9.6_0 (active) XviD @1.2.2_0 (active) yasm @0.8.0_0 yasm @1.0.0_0 (active) zlib @1.2.3_3 zlib @1.2.5_0 zlib @1.2.5_0+universal (active)
comment:17 Changed 14 years ago by sewebster@…
Right, so, as per my very first response, xorg-libsm and xorg-libice are still not built universal. Did you successfully run Ryan's command:
sudo port upgrade --enforce-variants rdepof:wine-devel +universal
?
For just these two ports you should be able to, for instance:
sudo port upgrade --enforce-variants xorg-libsm +universal
and the same for xorg-libice...
comment:18 Changed 14 years ago by wwinter86@…
Hi, sewebster I just tried the two commands you mentioned above again, this time the second one:
sudo port upgrade --enforce-variants xorg-libsm +universal
Worked :)
But the the first command still gives this error:
sudo port upgrade --enforce-variants rdepof:wine-devel +universal ---> Computing dependencies for perl5.8 ---> Building perl5.8 Error: Target org.macports.build returned: shell command failed Log for perl5.8 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5.8/main.log Error: Unable to upgrade port: 1 To report a bug, see <http://guide.macports.org/#project.tickets>
Any ideas please?
comment:19 Changed 14 years ago by sewebster@…
Again, I can't tell from that output, you didn't attach the log file, but my guess is that it is the same problem as you had earlier with perl5.8, stuff in /usr/local causing a problem...
comment:20 Changed 14 years ago by wwinter86@…
Ok I removed everything from /usr/local again and this time it all configured, built and installed fine (including wine-devel).
But what I don't understand is why if MacPorts don't work right with stuff in /usr/local why does it keep making folders and files in /usr/local ?
comment:21 Changed 14 years ago by sewebster@…
Macports never puts anything in /usr/local. It only puts things in /opt/local (unless you have manually changed the install location). The stuff in /usr/local is coming from some other software you have installed.
comment:23 Changed 14 years ago by mf2k (Frank Schima)
Resolution: | → invalid |
---|---|
Status: | new → closed |
Looks like xorg-libsm and xorg-libice were not built i386. Since wine only builds 32 bit, all of it's dependencies also need to be 32 bit (or universal).