Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 705338 - games-emulation/yabause-0.9.15 - ld: src/libyabause.so: undefined reference to `m68k_read_disassembler_32'
Summary: games-emulation/yabause-0.9.15 - ld: src/libyabause.so: undefined reference t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-13 08:25 UTC by Andrew Udvare
Modified: 2020-08-23 10:07 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,309.45 KB, text/plain)
2020-01-13 08:25 UTC, Andrew Udvare
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Udvare 2020-01-13 08:25:28 UTC
Created attachment 603136 [details]
build.log

I have successfully built this before but today it's failing on a rebuild.

$ emerge --info games-emulation/yabause

Portage 2.3.84 (python 3.7.6-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-9.2.0, glibc-2.30-r3, 5.4.10-gentoo-limelight x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.4.10-gentoo-limelight-x86_64-Intel-R-_Core-TM-_i7-5930K_CPU_@_3.50GHz-with-gentoo-2.6
KiB Mem:    24492248 total,  11744812 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Mon, 13 Jan 2020 07:11:34 +0000
Head commit of repository gentoo: 3855c086156366ca7202fc4d91b972b47070608f

Timestamp of repository atom: Sat, 04 Jan 2020 22:05:28 +0000
Head commit of repository atom: 8bc4175ae679e9b7c30b8c32d11135b201cf65dc

Head commit of repository tatsh-overlay: 67b1dddf2cdafa575bad6ac9fd7360f66f5163b7

Timestamp of repository torbrowser: Fri, 10 Jan 2020 18:47:22 +0000
Head commit of repository torbrowser: f89864f0829d69b015283b8b96af53846b194baa

sh bash 5.0_p11
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
app-shells/bash:          5.0_p11::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17-r1::gentoo, 3.6.10::gentoo, 3.7.6::gentoo, 3.8.1::gentoo
dev-util/cmake:           3.16.2-r1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.1-r2::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            9.2.0-r3::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: 5.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r3::gentoo
Repositories:

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

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

tatsh-overlay
    location: /var/db/repos/tatsh
    sync-type: git
    sync-uri: https://github.com/Tatsh/tatsh-overlay.git
    masters: gentoo
    sync-git-verify-commit-signature: no

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

Installed sets: @admin, @bashcomp, @bitcoin, @cc65, @cdr, @charles, @chrome, @clang, @cups, @docker, @exfat, @firefox, @fonts, @gimp, @git, @grub, @i3, @ibus, @kde, @kernel, @libimobiledevice, @libreoffice, @media, @misc, @mlocate, @mupen64plus, @nim, @pass, @portage-utilities, @python, @rar, @shellcheck, @stepmania, @telegram, @tmux, @vim, @virtualbox, @vlc, @wine, @x11, @x11-misc, @xirvik-vpn
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -fomit-frame-pointer -ggdb"
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 -pipe -march=native -fomit-frame-pointer -ggdb"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 10 --load-average 10 --with-bdeps=y --quiet-build=y --complete-graph --verbose-conflicts --exclude=cross-i686-pc-mingw32/*"
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 clean-logs compressdebug 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 splitdebug strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/ rsync://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/ rsync://gentoo.mirrors.tds.net/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en_GB en"
MAKEOPTS="-j10 -l10"
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"
USE="X a52 aac acl acpi alsa amd64 avahi bash-completion bluetooth branding bzip2 cairo cdda cdio cdr cjk cli crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif ffmpeg flac fluidsynth fortran gdbm gif gles gles2 gpm heif iconv icu idn ipv6 jemalloc jpeg jumbo-build kde kipi kwallet lcms libnotify libtirpc lm_sensors lto lzma mad man mng mod mp3 mp4 mpeg multilib ncurses nls nptl nvenc ogg opengl openmp opus pam pango pcre pdf pgo phonon plasma png policykit ppds qml qt5 readline samba scanner seccomp spell split-usr ssl startup-notification svg syslog system-av1 system-cairo system-ffmpeg system-harfbuzz system-heimdal system-icu system-jpeg system-jsoncpp system-libevent system-libvpx system-llvm system-lua system-sqlite system-webp systemd tcpd tiff truetype udev udisks unicode upower usb vdpau vim-syntax vorbis vulkan webengine webp widgets wxwidgets x264 xattr xcb xcomposite xv xvid zeroconf zlib" ABI_X86="64" 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 avx2 fma3 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" INPUT_DEVICES="evdev joystick" KERNEL="linux" L10N="en-GB en ja ko zh-CN zh-TW" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7 python3_8" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="nvidia v4l" 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, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

games-emulation/yabause-0.9.15::gentoo was built with the following:
USE="opengl qt5 sdl -openal" ABI_X86="(64)"
FEATURES="assume-digests binpkg-logs candy clean-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
Comment 1 Andrew Udvare 2020-02-01 04:28:24 UTC
Pull request here: https://github.com/gentoo/gentoo/pull/14519

This package needs -DBUILD_SHARED_LIBS=OFF to build correctly.
Comment 2 Andrew Udvare 2020-08-01 00:15:19 UTC
Bump?
Comment 3 Larry the Git Cow gentoo-dev 2020-08-22 19:10:43 UTC
The bug has been referenced in the following commit(s):

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

commit a2bd1eadeaadcc64001c40f6db30aa47887484c4
Author:     Andrew Udvare <audvare@gmail.com>
AuthorDate: 2020-02-01 04:02:48 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2020-08-22 19:05:40 +0000

    games-emulation/yabause: disable building shared libs
    
    Bug: https://bugs.gentoo.org/705338
    
    Signed-off-by: Andrew Udvare <audvare@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/14519
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 games-emulation/yabause/yabause-0.9.15.ebuild | 1 +
 1 file changed, 1 insertion(+)
Comment 4 James Le Cuirot gentoo-dev 2020-08-22 19:12:01 UTC
Thanks! I adjusted it to change the existing ebuild as a revbump isn't necessary in this case.
Comment 5 Andreas Sturmlechner gentoo-dev 2020-08-22 19:24:48 UTC
Rather than using such a workaround, rather the build system should have been patched (missing STATIC keyword on add_library() call).
Comment 6 James Le Cuirot gentoo-dev 2020-08-22 19:34:19 UTC
(In reply to Andreas Sturmlechner from comment #5)
> Rather than using such a workaround, rather the build system should have
> been patched (missing STATIC keyword on add_library() call).

Normally I would send a patch upstream but this upstream seems rather dead.
Comment 7 Andrew Udvare 2020-08-23 03:04:35 UTC
(In reply to Andreas Sturmlechner from comment #5)
> Rather than using such a workaround, rather the build system should have
> been patched (missing STATIC keyword on add_library() call).

I can make another PR for this.

Thanks for the hint. Interested in using this fix in other ebuilds with similar issues.
Comment 8 James Le Cuirot gentoo-dev 2020-08-23 10:07:01 UTC
(In reply to Andrew Udvare from comment #7)
> (In reply to Andreas Sturmlechner from comment #5)
> > Rather than using such a workaround, rather the build system should have
> > been patched (missing STATIC keyword on add_library() call).
> 
> I can make another PR for this.
> 
> Thanks for the hint. Interested in using this fix in other ebuilds with
> similar issues.

I don't mind for this one since, as I say, upstream is dead anyway. Please use this approach for others though.