[MacPorts] #47027: mesa @10.4.4_2 build failure
#47027: mesa @10.4.4_2 build failure ------------------------------+-------------------------------- Reporter: jane.r.allison@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: lion | Port: mesa ------------------------------+-------------------------------- 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}}} 2. When explicitly (re)installing mesa using default settings (see mesa- default.log), i.e. {{{port -E sudo install mesa}}} 3. When explicitly (re)installing mesa using llvm-gcc-4.2 as recommended on the Problem Hotline page (see mesa-llvm-gcc-4.2.log), i.e. {{{sudo -E port install mesa configure.compiler=llvm-gcc-4.2}}} 4. 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). -- Ticket URL: <https://trac.macports.org/ticket/47027> MacPorts <https://www.macports.org/> Ports system for OS X
#47027: mesa @10.4.4_2 build failure -------------------------------+------------------------ Reporter: jane.r.allison@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: lion Port: mesa | -------------------------------+------------------------ Changes (by ryandesign@…): * owner: macports-tickets@… => jeremyhu@… Old description:
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}}}
2. When explicitly (re)installing mesa using default settings (see mesa- default.log), i.e. {{{port -E sudo install mesa}}}
3. When explicitly (re)installing mesa using llvm-gcc-4.2 as recommended on the Problem Hotline page (see mesa-llvm-gcc-4.2.log), i.e. {{{sudo -E port install mesa configure.compiler=llvm-gcc-4.2}}}
4. 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).
New description: 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}}} 2. When explicitly (re)installing mesa using default settings (see mesa- default.log), i.e. {{{port -E sudo install mesa}}} 3. 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}}} 4. 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). -- Comment: 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. -- Ticket URL: <https://trac.macports.org/ticket/47027#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#47027: mesa @10.4.4_2: indent: Command line: unknown parameter "-nut" -------------------------------+------------------------ Reporter: jane.r.allison@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: lion Port: mesa | -------------------------------+------------------------ Comment (by 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. -- Ticket URL: <https://trac.macports.org/ticket/47027#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#47027: mesa @10.4.4_2: indent: Command line: unknown parameter "-nut" -------------------------------+------------------------ Reporter: jane.r.allison@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: lion Port: mesa | -------------------------------+------------------------ Comment (by jane.r.allison@…): Replying to [comment:1 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. -- Ticket URL: <https://trac.macports.org/ticket/47027#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#47027: mesa @10.4.4_2: indent: Command line: unknown parameter "-nut" -------------------------------+------------------------ Reporter: jane.r.allison@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: lion Port: mesa | -------------------------------+------------------------ Comment (by jane.r.allison@…): Replying to [comment:2 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? -- Ticket URL: <https://trac.macports.org/ticket/47027#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#47027: mesa @10.4.4_2: indent: Command line: unknown parameter "-nut" -------------------------------+------------------------ Reporter: jane.r.allison@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: lion Port: mesa | -------------------------------+------------------------ Comment (by jeremyhu@…): I just got side tracked and forgot all about this. I'll update mesa to depend on port:indent and use gnuindent. -- Ticket URL: <https://trac.macports.org/ticket/47027#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#47027: mesa @10.4.4_2: indent: Command line: unknown parameter "-nut" -------------------------------+------------------------ Reporter: jane.r.allison@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: lion Port: mesa | -------------------------------+------------------------ Changes (by jeremyhu@…): * status: new => closed * resolution: => fixed Comment: r133545 -- Ticket URL: <https://trac.macports.org/ticket/47027#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#47027: mesa @10.4.4_2: indent: Command line: unknown parameter "-nut" -------------------------------+------------------------ Reporter: jane.r.allison@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: lion Port: mesa | -------------------------------+------------------------ Comment (by jane.r.allison@…): Replying to [comment:5 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. -- Ticket URL: <https://trac.macports.org/ticket/47027#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#47027: mesa @10.4.4_2: indent: Command line: unknown parameter "-nut" -------------------------------+------------------------ Reporter: jane.r.allison@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: lion Port: mesa | -------------------------------+------------------------ Comment (by jeremyhu@…): From the log, you didn't try with the fix: {{{ :info:configure checking for indent... indent }}} Update first. -- Ticket URL: <https://trac.macports.org/ticket/47027#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#47027: mesa @10.4.4_2: indent: Command line: unknown parameter "-nut" -------------------------------+------------------------ Reporter: jane.r.allison@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: lion Port: mesa | -------------------------------+------------------------ Comment (by jane.r.allison@…): Apologies, I thought that installing would automatically include a search for updates. Everything seems to be working now :-) Thank you! -- Ticket URL: <https://trac.macports.org/ticket/47027#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts