Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 698144 - gnome-base/dconf-0.32.0-r1 - dconf-changeset.c:(.text+0x100): multiple definition of `dconf_changeset_new'; client/libdconf-client.a(dconf-changeset.c.o):dconf-changeset.c:(.text+0x100): first defined here
Summary: gnome-base/dconf-0.32.0-r1 - dconf-changeset.c:(.text+0x100): multiple defini...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://gitlab.gnome.org/GNOME/dconf/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-20 18:19 UTC by Guy
Modified: 2019-12-01 16:19 UTC (History)
11 users (show)

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


Attachments
build.log for gnome-base/dconf-0.32.0-r1 (build.log,58.82 KB, text/plain)
2019-10-20 18:19 UTC, Guy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guy 2019-10-20 18:19:24 UTC
Created attachment 593442 [details]
build.log for gnome-base/dconf-0.32.0-r1

Building a new system and got stuck here. Tried all versions of ninja and dconf. All combinations failed.

Portage 2.3.77 (python 3.6.9-final-0, default/linux/amd64/17.1/desktop, gcc-9.2.0, glibc-2.29-r6, 4.19.72-gentoo x86_64)
=================================================================
System uname: Linux-4.19.72-gentoo-x86_64-AMD_Ryzen_5_3600_6-Core_Processor-with-gentoo-2.6
KiB Mem:    32864476 total,   5420308 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 20 Oct 2019 14:00:01 +0000
Head commit of repository gentoo: 3525dec4310a095becff4353139532c9356d5ac7
sh bash 5.0_p11
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          5.0_p11::gentoo
dev-lang/perl:            5.30.0::gentoo
dev-lang/python:          2.7.16::gentoo, 3.6.9::gentoo, 3.7.5-r1::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            9.2.0-r1::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: --timeout=15
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 PUEL AdobeFlash-10.3 AdobeFlash-11.x Oracle-BCLA-JavaSE google-chrome"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver1 -O2 -pipe"
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=znver1 -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build --with-bdeps=y --keep-going"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=znver1 -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=znver1 -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en-US"
MAKEOPTS="-j10"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=15"
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 branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam flac fortran gdbm gif glamor gpm gtk iconv icu ipv6 jpeg lcms ldap libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt5 readline sdl seccomp spell split-usr ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="32 64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif slotmem_shm so speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LLVM_TARGETS="NVPTX X86" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 python3_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" RUBY_TARGETS="ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="nouveau"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Maxim Koltsov (RETIRED) gentoo-dev 2019-10-20 18:49:41 UTC
I can confirm this with dconf-0.32.0-r1.
Comment 2 Mart Raudsepp gentoo-dev 2019-10-20 20:59:19 UTC
odd, and can't reproduce. Anyone feel like figuring out with `nm` or other tools what's going on here? As it doesn't appear to happen to me, I'd probably have to chase this by some creative grepping and thinking how this could happen under some circumstances
Comment 3 Guy 2019-10-21 02:46:45 UTC
Don't know if it will help, but I'll provide some additional commentary. I'm assuming that perhaps something may be effecting portage environment. The following is a general list of steps taken and results. The end may provide a clue as I've never seen portage behave this way.

This is a brand new install.

I've been following the handbook closely.

For /etc/portage/make.conf, I've set CCFLAGs and ACCEPT_KEYORDS as noted in 'emerge --info'

For the first pass, I set my profile at:
[16]  default/linux/amd64/17.1 (stable)

Performed 'emerge -uNDv @world. This updated 146 packages to their latest available versions as per ACCEPT_KEYWORDS="~amd64". In particular, gcc to verion 9.2.0-r1

I used gcc-config to set gcc to 9.2.0 and unmerged 8.3.0 and then 'source /etc/profile on all the open terminal sessions I have logged into the chroot install environment.

I selected the next up profile:
[20]  default/linux/amd64/17.1/desktop (stable)

Performed 'emerge -uNDv @world'. 398 packages selected for installation/updating.

This package aborted with attached log. I tried different versions of both dconf and ninja. All attempts failed with the same error.

Currently, I've refined my profile to my target profile:
[23]  default/linux/amd64/17.1/desktop/plasma (stable) *

I'm currently emerging top level packages. 'dconf' is the only package giving me a problem.

Also of note: Originally, when 'dconf' crapped out, I tried 'emerge --skipfirst --resume' this failed:
# emerge -uNDv --resume --skipfirst

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

Calculating dependencies... done!
 * Invalid resume list:
 * 
 *   ('ebuild', '/', 'dev-util/cmake-3.15.4', 'merge')
 *   ('ebuild', '/', 'media-gfx/graphite2-1.3.13', 'merge')
 *   ('ebuild', '/', 'x11-misc/xdg-utils-1.1.3-r1', 'merge')
 *   ('ebuild', '/', 'net-print/cups-2.3.0', 'merge')
 *   ('ebuild', '/', 'sys-devel/llvm-9.0.0', 'merge')
 *   ('ebuild', '/', 'media-libs/mesa-19.2.1', 'merge')
 *   ('ebuild', '/', 'x11-libs/cairo-1.16.0-r3', 'merge')
 *   ('ebuild', '/', 'virtual/opengl-7.0-r2', 'merge')
 *   ('ebuild', '/', 'media-libs/glu-9.0.1', 'merge')
 *   ('ebuild', '/', 'virtual/glu-9.0-r2', 'merge')
 *   ('ebuild', '/', 'media-libs/libsdl-1.2.15-r9', 'merge')
 *   ('ebuild', '/', 'sys-boot/grub-2.04-r1', 'merge')
 *   ('ebuild', '/', 'dev-libs/gobject-introspection-1.60.2', 'merge')
 *   ('ebuild', '/', 'media-libs/harfbuzz-2.6.2', 'merge')
 *   ('ebuild', '/', 'x11-libs/pango-1.42.4-r2', 'merge')
 *   ('ebuild', '/', 'sys-fs/eudev-3.2.8', 'merge')
 *   ('ebuild', '/', 'dev-libs/atk-2.32.0', 'merge')
 *   ('ebuild', '/', 'media-libs/freeglut-3.2.1', 'merge')
 *   ('ebuild', '/', 'dev-libs/double-conversion-3.1.4-r1', 'merge')
 *   ('ebuild', '/', 'dev-qt/qtcore-5.12.5', 'merge')
 *   ('ebuild', '/', 'dev-qt/qtxml-5.12.5', 'merge')
 *   ('ebuild', '/', 'dev-qt/qtdbus-5.12.5', 'merge')
 *   ('ebuild', '/', 'dev-qt/qttest-5.12.5', 'merge')
 *   ('ebuild', '/', 'app-crypt/gpgme-1.13.1', 'merge')
 *   ('ebuild', '/', 'media-libs/libepoxy-1.5.3-r1', 'merge')
 *   ('ebuild', '/', 'app-accessibility/at-spi2-core-2.32.1', 'merge')
 *   ('ebuild', '/', 'app-accessibility/at-spi2-atk-2.32.0', 'merge')
 *   ('ebuild', '/', 'gnome-base/gsettings-desktop-schemas-3.32.0', 'merge')
 *   ('ebuild', '/', 'x11-themes/gnome-themes-standard-3.28', 'merge')
 *   ('ebuild', '/', 'media-libs/libjpeg-turbo-2.0.3', 'merge')
 *   ('ebuild', '/', 'virtual/jpeg-0-r3', 'merge')
 *   ('ebuild', '/', 'media-libs/tiff-4.0.10-r2', 'merge')
 *   ('ebuild', '/', 'media-libs/lcms-2.9', 'merge')
 *   ('ebuild', '/', 'app-text/qpdf-9.0.2', 'merge')
 *   ('ebuild', '/', 'x11-libs/gdk-pixbuf-2.40.0', 'merge')
 *   ('ebuild', '/', 'gnome-base/librsvg-2.40.20', 'merge')
 *   ('ebuild', '/', 'media-libs/openjpeg-2.3.1', 'merge')
 *   ('ebuild', '/', 'app-text/mupdf-1.16.1', 'merge')
 *   ('ebuild', '/', 'dev-util/gtk-update-icon-cache-3.24.11', 'merge')
 *   ('ebuild', '/', 'dev-qt/qtgui-5.12.5', 'merge')
 *   ('ebuild', '/', 'x11-libs/gtk+-3.24.11', 'merge')
 *   ('ebuild', '/', 'x11-themes/adwaita-icon-theme-3.32.0', 'merge')
 *   ('ebuild', '/', 'app-text/ghostscript-gpl-9.28_rc4-r1', 'merge')
 *   ('ebuild', '/', 'dev-qt/qtwidgets-5.12.5-r1', 'merge')
 *   ('ebuild', '/', 'x11-libs/gtk+-2.24.32-r1', 'merge')
 *   ('ebuild', '/', 'x11-themes/gtk-engines-adwaita-3.28', 'merge')
 *   ('ebuild', '/', 'app-crypt/pinentry-1.1.0-r3', 'merge')
 *   ('ebuild', '/', 'app-text/poppler-0.81.0', 'merge')
 *   ('ebuild', '/', 'net-print/cups-filters-1.25.11', 'merge')
 *   ('ebuild', '/', 'dev-util/ninja-1.9.0', 'merge')
 *   ('ebuild', '/', 'dev-libs/libical-3.0.6', 'merge')
 *   ('ebuild', '/', 'net-wireless/bluez-5.51-r1', 'merge')
 *   ('ebuild', '/', 'dev-lang/python-3.7.5-r1', 'merge')
 *   ('ebuild', '/', 'dev-lang/python-3.6.9', 'merge')
 *   ('ebuild', '/', 'dev-lang/python-2.7.16', 'merge')
 *   ('ebuild', '/', 'dev-lang/spidermonkey-60.5.2_p0-r3', 'merge')
 *   ('ebuild', '/', 'sys-auth/polkit-0.116-r1', 'merge')
 *   ('ebuild', '/', 'sys-auth/consolekit-1.2.1', 'merge')
 *   ('ebuild', '/', 'gnome-extra/polkit-gnome-0.105-r2', 'merge')
 *   ('ebuild', '/', 'sys-auth/pambase-20190402', 'merge')
 *   ('ebuild', '/', 'net-misc/openssh-8.1_p1-r1', 'merge')
 * 
 * One or more packages are either masked or have missing dependencies:
 * 
 *   gnome-base/dconf pulled in by:
 *     (dev-libs/glib-2.60.7:2/2::gentoo, installed)
 * 
 * The resume list contains packages that are either masked or have
 * unsatisfied dependencies. Please restart/continue the operation
 * manually, or use --skipfirst to skip the first package in the list and
 * any other packages that may be masked or have missing dependencies
Comment 4 Tamas Jantvik 2019-10-21 09:53:37 UTC
I have the same error with gnome-base/dconf-0.30.1.
Comment 5 Tamas Jantvik 2019-10-21 11:58:52 UTC
I only stumbled upon this because I started experiencing seemingly random segfaults on my server system (which is mostly stable and has no X).

Thus I thought recompiling world would be a good idea. 

In my particular case dev-libs/glib, which is compiled with static-libs, is the only thing requiring dconf through the dbus use flag. But with dconf somehow breaking along the way (and now not being re-mergable), things using glib, and indirectly dconf, segfaulted now and then. And this included compiling packages that use glib. 

I removed the dbus flag from glib, depcleaned dconf, and now think I have found the reason for my sigsegvs. At least recompiling world is progressing a bit better.
Comment 6 Mart Raudsepp gentoo-dev 2019-10-22 05:42:01 UTC
This is a meson-0.52 caused regression.
Comment 7 Larry the Git Cow gentoo-dev 2019-10-22 06:31:36 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f34d22556e5419b8b85f5182c322266b13cf8b72

commit f34d22556e5419b8b85f5182c322266b13cf8b72
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2019-10-22 06:30:05 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2019-10-22 06:31:28 +0000

    gnome-base/dconf: require <meson-0.52 to workaround build bug
    
    meson-0.52 changes link_whole behaviour and dconf fails to build
    due to that. Until we have a dconf patch, require older meson to
    succeed build of this crucial package meanwhile.
    Fix lack of BDEPEND in EAPI-7 dconf-0.32 ebuild while at it.
    
    Bug: https://bugs.gentoo.org/698144
    Package-Manager: Portage-2.3.69, Repoman-2.3.12
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 gnome-base/dconf/dconf-0.30.1.ebuild    | 3 ++-
 gnome-base/dconf/dconf-0.32.0-r1.ebuild | 6 ++++--
 2 files changed, 6 insertions(+), 3 deletions(-)
Comment 8 Joonas Niilola gentoo-dev 2019-10-22 19:51:35 UTC
I emerged _everything_ that inherits meson.eclass today, and dconf was the only one that failed to this particular regression error. Haven't done runtime testing (yet at least), so there might be some issues there. Also didn't try with static-libs, there might be more issues behind that USe flag. But it seems like this error isn't as bad as first thought for the ebuilds currently in tree. 

https://dev.gentoo.org/~juippis/logs/meson-0.52-set.txt full set with USE flags visible. Set is basically:
https://qa-reports.gentoo.org/output/eclass-usage/meson.txt
Comment 9 Nicholas Sielicki 2019-11-17 04:21:42 UTC
Upstream bug has closed as of 07-11-2019 (7th of November)

https://gitlab.gnome.org/GNOME/dconf/issues/59

https://gitlab.gnome.org/GNOME/dconf/commit/7ad890fb7a2ec90a777a756a1fa20a615ec7245e
Comment 10 Paul Zander 2019-11-23 00:12:20 UTC
dconf 0.34 has been released on 09.09.2019.

According to the bug referenced above (https://gitlab.gnome.org/GNOME/dconf/issues/59) this should fix the issue dconf caused.

So maybe a bump is the solution?
Comment 11 Maxim Britov 2019-11-23 21:08:49 UTC
Upstream patch breaks dconf-editor build.
It hides some symbols and dconf-editor fails to run and build.

I found old discussion here https://gitlab.gnome.org/GNOME/dconf/merge_requests/14

Two proposed patches should fix both: this issue and dconf-editor.

https://gitlab.gnome.org/daniel.playfair.cal/dconf/commit/afd0cbe5dd14d19b89fcb8ae31deaf05bf4b55f0
https://gitlab.gnome.org/daniel.playfair.cal/dconf/commit/30edd20b126dd6f0b249cb20b4498d59835372d9

On my side I can build dconf with meson-0.52 and rebuild/use dconf-editor again.
Comment 12 Larry the Git Cow gentoo-dev 2019-12-01 16:19:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd9beb499e046d97e42c4cd4f4019eeef9e09fa1

commit dd9beb499e046d97e42c4cd4f4019eeef9e09fa1
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2019-12-01 16:19:00 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2019-12-01 16:19:22 +0000

    gnome-base/dconf: fix compat with meson-0.52
    
    Closes: https://bugs.gentoo.org/698144
    Package-Manager: Portage-2.3.69, Repoman-2.3.12
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 gnome-base/dconf/dconf-0.32.0-r2.ebuild            | 83 ++++++++++++++++++++++
 .../dconf/files/0.32.0-meson-0.52-compat.patch     | 35 +++++++++
 2 files changed, 118 insertions(+)