Opened 11 years ago

Closed 11 years ago

#42869 closed defect (fixed)

mlt build fails with clang: error: unknown argument

Reported by: Polyergic (Shad Sterling) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: haspatch maintainer Cc: ddennedy (Dan Dennedy), castellotti (Steve Castellotti)
Port: mlt

Description

mlt build fails, this looks like the relevant part of the long:

:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mlt/mlt/work/mlt-0.9.0/src/framework'
:info:build clang: error: unknown argument: '-fno-tree-dominator-opts' [-Wunused-command-line-argument-hard-error-in-future]
:info:build clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
:info:build clang: error: unknown argument: '-fno-tree-pre' [-Wunused-command-line-argument-hard-error-in-future]
:info:build clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
:info:build clang: error: unknown argument: '-fno-tree-dominator-opts' [-Wunused-command-line-argument-hard-error-in-future]
:info:build clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
:info:build clang: error: unknown argument: '-fno-tree-pre' [-Wunused-command-line-argument-hard-error-in-future]
:info:build clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
:info:build make[1]: *** [depend] Error 1

Attachments (3)

main.log (217.8 KB) - added by Polyergic (Shad Sterling) 11 years ago.
mlt-Portfile-42869.diff (659 bytes) - added by ddennedy (Dan Dennedy) 11 years ago.
patch-configure-clang.diff (993 bytes) - added by ddennedy (Dan Dennedy) 11 years ago.

Download all attachments as: .zip

Change History (8)

Changed 11 years ago by Polyergic (Shad Sterling)

Attachment: main.log added

comment:1 Changed 11 years ago by castellotti (Steve Castellotti)

Cc: sc@… added

Cc Me!

Changed 11 years ago by ddennedy (Dan Dennedy)

Attachment: mlt-Portfile-42869.diff added

Changed 11 years ago by ddennedy (Dan Dennedy)

Attachment: patch-configure-clang.diff added

comment:2 Changed 11 years ago by ddennedy (Dan Dennedy)

I believe the patches I just attached fix the problem.

comment:3 Changed 11 years ago by Polyergic (Shad Sterling)

The patch works, thanks!

It still fails (with different error messages) if I add +gtk2, but I don't need that.

comment:4 Changed 11 years ago by mf2k (Frank Schima)

Keywords: haspatch maintainer added; -Wunused-command-line-argument-hard-error-in-future removed

comment:5 Changed 11 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.