Bug 240032 - emulators/mame and emulators/mess fails build: GCC version 5.0 or later needed
Summary: emulators/mame and emulators/mess fails build: GCC version 5.0 or later needed
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-ports-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-22 06:01 UTC by Alastair Hogge
Modified: 2019-09-10 10:58 UTC (History)
1 user (show)

See Also:


Attachments
mame build log (311.29 KB, text/plain)
2019-08-22 06:01 UTC, Alastair Hogge
no flags Details
mess build log (311.30 KB, text/plain)
2019-08-22 06:02 UTC, Alastair Hogge
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alastair Hogge 2019-08-22 06:01:02 UTC
Both emulators/mame and emulators/mess are failing to build on a 13-CURRENT r351006 host with ports at r509577.
Comment 1 Alastair Hogge 2019-08-22 06:01:32 UTC
Created attachment 206778 [details]
mame build log
Comment 2 Alastair Hogge 2019-08-22 06:02:02 UTC
Created attachment 206779 [details]
mess build log
Comment 3 Alastair Hogge 2019-08-22 06:03:26 UTC
Some interesting snippets from the build log:

[...]
===========================================================================
=======================<phase: build          >============================
===>  Building for mess-0.209_1
gmake[1]: Entering directory '/wrkdirs/usr/ports/emulators/mess/work/mame-mame0209'
GCC 4.2.1 detected
makefile:1426: warning: overriding recipe for target 'build/projects/sdl/mamemess/gmake-freebsd-clang/Makefile'
makefile:1409: warning: ignoring old recipe for target 'build/projects/sdl/mamemess/gmake-freebsd-clang/Makefile'
makefile:1430: warning: overriding recipe for target 'freebsd_x64_clang'
makefile:1413: warning: ignoring old recipe for target 'freebsd_x64_clang'
makefile:1435: warning: overriding recipe for target 'freebsd_x86_clang'
makefile:1418: warning: ignoring old recipe for target 'freebsd_x86_clang'
gmake -R verbose=1 -C 3rdparty/genie/build/gmake.bsd -f genie.make

[...]

mkdir -p "build/generated/includes/SDL2"
cp -fR "3rdparty/SDL2/include"/* "build/generated/includes/SDL2"
3rdparty/genie/bin/bsd/genie --distro=generic --with-tools --OPTIMIZE=3 --OPT_FLAGS='-O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing  ' --NOWERROR='1' --target='mame' --subtarget='mess' --build-dir='build' --osd='sdl' --targetos='freebsd' --PLATFORM='unknown' --gcc=freebsd --gcc_version=4.2.1 gmake
GCC version 5.0 or later needed
gmake[1]: *** [makefile:1389: build/projects/sdl/mamemess/gmake-freebsd/Makefile] Error 255
gmake[1]: *** Waiting for unfinished jobs....
Linking m68kmake...
c++ -lstdc++ m68kmake.o -o m68kmake
Generating M68K source files...
./m68kmake . m68k_in.cpp

	Musashi v4.90 680x0, CPU32, and ColdFire emulator
	Copyright Karl Stenerud and the MAME team.

Generated 1972 opcode handlers from 523 primitives
gmake[2]: Leaving directory '/wrkdirs/usr/ports/emulators/mess/work/mame-mame0209/src/devices/cpu/m68000'
gmake[1]: Leaving directory '/wrkdirs/usr/ports/emulators/mess/work/mame-mame0209'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/emulators/mess
=>> Cleaning up wrkdir
===>  Cleaning for mess-0.209_1
build of emulators/mess | mess-0.209_1 ended at Thu Aug 22 05:58:06 UTC 2019
build time: 00:01:38
!!! build failure encountered !!!
Comment 4 Jan Beich freebsd_committer 2019-09-10 10:58:38 UTC
Builds fine on the package cluster. Try bisecting your environment i.e., create a new jail and gradually copy/remove stuff. poudriere build logs don't show src.conf and non-default options in dependencies.

http://www.ipv6proxy.net/go.php?u=http://beefy12.nyi.freebsd.org/data/head-amd64-default/p511388_s351963/logs/mame-0.209_1.log
http://www.ipv6proxy.net/go.php?u=http://beefy12.nyi.freebsd.org/data/head-amd64-default/p511388_s351963/logs/mess-0.209_1.log