Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Libbonobo emerge fail in migration to profile 1 (emerge -e)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ctlantis
n00b
n00b


Joined: 11 Dec 2017
Posts: 2

PostPosted: Mon Dec 11, 2017 7:27 am    Post subject: Libbonobo emerge fail in migration to profile 1 (emerge -e) Reply with quote

Hi . I experience a problem in profile upgrade. Libbonobo fail to compile blockcing emerge -e @world
The error suggest to use -fPIC to compile. I attempt to solve adding it to makefile in the CFLAGS, but the error still persist and it looks ignoring the -fPIC or do not have an impact after change.

Do you have any idea no how solve it? thanks. [/code][/quote]

Code:

:   
# eselect profile list
Available profile symlink targets:
  [1]   default/linux/amd64/13.0
  [2]   default/linux/amd64/13.0/selinux
  [3]   default/linux/amd64/13.0/desktop
  [4]   default/linux/amd64/13.0/desktop/gnome
  [5]   default/linux/amd64/13.0/desktop/gnome/systemd
  [6]   default/linux/amd64/13.0/desktop/plasma
  [7]   default/linux/amd64/13.0/desktop/plasma/systemd
  [8]   default/linux/amd64/13.0/developer
  [9]   default/linux/amd64/13.0/no-multilib
  [10]  default/linux/amd64/13.0/systemd
  [11]  default/linux/amd64/13.0/x32
  [12]  default/linux/amd64/17.0
  [13]  default/linux/amd64/17.0/selinux
  [14]  default/linux/amd64/17.0/hardened
  [15]  default/linux/amd64/17.0/hardened/selinux
  [16]  default/linux/amd64/17.0/desktop
  [17]  default/linux/amd64/17.0/desktop/gnome
  [18]  default/linux/amd64/17.0/desktop/gnome/systemd *
  [19]  default/linux/amd64/17.0/desktop/plasma
  [20]  default/linux/amd64/17.0/desktop/plasma/systemd
  [21]  default/linux/amd64/17.0/developer
  [22]  default/linux/amd64/17.0/no-multilib
  [23]  default/linux/amd64/17.0/no-multilib/hardened
  [24]  default/linux/amd64/17.0/no-multilib/hardened/selinux
  [25]  default/linux/amd64/17.0/systemd
  [26]  default/linux/amd64/17.0/x32
  [27]  hardened/linux/amd64
  [28]  hardened/linux/amd64/selinux
  [29]  hardened/linux/amd64/no-multilib
  [30]  hardened/linux/amd64/no-multilib/selinux
  [31]  hardened/linux/amd64/x32
  [32]  hardened/linux/musl/amd64
  [33]  hardened/linux/musl/amd64/x32
  [34]  default/linux/uclibc/amd64
  [35]  hardened/linux/uclibc/amd64
# emerge --info '=gnome-base/libbonobo-2.24.3-r1::gentoo'
Portage 2.3.13 (python 2.7.14-final-0, default/linux/amd64/17.0/desktop/gnome/systemd, gcc-6.4.0, glibc-2.25-r9, 4.12.12-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.12.12-gentoo-x86_64-Intel-R-_Core-TM-_i7-6700HQ_CPU_@_2.60GHz-with-gentoo-2.4.1
KiB Mem:    16335888 total,   4187724 free
KiB Swap:   22020092 total,  22020092 free
Timestamp of repository gentoo: Fri, 08 Dec 2017 00:45:01 +0000
Head commit of repository gentoo: 860825c5351c93a0b5c7fafe74de372230ed395f
Head commit of repository sakaki-tools: 5890d06cb31176594edb0aa3d10cc746684ab1aa

Head commit of repository brother-overlay: b14dc2de8ad85aa12744eaf5af012a31e98acbb4

sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.5-r1::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.nl.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:

sakaki-tools
    location: /usr/local/portage/sakaki-tools
    sync-type: git
    sync-uri: https://github.com/sakaki-/sakaki-tools.git
    masters: gentoo
    priority: 50

brother-overlay
    location: /usr/local/portage/brother-overlay
    sync-type: git
    sync-uri: https://github.com/stefan-langenmaier/brother-overlay.git
    masters: gentoo
    priority: 9999

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE CC-Sampling-Plus-1.0"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fPIE "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/chromium/policies/managed/chrome-gnome-shell.json /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/opt/chrome/policies/managed/chrome-gnome-shell.json /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fPIE "
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=9 --load-average=8"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms split-elog strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="rsync://gentoo.gossamerhost.com/gentoo-distfiles/ http://gentoo.mirrors.tera-byte.com/ rsync://ftp.snt.utwente.nl/gentoo"
LANG="it_IT"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9 -l8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth bluez branding bzip2 cairo cdda cdr cli colord cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam ffmpeg firefox flac fortran gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtkstyle iconv introspection ipv6 jpeg lcms ldap libnotify libsecret mad mng modules mp3 mp4 mpeg multilib nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulsaudio pulseaudio qt3support qt4 qt5 readline sdl seccomp session spell ssl startup-notification svg systemd tcpd tiff tracker truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python3_4 python2_7 python3_5" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="nouveau i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

gnome-base/libbonobo-2.24.3-r1::gentoo was built with the following:
USE="-debug -examples -test" ABI_X86="(64)"
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="-march=native -O2 -pipe"


 # emerge -pqv '=gnome-base/libbonobo-2.24.3-r1::gentoo'
[ebuild   R   ] gnome-base/libbonobo-2.24.3-r1  USE="-debug -examples {-test}"
# tail -n 50 /var/tmp/portage/gnome-base/libbonobo-2.24.3-r1/temp/build.log
 void     g_static_rec_mutex_lock        (GStaticRecMutex *mutex);
          ^~~~~~~~~~~~~~~~~~~~~~~
activation-server-main.c: In function 'server_unlock':
activation-server-main.c:149:9: warning: 'g_static_rec_mutex_unlock' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations]
         g_static_rec_mutex_unlock (&server_guard);
         ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:107:0,
                 from /usr/include/glib-2.0/glib/gi18n.h:21,
                 from activation-server-main.c:30:
