Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 493374 - sys-apps/portage: emerge breaks non-world installed packages with updates
Summary: sys-apps/portage: emerge breaks non-world installed packages with updates
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 493768 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-12-05 09:37 UTC by Yu-Jie Lin
Modified: 2014-12-30 19:09 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
output of emerge -pvuDt world --debug (emerge-log,611.64 KB, text/plain)
2013-12-06 02:26 UTC, Yu-Jie Lin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yu-Jie Lin 2013-12-05 09:37:48 UTC
After updated media-libs/harfbuzz from 0.9.12 to 0.9.23, libreoffice-bin threw this error after splash screen, then ended:

/usr/lib64/libreoffice/program/soffice.bin: symbol lookup error: /usr/lib64/libreoffice/program/libmergedlo.so: undefined symbol: hb_icu_get_unicode_funcs

Downgraded back down to 0.9.12, libreoffice-bin can start normally and no errors.

PS. harfbuzz-0.9.23 with or without icu USE flag resulted in the same error, icu version is 51.2-r1.
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2013-12-05 15:06:18 UTC
This is in lo-bin dependencies:

=media-libs/harfbuzz-0.9.12

Now, I'm wondering how you even got to upgrade harfbuzz...
Comment 2 Yu-Jie Lin 2013-12-05 15:24:12 UTC
(In reply to Andreas K. Hüttel from comment #1)
> This is in lo-bin dependencies:
> 
> =media-libs/harfbuzz-0.9.12
> 
> Now, I'm wondering how you even got to upgrade harfbuzz...

Right now 0.9.23 is still pulled for world update (no warning message) and I do have libreoffice-bin-4.1.2.3 installed:

$ emerge -pvuDt world

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[nomerge       ] www-plugins/adobe-flash-11.2.202.327  USE="sse2 (-debug) -kde (-selinux)"
[ebuild     U  ]  x11-libs/pango-1.34.1 [1.30.1] USE="X introspection -debug" 0 kB
[ebuild     U  ]   media-libs/harfbuzz-0.9.23:0/0.9.18 [0.9.12:0/0] USE="cairo%* glib%* graphite%* truetype%* -icu% -introspection% -static-libs" 0 kB

Total: 2 packages (2 upgrades), Size of downloads: 0 kB

Don't really know what's going on, so I attached the following:

$ emerge --info
Portage 2.2.7 (default/linux/amd64/13.0/no-multilib, gcc-4.7.3, glibc-2.16.0, 3.10.17-gentoo-1 x86_64)
=================================================================
System uname: Linux-3.10.17-gentoo-1-x86_64-Intel-R-_Core-TM-2_CPU_T5600_@_1.83GHz-with-gentoo-2.2
KiB Mem:     2058684 total,    232224 free
KiB Swap:    1959924 total,   1942352 free
Timestamp of tree: Thu, 05 Dec 2013 12:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r3, 3.3.2-r2
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.13.4
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3, 4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x dlj-1.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.ncnu.edu.tw/Linux/Gentoo/ ftp://ftp.ncnu.edu.tw/Linux/Gentoo/ http://ftp.cs.pu.edu.tw/Linux/Gentoo/ ftp://ftp.cs.pu.edu.tw/Linux/Gentoo/ http://gentoo.cs.nctu.edu.tw/gentoo/ ftp://gentoo.cs.nctu.edu.tw/gentoo/ "
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.tw.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa amd64 apm bdf berkdb bzip2 cairo caps cleartype cli cracklib crypt curl custom-optimization cxx dbus dell disk-partition dri encode exif ffmpeg fortran gd gdbm gif gimp gnutls gtk iconv jpeg jpeg2k laptop lzma lzo mmx module modules mp3 mpd mudflap ncurses nptl nss ogg opengl openmp openntpd pkcs11 png raw readline session smp soup sqlite sse sse2 ssh ssl ssse3 svg tcpd theora threads tiff timezone toolbar truetype unicode usb v4l v4l2 vorbis x264 xattr xcb xft xinerama 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" CAMERAS="canon ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="synaptics wacom evdev keyboard mouse" 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-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-12-05 15:36:07 UTC
Is libreoffice-bin in /var/lib/portage/world?
Comment 4 Yu-Jie Lin 2013-12-05 15:48:23 UTC
(In reply to Chí-Thanh Christopher Nguyễn from comment #3)
> Is libreoffice-bin in /var/lib/portage/world?

No.

After I added it, now I see dependency conflict message and emerge tries to pull 4.1.3.2 with keyword changes required, instead.

So, does this mean this bug report is invalid or wontfix?

Either way, I think I am just going to leave libreoffice-bin out of world as it was before and not to update harfbuzz.
Comment 5 Sebastian Luther (few) 2013-12-05 17:05:36 UTC
Please attach the emerge-log file created by:
emerge -pvuDt world --debug &>emerge-log
Comment 6 Yu-Jie Lin 2013-12-06 02:26:45 UTC
Created attachment 364694 [details]
output of emerge -pvuDt world --debug
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2013-12-10 12:14:43 UTC
*** Bug 493768 has been marked as a duplicate of this bug. ***
Comment 8 Sebastian Luther (few) 2014-01-01 18:36:43 UTC
*** Bug 495126 has been marked as a duplicate of this bug. ***
Comment 9 Andreas K. Hüttel archtester gentoo-dev 2014-12-30 14:44:54 UTC
I don't think office team can help much here. CC us back if needed.
Comment 10 Zac Medico gentoo-dev 2014-12-30 19:09:39 UTC
(In reply to Yu-Jie Lin from comment #4)
> (In reply to Chí-Thanh Christopher Nguyễn from comment #3)
> > Is libreoffice-bin in /var/lib/portage/world?
> 
> No.
> 
> After I added it, now I see dependency conflict message and emerge tries to
> pull 4.1.3.2 with keyword changes required, instead.
> 
> So, does this mean this bug report is invalid or wontfix?

Yes, because you need to have any wanted packages pulled in by @world or by indirect dependencies. Anything else is considered obsolete garbage which is eligible for removal by emerge --depclean.

> Either way, I think I am just going to leave libreoffice-bin out of world as
> it was before and not to update harfbuzz.

That means that emerge --depclean is going to try to remove it, and it is recommended to remove such packages.