Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 839267 - media-video/gaupol-1.11 - gaupol fails to start
Summary: media-video/gaupol-1.11 - gaupol fails to start
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Louis Sautier (sbraz)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-18 14:07 UTC by Michelangelo Scopelliti
Modified: 2023-02-22 22:17 UTC (History)
2 users (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 Michelangelo Scopelliti 2022-04-18 14:07:47 UTC
gaupol fails to start. If gaupol is launched in the ommand line, it shows he following message:

Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.9/gaupol", line 16, in <module>
    import gaupol
  File "/usr/lib/python3.9/site-packages/gaupol/__init__.py", line 69, in <module>
    from gaupol import style # noqa
  File "/usr/lib/python3.9/site-packages/gaupol/style.py", line 28, in <module>
    with open(CSS_FILE, "r") as f:
FileNotFoundError: [Errno 2] File o directory non esistente: '/gaupol-1.11.data/data/share/gaupol/ui/gaupol.css'

gaupol.css is installed in /usr/share/gaupol/ui/gaupol.css

Reproducible: Always




emerge --info

Portage 3.0.30 (python 3.9.12-final-0, default/linux/amd64/17.1, gcc-11.2.1, glibc-2.35-r2, 5.17.3 x86_64)
=================================================================
System uname: Linux-5.17.3-x86_64-Intel-R-_Core-TM-_i7-7700_CPU_@_3.60GHz-with-glibc2.35
KiB Mem:    32589272 total,  28410308 free
KiB Swap:   33554428 total,  33554428 free
Timestamp of repository gentoo: Mon, 18 Apr 2022 08:38:54 +0000
Head commit of repository gentoo: 48471ddcfbb6720c632aea66b165864f397a14aa

sh bash 5.1_p16
ld GNU ld (Gentoo 2.38 p4) 2.38
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.1-r1::gentoo
dev-lang/python:           3.9.12::gentoo, 3.10.4::gentoo
dev-lang/rust:             1.60.0::gentoo
dev-util/cmake:            3.23.1::gentoo
dev-util/meson:            0.61.4-r2::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/openrc:           0.44.10::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           14.0.1-r1::gentoo
sys-devel/gcc:             11.2.1_p20220115::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             14.0.1::gentoo
sys-devel/llvm:            13.0.1::gentoo, 14.0.1::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.17::gentoo (virtual/os-headers)
sys-libs/glibc:            2.35-r2::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

kernelpanic
    location: /var/db/repos/kernelpanic
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE @BINARY-REDISTRIBUTABLE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -mtune=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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="-O2 -march=native -mtune=native -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH 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="-O2 -march=native -mtune=native -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live cgroup clean-logs compress-build-logs config-protect-if-modified distlocks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=native -mtune=native -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="it_IT.UTF-8"
LDFLAGS="-fuse-ld=mold -Wl,-O2 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/var/cache/binpkgs"
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"
RUSTFLAGS="-C target-cpu=native -C opt-level=2"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 amr ao avif blas bluray boost branding brotli bzip2 cairo cdda clang cli crypt cups curl dbus djvu dri dvb dvd elogind encode eselect-ldso exif ffmpeg fftw flac fontconfig fortran fribidi gdbm gif gimp gmp gpm gsm gtk harfbuzz heif iconv icu imlib inotify ipv6 jbig jemalloc jit jpeg jpeg2k lapack lcms libass libglvnd libnotify libsamplerate libtirpc llvm lto luajit lvm lz4 lzma lzo mng mp3 mpeg multilib natspec ncurses nls nptl offensive ogg openal opencv openexr opengl openmp opus pam pango pcre pcre16 pdf pgo png policykit postproc postscript printsupport pulseaudio raw readline rubberband scanner seccomp smp sndfile sox speex spell split-usr ssl svg theora threads tiff truetype udev udisks unicode usb v4l vaapi vdpau vidstab vim-syntax vorbis vpx vulkan wavpack webp wmf x264 x265 xattr xcb xcomposite xdg xetex xml xpm xv xvid zeroconf zip zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2020" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput wacom" KERNEL="linux" L10N="it en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="BPF" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" QEMU_SOFTMMU_TARGETS="aarch64 arm x86_64" QEMU_USER_TARGETS="aarch64 arm x86_64" RUBY_TARGETS="ruby31" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Saul Peebsen 2022-04-20 00:44:04 UTC
Same exact error here. I even created a test user to test with clean home directory, still same error.
Comment 2 Larry the Git Cow gentoo-dev 2022-04-26 12:00:24 UTC
The bug has been referenced in the following commit(s):

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

commit 027abfdc9fe9946c47318f5749c4629ed5d04c9c
Author:     Louis Sautier <sbraz@gentoo.org>
AuthorDate: 2022-04-26 11:49:48 +0000
Commit:     Louis Sautier <sbraz@gentoo.org>
CommitDate: 2022-04-26 12:00:20 +0000

    media-video/gaupol: fix startup of v1.11
    
    The switch to PEP517 broke the DATA_DIR constant, reverting for now.
    
    Bug: https://bugs.gentoo.org/839267
    Signed-off-by: Louis Sautier <sbraz@gentoo.org>

 media-video/gaupol/{gaupol-1.11.ebuild => gaupol-1.11-r1.ebuild} | 1 -
 1 file changed, 1 deletion(-)
Comment 3 Louis Sautier (sbraz) gentoo-dev 2022-04-26 12:00:58 UTC
I've pushed a fix, sorry for the bother.
Comment 4 Larry the Git Cow gentoo-dev 2023-02-22 22:17:49 UTC
The bug has been closed via the following commit(s):

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

commit 1209f9f0bd96f5bf326f7ccd780da84053fb1b97
Author:     Louis Sautier <sbraz@gentoo.org>
AuthorDate: 2023-02-22 12:54:56 +0000
Commit:     Louis Sautier <sbraz@gentoo.org>
CommitDate: 2023-02-22 22:15:29 +0000

    media-video/gaupol: add 1.12, switch to PEP517
    
    In order to use PEP517, we need to prevent setup.py from using
    setuptools-related variables to define the location of data files.
    
    Closes: https://bugs.gentoo.org/839267
    Signed-off-by: Louis Sautier <sbraz@gentoo.org>

 media-video/gaupol/Manifest                        |  1 +
 .../gaupol/files/gaupol-1.12-fix-prefix.patch      | 30 ++++++++++
 media-video/gaupol/gaupol-1.12.ebuild              | 69 ++++++++++++++++++++++
 3 files changed, 100 insertions(+)