Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 810538 - games-simulation/openttd-1.11.2-r1: fails to compile (Unknown NFO file version: 32. Skipping file.)
Summary: games-simulation/openttd-1.11.2-r1: fails to compile (Unknown NFO file versio...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-08-26 20:59 UTC by Bob Shaffer
Modified: 2021-10-24 04:06 UTC (History)
1 user (show)

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


Attachments
build.log (openttd-1.11.2-r1.build.log,227.07 KB, text/plain)
2021-08-26 20:59 UTC, Bob Shaffer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bob Shaffer 2021-08-26 20:59:33 UTC
Created attachment 736171 [details]
build.log

OpenTTD 1.11.2-r1 fails to build on amd64.  The cause of the failure appears to be something in CreateGRF.cmake.

emerge --info '=games-simulation/openttd-1.11.2-r1::gentoo':

Portage 3.0.20 (python 3.9.6-final-0, default/linux/amd64/17.1/desktop, gcc-9.3.0, glibc-2.33-r1, 5.10.52-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.10.52-gentoo-x86_64-Intel-R-_Core-TM-_i7-10700K_CPU_@_3.80GHz-with-glibc2.33
KiB Mem:    32821116 total,  28957592 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 25 Aug 2021 02:30:01 +0000
Head commit of repository gentoo: 3d1814cd3588c8c7045af8e42c0e06b2ccfffafa
Timestamp of repository dotnet: Mon, 23 Aug 2021 18:06:27 +0000
Head commit of repository dotnet: ad5851c5f499b9c6b5f762a08e91710a2798e0bd

Head commit of repository madman: 15250154c6e551f51610fc9cac7ef901c7fb7eab

Timestamp of repository steam-overlay: Wed, 18 Aug 2021 10:52:45 +0000
Head commit of repository steam-overlay: 938b29bc838293e3b0371fa2da205dc87f389364

sh bash 5.1_p8
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.34.0::gentoo
dev-lang/python:          2.7.18_p11::gentoo, 3.7.11::gentoo, 3.8.11::gentoo, 3.9.6_p1::gentoo
dev-lang/rust:            1.53.0::gentoo
dev-util/cmake:           3.20.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.43.5::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo, 2.36.1-r2::gentoo
sys-devel/gcc:            9.3.0-r2::gentoo, 10.3.0-r2::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:

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

madman
    location: /var/db/repos/madman
    sync-type: git
    sync-uri: https://github.com/reubenshaffer2/madman-overlay.git
    masters: gentoo

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /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 -march=athlon64 -pipe -ggdb"
DISTDIR="/usr/portage/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="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles installsources ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://cosmos.illinois.edu/pub/gentoo http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j13"
PKGDIR="/usr/portage/packages"
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="3dnow X a52 aac acl acpi alsa amd64 apache2 bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr cli crypt cups curl dbus doc dri dts dv dvd dvdr elogind emboss encode examples exif ffmpeg flac fortran freetds gd gdbm gif gpm gtk gui iconv icu imap ipv6 jpeg lcms libglvnd libnotify libtirpc lirc mad mbox mng mp3 mp4 mpeg multilib nas ncurses nis nls nocd nptl nsplugin ogg openal opengl openmp oss pam pango pcre pdf php png policykit posix ppds pulseaudio qt3 qt5 rdesktop readline sdl seccomp sockets source sox spell split-usr ssl startup-notification svg tcpd threads tiff truetype udev udisks unicode upower usb v4l vcd vim-syntax vorbis win32codecs wxwidgets x264 xattr xcb xcomposite xine xinerama xinetd xml xpm xv xvid 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="mmx mmxext sse sse2" 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" 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-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="nvidia" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS


emerge -pqv '=games-simulation/openttd-1.11.2-r1::gentoo':
[ebuild     U ] games-simulation/openttd-1.11.2-r1 [1.10.3] USE="fluidsynth%* icu lzma openmedia png sdl%* truetype zlib -allegro% -dedicated -lzo -timidity* (-aplaymidi%) (-debug%) (-iconv%*)" CPU_FLAGS_X86="sse"

 * IMPORTANT: 30 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.
Comment 1 Bob Shaffer 2021-08-27 08:38:14 UTC
updating games-util/grfcodec to version 6.0.6_p20210310 corrected the error.  I regret I was unable to determine the previously installed version under which the error occurred.  I only recall that it was 5.x.  Perhaps adding/updating the grfcodec dependency would prevent others from encountering this?
Comment 2 Larry the Git Cow gentoo-dev 2021-10-24 04:06:17 UTC
The bug has been closed via the following commit(s):

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

commit ecdc2b2ec635901cde3f96e155b3c341b40316c7
Author:     Azamat H. Hackimov <azamat.hackimov@gmail.com>
AuthorDate: 2021-10-22 14:42:06 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-24 04:06:00 +0000

    games-simulation/openttd: update to 12.0
    
    Migrated to EAPI=8, updated dependencies, fixed bugs.
    Regarding #807364, there will be always unused CMAKE_DISABLE_FIND_PACKAGE_SDL
    warning since it will be used when USE="allegro -sdl", other unused
    variables are fixed.
    
    Closes: https://bugs.gentoo.org/807364
    Closes: https://bugs.gentoo.org/810538
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 games-simulation/openttd/Manifest            |   1 +
 games-simulation/openttd/openttd-12.0.ebuild | 104 +++++++++++++++++++++++++++
 2 files changed, 105 insertions(+)