Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 650026 - media-gfx/feh-2.25 - filelist.o: In function `feh_cmp_dirname': filelist.c:(.text+0x6b2): undefined reference to `strcmp_or_strverscmp'
Summary: media-gfx/feh-2.25 - filelist.o: In function `feh_cmp_dirname': filelist.c:(....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-09 15:56 UTC by RB
Modified: 2019-04-02 18:51 UTC (History)
1 user (show)

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


Attachments
build.log (file_650026.txt,18.71 KB, text/plain)
2018-03-09 15:56 UTC, RB
Details

Note You need to log in before you can comment on or make changes to this bug.
Description RB 2018-03-09 15:56:34 UTC
Created attachment 523092 [details]
build.log

Another inline function issue with gcc-7, media-gfx/feh fails during linking on undefined references to an inline function defined in src/filelist.c.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2018-03-09 17:06:27 UTC
(In reply to RB from comment #0)
> Created attachment 523092 [details]
> build.log
> 
> Another inline function issue with gcc-7, media-gfx/feh fails during linking
> on undefined references to an inline function defined in src/filelist.c.

Works fine here with sys-devel/gcc-7.3.0. Please post your `emerge --info` output in a comment.
Comment 2 RB 2018-03-09 17:51:54 UTC
# emerge --info
Portage 2.3.24 (python 2.7.14-final-0, default/linux/amd64/17.0/desktop, gcc-7.3.0, glibc-2.26-r6, 4.14.18-gentoo x86_64)
=================================================================
System uname: Linux-4.14.18-gentoo-x86_64-Intel-R-_Celeron-R-_CPU_N2840_@_2.16GHz-with-gentoo-2.4.1
KiB Mem:     8040844 total,   4397372 free
KiB Swap:    4718584 total,   4273308 free
Timestamp of repository gentoo: Wed, 07 Mar 2018 16:30:01 +0000
Head commit of repository gentoo: ecb9834e2f668e6ff98f75da7334e7fdbc8d3f10
sh bash 4.4_p19
ld GNU ld (Gentoo 2.30 p1) 2.30.0
app-shells/bash:          4.4_p19::gentoo
dev-lang/perl:            5.26.1-r2::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.10.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.35.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16-r1::gentoo
sys-devel/binutils:       2.30::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo, 7.3.0::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r2::gentoo
sys-kernel/linux-headers: 4.15::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: -P

pentoo
    location: /var/lib/layman/pentoo
    sync-type: laymansync
    sync-uri: git://github.com/pentoo/pentoo-overlay.git
    masters: gentoo
    priority: 50

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA google-chrome Coherent-Graphics"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Os -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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="-Os -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--misspell-suggestions=n --quiet-build=n --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="-P"
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 aio alsa amd64 apng arping atsc berkdb bluetooth branding bzip2 cairo caps cdda cdr cgroups channels cli conntrack consolekit crypt cups cxx dbus device-mapper dga dmx dri dri3 drm dts dtv dvd dvdr egl emboss encode ewf exif fam fat fec ffmpeg filecaps firewalld flac fontforge fortran fuse gdbm gif git gksu glamor gles2 gnome-keyring gpg gpm grc gtk hdri iconv icu id3tag inotify ios iproute2 ipv6 ithreads jpeg lame lcms ldap libcanberra libinput libkms libnotify lqr lvm lz4 lzma lzo mad mktemp mng modemmanager modules mp3 mp4 mpeg mtp multilib natspec ncurses netlink networkmanager nls noaa nptl ntfs offensive ogg opengl openmp pager pam pango passwdqc pcap pcre pdf perl png policykit ppds python q32 q64 qt5 ramfs rar raw readline reiserfs rtl rtlsdr samba sdl seccomp smp socks spell spice spidermonkey sqlite squashfs ssl startup-notification subversion svg tcpd threads tiff trellis truetype udev udisks uhd unicode upnp upower usb usbredir uuid uxa vaapi vim-syntax virt-network vocoder vorbis vpx webp wmf wxwidgets x264 xattr xcb xinerama xml xv xvid xvmc yubikey zfs zlib" ABI_X86="64" 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="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-32 efi-64 pc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" L10N="en en_US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="intel i965" 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_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 3 RB 2018-03-09 17:57:35 UTC
Posted "emerge --info".  

Note that I'm replicating this on-demand (along with #650010) by simply switching between 6.4.0-r1::gentoo and 7.3.0::gentoo (along with an appropriate environment refresh) and attempting to build.
Comment 4 Martin Jansa 2018-03-13 14:21:39 UTC
Might be fixed in newer feh, from https://feh.finalrewind.org/:

feh v2.25.1  2018-03-07

Fix compilation issues when using CFLAGS=-m64 on some gcc versions
Re-render current image when toggle_fixed_geometry is input

I was seeing the same error as reporter and now it builds fine with 2.25.1.
Comment 5 Tim Harder gentoo-dev 2019-04-02 18:51:24 UTC
This should be fixed in newer versions in the tree.