I emerged media-sound/milkytracker-1.0.0 successfully. However when I try to run /usr/bin/milkytracker I get the following message: $ milkytracker milkytracker: error while loading shared libraries: libfx.so: cannot open shared object file: No such file or directory Doing some investigating, it looks like 4 libraries are missing after install. $ ldd /usr/bin/milkytracker | grep "not found" libfx.so => not found libmilkyplay.so => not found libppui.so => not found libosinterface.so => not found Reproducible: Always Steps to Reproduce: 1.emerge milkytracker 2.Run /usr/bin/milkytracker 3.Observe results Actual Results: milkytracker: error while loading shared libraries: libfx.so: cannot open shared object file: No such file or directory Expected Results: Milkytracker should launch GUI interface. Portage 2.3.84 (python 2.7.17-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-9.2.0, glibc-2.29-r7, 4.19.97-gentoo x86_64) ================================================================= System uname: Linux-4.19.97-gentoo-x86_64-Intel-R-_Core-TM-_i7-4820K_CPU_@_3.70GHz-with-gentoo-2.6 KiB Mem: 49457956 total, 34823496 free KiB Swap: 4194300 total, 4194300 free Timestamp of repository gentoo: Sat, 22 Feb 2020 22:15:01 +0000 Head commit of repository gentoo: 2fec248a05ba83afd9173476caee6a29225011e5 sh bash 4.4_p23-r1 ld GNU ld (Gentoo 2.32 p2) 2.32.0 distcc 3.3.3 x86_64-pc-linux-gnu [disabled] ccache version 3.7.7 [disabled] app-shells/bash: 4.4_p23-r1::gentoo dev-lang/perl: 5.30.1::gentoo dev-lang/python: 2.7.17::gentoo, 3.6.9::gentoo, 3.7.5-r1::gentoo dev-util/ccache: 3.7.7::gentoo dev-util/cmake: 3.14.6::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.13.4-r2::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.32-r1::gentoo sys-devel/gcc: 9.2.0-r2::gentoo sys-devel/gcc-config: 2.2::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 4.20::gentoo (virtual/os-headers) sys-libs/glibc: 2.29-r7::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.namerica.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 lostwoods location: /usr/local/portage/lostwoods masters: gentoo priority: 0 jorgicio location: /var/lib/layman/jorgicio masters: gentoo priority: 50 kde location: /var/lib/layman/kde masters: gentoo priority: 50 pentoo location: /var/lib/layman/pentoo masters: gentoo priority: 50 steam-overlay location: /var/lib/layman/steam-overlay masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -ggdb" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/spool/munin-async/.ssh" 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 -pipe -march=native -ggdb" DISTDIR="/tmp/distfiles" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs 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 sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.osuosl.org/ http://gentoo.mirrors.tds.net/gentoo http://mirrors.cs.wmich.edu/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://lug.mtu.edu/gentoo/ ftp://lug.mtu.edu/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en" MAKEOPTS="-j9" PKGDIR="/opt/gentoo/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" USE="X a52 aac acl acpi activities aim alsa amd64 ayatana bash-completion berkdb bluetooth bluray branding bzip2 cairo cdda cdr clamav cli crypt css cups cxx dbus declarative dri dts dvd dvdr emacs emboss encode evdev exif extras ffmpeg fftw flac fontconfig fortran ftp gdbm gif gnutls gpm gtk gzip hddtemp iconv icq icu imap ipod ipv6 joystick jpeg jpeg2k kde kipi kwallet lcms ldap lib32 libnotify libtirpc lm_sensors mad mmap mng mp3 mp4 mpeg msn multilib mysql ncurses nls nptl ogg openal opengl openmp oscar pam pango pch pcre pdf phonon plasma png policykit posix ppds pulseaudio python qml qt5 raw rdesktop readline rss samba sdl seccomp semantic-desktop sharedext sharedmem sockets spell split-usr sqlite sqlite3 ssl startup-notification static-libs subversion svg symlink systemd szip tcpd theora threads tiff truetype udev udisks unicode upower usb vdpau vnc vorbis wayland widgets win32codecs wxwidgets x264 xattr xcb xcomposite xinerama xml xv xvid yahoo zlib" ABI_X86="64 32" ADA_TARGET="gnat_2018" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt 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" GRUB_PLATFORMS="efi-64 pc emu" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia" 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, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I can confirm this result, emerging milkytracker lead to the same result.
Can confirm. When I just clone it from github it seems to link just fine. I'll take a look later and see if I can't figure it out.
Milkytracker builds these four libraries, but the CMake scripts don't install them to the image dir. In upstream master, they just converted all libraries to static instead of shared, so the code is simply included in the executable. Since there was no release since this change, I'd suggest to bump the package to the latest release (1.02) and patch those four "add_library" commands by adding STATIC behind the target name. I attached a patch for the current 1.0.0 version that works for me.
Created attachment 639072 [details, diff] Compile Milkytracker libraries as static libs instead of shared.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2261786b3997b6ce70aae655928c625abc305f3 commit d2261786b3997b6ce70aae655928c625abc305f3 Author: John Helmert III <jchelmert3@posteo.net> AuthorDate: 2020-07-06 03:38:48 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2020-07-19 23:38:33 +0000 media-sound/milkytracker: Add 1.02.00 (security) Bug: https://bugs.gentoo.org/711280 Closes: https://bugs.gentoo.org/711564 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: John Helmert III <jchelmert3@posteo.net> Signed-off-by: Sam James <sam@gentoo.org> media-sound/milkytracker/Manifest | 2 + .../milkytracker-1.02.00-CVE-2019-14464.patch | 26 ++++++ .../milkytracker-1.02.00-CVE-2019-1449x.patch | 104 +++++++++++++++++++++ .../milkytracker-1.02.00-CVE-2020-15569.patch | 35 +++++++ .../milkytracker/milkytracker-1.02.00.ebuild | 53 +++++++++++ 5 files changed, 220 insertions(+)