Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904010 - kde-apps/k3b-22.12.3 ebuild missing IUSE flags
Summary: kde-apps/k3b-22.12.3 ebuild missing IUSE flags
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo KDE team
URL: https://bugs.gentoo.org/891585#c3
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-08 07:31 UTC by shadowless388
Modified: 2023-05-16 07:06 UTC (History)
5 users (show)

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


Attachments
Changed the ebuild myself (patch,398 bytes, patch)
2023-04-22 14:38 UTC, Jan R. Ziebart
Details | Diff
Ebuild file with restored mp3, sox and encode functions. (k3b-22.12.3-r99.ebuild,3.31 KB, text/plain)
2023-04-22 23:55 UTC, Ben
Details

Note You need to log in before you can comment on or make changes to this bug.
Description shadowless388 2023-04-08 07:31:50 UTC
Starting with the 22.12.2 ebuild, and so the current 22.12.3 ebuild as well, the IUSE flags for (encode mp3 sox) were removed. 

I'm not sure this was intentional, as it breaks some functionality of k3b. Ripping CD's to flac/mp3 are dependent on the build options set by those IUSE flags in previous ebuilds. (not sure about the sox IUSE flag, I didn't test it).

Ripping to flac/mp3 both require the build option:
-DK3B_BUILD_EXTERNAL_ENCODER_PLUGIN=ON
Comment 1 Jan R. Ziebart 2023-04-22 14:38:00 UTC
Created attachment 860525 [details, diff]
Changed the ebuild myself

Following gentoo wiki/Basic_guide_to_write_Gentoo_Ebuilds#Demonstration_by_example 

I copied the ebuild and changed the "off" markers in external_encoder to on. I know it is a brutal hack, but compiled nicely and worked for the newest version of the ebuild:  ./jantoo/kde-apps/k3b/k3b-23.04.0.ebuild
Comment 2 Ben 2023-04-22 23:55:46 UTC
Created attachment 860553 [details]
Ebuild file with restored mp3, sox and encode functions.

Restored mp3, sox and encode functions to ebuild. media-video/transcode is not required. Tested build on amd64 system with kde-apps/k3b-22.12.3, media-sound/sox-14.4.2_p20210509-r2 and media-sound/lame-3.100-r3.
Comment 3 Ben 2023-04-23 00:05:47 UTC
Portage 3.0.44 (python 3.11.2-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-12, glibc-2.36-r7, 6.1.24-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-6.1.24-gentoo-x86_64-x86_64-AMD_Ryzen_7_5700G_with_Radeon_Graphics-with-glibc2.36
KiB Mem:    32645784 total,  25830664 free
KiB Swap:   33565692 total,  33565692 free
Timestamp of repository gentoo: Thu, 20 Apr 2023 23:15:01 +0000
Head commit of repository gentoo: 767b32a688dbdc9a5405205959a79315db14084b
Timestamp of repository brother-overlay: Wed, 29 Mar 2023 02:17:00 +0000
Head commit of repository brother-overlay: 451130243c6310259febd0954647b2c4edcb8a29

Timestamp of repository steam-overlay: Thu, 20 Apr 2023 21:02:12 +0000
Head commit of repository steam-overlay: e72c756037be2f0de147251367e67dabe75407b2

sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.39 p5) 2.39.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r2::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0-r2::gentoo
dev-lang/python:           3.10.10_p3::gentoo, 3.11.2_p2::gentoo
dev-lang/rust:             1.66.1::gentoo
dev-util/cmake:            3.25.3::gentoo
dev-util/meson:            1.0.1::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/openrc:           0.46::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.39-r4::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r1::gentoo
sys-devel/gcc:             12.2.1_p20230121-r1::gentoo
sys-devel/gcc-config:      2.10::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo
sys-devel/llvm:            15.0.7::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.namerica.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1

brother-overlay
    location: /var/db/repos/brother-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/brother-overlay.git
    masters: gentoo
    volatile: True

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: True

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE dlj-1.1 sun-bcla-java-vm"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=znver3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=znver3"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://www.gtlib.gatech.edu/pub/gentoo http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ https://gentoo.osuosl.org/ http://gentoo.gossamerhost.com"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="en_US en"
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"
SHELL="/bin/bash"
USE="3dnow X a52 aac acl acpi activities alsa amd64 bluetooth bluray branding bzip2 cairo cdda cddb cdio cdparanoia cdr clamav cli crypt cups dbus declarative dri dts dvd dvdr dvdread elogind encode exif flac fortran gdbm gif gpm grub gtk gui iconv icu ipv6 jpeg kde kwallet lcms libclamav libglvnd libnotify libtirpc logitech-mouse logrotate mad mariadb mmx mng mod modplug mp3 mp4 mpeg multilib musicbrainz ncurses nls nptl nvenc nvidia ogg opengl openmp pam pango pcre pdf perl plasma png policykit ppds pulseaudio qml qt5 readline resolvconf samba sdl seccomp semantic-desktop sensord sound spell split-usr sse ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb valgrind vdpau vorbis widgets wxwidgets x264 xattr xcb xft xinetd xml xv xvid zeroconf zlib" ABI_X86="64" ADA_TARGET="gnat_2021" ALSA_CARDS="intel8x0" 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="mmx mmxext sse sse2" 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" GRUB_PLATFORMS="pc efi-64" INPUT_DEVICES="evdev keyboard mouse joystick" KERNEL="linux" L10N="en_US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="pdfimport presenter-console presenter-minimizer nlpsolver" LLVM_TARGETS="X86 NVPTX AMDGPU" 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_11" PYTHON_TARGETS="python3_11" QEMU_USER_TARGETS="arm armeb i386 x86_64" RUBY_TARGETS="ruby30" USERLAND="GNU" VIDEO_CARDS="nvidia radeon radeonsi" 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, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 4 Larry the Git Cow gentoo-dev 2023-04-23 11:38:47 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=f8686c82fa21fd3f89c9d655748a57f4bf9029cc

commit f8686c82fa21fd3f89c9d655748a57f4bf9029cc
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-04-23 11:12:22 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-04-23 11:38:02 +0000

    kde-apps/k3b: Re-add IUSE (rename mp3 => lame), sox
    
    Remaining *_ENCODER_PLUGIN flags appear to still work fine without
    external encoder, just like ogg which had not been dropped.
    
    This partially reverts commit 922fbdd8be012b4d8c9c936a0fdcfa8cd48058b8.
    
    Bug: https://bugs.gentoo.org/904010
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-apps/k3b/k3b-23.04.49.9999.ebuild | 10 ++++++----
 kde-apps/k3b/k3b-9999.ebuild          | 10 ++++++----
 2 files changed, 12 insertions(+), 8 deletions(-)
Comment 5 Larry the Git Cow gentoo-dev 2023-04-23 11:42:01 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=628dd1818e157aa1bcb61f345750943974a65c80

commit 628dd1818e157aa1bcb61f345750943974a65c80
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-04-23 11:12:22 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-04-23 11:41:50 +0000

    kde-apps/k3b: Re-add IUSE (rename mp3 => lame), sox
    
    Remaining *_ENCODER_PLUGIN flags appear to still work fine without
    external encoder, just like ogg which had not been dropped.
    
    This partially reverts commit 922fbdd8be012b4d8c9c936a0fdcfa8cd48058b8.
    
    Closes: https://bugs.gentoo.org/904010
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-apps/k3b/{k3b-22.12.3.ebuild => k3b-22.12.3-r1.ebuild} | 10 ++++++----
 kde-apps/k3b/{k3b-23.04.0.ebuild => k3b-23.04.0-r1.ebuild} | 10 ++++++----
 2 files changed, 12 insertions(+), 8 deletions(-)