Mailinglist Archive: opensuse-buildservice (77 mails)

< Previous Next >
[opensuse-buildservice] Qt5 issue building vlc for TW on a local obs
  • From: Hans-Peter Jansen <hpj@xxxxxxxxx>
  • Date: Sat, 13 Apr 2019 19:01:34 +0200
  • Message-id: <7322827.8JpNEZxs3f@xrated>
Hi,

struggling with a strange issue here, when building vlc for TW.
Many other packages, including vlc for other targets, and the kernel, build
fine.

Build log, stripped to the essentials:

[ 69s] libQt5Core5-5.12.2-1.2
########################################
[ 69s] libQt5DBus5-5.12.2-1.2
########################################
[ 69s] libQt5Network5-5.12.2-1.2
########################################
[ 70s] libQt5Gui5-5.12.2-1.2
########################################
[ 70s] libQt5Widgets5-5.12.2-1.2
########################################
[ 70s] libQt5OpenGL5-5.12.2-1.2
########################################
[ 71s] libQt5Svg5-5.12.2-1.1
########################################
[ 71s] libQt5X11Extras5-5.12.2-1.1
########################################
[ 71s] libQt5Test5-5.12.2-1.2
########################################
[ 71s] libqt5-qtbase-common-devel-5.12.2-1.2
########################################
[ 71s] libQt5Core-devel-5.12.2-1.2
########################################
[ 72s] libQt5Gui-devel-5.12.2-1.2
########################################
[ 72s] libQt5Widgets-devel-5.12.2-1.2
########################################
[ 72s]
libQt5Core-private-headers-devel-5.12.########################################
[ 81s]
libQt5Gui-private-headers-devel-5.12.2########################################

[ 160s] checking for Qt5Core >= 5.5.0 Qt5Widgets Qt5Gui Qt5Svg... yes
[ 160s] checking for Qt5X11Extras... yes
[ 160s] checking for moc-qt5... /usr/lib64/qt5/bin/moc-qt5
[ 160s] checking for rcc-qt5... /usr/lib64/qt5/bin/rcc-qt5
[ 160s] checking for uic-qt5... /usr/lib64/qt5/bin/uic-qt5

[ 242s] UIC gui/qt/ui/equalizer.h
[ 242s] /usr/lib64/qt5/bin/uic-qt5: error while loading shared libraries:
libQt5Core.so.5: cannot open shared object file: No such file or directory
[ 242s] make[2]: *** [Makefile:31005: gui/qt/ui/equalizer.h] Error 127

Something is wrong with libQt5Core.so.5, hence I instrumented the spec:

%build

ls -l /usr/bin/uic-qt5
ldd /usr/bin/uic-qt5
ls -l /usr/lib*/libQt5Core.*

rpm -qi libQt5Core5
rpm -V libQt5Core5
rpm -qi libqt5-qtbase-common-devel
rpm -V libqt5-qtbase-common-devel

uic-qt5 --help

Result (newlines added for orientation):

[ 122s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jAXdQH
[ 122s] + umask 022
[ 122s] + cd /home/abuild/rpmbuild/BUILD
[ 122s] + /usr/bin/rm -rf
/home/abuild/rpmbuild/BUILDROOT/vlc-3.0.6-301.1.x86_64
[ 122s] ++ dirname /home/abuild/rpmbuild/BUILDROOT/vlc-3.0.6-301.1.x86_64
[ 122s] + /usr/bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT
[ 122s] + /usr/bin/mkdir /home/abuild/rpmbuild/BUILDROOT/vlc-3.0.6-301.1.x86_64
[ 122s] + cd vlc-3.0.6

[ 122s] + ls -l /usr/bin/uic-qt5
[ 122s] -rwxr-xr-x 1 root root 614056 Apr 4 13:35 /usr/bin/uic-qt5

[ 122s] + ldd /usr/bin/uic-qt5
[ 122s] linux-vdso.so.1 (0x00007ffe01c95000)
[ 122s] libQt5Core.so.5 => not found
[ 122s] libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007fa168883000)
[ 122s] libc.so.6 => /lib64/libc.so.6 (0x00007fa1686be000)
[ 122s] libm.so.6 => /lib64/libm.so.6 (0x00007fa16857a000)
[ 122s] /lib64/ld-linux-x86-64.so.2 (0x00007fa168aba000)
[ 122s] libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fa168560000)

