Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 850568 - games-emulation/dolphin-9999: Package 'minizip-ng', required by 'virtual:world', not found
Summary: games-emulation/dolphin-9999: Package 'minizip-ng', required by 'virtual:worl...
Status: RESOLVED DUPLICATE of bug 873952
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-08 05:58 UTC by Mitch
Modified: 2022-11-19 03:12 UTC (History)
3 users (show)

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


Attachments
CMakeError.log (file_850568.txt,3.45 KB, text/plain)
2022-06-08 05:58 UTC, Mitch
Details
CMakeOutput.log (file_850568.txt,66.64 KB, text/plain)
2022-06-08 05:58 UTC, Mitch
Details
build.log (file_850568.txt,16.66 KB, text/plain)
2022-06-08 06:00 UTC, Mitch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mitch 2022-06-08 05:58:39 UTC
Created attachment 783518 [details]
CMakeError.log

I was trying to emerge games-emulation/dolphin-9999 when I had en error during configuring.

------------------------------------------------------------------

➜ emerge --info '=games-emulation/dolphin-9999::gentoo'
Portage 3.0.30 (python 3.9.12-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-11.3.0, glibc-2.34-r13, 5.18.1-gentoo-r2 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.18.1-gentoo-r2-x86_64-AMD_Ryzen_7_2700_Eight-Core_Processor-with-glibc2.34
KiB Mem:    32865604 total,  20425312 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 08 Jun 2022 04:48:04 +0000
Head commit of repository gentoo: ef64c86b2e2a62ad44b8bd200c322ae728be7d1a

sh bash 5.1_p16
ld GNU ld (Gentoo 2.37_p1 p2) 2.37
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.0-r9::gentoo
dev-lang/python:           3.8.13::gentoo, 3.9.12::gentoo, 3.10.4::gentoo
dev-lang/rust:             1.61.0-r1::gentoo
dev-util/cmake:            3.22.4::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.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.37_p1-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           14.0.4::gentoo
sys-devel/gcc:             11.3.0::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/lld:             14.0.4::gentoo
sys-devel/llvm:            14.0.4::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.18-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.34-r13::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: git://anongit.gentoo.org/repo/sync/gentoo.git
    priority: -1000
    sync-git-verify-commit-signature: yes

guru
    location: /var/lib/layman/guru
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/repo/proj/guru.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver1 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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"
CXXFLAGS="-march=znver1 -O2 -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="-march=znver1 -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs 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="-march=znver1 -O2 -pipe"
GENTOO_MIRRORS="http://gentoo.gossamerhost.com http://gentoo.mirrors.tera-byte.com/ http://mirrors.aliyun.com/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j13"
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="X aac acl acpi activities alsa amd64 aptx bluetooth branding bzip2 cairo cdda cdr cli crypt dbus declarative dri drm dts dvd dvdr elogind encode exif flac fortran gdbm gif gpm gtk gtk4 gui iconv icu ipv6 jpeg kde kwallet lcms ldac libglvnd libnotify libtirpc lm-sensors mad mng mp3 mp4 mpeg mtp multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf plasma png policykit ppds pulseaudio qml qt4 qt5 readline samba sdl seccomp semantic-desktop spell split-usr ssl startup-notification svg tiff truetype udev udisks unicode upower usb vaapi vdpau vorbis vulkan widgets wxwidgets x x264 xattr xcb xml xv xvid zlib" 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="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" 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" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="amdgpu 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, 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, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

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

games-emulation/dolphin-9999::gentoo was built with the following:
USE="alsa bluetooth evdev gui pulseaudio vulkan -discord-presence -doc -ffmpeg -log -mgba -profile -systemd -upnp" ABI_X86="(64)"
Comment 1 Mitch 2022-06-08 05:58:58 UTC
Created attachment 783521 [details]
CMakeOutput.log
Comment 2 Mitch 2022-06-08 05:59:42 UTC
-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/games-emulation/dolphin-9999/work/dolphin-9999_build/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/portage/games-emulation/dolphin-9999/work/dolphin-9999_build/CMakeFiles/CMakeError.log".
 * ERROR: games-emulation/dolphin-9999::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line  127:  Called src_configure
 *   environment, line 3191:  Called cmake_src_configure
 *   environment, line 1293:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 * 
 * If you need support, post the output of `emerge --info '=games-emulation/dolphin-9999::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=games-emulation/dolphin-9999::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/games-emulation/dolphin-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-emulation/dolphin-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/games-emulation/dolphin-9999/work/dolphin-9999_build'
 * S: '/var/tmp/portage/games-emulation/dolphin-9999/work/dolphin-9999'

>>> Failed to emerge games-emulation/dolphin-9999
Comment 3 Mitch 2022-06-08 06:00:22 UTC
Created attachment 783524 [details]
build.log
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-08 06:02:24 UTC
Thanks. We had a mention of it in #gentoo-dev-help last night.

We need to finally package minizip-ng:
```
-- Checking for module 'minizip-ng>=3.0.0'
--   Package 'minizip-ng', required by 'virtual:world', not found
-- Shared minizip not found, falling back to the static library
CMake Error at CMakeLists.txt:770 (add_subdirectory):
  add_subdirectory given source "Externals/minizip" which is not an existing
  directory.
```

(or accept the bundled copy temporarily).
Comment 5 Ionen Wolkens gentoo-dev 2022-06-08 10:14:13 UTC
Note that when past minizip issues, will likely also need -DSTEAM=OFF (currently enabled by default upstream) or it'll fail post-build trying to copy stuff from the system.
Comment 6 Ionen Wolkens gentoo-dev 2022-06-08 10:18:59 UTC
wrt minizip-ng, this is now using mz_compat.h which actually only exists with minizip-ng, so using normal minizip with old sed would require to revert some parts of this which at this point doesn't feel ideal:
https://github.com/dolphin-emu/dolphin/commit/79a7bf02
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-06-08 12:21:03 UTC
Hmm, perhaps it'd be possible to have zlib-ng and minizip-ng side by side with regular minizip.
Comment 8 Ionen Wolkens gentoo-dev 2022-06-08 13:26:29 UTC
(In reply to Michał Górny from comment #7)
> Hmm, perhaps it'd be possible to have zlib-ng and minizip-ng side by side
> with regular minizip.

Yeah that's how I was seeing it, the flag to "replace" zlib/minizip could just be masked for those that really want it.
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-19 03:12:05 UTC

*** This bug has been marked as a duplicate of bug 873952 ***