#59701 closed defect (fixed)
feh @3.2.1+universal: clang: error: cannot use 'dependencies' output with multiple -arch options
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | kurthindenburg (Kurt Hindenburg) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.2 |
Keywords: | Cc: | kurthindenburg (Kurt Hindenburg) | |
Port: | feh |
Description
feh fails to build with the +universal variant:
clang: error: cannot use 'dependencies' output with multiple -arch options
Attachments (2)
Change History (7)
comment:1 Changed 5 years ago by kurthindenburg (Kurt Hindenburg)
Cc: | kurthindenburg added |
---|
comment:2 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
If I understand correctly, many projects use "dependency tracking" so that incremental builds during development are faster. If you need to recompile a file, you only want to recompile that file and any of its dependencies that have changed, and not those that haven't; that's dependency tracking. Dependency tracking doesn't work with multiple -arch
flags, for whatever reason. MacPorts automatically adds the flag --disable-dependency-tracking when building universal, but this flag is only known to autotools, and feh doesn't use autotools, so we need some other way of telling it not to use dependency tracking when building universal. In fact, it would be fine to disable dependency tracking for all builds, not just universal builds, since MacPorts is generally doing a full non-incremental build anyway.
Changed 3 years ago by johnrosshunt
Attachment: | main.log.gz added |
---|
Changed 3 years ago by johnrosshunt
comment:4 Changed 3 years ago by kurthindenburg (Kurt Hindenburg)
Ok thanks - the current version and the latest 3.8 both don't build here on 12.1. Your logs are from 10.7.5. I'll try to get it to build but no guarantee. If you're familar with github you might try putting in a merge request.
comment:5 Changed 3 years ago by kurthindenburg (Kurt Hindenburg)
Owner: | set to kurthindenburg |
---|---|
Resolution: | → fixed |
Status: | new → closed |
not actually sure what that means but I'll give it a look