[ 122s] + ls -l /usr/lib64/libQt5Core.prl /usr/lib64/libQt5Core.so
/usr/lib64/libQt5Core.so.5 /usr/lib64/libQt5Core.so.5.12
/usr/lib64/libQt5Core.so.5.12.2
[ 122s] -rw-r--r-- 1 root root 1169 Apr 4 13:35 /usr/lib64/libQt5Core.prl
[ 122s] lrwxrwxrwx 1 root root 20 Apr 4 13:33 /usr/lib64/libQt5Core.so
-> libQt5Core.so.5.12.2
[ 122s] lrwxrwxrwx 1 root root 20 Apr 4 13:33 /usr/lib64/libQt5Core.so.5
-> libQt5Core.so.5.12.2
[ 122s] lrwxrwxrwx 1 root root 20 Apr 4 13:33
/usr/lib64/libQt5Core.so.5.12 -> libQt5Core.so.5.12.2
[ 122s] -rwxr-xr-x 1 root root 5433704 Apr 4 13:35
/usr/lib64/libQt5Core.so.5.12.2

[ 122s] + rpm -qi libQt5Core5
[ 122s] Name : libQt5Core5
[ 122s] Version : 5.12.2
[ 122s] Release : 1.2
[ 122s] Architecture: x86_64
[ 122s] Install Date: Sat Apr 13 16:19:50 2019
[ 122s] Group : Development/Libraries/X11
[ 122s] Size : 5625913
[ 122s] License : LGPL-2.1-with-Qt-Company-Qt-exception-1.1 or
LGPL-3.0-only
[ 122s] Signature : RSA/SHA256, Thu Apr 4 13:56:55 2019, Key ID
b88b2fd43dbdc284
[ 122s] Source RPM : libqt5-qtbase-5.12.2-1.2.src.rpm
[ 122s] Build Date : Thu Apr 4 13:37:12 2019
[ 122s] Build Host : wildcard2
[ 122s] Relocations : (not relocatable)
[ 122s] Packager : https://bugs.opensuse.org
[ 122s] Vendor : openSUSE
[ 122s] URL : https://www.qt.io
[ 122s] Summary : Qt 5 Core Library
[ 122s] Description : **stripped**
[ 122s] Distribution: openSUSE Tumbleweed

[ 122s] + rpm -V libQt5Core5

[ 122s] + rpm -qi libqt5-qtbase-common-devel
[ 122s] Name : libqt5-qtbase-common-devel
[ 122s] Version : 5.12.2
[ 122s] Release : 1.2
[ 122s] Architecture: x86_64
[ 122s] Install Date: Sat Apr 13 16:19:52 2019
[ 122s] Group : Development/Libraries/X11
[ 122s] Size : 7187721
[ 122s] License : LGPL-2.1-with-Qt-Company-Qt-exception-1.1 or
LGPL-3.0-only
[ 122s] Signature : RSA/SHA256, Thu Apr 4 13:57:05 2019, Key ID
b88b2fd43dbdc284
[ 122s] Source RPM : libqt5-qtbase-5.12.2-1.2.src.rpm
[ 122s] Build Date : Thu Apr 4 13:37:12 2019
[ 122s] Build Host : wildcard2
[ 122s] Relocations : (not relocatable)
[ 122s] Packager : https://bugs.opensuse.org
[ 122s] Vendor : openSUSE
[ 122s] URL : https://www.qt.io
[ 122s] Summary : Qt 5 Core Development Binaries
[ 122s] Description : **stripped**
[ 122s] Distribution: openSUSE Tumbleweed

