Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#37790 closed defect (fixed)

gdb-apple @1822 fails to install error: #error __MAC_OS_X_VERSION_MAX_ALLOWED mus t be >= __MAC_OS_X_VERSION_MIN_REQUIRED

Reported by: nonstop.server@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: leopard Cc: jeremyhu (Jeremy Huddleston Sequoia), cooljeanius (Eric Gallager)
Port: gdb-apple

Description

Port gdb-apple fails to install and returns error message:

/usr/bin/gcc-4.0 -c -pipe -O2 -arch i386 -DTARGET_I386 -I./macosx -I./macosx -DW
ITH_CFM=0 -DUSE_PTHREADS=1 -Wall -Wimplicit -D_DARWIN_UNLIMITED_STREAMS -mmacosx
-version-min=10.7  -I. -I. -I./config -DLOCALEDIR="\"/opt/local/share/locale\"" 
-DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd -I.
/../include  -I../intl -I./../intl  -DMI_OUT=1 -D__MigTypeCheck=1 -Wimplicit -Wr
eturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wunused
-label -Wunused-function -Wno-format-security -Wuninitialized  fix-and-continue.
c
In file included from /usr/include/stdlib.h:61,
                 from fix-and-continue.c:32:
/usr/include/available.h:111:6: error: #error __MAC_OS_X_VERSION_MAX_ALLOWED mus
t be >= __MAC_OS_X_VERSION_MIN_REQUIRED
make[1]: *** [fix-and-continue.o] Error 1

Version Information:

Mac OS Version:
ProductName:	Mac OS X
ProductVersion:	10.5.8
BuildVersion:	9L31a
Darwin 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386

Xcode Version:
Xcode 3.1.4
Component versions: DevToolsCore-1204.0; DevToolsSupport-1186.0
BuildVersion: 9M2809

Macports Version:
Version: 2.1.2

Attachments (1)

main.log.bz2 (20.6 KB) - added by nonstop.server@… 12 years ago.

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by nonstop.server@…

Attachment: main.log.bz2 added

comment:1 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

-mmacosx-version-min=10.7 ... ?

comment:2 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed

comment:3 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:4 Changed 11 years ago by cooljeanius (Eric Gallager)

Instead of removing that flag completely, would it have been possible instead to have changed it correspond to whichever version of OSX the user is actually using (if any)?

comment:5 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

No. That is the correct change.

Note: See TracTickets for help on using tickets.