Opened 11 years ago

Last modified 4 years ago

#25713 assigned defect

gcc44: warning empty archive: libbackend.a (can't load from it)

Reported by: lord.of.chickens@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: tiger Cc: ryandesign (Ryan Schmidt)
Port: gcc44

Description (last modified by mf2k (Frank Schima))

I've been trying to install deluge through macports for a while now, but I've gotten stuck on the gcc44 build. So I cleaned gcc44, found and installed all the dependencies, but it still won't install. Here's what was in terminal. The log is attached.

--->  Computing dependencies for gcc44
--->  Building gcc44
Error: Target org.macports.build returned: shell command failed
Log for gcc44 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/main.log
Error: Status 1 encountered during processing.

Attachments (3)

main.log (28.5 KB) - added by lord.of.chickens@… 11 years ago.
gcc44 build error log
main.log 2.zip (90.6 KB) - added by derflorianlang@… 11 years ago.
main.2.log (100.4 KB) - added by soxofaan+macports@… 10 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/main.log

Download all attachments as: .zip

Change History (14)

Changed 11 years ago by lord.of.chickens@…

Attachment: main.log added

gcc44 build error log

comment:1 Changed 11 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to mww@…

comment:2 Changed 11 years ago by mf2k (Frank Schima)

What version of Mac OS X are you running? What version of Xcode?

comment:3 Changed 11 years ago by lord.of.chickens@…

Xcode is 2.5, running 10.4.11 PPC.

comment:4 Changed 11 years ago by jmroot (Joshua Root)

Keywords: tiger added

comment:5 Changed 11 years ago by derflorianlang@…

same problem here, building gcc44 hangs forever!

XCode 3.2.2, MacOS 10.6.4 Intel

Changed 11 years ago by derflorianlang@…

Attachment: main.log 2.zip added

comment:6 Changed 11 years ago by sewebster@…

Derflorianlang, are you sure you didn't just not wait long enough? gcc takes a long time. From your log it looks like it was almost done... anyway, you don't have the same problem as the initial reporter...

comment:7 in reply to:  6 Changed 11 years ago by derflorianlang@…

Replying to sewebster@…:

Derflorianlang, are you sure you didn't just not wait long enough? gcc takes a long time. From your log it looks like it was almost done... anyway, you don't have the same problem as the initial reporter...

Thank you very much, its correct, it seems its now installed!

comment:8 Changed 10 years ago by soxofaan+macports@…

Hi, I'm getting same problem: building/installing gcc44 fails with error message "shell command failed"

This is the end of the output I get when build with debug flag:

libtool: compile:  /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/work/build/./gcc/ -B/opt/local/x86_64-apple-darwin10/bin/ -B/opt/local/x86_64-apple-darwin10/lib/ -isystem /opt/local/x86_64-apple-darwin10/include -isystem /opt/local/x86_64-apple-darwin10/sys-include -DHAVE_CONFIG_H -I. -I../../../gcc-4.4.5/libgomp -I. -I../../../gcc-4.4.5/libgomp/config/bsd -I../../../gcc-4.4.5/libgomp/config/posix -I../../../gcc-4.4.5/libgomp -Wall -pthread -Werror -g -O2 -MT iter.lo -MD -MP -MF .deps/iter.Tpo -c ../../../gcc-4.4.5/libgomp/iter.c  -fno-common -DPIC -o .libs/iter.o
dyld: Library not loaded: /opt/local/lib/libmpfr.1.dylib
  Referenced from: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/work/build/./gcc/cc1
  Reason: image not found
dyld: Library not loaded: /opt/local/lib/libmpfr.1.dylib
  Referenced from: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/work/build/./gcc/cc1
  Reason: image not found
xgcc: Internal error: Trace/BPT trap (program cc1)
Please submit a full bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
xgcc: Internal error: Trace/BPT trap (program cc1)
Please submit a full bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[4]: *** [env.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [iter.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-target-libgomp] Error 2
make: *** [bootstrap] Error 2
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/work/build" && /usr/bin/make -j2 bootstrap " returned error 2
Error: Target org.macports.build returned: shell command failed
DEBUG: Backtrace: shell command failed
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for gcc44): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Log for gcc44 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

I'll attach the log file too

Changed 10 years ago by soxofaan+macports@…

Attachment: main.2.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/main.log

comment:9 Changed 10 years ago by soxofaan+macports@…

ok, my problem is solved, I first did

sudo port clean gcc44

and now building/installing gcc44 worked without problems

comment:10 Changed 10 years ago by ryandesign (Ryan Schmidt)

Cc: ryandesign@… added
Summary: gcc44 build error, shell command failed?gcc44: warning empty archive: libbackend.a (can't load from it)

derflorianlang's problem was not the same problem as the reporter's; he just needed to wait longer for the build to finish.

soxofaan's problem was not the same problem as the reporter's; he had an incomplete build against an old libgmp and needed to clean and try again.

That leaves the reporter's problem: he has the error message "warning empty archive: libbackend.a (can't load from it)". There are no Google hits for this error message except for this ticket. The attached build log is incomplete (contains lines "Skipping"...). Does the problem persist if you clean and try again? ("sudo port clean gcc44") If so, please attach the full main.log file after such an attempt.

comment:11 Changed 4 years ago by kurthindenburg (Kurt Hindenburg)

Owner: changed from mww@… to macports-tickets@…
Status: newassigned
Note: See TracTickets for help on using tickets.