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 Initial Version

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

Description

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 (2)

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

Note: See TracTickets for help on using tickets.