Bug 12863 - dbus-native do_install fails: /usr/lib/libdbus-1.so.3: version `LIBDBUS_PRIVATE_1.12.2' not found
Summary: dbus-native do_install fails: /usr/lib/libdbus-1.so.3: version `LIBDBUS_PRIVA...
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.5.1
Hardware: x86 x86_64
: Medium normal
Target Milestone: Future
Assignee: Unassigned
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2018-07-25 20:40 UTC by Evan Gates
Modified: 2020-07-30 09:30 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
log.do_install (30.83 KB, application/octet-stream)
2018-07-25 20:40 UTC, Evan Gates
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Evan Gates 2018-07-25 20:40:25 UTC
Created attachment 4351 [details]
log.do_install

Steps to reproduce:

git clone git://git.yoctoproject.org/poky
cd poky
git checkout yocto-2.5
. oe-init-build-env
bitbake dbus-native

Error message:

/home/emg/pkg/yocto/poky/build/tmp/work/x86_64-linux/dbus-native/1.12.2-r0/build/bus/.libs/lt-dbus-daemon: /usr/lib/libdbus-1.so.3: version `LIBDBUS_PRIVATE_1.12.2' not found (required by /home/emg/pkg/yocto/poky/build/tmp/work/x86_64-linux/dbus-native/1.12.2-r0/build/bus/.libs/lt-dbus-daemon)

Hypothesis:

The build is checking the local version of libdbus instead of the one built during dbus-native. The local libdbus is not the version it is expecting so it fails.
Comment 1 Evan Gates 2018-07-25 21:40:09 UTC
I apologize I left out important information. I am NOT using a supported distribution. I am using void. This bug does not occur on Ubuntu 16.04.

$ bitbake dbus-native
WARNING: Host distribution "void" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Parsing recipes: 100% |#######################################################################################################| Time: 0:00:19
Parsing of 814 .bb files complete (0 cached, 814 parsed). 1282 targets, 46 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.37.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "void"
TARGET_SYS           = "i586-poky-linux"
MACHINE              = "qemux86"
DISTRO               = "poky"
DISTRO_VERSION       = "2.5"
TUNE_FEATURES        = "m32 i586"
TARGET_FPU           = ""
meta                 
meta-poky            
meta-yocto-bsp       = "HEAD:da3625c52e1ab8985fba4fc3d133edf92142f182"

NOTE: Fetching uninative binary shim from http://downloads.yoctoproject.org/releases/uninative/1.9/x86_64-nativesdk-libc.tar.bz2;sha256sum=c26622a1f27dbf5b25de986b11584b5c5b2f322d9eb367f705a744f58a5561ec
Initialising tasks: 100% |####################################################################################################| Time: 0:00:00
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: dbus-native-1.12.2-r0 do_install: Function failed: do_install (log file is located at /home/emg/pkg/yocto/poky/build/tmp/work/x86_64-linux/dbus-native/1.12.2-r0/temp/log.do_install.20029)
ERROR: Logfile of failure stored in: /home/emg/pkg/yocto/poky/build/tmp/work/x86_64-linux/dbus-native/1.12.2-r0/temp/log.do_install.20029
Comment 2 Anuj Mittal 2018-08-01 22:32:31 UTC
I checked this on Ubuntu and don't see any host contamination there for dbus. So, lowering the priority as this is on an unsupported distribution.
Comment 3 Randy MacLeod 2020-07-30 08:33:12 UTC
Evan have you seen this recently particularily on master.
Comment 4 Evan Gates 2020-07-30 09:30:09 UTC
(In reply to comment #3)
> Evan have you seen this recently particularily on master.

I just checked against master, I did not get this error.