/usr/include/glib-2.0/glib/deprecated/gthread.h:185:10: note: declared here
 void     g_static_rec_mutex_unlock      (GStaticRecMutex *mutex);
          ^~~~~~~~~~~~~~~~~~~~~~~~~
activation-server-main.c: In function 'main':
activation-server-main.c:530:9: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations]
         g_thread_init (NULL);
         ^~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:107:0,
                 from /usr/include/glib-2.0/glib/gi18n.h:21,
                 from activation-server-main.c:30:
/usr/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here
 void     g_thread_init                   (gpointer vtable);
          ^~~~~~~~~~~~~
activation-server-main.c:672:17: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result]
                 chdir ("/");
                 ^~~~~~~~~~~
libtool: link: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fPIE -Wl,-O1 -o .libs/test-performance test-performance.o object-directory-load.o -Wl,--export-dynamic -pthread -pthread  -Wl,--as-needed ../bonobo/.libs/libbonobo-2.so /var/tmp/portage/gnome-base/libbonobo-2.24.3-r1/work/libbonobo-2.24.3/bonobo-activation/.libs/libbonobo-activation.so ../bonobo-activation/.libs/libbonobo-activation.so -lname-server-2 -lgmodule-2.0 -lORBitCosNaming-2 -lORBit-2 -lgthread-2.0 -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -lxml2 -pthread
/bin/sh ../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -march=native -O2 -pipe -fPIE   -Wl,-O1 -Wl,--as-needed -o bonobo-activation-server activation-server-corba-extensions.o activation-context-query.o activation-context-query-lexer.o activation-context-query-parser.o activation-context-corba.o object-directory-corba.o object-directory-load.o object-directory-activate.o object-directory-config-file.o activation-server-main.o ../bonobo/libbonobo-2.la ../bonobo-activation/libbonobo-activation.la -lname-server-2 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lORBitCosNaming-2 -lORBit-2 -lgthread-2.0 -pthread -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -lxml2
libtool: link: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fPIE -Wl,-O1 -o .libs/bonobo-activation-server activation-server-corba-extensions.o activation-context-query.o activation-context-query-lexer.o activation-context-query-parser.o activation-context-corba.o object-directory-corba.o object-directory-load.o object-directory-activate.o object-directory-config-file.o activation-server-main.o -Wl,--export-dynamic -pthread -pthread  -Wl,--as-needed ../bonobo/.libs/libbonobo-2.so /var/tmp/portage/gnome-base/libbonobo-2.24.3-r1/work/libbonobo-2.24.3/bonobo-activation/.libs/libbonobo-activation.so ../bonobo-activation/.libs/libbonobo-activation.so -lname-server-2 -lgmodule-2.0 -lORBitCosNaming-2 -lORBit-2 -lgthread-2.0 -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -lxml2 -pthread
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib64/libname-server-2.a(libname_server_2_a-orbit-name-server.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib64/libname-server-2.a(libname_server_2_a-CosNaming-skels.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib64/libname-server-2.a(libname_server_2_a-name-support.o): relocation R_X86_64_32 against symbol `TC_CORBA_sequence_CosNaming_NameComponent_struct' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib64/libname-server-2.a(libname_server_2_a-orbit-name-server.o): warning: relocation against `CORBA_Object_duplicate' in readonly section `.text'
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:506: bonobo-activation-server] Error 1
make[3]: Leaving directory '/var/tmp/portage/gnome-base/libbonobo-2.24.3-r1/work/libbonobo-2.24.3/activation-server'
make[2]: *** [Makefile:372: all] Error 2
make[2]: Leaving directory '/var/tmp/portage/gnome-base/libbonobo-2.24.3-r1/work/libbonobo-2.24.3/activation-server'
make[1]: *** [Makefile:416: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/gnome-base/libbonobo-2.24.3-r1/work/libbonobo-2.24.3'
make: *** [Makefile:323: all] Error 2
 * ERROR: gnome-base/libbonobo-2.24.3-r1::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=gnome-base/libbonobo-2.24.3-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=gnome-base/libbonobo-2.24.3-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/gnome-base/libbonobo-2.24.3-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/gnome-base/libbonobo-2.24.3-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/gnome-base/libbonobo-2.24.3-r1/work/libbonobo-2.24.3'
 * S: '/var/tmp/portage/gnome-base/libbonobo-2.24.3-r1/work/libbonobo-2.24.3'
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30909
Location: here

PostPosted: Mon Dec 11, 2017 9:50 am    Post subject: Reply with quote

I don't know what is the problem but for continue your emerge launch
Code:
# emerge -e @world --skipfirst --keep-going y

and then when finish you can try to resolve the issue
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
ctlantis
n00b
n00b


Joined: 11 Dec 2017
Posts: 2

PostPosted: Tue Dec 12, 2017 9:11 am    Post subject: It works! Reply with quote

fedeliallalinea wrote:
I don't know what is the problem but for continue your emerge launch
Code:
# emerge -e @world --skipfirst --keep-going y

and then when finish you can try to resolve the issue


Thanks fedeliallalinea, it compiles all packages except efitools and libbonomo.
Emerged them manually and it works well !-)
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30909
Location: here

PostPosted: Tue Dec 12, 2017 9:14 am    Post subject: Reply with quote

I'm glad you resolved your problem, and I forget... Welcome to gentoo forum!
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum