Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#30475 closed defect (duplicate)

macports - 2.0.0-installation error-shell command fail and failed to install mesa

Reported by: sab333@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.0.0
Keywords: Cc:
Port: mesa

Description

I was following the instructions to download Wine http://davidbaumgold.com/tutorials/wine-mac/ to my macBook leopard 10.5.8 which required downloading mac ports. I have XCode 3.1.2

After over half an hour of continuous activity in the terminal, I received several errors. The last successful text to come up before the error was:

--->  Verifying checksum(s) for mesa
--->  Extracting mesa
--->  Configuring mesa
--->  Building mesa

I then received the following error messages.

Error: Target org.macports.build returned: shell command failed (see log for details)
Error: Failed to install mesa
Log for mesa is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_mesa/mesa/main.log
Error: The following dependencies were not installed: mesa 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>

I have not been able to find a solution for this problem, nor have I really found any tickets explaining similar problems. I found one that mentioned the need to clean the mesa. I entered the following:

sudo port clean mesa

it said it was cleaning mesa, but the installation did not resume or anything afterwards.If someone can explain to me how I can fix this, that would be extremely helpful. Thank you. -Scott

Attachments (1)

main.rtf (226.6 KB) - added by sab333@… 13 years ago.
Error Log after installing mesa

Download all attachments as: .zip

Change History (9)

comment:1 Changed 13 years ago by sab333@…

I intended to attach the log I opened related to the issue, but it appears, now that now I cannot access it. I think this may be because of my "clean mesa" command. I apologize for that. If someone knows how I can still access, I would be happy to get it and attach it to provide more information.

comment:2 Changed 13 years ago by jmroot (Joshua Root)

Component: guideports
Keywords: mesa build shell install failed removed
Owner: changed from markd@… to jeremyhu@…
Port: mesa added

Please remember to fill in the Port field and cc the maintainer.

comment:3 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)

I have nothing to go on without a log file. This builds fine for me...

Do:

sudo port -v clean mesa
sudo port -v install mesa

Then attach the build log referenced in the last few lines.

comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

There is a log of a failure on Leopard PowerPC attached to #30492.

comment:5 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: duplicate
Status: newclosed

Changed 13 years ago by sab333@…

Attachment: main.rtf added

Error Log after installing mesa

comment:6 Changed 13 years ago by sab333@…

I ran

<deleted>

I attached the error Log. It is "Error log after installing mesa." Thank you

comment:7 Changed 13 years ago by sab333@…

Sorry that was messy.

../../src/gallium/include/pipe/p_config.h:134:2: error: #error Unknown Endianness
lipo: can't figure out the architecture type of: /var/tmp//cc5pzbtO.out
make[2]: *** [state_tracker/st_atom.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_mesa/mesa/work/Mesa-7.11-rc3/src/mesa'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_mesa/mesa/work/Mesa-7.11-rc3/src'
make: *** [default] Error 1
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_mesa/mesa/work/Mesa-7.11-rc3'
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_mesa/mesa/work/Mesa-7.11-rc3" && /usr/bin/make -j2 -w default INSTALL_DIR=/opt/local RC_CFLAGS="-arch i386 -arch ppc" CC="/usr/bin/gcc-4.2 " CXX="/usr/bin/g++-4.2 " PYTHON2="/opt/local/bin/python2.7" " returned error 2
Error: Target org.macports.build returned: shell command failed (see log for details)
Warning: the following items did not execute (for mesa): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Log for mesa is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_mesa/mesa/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

comment:8 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)

This was fixed (see the duplicate). Please selfupdate.

Note: See TracTickets for help on using tickets.