Opened 6 years ago

Closed 6 years ago

#45535 closed defect (fixed)

dosbox @ 0.74-6 Build fails with XCode 6.1 (with patch)

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

Description (last modified by ryandesign (Ryan 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.

Attachments (2)

fpu.diff (760 bytes) - added by NF6X (Mark J. Blair) 6 years ago.
Patch from ticket 40789
Portfile.patch (884 bytes) - added by NF6X (Mark J. Blair) 6 years ago.
Patch for Portfile to fix build problem

Download all attachments as: .zip

Change History (4)

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

Attachment: fpu.diff added

Patch from ticket 40789

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

Attachment: Portfile.patch added

Patch for Portfile to fix build problem

comment:1 Changed 6 years ago by ryandesign (Ryan 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.

comment:2 Changed 6 years ago by ryandesign (Ryan Schmidt)

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