Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 92759 Details for
Bug 141758
ERROR: sys-libs/db-4.3.29-r2 failed
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Error text and emerge --info
db-emerge-error.txt (text/plain), 10.27 KB, created by
Claes Mogren
on 2006-07-26 00:01:14 UTC
(
hide
)
Description:
Error text and emerge --info
Filename:
MIME Type:
Creator:
Claes Mogren
Created:
2006-07-26 00:01:14 UTC
Size:
10.27 KB
patch
obsolete
>Getting some kind of -fPIC error when compiling db: > . > . >x86_64-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/crtbeginS.o .libs/cxx_db.o .libs/cxx_dbc.o .libs/cxx_dbt.o .libs/cxx_env.o .libs/cxx_except.o .libs/cxx_lock.o .libs/cxx_logc.o .libs/cxx_mpool.o .libs/cxx_multi.o .libs/cxx_seq.o .libs/cxx_txn.o .libs/db185.o .libs/mut_tas.o .libs/bt_compare.o .libs/bt_conv.o .libs/bt_curadj.o .libs/bt_cursor.o .libs/bt_delete.o .libs/bt_method.o .libs/bt_open.o .libs/bt_put.o .libs/bt_rec.o .libs/bt_reclaim.o .libs/bt_recno.o .libs/bt_rsearch.o .libs/bt_search.o .libs/bt_split.o .libs/bt_stat.o .libs/bt_upgrade.o .libs/btree_auto.o .libs/hash.o .libs/hash_auto.o .libs/hash_conv.o .libs/hash_dup.o .libs/hash_meta.o .libs/hash_method.o .libs/hash_open.o .libs/hash_page.o .libs/hash_rec.o .libs/hash_reclaim.o .libs/hash_stat.o .libs/hash_upgrade.o .libs/hash_verify.o .libs/qam.o .libs/qam_auto.o .libs/qam_conv.o .libs/qam_files.o .libs/qam_method.o .libs/qam_open.o .libs/qam_rec.o .libs/qam_stat.o .libs/qam_upgrade.o .libs/qam_verify.o .libs/rep_auto.o .libs/rep_backup.o .libs/rep_method.o .libs/rep_record.o .libs/rep_region.o .libs/rep_stat.o .libs/rep_util.o .libs/db_ovfl_vrfy.o .libs/db_vrfy.o .libs/db_vrfyutil.o .libs/bt_verify.o .libs/aes_method.o .libs/crypto.o .libs/mt19937db.o .libs/rijndael-alg-fst.o .libs/rijndael-api-fst.o .libs/client.o .libs/db_server_clnt.o .libs/db_server_xdr.o .libs/gen_client.o .libs/gen_client_ret.o .libs/crdel_auto.o .libs/crdel_rec.o .libs/db.o .libs/db_am.o .libs/db_auto.o .libs/db_byteorder.o .libs/db_cam.o .libs/db_conv.o .libs/db_dispatch.o .libs/db_dup.o .libs/db_err.o .libs/db_getlong.o .libs/db_idspace.o .libs/db_iface.o .libs/db_join.o .libs/db_log2.o .libs/db_meta.o .libs/db_method.o .libs/db_open.o .libs/db_overflow.o .libs/db_pr.o .libs/db_rec.o .libs/db_reclaim.o .libs/db_rename.o .libs/db_remove.o .libs/db_ret.o .libs/db_salloc.o .libs/db_setid.o .libs/db_setlsn.o .libs/db_shash.o .libs/db_stati.o .libs/db_truncate.o .libs/db_upg.o .libs/db_upg_opd.o .libs/dbm.o .libs/dbreg.o .libs/dbreg_auto.o .libs/dbreg_rec.o .libs/dbreg_stat.o .libs/dbreg_util.o .libs/env_file.o .libs/env_method.o .libs/env_open.o .libs/env_recover.o .libs/env_region.o .libs/env_stat.o .libs/fileops_auto.o .libs/fop_basic.o .libs/fop_rec.o .libs/fop_util.o .libs/hash_func.o .libs/hmac.o .libs/hsearch.o .libs/lock.o .libs/lock_deadlock.o .libs/lock_id.o .libs/lock_list.o .libs/lock_method.o .libs/lock_region.o .libs/lock_stat.o .libs/lock_timer.o .libs/lock_util.o .libs/log.o .libs/log_archive.o .libs/log_compare.o .libs/log_get.o .libs/log_method.o .libs/log_put.o .libs/log_stat.o .libs/mp_alloc.o .libs/mp_bh.o .libs/mp_fget.o .libs/mp_fmethod.o .libs/mp_fopen.o .libs/mp_fput.o .libs/mp_fset.o .libs/mp_method.o .libs/mp_region.o .libs/mp_register.o .libs/mp_stat.o .libs/mp_sync.o .libs/mp_trickle.o .libs/mutex.o .libs/os_abs.o .libs/os_alloc.o .libs/os_clock.o .libs/os_config.o .libs/os_dir.o .libs/os_errno.o .libs/os_fid.o .libs/os_fsync.o .libs/os_handle.o .libs/os_id.o .libs/os_map.o .libs/os_method.o .libs/os_oflags.o .libs/os_open.o .libs/os_region.o .libs/os_rename.o .libs/os_root.o .libs/os_rpath.o .libs/os_rw.o .libs/os_seek.o .libs/os_sleep.o .libs/os_spin.o .libs/os_stat.o .libs/os_tmpdir.o .libs/os_truncate.o .libs/os_unlink.o .libs/sha1.o .libs/seq_stat.o .libs/sequence.o .libs/snprintf.o .libs/txn.o .libs/txn_auto.o .libs/txn_method.o .libs/txn_rec.o .libs/txn_recover.o .libs/txn_region.o .libs/txn_stat.o .libs/txn_util.o .libs/xa.o .libs/xa_db.o .libs/xa_map.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../lib64/crtn.o -march=athlon64 -Wl,--default-symver -o .libs/libdb_cxx-4.3.so >/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/cxx_db.o: relocation R_X86_64_32 against `_db_dup_compare_intercept_c' can not be used when making a shared object; recompile with -fPIC >.libs/cxx_db.o: could not read symbols: Bad value >collect2: ld returned 1 exit status >distcc[10276] ERROR: compile (null) on localhost failed >make: *** [libdb_cxx-4.3.la] Error 1 > >!!! ERROR: sys-libs/db-4.3.29-r2 failed. >Call stack: > ebuild.sh, line 1545: Called dyn_compile > ebuild.sh, line 940: Called src_compile > db-4.3.29-r2.ebuild, line 109: Called die > >!!! make failed >!!! If you need support, post the topmost build error, and the call stack if relevant. > >!!! When you file a bug report, please include the following information: >GENTOO_VM=blackdown-jdk-1.4.2 CLASSPATH="" JAVA_HOME="/opt/blackdown-jdk-1.4.2.03" >JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="" >and of course, the output of emerge --info > >****************************************************************************** > >Any hint how to get around this error? I tried to emerge it with "CFLAGS="-pipe -O2 -fPIC" emerge sys-libs/db", but that didn't help. Try with sun-sdk? Do I need to re-emerge blackdown or binutils, since that's the dependencies of db? >Should the COMPILER variable be set? CLASSPATH? > >When trying with "CXXFLAGS="${CFLAGS}" emerge sys-libs/db" or "CXXFLAGS="-pipe -O2 -fPIC" emerge sys-libs/db" the install fails in another way: >****************************************************************************** > . > . >cp -p .libs/db_upgrade /usr/portage/tmp/portage/db-4.3.29-r2/image//usr/bin/db_upgrade >cp -p .libs/db_verify /usr/portage/tmp/portage/db-4.3.29-r2/image//usr/bin/db_verify >Installing documentation: /usr/portage/tmp/portage/db-4.3.29-r2/image//usr/docs ... > * removing unversioned static archives > >!!! ERROR: sys-libs/db-4.3.29-r2 failed. >Call stack: > ebuild.sh, line 1545: Called dyn_install > ebuild.sh, line 1019: Called src_install > db-4.3.29-r2.ebuild, line 127: Called java-pkg_regso '/usr/portage/tmp/portage/db-4.3.29-r2/image//usr/lib/libdb_java*.so' > java-utils-2.eclass, line 387: Called die > >!!! /usr/portage/tmp/portage/db-4.3.29-r2/image//usr/lib/libdb_java*.so does not exist >!!! If you need support, post the topmost build error, and the call stack if relevant. > >!!! When you file a bug report, please include the following information: >GENTOO_VM=blackdown-jdk-1.4.2 CLASSPATH="" JAVA_HOME="/opt/blackdown-jdk-1.4.2.03" >JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="" >and of course, the output of emerge --info > >****************************************************************************** > >I can not understand why this fails differently, since I have CXXFLAGS="${CFLAGS}" in my make.conf. I just tried this because it has worked before when some package could not be emerged. > >Sorry for all the questions, and thanks in advance for looking at this. >/Claes Mogren > >******************** Emerge info ********************************************* > >Portage 2.1.1_pre3-r4 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.17-gentoo x86_64) >================================================================= >System uname: 2.6.17-gentoo x86_64 AMD Athlon(tm) 64 Processor 3000+ >Gentoo Base System version 1.12.1 >distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] >ccache version 2.4 [enabled] >app-admin/eselect-compiler: 2.0.0_rc2-r1 >dev-lang/python: 2.3.5, 2.4.3-r1 >dev-python/pycrypto: 2.0.1-r5 >dev-util/ccache: 2.4-r2 >dev-util/confcache: 0.4.2-r1 >sys-apps/sandbox: 1.2.18.1 >sys-devel/autoconf: 2.13, 2.60 >sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 >sys-devel/binutils: 2.17 >sys-devel/gcc-config: 2.0.0_rc1 >sys-devel/libtool: 1.5.22 >virtual/os-headers: 2.6.16 >ACCEPT_KEYWORDS="amd64 ~amd64" >AUTOCLEAN="yes" >CBUILD="x86_64-pc-linux-gnu" >CFLAGS="-march=athlon64 -O2 -pipe -ftracer -fno-ident -fomit-frame-pointer -freorder-blocks-and-partition" >CHOST="x86_64-pc-linux-gnu" >CONFIG_PROTECT="/etc /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb" >CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" >CXXFLAGS="-march=athlon64 -O2 -pipe -ftracer -fno-ident -fomit-frame-pointer -freorder-blocks-and-partition" >DISTDIR="/usr/portage/distfiles" >FEATURES="autoconfig ccache confcache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict" >GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" >LANG="en_US.UTF-8" >LC_ALL="en_US.UTF-8" >LINGUAS="en sv" >MAKEOPTS="-j2" >PKGDIR="/usr/portage/packages" >PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes" >PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" >PORTAGE_TMPDIR="/usr/portage/tmp" >PORTDIR="/usr/portage" >PORTDIR_OVERLAY="/usr/local/portage /usr/local/xgl-coffee /usr/portage/local/layman/vmware" >SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" >USE="amd64 X aac acpi aim alsa amr apache2 avahi avi bash-completion berkdb bitmap-fonts bluetooth browserplugin cairo calendar canvas cdparanoia cdr cli crypt cups dbus dga dio directfb divx4linux dlloader doc dri dts dvd dvdr dvdread eds emboss encode exif fbcon ffmpeg fftw firefox foomaticdb gdbm gif glade glibc-omitfp glitz glx gnome gphoto2 gpm gstreamer gtk gtk2 hal icq id3 imagemagick imlib ipv6 isdnlog jabber java jpeg lame lzw lzw-tiff mad matroska mime mono mozsvg mp3 mp4 mp4live mpeg msn ncurses nls nptl nptlonly nsplugin nvidia offensive ogg oggvorbis opengl oscar pam pcre pdflib perl player png pppd python qt3 qt4 quicktime readline reflection rtc ruby samba sdl seamonkey session spell spl sqlite ssl svg tcpd tga theora threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vorbis wmf x264 xcomposite xml xorg xpm xscreensaver xv xvid yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_vmmouse kernel_linux linguas_en linguas_sv userland_GNU video_cards_nvidia video_cards_vesa video_cards_fbdev video_cards_vmware" >Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 141758
: 92759 |
92763