[ 122s] + rpm -V libqt5-qtbase-common-devel

[ 122s] + uic-qt5 --help
[ 122s] uic-qt5: error while loading shared libraries: libQt5Core.so.5: cannot
open shared object file: No such file or directory
[ 122s] error: Bad exit status from /var/tmp/rpm-tmp.jAXdQH (%build)

Puzzled.

the ldd result is really strange. Apart from being unable to locate
libQt5Core.so.5, it is significantly different from running the command
locally:

$ ldd /usr/bin/uic-qt5
linux-vdso.so.1 (0x00007ffd430aa000)
libQt5Core.so.5 => /usr/lib64/libQt5Core.so.5 (0x00007fd52aa0c000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007fd52a87f000)
libc.so.6 => /lib64/libc.so.6 (0x00007fd52a6ba000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fd52a699000)
libsystemd.so.0 => /usr/lib64/libsystemd.so.0 (0x00007fd52a5e0000)
libz.so.1 => /lib64/libz.so.1 (0x00007fd52a5c6000)
libicui18n.so.suse64.1 => /usr/lib64/libicui18n.so.suse64.1
(0x00007fd52a2bb000)
libicuuc.so.suse64.1 => /usr/lib64/libicuuc.so.suse64.1
(0x00007fd52a0dd000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007fd52a0d8000)
libpcre2-16.so.0 => /usr/lib64/libpcre2-16.so.0 (0x00007fd52a039000)
libdouble-conversion.so.2 => /usr/lib64/libdouble-conversion.so.2
(0x00007fd52a02c000)
libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007fd529f08000)
libm.so.6 => /lib64/libm.so.6 (0x00007fd529dc2000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fd529da8000)
/lib64/ld-linux-x86-64.so.2 (0x00007fd52b005000)
librt.so.1 => /lib64/librt.so.1 (0x00007fd529d9d000)
liblzma.so.5 => /usr/lib64/liblzma.so.5 (0x00007fd529d66000)
liblz4.so.1 => /usr/lib64/liblz4.so.1 (0x00007fd529d46000)
libcap.so.2 => /usr/lib64/libcap.so.2 (0x00007fd529d3f000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007fd529d11000)
libgcrypt.so.20 => /usr/lib64/libgcrypt.so.20 (0x00007fd529bf1000)
libicudata.so.suse64.1 => /usr/lib64/libicudata.so.suse64.1
(0x00007fd529bee000)
libpcre.so.1 => /usr/lib64/libpcre.so.1 (0x00007fd529b5e000)
libgpg-error.so.0 => /usr/lib64/libgpg-error.so.0 (0x00007fd529b3a000)

Hrmpf. It looks like ldconfig isn't doing correctly for this specific case,
is it?

TW is setup as usual:

<repository name="openSUSE_Tumbleweed">
<path project="openSUSE.org:openSUSE:Factory" repository="snapshot"/>
<arch>i586</arch>
<arch>x86_64</arch>
</repository>

prjconf doesn't contain anything obvious, that could affect this.

OBS is set up conservatively, and was updated to 2.9.6 a few days ago:

1 | OBS_Server_2.9 | 2.9 version of the Open Build Service Server
(openSUSE_42.3) | Yes | (r ) Yes | Yes
2 | openSUSE:Leap:42.3 | openSUSE:Leap:42.3
| Yes | (r ) Yes | Yes
3 | openSUSE:Leap:42.3:Update | openSUSE:Leap:42.3:Update
| Yes | (r ) Yes | Yes
4 | openSUSE:Tools | openSUSE:Tools
| Yes | (r ) Yes | Yes

Any idea, what could result in such a mess, and how to fix this is
much appreciated.

Thanks in advance,
Pete


--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups