Summary: | sys-libs/db-4.2.52_p2 (berkdb) ebuild fails to emerge on Sparc | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Gary Schulte <gary-gentoobugs> |
Component: | New packages | Assignee: | Sparc Porters <sparc> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | Sparc | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch failure log |
Description
Gary Schulte
2004-09-08 11:54:57 UTC
Sorry for the late reply. Are you still able to produce this? I tried replicating here tonight and was unable to. Resolving as it works fine here. If it's still happening for you, your system is up to date, and the output of "revdep-rebuild -p" doesn't show anything to rebuild, feel free to re-open. Still experiencing this problem. I just emerge sync'd did a revdep-rebuild and retried to emerge db. Same failure, details: Output of revdep-rebuild: -------------------------- Checking reverse dependencies... Packages containing binaries and libraries broken by any package update, will be recompiled. Collecting system binaries and libraries... terminated. Removing incomplete /root/.revdep-rebuild.1_files. stranded root # revdep-rebuild -p Checking reverse dependencies... Packages containing binaries and libraries broken by any package update, will be recompiled. Collecting system binaries and libraries... done. (/root/.revdep-rebuild.1_files) Collecting complete LD_LIBRARY_PATH... done. (/root/.revdep-rebuild.2_ldpath) Checking dynamic linking consistency... broken /usr/X11R6/lib/X11/xkb/xkbcomp (requires libXext.so.6 libX11.so.6) done. (/root/.revdep-rebuild.3_rebuild) Assigning files to ebuilds... done. (/root/.revdep-rebuild.4_ebuilds) Evaluating package order... done. (/root/.revdep-rebuild.5_order) Dynamic linking on your system is consistent... All done. Still failing emerge db: ------------------------- creating libdb-4.2.la (cd .libs && rm -f libdb-4.2.la && ln -s ../libdb-4.2.la libdb-4.2.la) rm -f libdb.a test ! -f .libs/libdb-4.2.a || \ ln -s .libs/libdb-4.2.a libdb.a test -f .libs/libdb-4.2.a || \ (test -f libdb-4.2.a && ln -s libdb-4.2.a libdb.a) /bin/sh ./libtool --mode=link gcc -o berkeley_db_svc \ db_server_proc.lo db_server_svc.lo db_server_util.lo gen_db_server.lo util_log.lo libdb-4.2.la gcc -o .libs/berkeley_db_svc .libs/db_server_proc.o .libs/db_server_svc.o .libs/db_server_util.o .libs/gen_db_server.o .libs/util_log.o ./.libs/libdb-4.2.so creating berkeley_db_svc /bin/sh ./libtool --mode=execute true berkeley_db_svc /bin/sh ./libtool --mode=link gcc -o db_archive \ db_archive.lo util_sig.lo libdb-4.2.la /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/../../../crti.o(.init+0x0): In function `_init': /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/csu/crti.S:9: multiple definition of `_init' /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/../../../crti.o(.init+0x0):/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/csu/crti.S:9: first defined here /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/../../../../sparc-unknown-linux-gnu/bin/ld: Disabling relaxation: it will not work with multiple definitions /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/../../../crti.o(.fini+0x0): In function `_fini': : multiple definition of `_fini' /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/../../../crti.o(.fini+0x0): first defined here /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/crtbeginS.o(.data.rel+0x0): multiple definition of `__dso_handle' /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/crtbeginS.o(.data.rel+0x0): first defined here collect2: ld returned 1 exit status make: *** [libdb_cxx-4.2.la] Error 1 make: *** Waiting for unfinished jobs.... gcc -o .libs/db_archive .libs/db_archive.o .libs/util_sig.o ./.libs/libdb-4.2.so creating db_archive /bin/sh ./libtool --mode=execute true db_archive make: *** Waiting for unfinished jobs.... Please try upgrading your gcc to 3.3.4-r1 and see if this problem persists. I'd also recommend updating any other packages that emerge -upvD system suggests need upgrading. Created attachment 42888 [details]
Patch failure log
Comment on attachment 42888 [details]
Patch failure log
yeah, I'm braindead, ignore this.
Are you still having this problem after upgrading to gcc-3.3.4-r1? Can't upgrade to latest gcc ... complains in build about ignoring incompatible libc. Go to upgrade glibc, and I get: {standard input}: Assembler messages: {standard input}:52: Error: Architecture mismatch on "bcc,pt %xcc,1f". {standard input}:52: (Requires v9|v9a|v9b; requested architecture is sparclite.) make[2]: *** [/var/tmp/portage/glibc-2.3.3.20040420-r2/work/glibc-2.3.2/buildhere/csu/check_fds.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.3.20040420-r2/work/glibc-2.3.2/csu' make[1]: *** [csu/subdir_lib] Error 2 make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.3.20040420-r2/work/glibc-2.3.2' make: *** [all] Error 2 Ah your problem is your CHOST is set to sparc64-unknown-linux-gnu. This will cause (potentially) problems on Gentoo. Please change and/or rebuild your system with a CHOST of sparc-unknown-linux-gnu CHOST needs to be sparc-unknown-linux-gnu. Not much else we can do about that. Documentation has been updated to more clearly reflect that the CHOST shouldn't be touched. |