[MacPorts] #31584: after installing macports, i get an error code on trying to install wine (i am using an i7 macbookpro with osx Lion)use
#31584: after installing macports, i get an error code on trying to install wine (i am using an i7 macbookpro with osx Lion)use --------------------------------+------------------------------------------- Reporter: rob@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: --------------------------------+------------------------------------------- Last login: Thu Oct 13 14:26:14 on console robs-macbook-pro-2:~ rob$ sudo port install wine Password: ---> Computing dependencies for wine Error: Cannot install wine for the arch(s) 'i386' because Error: its dependency apple-gcc42 does not build for the required arch(s) by default Error: and does not have a universal variant. Error: Unable to execute port: architecture mismatch To report a bug, see <http://guide.macports.org/#project.tickets> robs-macbook-pro-2:~ rob$ -- Ticket URL: <https://trac.macports.org/ticket/31584> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31584: after installing macports, i get an error code on trying to install wine (i am using an i7 macbookpro with osx Lion)use --------------------------------+------------------------------------------- Reporter: rob@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: wine --------------------------------+------------------------------------------- Changes (by macsforever2000@…): * cc: jwa@… (added) * owner: macports-tickets@… => ryandesign@… * priority: High => Normal * port: => wine Old description:
Last login: Thu Oct 13 14:26:14 on console robs-macbook-pro-2:~ rob$ sudo port install wine Password: ---> Computing dependencies for wine Error: Cannot install wine for the arch(s) 'i386' because Error: its dependency apple-gcc42 does not build for the required arch(s) by default Error: and does not have a universal variant. Error: Unable to execute port: architecture mismatch To report a bug, see <http://guide.macports.org/#project.tickets> robs-macbook-pro-2:~ rob$
New description: {{{ Last login: Thu Oct 13 14:26:14 on console robs-macbook-pro-2:~ rob$ sudo port install wine Password: ---> Computing dependencies for wine Error: Cannot install wine for the arch(s) 'i386' because Error: its dependency apple-gcc42 does not build for the required arch(s) by default Error: and does not have a universal variant. Error: Unable to execute port: architecture mismatch To report a bug, see <http://guide.macports.org/#project.tickets> robs-macbook-pro-2:~ rob$ }}} -- -- Ticket URL: <https://trac.macports.org/ticket/31584#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31584: wine ports cannot install for the arch(s) 'i386' because dependency apple- gcc42 does not build for the required arch(s) by default and does not have a universal variant --------------------------------+------------------------------------------- Reporter: rob@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: wine, wine-devel, wine-crossover, wine-crossover-games --------------------------------+------------------------------------------- Changes (by ryandesign@…): * cc: jeremyhu@… (added) * status: new => assigned * port: wine => wine, wine-devel, wine-crossover, wine-crossover-games Comment: This is because you are using a developer preview of Xcode 4.2, which doesn't contain any version of gcc. I thought we had worked around the problem by depending on the apple-gcc42 port in this case but I had forgotten about the architecture issues. I wonder if we could just skip the archcheck for apple-gcc42. What happens if you try the attached patch? -- Ticket URL: <https://trac.macports.org/ticket/31584#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31584: wine ports cannot install for the arch(s) 'i386' because dependency apple- gcc42 does not build for the required arch(s) by default and does not have a universal variant --------------------------------+------------------------------------------- Reporter: rob@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: wine, wine-devel, wine-crossover, wine-crossover-games --------------------------------+------------------------------------------- Comment(by motumbo@…): I'm having the same issue here with final XCode 4.2 for Snow Leopard. I have tried the patch and I got this: [Users/Motumbo] > install wine-devel ---> Computing dependencies for wine-devel Error: Cannot install cairo for the arch(s) 'i386 x86_64' because Error: its dependency apple-gcc42 does not build for the required arch(s) by default Error: and does not have a universal variant. Error: Unable to execute port: architecture mismatch To report a bug, see <http://guide.macports.org/#project.tickets> Looks like we have to apply the patch to the other dependencies. -- Ticket URL: <https://trac.macports.org/ticket/31584#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31584: wine ports cannot install for the arch(s) 'i386' because dependency apple- gcc42 does not build for the required arch(s) by default and does not have a universal variant --------------------------------+------------------------------------------- Reporter: rob@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: wine, wine-devel, wine-crossover, wine-crossover-games --------------------------------+------------------------------------------- Comment(by ryandesign@…): I was not aware Xcode 4.2 existed for Snow Leopard. It is not listed at Apple Developer Connection downloads. Has it perhaps not been released yet? Did you try the patch I attached? Did that fix the problem? -- Ticket URL: <https://trac.macports.org/ticket/31584#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31584: wine ports cannot install for the arch(s) 'i386' because dependency apple- gcc42 does not build for the required arch(s) by default and does not have a universal variant --------------------------------+------------------------------------------- Reporter: rob@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: wine, wine-devel, wine-crossover, wine-crossover-games --------------------------------+------------------------------------------- Comment(by ryandesign@…): Oh sorry, I misread your message. Ok, so try applying my patch to the cairo port as well then. Does that work? -- Ticket URL: <https://trac.macports.org/ticket/31584#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31584: wine ports cannot install for the arch(s) 'i386' because dependency apple- gcc42 does not build for the required arch(s) by default and does not have a universal variant --------------------------------+------------------------------------------- Reporter: rob@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: wine, wine-devel, wine-crossover, wine-crossover-games --------------------------------+------------------------------------------- Comment(by motumbo@…): Damn, is 4.2 GM, but the Lion version is final, I'm downgrading to XCode 4.0 -- Ticket URL: <https://trac.macports.org/ticket/31584#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31584: wine ports cannot install for the arch(s) 'i386' because dependency apple- gcc42 does not build for the required arch(s) by default and does not have a universal variant --------------------------------+------------------------------------------- Reporter: rob@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: wine, wine-devel, wine-crossover, wine-crossover-games --------------------------------+------------------------------------------- Comment(by ryandesign@…): Ok, then can the original reporter please indicate whether applying the attached patch to the wine and cairo ports resolves the issue? -- Ticket URL: <https://trac.macports.org/ticket/31584#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31584: wine ports cannot install for the arch(s) 'i386' because dependency apple- gcc42 does not build for the required arch(s) by default and does not have a universal variant --------------------------------+------------------------------------------- Reporter: rob@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: wine, wine-devel, wine-crossover, wine-crossover-games --------------------------------+------------------------------------------- Comment(by pp.oldenzeel@…): I have the same problem as the original reporter and can't seem to shake it. I have patched wine's Portfile using the patch provided, but now it errors out on building apple-gcc42: {{{ unknown-00-23-32-d6-38-3c:wine root# port install wine Portfile changed since last build; discarding previous state. ---> Computing dependencies for wine ---> Dependencies to be installed: apple-gcc42 gcc_select flex fontconfig freetype freetype gnutls libgcrypt libgpg-error libtasn1 lzo2 jpeg jpeg lcms tiff tiff libpng libxml2 libxml2 libxslt mesa makedepend xorg-xproto py27-libxml2 xorg-dri2proto xorg-glproto xorg-libXfixes xorg-fixesproto xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-libXdmcp xorg-libxcb xorg-libpthread-stubs xorg-xcb-proto xorg-util- macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libXi xorg-libXext xorg-libXi xorg-libXmu xorg-libXt xorg-libsm xorg- libice xorg-libsm xorg-libXcomposite xorg-compositeproto xorg-libXcursor xorg-renderproto xrender xrender xorg-libXinerama xorg-xineramaproto xorg- libXrandr xorg-randrproto xorg-libXxf86vm xorg-xf86vidmodeproto ---> Fetching archive for gcc_select ---> Attempting to fetch gcc_select-0.1_5.darwin_11.noarch.tbz2 from http://packages.macports.org/gcc_select ---> Fetching gcc_select ---> Verifying checksum(s) for gcc_select ---> Extracting gcc_select ---> Configuring gcc_select ---> Building gcc_select ---> Staging gcc_select into destroot ---> Installing gcc_select @0.1_5 ---> Activating gcc_select @0.1_5 ---> Cleaning gcc_select ---> Fetching archive for apple-gcc42 ---> Attempting to fetch apple-gcc42-5666.3_1.darwin_11.x86_64.tbz2 from http://packages.macports.org/apple-gcc42 ---> Fetching apple-gcc42 ---> Attempting to fetch gcc-5666.3.tar.gz from http://lil.fr.distfiles.macports.org/apple-gcc42 ---> Verifying checksum(s) for apple-gcc42 ---> Extracting apple-gcc42 ---> Applying patches to apple-gcc42 ---> Configuring apple-gcc42 ---> Building apple-gcc42 Error: Target org.macports.build returned: shell command failed (see log for details) Error: Failed to install apple-gcc42 Log for apple-gcc42 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/main.log Error: The following dependencies were not installed: apple-gcc42 flex fontconfig freetype freetype gnutls libgcrypt libgpg-error libtasn1 lzo2 jpeg jpeg lcms tiff tiff libpng libxml2 libxml2 libxslt mesa makedepend xorg-xproto py27-libxml2 xorg-dri2proto xorg-glproto xorg-libXfixes xorg- fixesproto xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-libXdmcp xorg-libxcb xorg-libpthread-stubs xorg-xcb-proto xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libXi xorg-libXext xorg-libXi xorg-libXmu xorg-libXt xorg-libsm xorg-libice xorg-libsm xorg-libXcomposite xorg-compositeproto xorg-libXcursor xorg-renderproto xrender xrender xorg-libXinerama xorg- xineramaproto xorg-libXrandr xorg-randrproto xorg-libXxf86vm xorg- xf86vidmodeproto Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> }}} -- Ticket URL: <https://trac.macports.org/ticket/31584#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31584: wine ports cannot install for the arch(s) 'i386' because dependency apple- gcc42 does not build for the required arch(s) by default and does not have a universal variant --------------------------------+------------------------------------------- Reporter: rob@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: wine, wine-devel, wine-crossover, wine-crossover-games --------------------------------+------------------------------------------- Comment(by lfelipe.sanchez@…): Hi, I'm having the same problem, however when I apply the patch like: patch -p0 < wine-skip-archcheck.diff I get an the following: can't find file to patch at input line 5 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: Portfile |=================================================================== |--- Portfile (revision 85253) |+++ Portfile (working copy) -------------------------- File to patch: Could you be more specific on how to apply the patch? Thanks -- Ticket URL: <https://trac.macports.org/ticket/31584#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31584: wine ports cannot install for the arch(s) 'i386' because dependency apple- gcc42 does not build for the required arch(s) by default and does not have a universal variant --------------------------------+------------------------------------------- Reporter: rob@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: wine, wine-devel, wine-crossover, wine-crossover-games --------------------------------+------------------------------------------- Changes (by ryandesign@…): * cc: pp.oldenzeel@… (added) Comment: Replying to [comment:9 pp.oldenzeel@…]:
it errors out on building apple-gcc42:
Please file a separate bug report for this problem, attaching the main.log file to it. -- Ticket URL: <https://trac.macports.org/ticket/31584#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31584: wine ports cannot install for the arch(s) 'i386' because dependency apple- gcc42 does not build for the required arch(s) by default and does not have a universal variant --------------------------------+------------------------------------------- Reporter: rob@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: wine, wine-devel, wine-crossover, wine-crossover-games --------------------------------+------------------------------------------- Changes (by ryandesign@…): * cc: lfelipe.sanchez@… (added) Comment: Replying to [comment:10 lfelipe.sanchez@…]:
Could you be more specific on how to apply the patch?
{{{ cd $(port dir wine) sudo patch -p0 < ~/Downloads/wine-skip-archcheck.diff cd $(port dir cairo) sudo patch -p0 < ~/Downloads/wine-skip-archcheck.diff }}} -- Ticket URL: <https://trac.macports.org/ticket/31584#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31584: wine ports cannot install for the arch(s) 'i386' because dependency apple- gcc42 does not build for the required arch(s) by default and does not have a universal variant ---------------------------------------------------------------------+------ Reporter: rob@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: wine, wine-devel, wine-crossover, wine-crossover-games | ---------------------------------------------------------------------+------ Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: r85585 -- Ticket URL: <https://trac.macports.org/ticket/31584#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31584: wine ports cannot install for the arch(s) 'i386' because dependency apple- gcc42 does not build for the required arch(s) by default and does not have a universal variant ---------------------------------------------------------------------+------ Reporter: rob@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: wine, wine-devel, wine-crossover, wine-crossover-games | ---------------------------------------------------------------------+------ Comment(by dports@…): If we always want to skip the archcheck for apple-gcc42, should we just mark it `installs_libs no`? -- Ticket URL: <https://trac.macports.org/ticket/31584#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31584: wine ports cannot install for the arch(s) 'i386' because dependency apple- gcc42 does not build for the required arch(s) by default and does not have a universal variant ---------------------------------------------------------------------+------ Reporter: rob@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: wine, wine-devel, wine-crossover, wine-crossover-games | ---------------------------------------------------------------------+------ Changes (by ryandesign@…): * cc: dports@… (added) Comment: Replying to [comment:14 dports@…]:
If we always want to skip the archcheck for apple-gcc42,
I think we do.
should we just mark it `installs_libs no`?
I don't know; is that equivalent? -- Ticket URL: <https://trac.macports.org/ticket/31584#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31584: wine ports cannot install for the arch(s) 'i386' because dependency apple- gcc42 does not build for the required arch(s) by default and does not have a universal variant ---------------------------------------------------------------------+------ Reporter: rob@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: wine, wine-devel, wine-crossover, wine-crossover-games | ---------------------------------------------------------------------+------ Comment(by dports@…): Yes. It also indicates that it's OK to skip the license check for dependents, but that's fine too for gcc. -- Ticket URL: <https://trac.macports.org/ticket/31584#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31584: wine ports cannot install for the arch(s) 'i386' because dependency apple- gcc42 does not build for the required arch(s) by default and does not have a universal variant ---------------------------------------------------------------------+------ Reporter: rob@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: wine, wine-devel, wine-crossover, wine-crossover-games | ---------------------------------------------------------------------+------ Comment(by ryandesign@…): r85594. See also #31606 which may make even this unnecessary. -- Ticket URL: <https://trac.macports.org/ticket/31584#comment:17> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31584: wine ports cannot install for the arch(s) 'i386' because dependency apple- gcc42 does not build for the required arch(s) by default and does not have a universal variant ---------------------------------------------------------------------+------ Reporter: rob@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: wine, wine-devel, wine-crossover, wine-crossover-games | ---------------------------------------------------------------------+------ Comment(by dports@…): Replying to [comment:17 ryandesign@…]:
See also #31606 which may make even this unnecessary.
True, but if it doesn't matter what arch gcc is built for, it's still better to have it installs_libs no -- then we don't have to go to the effort of needlessly building it universal. -- Ticket URL: <https://trac.macports.org/ticket/31584#comment:18> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31584: wine ports cannot install for the arch(s) 'i386' because dependency apple- gcc42 does not build for the required arch(s) by default and does not have a universal variant ---------------------------------------------------------------------+------ Reporter: rob@… | Owner: ryandesign@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: Port: wine, wine-devel, wine-crossover, wine-crossover-games | ---------------------------------------------------------------------+------ Changes (by rob@…): * status: closed => reopened * resolution: fixed => -- Ticket URL: <https://trac.macports.org/ticket/31584#comment:19> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31584: wine ports cannot install for the arch(s) 'i386' because dependency apple- gcc42 does not build for the required arch(s) by default and does not have a universal variant ---------------------------------------------------------------------+------ Reporter: rob@… | Owner: ryandesign@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: Port: wine, wine-devel, wine-crossover, wine-crossover-games | ---------------------------------------------------------------------+------ Comment(by rob@…): So, excuse my ignorance but, what exactlty do I need to do to fix the problem? Regards Rob -- Ticket URL: <https://trac.macports.org/ticket/31584#comment:20> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31584: wine ports cannot install for the arch(s) 'i386' because dependency apple- gcc42 does not build for the required arch(s) by default and does not have a universal variant ---------------------------------------------------------------------+------ Reporter: rob@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: wine, wine-devel, wine-crossover, wine-crossover-games | ---------------------------------------------------------------------+------ Changes (by ryandesign@…): * status: reopened => closed * resolution: => fixed Comment: {{{ sudo port selfupdate sudo port clean wine sudo port install wine }}} -- Ticket URL: <https://trac.macports.org/ticket/31584#comment:21> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts