Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#59164 closed defect (fixed)

mpv @0.29.1_10: failed to configure

Reported by: mrkapqa Owned by: Ionic (Mihai Moldovan)
Priority: Normal Milestone:
Component: ports Version: 2.6.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: mpv

Description (last modified by mrkapqa)

Hello ,

i still get error for mpv on mavericks

--->  Attempting to fetch mpv-0.29.1_10+audiocd+bundle+dvd+libarchive+network+opengl+osd+python27+rubberband.darwin_13.x86_64.tbz2 from http://nue.de.packages.macports.org/mpv
--->  Fetching distfiles for mpv
--->  Verifying checksums for mpv
--->  Extracting mpv
--->  Applying patches to mpv
--->  Configuring mpv
Error: Failed to configure mpv: configure failure: command execution failed

hope there is a solution available;

Attachments (1)

log.log (213.2 KB) - added by mrkapqa 5 years ago.

Download all attachments as: .zip

Change History (13)

Changed 5 years ago by mrkapqa

Attachment: log.log added

comment:1 Changed 5 years ago by mrkapqa

Description: modified (diff)

comment:2 Changed 5 years ago by reneeotten (Renee Otten)

Keywords: mpv mavericks removed
Owner: set to Ionic
Status: newassigned
Summary: (mpv@10.9.4) failed to configurempv@10.9.4: failed to configure

the error seems to be:

waf: error: no such option: --nocache

that is likely related to this commit where the --nocache was changed to be a configure.post_args and the removal of this argument in the mpv should likely become configure.post_args-delete --nocache

Last edited 5 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:3 Changed 5 years ago by jmroot (Joshua Root)

Cc: ryandesign added

comment:4 Changed 5 years ago by reneeotten (Renee Otten)

Cc: ryandesign removed

can you try:

cd `port dir mpv`
sudo vi Portfile

and change on line 69: configure.args-delete to configure.post_args-delete

then do:

sudo port clean --all mpv
sudo port install mpv

and let us know if that solved the issue?

comment:5 Changed 5 years ago by reneeotten (Renee Otten)

Cc: ryandesign added

comment:6 Changed 5 years ago by mrkapqa

Thank you Renee Otten,

this has been solved. Now it is functioning :)

comment:7 Changed 5 years ago by reneeotten (Renee Otten)

okay, I can commit that change later tonight or in the weekend. I guess the only question is whether the “-nocache” option should be added by the PG as default. It doesn’t seem supported by some versions of waf, but I haven’t looked in detail to see which versions can ise it and how many ports actually use the waf PG.

comment:8 Changed 5 years ago by jmroot (Joshua Root)

Summary: mpv@10.9.4: failed to configurempv @0.29.1_10: failed to configure

comment:9 Changed 5 years ago by Mihai Moldovan <ionic@…>

Resolution: fixed
Status: assignedclosed

In c3e384a85b5757b6e91c1f08428842c49317c595/macports-ports (master):

multimedia/mpv: delete --nocache argument from configure.post_args instead of configure.args.

Fixes: #59164

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

Sorry, I didn't realize there were ports that removed this option. I'll fix the others.

The comment in the mpv port says that "current waf doesn't support --nocache anymore" so indeed maybe the portgroup shouldn't be setting it at all.

comment:11 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

In 1a419b99f89803edeae0ea806290f1fc3695c86d/macports-ports (master):

aubio: Fix removal of --nocache

This option was moved from configure.args to configure.post_args in
d0f6ac80e1a3f53e2153113b15cb018fee58911f.

See: #59164

comment:12 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

In c7b10ed62306f7567a626f227f4f35495bff9a90/macports-ports (master):

oregano: Fix removal of --nocache

This option was moved from configure.args to configure.post_args in
d0f6ac80e1a3f53e2153113b15cb018fee58911f.

See: #59164

Note: See TracTickets for help on using tickets.