Opened 10 years ago

Closed 10 years ago

#29134 closed defect (fixed)

mesa @7.8.2 : fail to install +iglx variant

Reported by: arnaud.antkowiak@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: mesa

Description

When trying to install the +iglx variant of mesa on Snow Leopard, installation fails with the following log:

$ sudo port install mesa +universal+iglx
Error: reinplace: couldn't read file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/configs/darwin": no such file or directory
Error: mesa: Error executing iglx: reinplace sed(1) failed
Error: Unable to open port: Error evaluating variants
To report a bug, see <http://guide.macports.org/#project.tickets>

The complete log is attached below.

Attachments (1)

main.log (2.1 KB) - added by arnaud.antkowiak@… 10 years ago.

Download all attachments as: .zip

Change History (6)

Changed 10 years ago by arnaud.antkowiak@…

Attachment: main.log added

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

Owner: changed from macports-tickets@… to jeremyhu@…

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

can you please: sudo port -v clean mesa sudo port -v install mesa +iglx

comment:3 in reply to:  2 Changed 10 years ago by arnaud.antkowiak@…

Replying to jeremyhu@…:

can you please: sudo port -v clean mesa sudo port -v install mesa +iglx

Thank you for the answer Jeremy. port -v successfully removed the working directory:

$ sudo port -v clean mesa
--->  Cleaning mesa
--->  Removing work directory for mesa

But the problem kept showing

$ sudo port -v install mesa +universal+iglx
Error: reinplace: couldn't read file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/configs/darwin": no such file or directory
Error: mesa: Error executing iglx: reinplace sed(1) failed
Error: Unable to open port: Error evaluating variants
To report a bug, see <http://guide.macports.org/#project.tickets>

Removing the +universal variant would not change the result.

comment:4 Changed 10 years ago by jmroot (Joshua Root)

The iglx variant is attempting to run the reinplace outside of any particular phase, i.e. it happens immediately when the port is parsed. So even port info mesa +iglx fails.

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

Resolution: fixed
Status: newclosed

Weird. I wonder why that worked before...

r77876

Note: See TracTickets for help on using tickets.