Opened 15 years ago

Closed 14 years ago

#24099 closed defect (fixed)

arb doesn't build under 10.6 32-bit

Reported by: adam.caldwell@… Owned by: matt.cottrell@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: arb

Description

For some reason the arb port has been hard coded to build a 64-bit version when 10.6 is detected. Attempting to build on a 10.6 install with only 32-bit support yields the following error:

--->  Building arb
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_arb/work/stable_5.0"
&& /usr/bin/make -j2 all " returned error 2
Command output: makedepend: warning:  C/server.c (reading C/server.h,
line 22): cannot find include file "attributes.h"
       not in GENH/attributes.h
       not in C/attributes.h
       not in /usr/include/attributes.h
makedepend: warning:  C/server.c (reading ../INCLUDE/arb_assert.h),
line 33: #  error Neither DEBUG nor NDEBUG is defined!
makedepend: warning:  C/server.c (reading ../INCLUDE/arb_assert.h,
line 183): cannot find include file "arbdb_base.h"
       not in GENH/arbdb_base.h
       not in C/arbdb_base.h
       not in /usr/include/arbdb_base.h
makedepend: warning:  C/struct_man.c, line 5: cannot find include file "aisc.h"
       not in aisc.h
       not in C/aisc.h
       not in GENH/aisc.h
       not in C/aisc.h
       not in /usr/include/aisc.h
makedepend: warning:  C/struct_man.c (reading C/struct_man.h, line
19): cannot find include file "attributes.h"
       not in GENH/attributes.h
       not in C/attributes.h
       not in /usr/include/attributes.h
makedepend: warning:  cannot open "GENC/*.c"
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_arb/work/stable_5.0/SOURCE_TOOLS/mv_if_diff
.depends_new .depends
.depends created.
../MAKEBIN/aisc AISC/aisc.pa names.aisc GENH/aisc.h
make[3]: ../MAKEBIN/aisc: Bad CPU type in executable
make[3]: *** [GENH/aisc.h] Error 1
make[2]: *** [server.a] Error 2
make[1]: *** [NAMES_COM/server.dummy] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [PROBE_COM/server.dummy] Error 1
make: *** [all] Error 2

It doesn't appear to be possible to force the building of the darwin 9 version, which is 32 bit, though even if it can be done it really doesn't make sense to hard code building for one CPU architecture based what version of OSX is installed.

Change History (2)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to matt.cottrell@…

Please remember to cc the maintainer.

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

This was fixed in r75940.

Note: See TracTickets for help on using tickets.