Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 939153

Summary: sci-electronics/kicad-9999 - new dependency on dev-libs/protobuf
Product: Gentoo Linux Reporter: jospezial <jospezial>
Component: Current packagesAssignee: Zoltan Puskas <zoltan>
Status: RESOLVED FIXED    
Severity: normal CC: jospezial, proxy-maint, vowstar, zoltan
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/38967
Whiteboard:
Package list:
Runtime testing required: ---

Description jospezial 2024-09-05 22:12:02 UTC
!!! existing preserved libs:
>>> package: dev-libs/protobuf-28.0
 *  - /usr/lib64/libprotobuf.so.27.2.0
 *      used by /usr/bin/_cvpcb.kiface (sci-electronics/kicad-9999)
 *      used by /usr/bin/_eeschema.kiface (sci-electronics/kicad-9999)
 *      used by /usr/bin/_pcbnew.kiface (sci-electronics/kicad-9999)
 *      used by /usr/lib64/libkiapi.so.8.99.0 (sci-electronics/kicad-9999)

kicad-9999.ebuild has that dependency missing.

https://gitlab.com/kicad/code/kicad/-/commit/f613cd1cb468a64f791ef159ab56ad71e481f8b5
"ADDED: A new IPC API based on protobuf and nng
Details, documentation, and language bindings are works in
progress and will be evolving over the course of KiCad 9
development."

