[MacPorts] #27550: Build of mesa fails on SnowLeopard 10.6.5
#27550: Build of mesa fails on SnowLeopard 10.6.5 -----------------------------------------+---------------------------------- Reporter: amicitas+macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: mesa -----------------------------------------+---------------------------------- I am currently unable to get mesa to build. (I ran into this as part of the wine-devel installation.) I am using macports 1.9.2 on Os X 10.6.5. The command I am using is: {{{ sudo port install -u -d mesa +universal }}} The relevant part of the log file is (full log file attached): {{{ :info:build mklib: Making Darwin shared library: libOpenVG.1.0.dylib :info:build Undefined symbols: :info:build "_util_format_read_4f", referenced from: :info:build _pipe_tile_raw_to_rgba in libgallium.a(u_tile.o) :info:build "_util_format_write_4f", referenced from: :info:build _pipe_put_tile_rgba in libgallium.a(u_tile.o) . . . }}} I cannot get mesa installed without the +universal option either, however the error is different in that case. I have used the following commands in attempt to get all the dependencies setup as universal: {{{ sudo port upgrade --enforce-variants rdepof:wine-devel +universal }}} {{{ sudo port upgrade --enforce-variants rdepof:mesa +universal }}} Any help getting this working would be appreciated. -- Ticket URL: <https://trac.macports.org/ticket/27550> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27550: Build of mesa fails on SnowLeopard 10.6.5 -----------------------------------------+---------------------------------- Reporter: amicitas+macports@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: mesa -----------------------------------------+---------------------------------- Changes (by snc@…): * cc: amicitas+macports@… (removed) * owner: macports-tickets@… => jeremyhu@… -- Ticket URL: <https://trac.macports.org/ticket/27550#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27550: Build of mesa fails on SnowLeopard 10.6.5 -----------------------------------------+---------------------------------- Reporter: amicitas+macports@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: mesa -----------------------------------------+---------------------------------- Changes (by snc@…): * cc: ryandesign@…, jwa@… (added) -- Ticket URL: <https://trac.macports.org/ticket/27550#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27550: Build of mesa fails on SnowLeopard 10.6.5 -----------------------------------------+---------------------------------- Reporter: amicitas+macports@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: mesa -----------------------------------------+---------------------------------- Comment(by ryandesign@…): The portion you quoted in your description ("Undefined symbols: _util_format_read_4f") does not appear in the full main.log you attached. Since you are on Snow Leopard (presumably on a 64-bit capable Mac?), software will build for x86_64 by default; since your purpose is to install wine-devel, which can only build for i386, you will need to install mesa and all other dependencies universal. You don't however have to do so yourself; if any needed dependencies aren't universal, MacPorts will rebuild them universal for you. That's assuming all ports were installed with MacPorts 1.9.0 or later; if some were installed with MacPorts 1.8.x or earlier, then you will have to manually manage upgrading those ports to universal as necessary. Do you have anything in /usr/local, /sw or /Library/Frameworks? Such items often interfere. -- Ticket URL: <https://trac.macports.org/ticket/27550#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27550: Build of mesa fails on SnowLeopard 10.6.5 -----------------------------------------+---------------------------------- Reporter: amicitas+macports@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: mesa -----------------------------------------+---------------------------------- Comment(by ryandesign@…): Oh, and: Replying to [ticket:27550 amicitas+macports@…]:
sudo port install -u -d mesa +universal
Single-letter options like -u and -d have no effect unless placed immediately after the word "port" (i.e. "sudo port -d install"). Also, you probably don't want the -u switch when using port install. (We should probably remove that switch from port install; using it is equivalent to running "sudo port uninstall inactive".) -- Ticket URL: <https://trac.macports.org/ticket/27550#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27550: Build of mesa fails on SnowLeopard 10.6.5 -----------------------------------------+---------------------------------- Reporter: amicitas+macports@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: mesa -----------------------------------------+---------------------------------- Comment(by jmr@…): I guess you have python_select set to 3.1? -- Ticket URL: <https://trac.macports.org/ticket/27550#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27550: Build of mesa fails on SnowLeopard 10.6.5 -----------------------------------------+---------------------------------- Reporter: amicitas+macports@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: mesa -----------------------------------------+---------------------------------- Comment(by amicitas+macports@…): Problem solved. I am not sure exactly how though. I was using python31, I changed this to python26 and was still unable to install mesa with the +universal option. I then tried cleaning and installing mesa without the +universal option (only x86_64). This worked fine. I then tried installing wine-devel which successfully rebuilt mesa with +universal. So apparently my python version was the issue . . . Thanks for the help. Also I updated the log file to the correct one, before I got this to work. (I had uploaded the log file generated when not using the +universal option previously.) This now shows the error that I put in my snippet. (also thanks for letting me know about the single letter options, they work much better now. Embarrassing, I should know better . . . ) -- Ticket URL: <https://trac.macports.org/ticket/27550#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27550: Build of mesa fails when python_select is set to 3.1 -----------------------------------------+---------------------------------- Reporter: amicitas+macports@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: mesa -----------------------------------------+---------------------------------- -- Ticket URL: <https://trac.macports.org/ticket/27550#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27550: Build of mesa fails when python_select is set to 3.1 ------------------------------------------+--------------------------------- Reporter: amicitas+macports@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: duplicate | Keywords: Port: mesa | ------------------------------------------+--------------------------------- Changes (by jeremyhu@…): * status: new => closed * resolution: => duplicate Comment: #26379 -- Ticket URL: <https://trac.macports.org/ticket/27550#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts