Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 653158 - app-crypt/nitrokey-app-1.3: qt.svg: Cannot open file ':/images/new/*', because: No such file or directory
Summary: app-crypt/nitrokey-app-1.3: qt.svg: Cannot open file ':/images/new/*', becaus...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: David Seifert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-14 16:07 UTC by Luigi 'Comio' Mantellini
Modified: 2018-05-26 09:45 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luigi 'Comio' Mantellini 2018-04-14 16:07:01 UTC
Hi,

I installed the last nitrokey-app (1.3)
There are troubles on embedded icons access (but I think on all resources in general).
The application show the message "Cannot open file..." with the resource path.
I noticed also that the "licenses and 3rd-party components" cannot opened and this windows use embedded resources text files.

Reproducible: Always

Actual Results:  
comio@gentoobox ~ $ nitrokey-app 
QSystemTrayIcon::setVisible: No Icon set
qt.svg: Cannot open file ':/images/new/icon_NK.svg', because: No such file or directory
qt.svg: Cannot open file ':/images/new/icon_NK.svg', because: No such file or directory
qt.svg: Cannot open file ':/images/new/icon_NK.svg', because: No such file or directory
qt.svg: Cannot open file ':/images/new/icon_NK.svg', because: No such file or directory
qt.svg: Cannot open file ':/images/new/icon_NK.svg', because: No such file or directory
qt.svg: Cannot open file ':/images/new/icon_NK.svg', because: No such file or directory
qt.svg: Cannot open file ':/images/new/icon_NK.svg', because: No such file or directory
qt.svg: Cannot open file ':/images/new/icon_safe.svg', because: No such file or directory
qt.svg: Cannot open file ':/images/new/icon_safe.svg', because: No such file or directory
qt.svg: Cannot open file ':/images/new/icon_harddrive.svg', because: No such file or directory
qt.svg: Cannot open file ':/images/new/icon_harddrive.svg', because: No such file or directory
qt.svg: Cannot open file ':/images/new/icon_fragezeichen.svg', because: No such file or directory
qt.svg: Cannot open file ':/images/new/icon_fragezeichen.svg', because: No such file or directory
qt.svg: Cannot open file ':/images/new/icon_quit.svg', because: No such file or directory
qt.svg: Cannot open file ':/images/new/icon_quit.svg', because: No such file or directory

and any svg resource is not displayed


Expected Results:  
svg resources should be displayed

comio@gentoobox ~ $ emerge --info
Portage 2.3.28 (python 3.6.5-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-7.3.0, glibc-2.26-r6, 4.16.2-hauppauge x86_64)
=================================================================
System uname: Linux-4.16.2-hauppauge-x86_64-Intel-R-_Pentium-R-_CPU_N3700_@_1.60GHz-with-gentoo-2.4.1
KiB Mem:    15872456 total,   1526256 free
KiB Swap:   33553404 total,  32980732 free
Timestamp of repository gentoo: Sat, 14 Apr 2018 05:45:01 +0000
Head commit of repository gentoo: 4f0c7c5b53d25515ea6003cdd554e799cafc7569
Head commit of repository plex-gentoo: aedde7307f383dd418290773811960abdba19e3f

Head commit of repository comio-overlay: 0e3dee27835173e54390e0bb3ea543407d3c5c53

sh bash 4.4_p19
ld GNU ld (Gentoo 2.30 p1) 2.30.0
ccache version 3.3.4 [enabled]
app-shells/bash:          4.4_p19::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.1-r2::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.5::gentoo, 3.6.5::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.11.0::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r1::gentoo
sys-devel/gcc:            7.3.0-r1::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r3::gentoo
sys-kernel/linux-headers: 4.16::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r6::gentoo
Repositories:

fkmclane
    location: /var/lib/layman/fkmclane
    sync-type: laymansync
    sync-uri: git://github.com/fkmclane/overlay.git
    masters: gentoo
    priority: 50

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage/
    priority: 50
    sync-rsync-verify-metamanifest: no
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 

plex-gentoo
    location: /usr/local/overlay/plex-gentoo
    sync-type: git
    sync-uri: https://github.com/comio/plex-gentoo.git
    masters: gentoo
    priority: 60

local-overlay
    location: /usr/local/overlay/local-overlay
    masters: gentoo
    priority: 90

comio-overlay
    location: /usr/local/overlay/comio-overlay
    sync-type: git
    sync-uri: https://github.com/comio/comio-overlay.git
    masters: gentoo
    priority: 100

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA RAR"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/share/easy-rsa /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-march=native -mtune=native -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="pkcs11 http://[2400:cb00:2048:1::6813:8a4b]/gentoo/ http://mirrors.evowise.com/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="it_IT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="it it_IT"
MAKEOPTS="-j5"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi aes alsa amd64 apparmor berkdb branding btrfs bzip2 cairo cdda cdr cli colord crypt cups cxx dbus dri dri3 drm dts dvd dvdr eds egl emboss encode evo exif fam flac fortran gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 h264 h265 hevc iconv icu introspection ipv6 jbig jpeg jpeg2k lcms ldap libnotify libsecret lz4 lzma lzo mad matroska mmx mmxext mng modules mp3 mp4 mpeg multilib nautilus ncurses nls nptl ogg ogm opencl opengl openmp openssl pam pango pclmul pcre pdf pie png policykit popcnt ppds pulseaudio python qt3support readline samba sdl seccomp sna spell sse sse2 sse3 sse4_1 sse4_2 ssh ssl ssse3 startup-notification svg systemd tcpd theora tiff tracker truetype udev udisks unicode upower usb uxa vaapi vorbis vulkan wayland wmf wxwidgets x264 x265 xattr xcb xml xv xvid xvmc zip 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" L10N="it" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python3_6" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="intel i965 modesetting" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, ENV_UNSET, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Luigi 'Comio' Mantellini 2018-04-14 17:22:23 UTC
See https://github.com/Nitrokey/nitrokey-app/pull/346
Comment 2 Larry the Git Cow gentoo-dev 2018-05-26 09:45:54 UTC
The bug has been closed via the following commit(s):

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

commit 3f35ce0a62d2bc3686a061c912b275fcddffc48b
Author:     Luigi 'Comio' Mantellini <luigi.mantellini@gmail.com>
AuthorDate: 2018-04-16 08:22:33 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2018-05-26 09:45:38 +0000

    app-crypt/nitrokey-app: Fix resources build.
    
    We need to remove qt5_add_resources() call from CMakeLists.txt becuase AUTORCC mode is enabled.
    Keeping both flags doesn't permit (in some setup) to include the resources into the final executable producing the following log messages:
    
    qt.svg: Cannot open file ':/images/new/icon_NK.svg', because: No such file or directory
    qt.svg: Cannot open file ':/images/new/icon_NK.svg', because: No such file or directory
    qt.svg: Cannot open file ':/images/new/icon_NK.svg', because: No such file or directory
    qt.svg: Cannot open file ':/images/new/icon_NK.svg', because: No such file or directory
    ...
    
    Also translations will not work because the translation files are included by means resources.
    
    See also https://github.com/Nitrokey/nitrokey-app/pull/346
    
    Closes: https://bugs.gentoo.org/653158
    Closes: https://github.com/gentoo/gentoo/pull/8024

 app-crypt/nitrokey-app/nitrokey-app-1.3.ebuild  | 9 +++++++--
 app-crypt/nitrokey-app/nitrokey-app-9999.ebuild | 4 ++--
 2 files changed, 9 insertions(+), 4 deletions(-)