https://gitlab.com/kicad/code/kicad/-/commit/c9b1134417f7f9ca3467e846e5f9a3b48d5b6bf9
"Move FindProtobuf to default on for Linux"
Comment 1 jospezial 2024-09-05 22:13:48 UTC
Portage 3.0.65-37+gb30ddb191 (python 3.12.5-final-0, default/linux/amd64/23.0, gcc-14, glibc-2.40, 6.11.0-rc6 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.11.0-rc6-x86_64-AMD_Athlon-tm-_II_X2_240_Processor-with-glibc2.40
KiB Mem:     4026292 total,   2230544 free
KiB Swap:   16029688 total,  14972988 free
Timestamp of repository kde: Wed, 04 Sep 2024 14:52:52 +0000
Head commit of repository kde: 44bb9be7a00868082803fa351f0fcf7fda59e8c3

Timestamp of repository poly-c: Thu, 05 Sep 2024 11:25:44 +0000
Timestamp of repository qt: Mon, 19 Aug 2024 18:34:00 +0000
Head commit of repository qt: d7522f320d29c3b8a23df6132ae258eb3d93915c

Timestamp of repository gentoo: Thu, 05 Sep 2024 18:04:00 +0000
Head commit of repository gentoo: 9eb2e37a4ae4186013b869d33e919fc66c3f780a

Timestamp of repository guru: Thu, 05 Sep 2024 12:28:53 +0000
Head commit of repository guru: f0be35a8b5198ae7f93277cb2e6741bd73fa26d3

sh bash 5.2_p32-r1
ld GNU ld (Gentoo 2.43.1 p1) 2.43.1
ccache version 4.10.2 [enabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p32-r1::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.17-r1::gentoo
dev-build/cmake:           3.30.3_pre::poly-c
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.5.1::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.11.9_p2-r1::gentoo, 3.12.5_p1-r1::gentoo
dev-lang/rust-bin:         1.80.1::gentoo
dev-util/ccache:           4.10.2::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.54.2::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.43.1_pre::poly-c
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/clang:           18.1.8::gentoo
sys-devel/gcc:             14.2.1_p20240831::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             18.1.8::gentoo
sys-devel/llvm:            18.1.8-r4::gentoo
sys-kernel/linux-headers:  6.10::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40::gentoo
Repositories:

kde
    location: /var/db/repos/kde
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/kde.git
    masters: gentoo
    priority: -1001
    volatile: False

overlay_jl
    location: /var/db/repos/overlay_jl
    masters: gentoo
    priority: -1001
    volatile: False

poly-c
    location: /var/db/repos/poly-c
    sync-type: rsync
    sync-uri: rsync://rsync.gentoofan.org/poly-c
    masters: gentoo
    priority: -1001
    volatile: False
    sync-rsync-extra-opts: 

qt
    location: /var/db/repos/qt
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/qt.git
    masters: gentoo
    priority: -1001
    volatile: False

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

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -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"
CXXFLAGS="-march=native -mtune=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=y --autounmask-write=y --keep-going --quiet-build=y --verbose-conflicts"
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="-march=native -mtune=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -mtune=native -O2 -pipe"
GENTOO_MIRRORS="http://ftp.halifax.rwth-aachen.de/gentoo/ https://mirrors.dotsrc.org/gentoo/ https://mirror.leaseweb.com/gentoo/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="de"
MAKEOPTS="-j2"
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="a52 aac aacplus aacs aalib acl acpi activefilter admin adns aften alsa amd64 amdgpu ap apm apng archive arping atahpt atapromise audiofile automount avif bash bazaar bdplus bluray boost btrfs bzip2 cairo ccache cdda cddb cdio cdr cdrom chm chroot cjk cli client colordiff colorpicker compress corefonts cpio cpuload crypt css cue cups curl custom-modes d3d9 dav1d dbus declarative designer dga dhcp dom dri dri3 drm dts duktape dump dvb dvd dvdnav eap eap-sim eap-tls ebook egl elogind encode enscript epub equalizer exif extensions extras faac faad farstream fat fax fbcon fdformat fdk ffmpeg fftw firefox flac flashrom fluidsynth fontconfig foomatic freedoom ft2232-spi ftd2xx ftdi ftp fullscreen fuse gadu gd gdk-pixbuf gegl geoip gif git gpg gphoto2 graphite grub gstreamer gtk gtk4 gui gusb gzip haptic hddtemp hdf hdf5 hid highlight history hpcups hpijs http http2 http3 iconv icu id3tag idn imagemagick initramfs inotify introspection ipc ipod ipv6 iso jack jbootstrap jit jpeg jpeg2k jpegxl kde keyfinder kiosk ladspa lame lcms legacy-systray lensfun libaom libass libcanberra libdrm libei libinput libmpv libnotify libplacebo libproxy librtmp libsamplerate libssh2 libtirpc libv4l libwww linux-mtd linux-spi live lm-sensors logitech logrotate lua lv2 lximage lz4 lzma lzo mad magic man matroska md5sum meanwhile mediatek-i2c-spi mercurial metalink midi mikmod mime minizip mixer mjpeg mmap mms mod modern-top modplug modules-compress mono mount mouse mp3 mp4 mpeg mpeg2 mplayer mstarddc-spi mtp multilib multimedia musepack musicbrainz nano-syntax ncat ncurses network networkmonitor newnet ngspice nls normalize nowlistening nping ntfs ntfsprogs ntp nvidia nvme obex ocr odbc odf offload ogg ogm openal opencl opengl openh264 openmp openssl opus osdmenu otr p2p pam pango panorama parse-clocks pcap pci pcre pcre16 pcre32 pdf pdfimport phonon pipes pipewire pipewire-alsa pkcs11 plasma plugins png policykit postproc postscript powermanagement ppds printsupport privacy projectm pulseaudio pvr python qalculate qdbus qml qrcode qt6 qtkeychain quic quicktime radio rar raw readline realtek-mst-i2c-spi replaygain rtc rtmp rubberband rust rustfmt sbsms scanner screencast screensaver scripttools sdl seccomp secure-delete sensors serial serialport sftp sha512 shorten skins slang smartcard smi sndfile sockets socks socks5 sound sound-server source-highlight speech speex spell spi spirv sql sqlite sqlite3 squashfs ssh ssl staging startup-notification statistics statusnotifier stk stream subtitles sudo svg symlink sync-plugin-portage syslog sysstat system-av1 system-ffmpeg system-harfbuzz system-icu system-jpeg system-libevent system-librnp system-libvpx system-llvm system-png system-protoc system-python-libs system-sqlite system-ssl system-toolchain system-webp system-zlib system-zstd sysv-utils szip taglib test-rust text texteffect tftp themes theora threads thumbnail tiff timidity tracepath translator truetype twolame udev udf udisks unicode upower urlpicpreview usb utils v4l v4l2 vaapi vala vamp vector-icons video videos virtualbox vkd3d vnc vorbis vpx vroot vst vulkan vulkaninfo wad wav wavpack wayland wayland-compositor webp widgets wps wxwidgets x264 x265 xattr xfs xml xvid xwayland yahoo zink zip zlib zstd zvbi" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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 popcnt sse sse2 sse3 sse4a" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_SLOT="18" LLVM_TARGETS="AMDGPU" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12 python3_11" RUBY_TARGETS="ruby33" VIDEO_CARDS="radeon amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

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

sci-electronics/kicad-9999::gentoo was built with the following:
USE="examples nls openmp -doc -test" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12"


dev-libs/protobuf-28.0::gentoo was built with the following:
USE="libprotoc protobuf protoc zlib -conformance -debug -emacs -examples -libupb -test" ABI_X86="(64) -32 (-x32)"
Comment 2 Larry the Git Cow gentoo-dev 2024-10-13 22:49:27 UTC
The bug has been closed via the following commit(s):

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

commit fc985206e82f78d741dfe2f9eaa22d8cdcde9cae
Author:     Zoltan Puskas <zoltan@sinustrom.info>
AuthorDate: 2024-10-13 05:56:04 +0000
Commit:     Yixun Lan <dlan@gentoo.org>
CommitDate: 2024-10-13 22:49:11 +0000

    sci-electronics/kicad: live ebuild dependency fix
    
    KiCad 9 will depend on dev-libs/protobuf, which is already present
    in the current source tree.
    
    Closes: https://bugs.gentoo.org/939153
    Closes: https://github.com/gentoo/gentoo/pull/38967
    Signed-off-by: Zoltan Puskas <zoltan@sinustrom.info>
    Signed-off-by: Yixun Lan <dlan@gentoo.org>

 sci-electronics/kicad/kicad-9999.ebuild | 5 +++++
 1 file changed, 5 insertions(+)