Opened 15 years ago

Closed 15 years ago

#23516 closed defect (fixed)

arm-elf-gcc 4.3.2 configure: error: cannot compute suffix of object files: cannot compile

Reported by: StephenRhein@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: arm, elf, gcc, suffix, object, files Cc: stephenrhein@…, wrc@…, lpe@…
Port: arm-elf-gcc

Description

I can't seem to install arm-elf-gcc due to the following error:

checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile

I haven't been able to figure this out after some extensive research.

Attachments (2)

debug.txt (18.4 KB) - added by StephenRhein@… 15 years ago.
Output of sudo port -d install arm-elf-gcc
config.log (28.1 KB) - added by StephenRhein@… 15 years ago.
Build configuration

Download all attachments as: .zip

Change History (9)

Changed 15 years ago by StephenRhein@…

Attachment: debug.txt added

Output of sudo port -d install arm-elf-gcc

Changed 15 years ago by StephenRhein@…

Attachment: config.log added

Build configuration

comment:1 Changed 15 years ago by StephenRhein@…

This problem can be addressed by updating the Portfile as described in r59653 (which closes #21194).

comment:2 in reply to:  1 ; Changed 15 years ago by wrc@…

Replying to StephenRhein@…:

This problem can be addressed by updating the Portfile as described in r59653 (which closes #21194).

Confirmed fixing the portfile as specified above allows arm-elf-gcc to compile on my system (OSX 10.5.8)

comment:3 Changed 15 years ago by wrc@…

Cc: wrc@… added

Cc Me!

comment:4 in reply to:  2 ; Changed 15 years ago by lpe@…

Replying to wrc@…:

Replying to StephenRhein@…:

This problem can be addressed by updating the Portfile as described in r59653 (which closes #21194).

Confirmed fixing the portfile as specified above allows arm-elf-gcc to compile on my system (OSX 10.5.8)

Hello,

I have the same problem and patch /opt/local/var/macports/sources/rsync.macports.org/release/ports/cross/i386-mingw32-gcc/portfile don't solve the problem

after pacth i have try to clean and install yet, close and launch new terminal... Below the backtrace of my install

Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-gcc/work/build" && /usr/bin/make -j1 all AR_FOR_TARGET=arm-elf-ar AS_FOR_TARGET=arm-elf-as LD_FOR_TARGET=arm-elf-ld NM_FOR_TARGET=arm-elf-nm RANLIB_FOR_TARGET=arm-elf-ranlib " returned error 2 DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-gcc/work/build" && /usr/bin/make -j1 all AR_FOR_TARGET=arm-elf-ar AS_FOR_TARGET=arm-elf-as LD_FOR_TARGET=arm-elf-ld NM_FOR_TARGET=arm-elf-nm RANLIB_FOR_TARGET=arm-elf-ranlib " returned error 2

while executing

"command_exec build"

(procedure "portbuild::build_main" line 9) invoked from within

"$procedure $targetname" Warning: the following items did not execute (for arm-elf-gcc): org.macports.activate org.macports.build org.macports.destroot org.macports.install

Thanks for your help

comment:5 Changed 15 years ago by lpe@…

Cc: lpe@… added

Cc Me!

comment:6 in reply to:  4 Changed 15 years ago by lpe@…

Replying to lpe@…:

Replying to wrc@…:

Replying to StephenRhein@…:

This problem can be addressed by updating the Portfile as described in r59653 (which closes #21194).

Confirmed fixing the portfile as specified above allows arm-elf-gcc to compile on my system (OSX 10.5.8)

Hello,

I have the same problem and patch /opt/local/var/macports/sources/rsync.macports.org/release/ports/cross/i386-mingw32-gcc/portfile don't solve the problem

after pacth i have try to clean and install yet, close and launch new terminal... Below the backtrace of my install

Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-gcc/work/build" && /usr/bin/make -j1 all AR_FOR_TARGET=arm-elf-ar AS_FOR_TARGET=arm-elf-as LD_FOR_TARGET=arm-elf-ld NM_FOR_TARGET=arm-elf-nm RANLIB_FOR_TARGET=arm-elf-ranlib " returned error 2 DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-gcc/work/build" && /usr/bin/make -j1 all AR_FOR_TARGET=arm-elf-ar AS_FOR_TARGET=arm-elf-as LD_FOR_TARGET=arm-elf-ld NM_FOR_TARGET=arm-elf-nm RANLIB_FOR_TARGET=arm-elf-ranlib " returned error 2

while executing

"command_exec build"

(procedure "portbuild::build_main" line 9) invoked from within

"$procedure $targetname" Warning: the following items did not execute (for arm-elf-gcc): org.macports.activate org.macports.build org.macports.destroot org.macports.install

Thanks for your help

Finaly it works, I fixed bad portfile... this patch must be on portfile of your module, for me /opt/local/var/macports/sources/rsync.macports.org/release/ports/cross/arm-elf-gcc/portfile Regards

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

Resolution: fixed
Status: newclosed

I could never reproduce this, but I guess it's fixed by r64208.

Note: See TracTickets for help on using tickets.