Opened 10 years ago

Closed 10 years ago

#46928 closed defect (fixed)

can't build mesa on 10.5.8 ppc

Reported by: reeskm (Rees Machtemes) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: leopard powerpc Cc:
Port: mesa

Description

I can't build mesa on 10.5.8 ppc on a G5 quad. I've tried clang-3.4, apple-gcc-4.2, gcc-4.9, using configure.compiler. I'm at a loss of why I'm getting this error (attached).

Attachments (1)

main.log.gz (46.1 KB) - added by reeskm (Rees Machtemes) 10 years ago.
main.log, using apple-gcc-4.2, gzip'ed

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by reeskm (Rees Machtemes)

Attachment: main.log.gz added

main.log, using apple-gcc-4.2, gzip'ed

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Keywords: leopard powerpc added; ppc removed
Owner: changed from macports-tickets@… to jeremyhu@…

In the future, please Cc the port maintainers, if any.

comment:2 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)

try:

sudo port clean mesa
sudo port -v -s install flex bison
sudo port -v -s install mesa

If that fixes the issue, then perhaps I should add flex and bison build dependencies instead of using the host versions.

comment:3 Changed 10 years ago by reeskm (Rees Machtemes)

-First time round, I followed your instructions exactly
-I noticed that Bison was not built as it was already installed
-flex installed and mesa failed to build with another error (not same one as before)(log not included)
-I did:

sudo port uninstall bison
sudo port -v -s install bison

since I had a hunch that Bison might need to be rebuilt
-I did:

sudo port -v -s install mesa

-It built with apple-gcc-4.2 and installed properly!!!

Definitely, I would suggest adding flex and bison as dependents as they were needed in my case! It's strange that I needed to rebuild bison and that wasn't caught using the rev-upgrade mechanism. Weird.

comment:4 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed

Dependency added with r133176.

Revbumped bison with r133177.

Note: See TracTickets for help on using tickets.