Opened 10 years ago

Last modified 10 years ago

#45535 closed defect

dosbox @ 0.74-6 Build fails with XCode 6.1 (with patch) — at Version 1

Reported by: NF6X (Mark J. Blair) Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: haspatch Cc: james@…
Port: dosbox

Description (last modified by ryandesign (Ryan Carsten Schmidt))

After upgrading to Yosemite and XCode 6.1, dosbox failed to build with the following output:

...emulators/dosbox% sudo port install dosbox
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
--->  Computing dependencies for dosbox
[...]
--->  Configuring dosbox
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
[...repeated many times...]
--->  Building dosbox
Error: org.macports.build for port dosbox returned: command execution failed
Please see the log file for port dosbox for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_dosbox/dosbox/main.log
[...]
Error: Processing of port dosbox failed

Log file included several instances of errors similar to this one:

:info:build ./core_dyn_x86/../../fpu/fpu_instructions_x86.h:1165:2: error: ambiguous instructions require an explicit suffix (could be 'filds', or 'fildl')

Applying the fpu.diff patch provided in ticket #40789 (attached for convenience) and removing the clang blacklist statement from the Portfile (new patch attached) allowed a clean build.

Change History (3)

Changed 10 years ago by NF6X (Mark J. Blair)

Attachment: fpu.diff added

Patch from ticket 40789

Changed 10 years ago by NF6X (Mark J. Blair)

Attachment: Portfile.patch added

Patch for Portfile to fix build problem

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

Cc: james@… added
Description: modified (diff)
Keywords: haspatch added
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

Thanks for the reminder. Committed in r127118.

Note: See TracTickets for help on using tickets.