Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 549170 - dev-qt/qtlockedfile-2.4.1_p20130904-r2 wrong library name with Qt >= 5.4.2
Summary: dev-qt/qtlockedfile-2.4.1_p20130904-r2 wrong library name with Qt >= 5.4.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL: https://codereview.qt-project.org/115413
Whiteboard:
Keywords: UPSTREAM
: 553406 (view as bug list)
Depends on:
Blocks: qt-5.4.2-stable
  Show dependency tree
 
Reported: 2015-05-11 10:41 UTC by Helmut Jarausch
Modified: 2015-06-29 17:42 UTC (History)
3 users (show)

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


Attachments
build log (qtlockedfile-2.4.1_p20130904-r2.build,8.15 KB, text/plain)
2015-05-11 10:41 UTC, Helmut Jarausch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2015-05-11 10:41:57 UTC
Created attachment 403036 [details]
build log

dev-qt/qtlockedfile-2.4.1_p20130904-r2 fails to install since it tries to install
both the qt4 and the qt5 files :
>>> Install qtlockedfile-2.4.1_p20130904-r2 into /var/tmp/portage/dev-qt/qtlockedfile-2.4.1_p20130904-r2/image/ category dev-qt
 * qt4: running run_in_build_dir myinstall
 * qt5: running run_in_build_dir myinstall
ln: failed to create symbolic link '/var/tmp/portage/dev-qt/qtlockedfile-2.4.1_p20130904-r2/image//usr/lib64/libQtSolutions_LockedFile-2.4.so': File exists
ln: failed to create symbolic link '/var/tmp/portage/dev-qt/qtlockedfile-2.4.1_p20130904-r2/image//usr/lib64/libQtSolutions_LockedFile-2.4.so.1': File exists
ln: failed to create symbolic link '/var/tmp/portage/dev-qt/qtlockedfile-2.4.1_p20130904-r2/image//usr/lib64/libQtSolutions_LockedFile-2.4.so.1.0': File exists

Trying to build this with -qt4 forces a rebuild when I try to
build dev-qt/qtsingleapplication-2.6.1_p20130904-r3 even with use flag -qt4 .



emerge --info dev-qt/qtlockedfile
Portage 2.2.18 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop, gcc-5.1.0, glibc-2.20-r2, 4.1.0-rc3 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.1.0-rc3-x86_64-AMD_Phenom-tm-_II_X4_940_Processor-with-gentoo-2.2
KiB Mem:     7906024 total,   5095516 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of repository gentoo: Mon, 11 May 2015 05:45:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.25 p1.0) 2.25
ccache version 3.2.2 [disabled]
app-shells/bash:          4.3_p33-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2-r1::gentoo
dev-lang/python:          2.7.9-r2::gentoo, 3.4.3::gentoo
dev-util/ccache:          3.2.2::gentoo
dev-util/cmake:           3.2.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.15.1::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.9.6-r4::gentoo, 1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25::gentoo
sys-devel/gcc:            4.8.4::gentoo, 4.9.2::gentoo, 5.1.0::local, 6.0.0_alpha20150419::toolchain
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.0::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync15.de.gentoo.org/gentoo-portage
    priority: -1000

local
    location: /usr/local/portage
    masters: gentoo
    priority: 0

java
    location: /usr/local/portage/layman/java
    sync-type: laymansync
    sync-uri: git://git.overlays.gentoo.org/proj/java.git
    masters: gentoo
    priority: 50

lisp
    location: /usr/local/portage/layman/lisp
    sync-type: laymansync
    sync-uri: git://git.overlays.gentoo.org/proj/lisp.git
    masters: gentoo
    priority: 50

qt
    location: /usr/local/portage/layman/qt
    sync-type: laymansync
    sync-uri: git://git.overlays.gentoo.org/proj/qt.git
    masters: gentoo
    priority: 50

science
    location: /usr/local/portage/layman/science
    sync-type: laymansync
    sync-uri: git://git.overlays.gentoo.org/proj/sci.git
    masters: gentoo
    priority: 50

sunrise
    location: /usr/local/portage/layman/sunrise
    sync-type: laymansync
    sync-uri: git://git.overlays.gentoo.org/proj/sunrise-reviewed.git
    masters: gentoo
    priority: 50

toolchain
    location: /usr/local/portage/layman/toolchain
    sync-type: laymansync
    sync-uri: git://git.overlays.gentoo.org/proj/toolchain.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=native -O2 -msse3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-mtune=native -O2 -msse3 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg 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"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo "
LANG="en_US.iso88591"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
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"
USE="3dnow 3dnowext 3dnowprefetch X a52 aac acl acpi alsa amd64 avahi berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg fftw firefox flac fortran fuse gdbm gfortran gif gimp glamor gpm gtk gtk3 iconv ipv6 jpeg lapack lcms libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf png policykit ppds python qt qt3support qt4 qt5 readline sdl session smp spell sqlite sqlite3 sse sse2 sse3 sse4a ssl startup-notification svg systemd tcl tcpd threads tiff tk truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml xulrunner 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="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow mmx 3dnowext mmxext popcnt sse sse2 sse3 sse4a" 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" GRUB_PLATFORMS="pc multiboot" INPUT_DEVICES="keyboard mouse evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python3_4" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="radeon radeonsi" 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

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

dev-qt/qtlockedfile-2.4.1_p20130904-r2::gentoo was built with the following:
USE="qt5 -doc -qt4" ABI_X86="64"
Comment 1 Davide Pesavento (RETIRED) gentoo-dev 2015-05-11 13:54:06 UTC
It works for me... the qt5 library has a different name (libQt5Solutions_LockedFile-2.4.so)

(In reply to Helmut Jarausch from comment #0)
> Trying to build this with -qt4 forces a rebuild when I try to
> build dev-qt/qtsingleapplication-2.6.1_p20130904-r3 even with use flag -qt4 .
> 

Not sure what you mean, can you be more specific, maybe attach emerge output?
Comment 2 Davide Pesavento (RETIRED) gentoo-dev 2015-05-11 14:02:51 UTC
Are you using qt-5.5.9999 or qt-5.9999?
Comment 3 Helmut Jarausch 2015-05-11 14:22:55 UTC
(In reply to Davide Pesavento from comment #2)
> Are you using qt-5.5.9999 or qt-5.9999?

I'm using qt-5.5.9999
Comment 4 Davide Pesavento (RETIRED) gentoo-dev 2015-05-11 15:02:50 UTC
Caused by this commit then -> http://code.qt.io/cgit/qt/qtbase.git/commit/?id=67289d0dfa64bf805c7ff2e455611affaea28558

Should be reported upstream.
Comment 5 Davide Pesavento (RETIRED) gentoo-dev 2015-06-28 14:32:59 UTC
*** Bug 553406 has been marked as a duplicate of this bug. ***
Comment 6 Davide Pesavento (RETIRED) gentoo-dev 2015-06-28 14:35:41 UTC
5.4.2 contains that commit and thus is affected too.
Comment 7 Davide Pesavento (RETIRED) gentoo-dev 2015-06-28 23:16:38 UTC
Patch submitted upstream https://codereview.qt-project.org/115413
Comment 8 Davide Pesavento (RETIRED) gentoo-dev 2015-06-29 17:42:35 UTC
Fixed in the 20150629 snapshot.