Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#47027 closed defect (fixed)

mesa @10.4.4_2: indent: Command line: unknown parameter "-nut"

Reported by: jane.r.allison@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: lion Cc:
Port: mesa

Description (last modified by ryandesign (Ryan Carsten Schmidt))

mesa build fails in following circumstances:

  1. As part of overall upgrade to outdated ports (see mesa-upgrade.log), i.e.

sudo -E port upgrade outdated

  1. When explicitly (re)installing mesa using default settings (see mesa-default.log), i.e.

port -E sudo install mesa

  1. When explicitly (re)installing mesa using llvm-gcc-4.2 as recommended on the ProblemHotlist page (see mesa-llvm-gcc-4.2.log), i.e.

sudo -E port install mesa configure.compiler=llvm-gcc-4.2

  1. When attempting to install texlive, which in turn installs pymol, which requires mesa (see mesa-pymol.log), i.e.

sudo -E port install texlive +full -medium

To make matters more confusing, different errors are encountered each time. Machine specs are: OS 10.7.5, Xcode version 4.6.1 (but am using ports via the command line so not sure if this is relevant).

Attachments (6)

mesa-upgrade.log (22.0 KB) - added by jane.r.allison@… 9 years ago.
mesa-pymol.log (1.5 MB) - added by jane.r.allison@… 9 years ago.
mesa-default.log (248.3 KB) - added by jane.r.allison@… 9 years ago.
mesa-llvm-gcc-4.2.log (248.8 KB) - added by jane.r.allison@… 9 years ago.
mesa-withindent.log (248.3 KB) - added by jane.r.allison@… 9 years ago.
mesa-withindent-gcc4.9.log (275.1 KB) - added by jane.r.allison@… 9 years ago.

Change History (15)

Changed 9 years ago by jane.r.allison@…

Attachment: mesa-upgrade.log added

Changed 9 years ago by jane.r.allison@…

Attachment: mesa-pymol.log added

Changed 9 years ago by jane.r.allison@…

Attachment: mesa-default.log added

Changed 9 years ago by jane.r.allison@…

Attachment: mesa-llvm-gcc-4.2.log added

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to jeremyhu@…

Regarding (3), I've removed the portion of the ProblemHotlist that suggested trying llvm-gcc-4.2 and apple-gcc-4.2. That section dated from several years ago, when clang first became the default compiler. At that time, many ports failed to build with clang; by now, clang is more mature, and ports have been updated to work with clang, so the suggestion to try another compiler is no longer generally useful.

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: mesa @10.4.4_2 build failuremesa @10.4.4_2: indent: Command line: unknown parameter "-nut"

The two logs attachment:mesa-default.log and attachment:mesa-llvm-gcc-4.2.log show the error

indent: Command line: unknown parameter "-nut"

which it looks like Jeremy already ran into last month: https://bugs.freedesktop.org/show_bug.cgi?id=89088

The two other logs are not clean build attempts and show undefined symbol errors.

comment:3 in reply to:  1 Changed 9 years ago by jane.r.allison@…

Replying to ryandesign@…:

Regarding (3), I've removed the portion of the ProblemHotlist that suggested trying llvm-gcc-4.2 and apple-gcc-4.2. That section dated from several years ago, when clang first became the default compiler. At that time, many ports failed to build with clang; by now, clang is more mature, and ports have been updated to work with clang, so the suggestion to try another compiler is no longer generally useful.

Thanks - I thought that might be the case, but was working my way through the advice on what to do before posting a ticket, so gave it a try just in case.

comment:4 in reply to:  2 Changed 9 years ago by jane.r.allison@…

Replying to ryandesign@…:

The two logs attachment:mesa-default.log and attachment:mesa-llvm-gcc-4.2.log show the error

indent: Command line: unknown parameter "-nut"

which it looks like Jeremy already ran into last month: https://bugs.freedesktop.org/show_bug.cgi?id=89088

The two other logs are not clean build attempts and show undefined symbol errors.

Sorry, I'm not an expert at these things - is there somewhere I can get a fix for this bug, or is it not yet resolved?

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

I just got side tracked and forgot all about this.

I'll update mesa to depend on port:indent and use gnuindent.

comment:6 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed

comment:7 in reply to:  5 Changed 9 years ago by jane.r.allison@…

Replying to jeremyhu@…:

I just got side tracked and forgot all about this.

I'll update mesa to depend on port:indent and use gnuindent.

I tried again after the ticket closed, and it didn't install indent as a dependency, and so failed as before.

I then tried installing indent myself, i.e.

sudo -E port install indent

which worked, but mesa still failed to install with either the default (clang) or gnu (gcc 4.9) compilers - see attached log files (mesa-withindent.log and mesa-withindent-gcc4.9.log, respectively) for details.

Changed 9 years ago by jane.r.allison@…

Attachment: mesa-withindent.log added

Changed 9 years ago by jane.r.allison@…

Attachment: mesa-withindent-gcc4.9.log added

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

From the log, you didn't try with the fix:

:info:configure checking for indent... indent

Update first.

comment:9 Changed 9 years ago by jane.r.allison@…

Apologies, I thought that installing would automatically include a search for updates. Everything seems to be working now :-) Thank you!

Note: See TracTickets for help on using tickets.