Created attachment 580474 [details] config.log >>> Configuring source in /usr/src/portage/app-benchmarks/glmark2-2014.03/work/glmark2-2014.03 ... Setting top to : /usr/src/portage/app-benchmarks/glmark2-2014.03/work/glmark2-2014.03 Setting out to : /usr/src/portage/app-benchmarks/glmark2-2014.03/work/glmark2-2014.03/build Checking for 'gcc' (c compiler) : /usr/bin/gcc Checking for 'g++' (c++ compiler) : /usr/bin/g++ Checking for header stdlib.h : yes Checking for header string.h : yes Checking for header unistd.h : yes Checking for header stdint.h : yes Checking for header stdio.h : yes Checking for header jpeglib.h : yes Checking for library m : yes Checking for library jpeg : yes Checking for function memset : yes Checking for function sqrt : not found The configuration failed (complete log in /usr/src/portage/app-benchmarks/glmark2-2014.03/work/glmark2-2014.03/build/config.log) * ERROR: app-benchmarks/glmark2-2014.03::x11 failed (configure phase): * configure failed
Found related report in Arch Linux https://bbs.archlinux.org/viewtopic.php?id=212719
Created attachment 580476 [details] glmark2-2014.03 ebuild with the fix Just a couple of changes from the Arch Linux solution sed -i "/req_funcs/ s/,..sqrt.*\]/\]/" "${S}/wscript" # sqrt patch sed -i "s/-Werror//" "${S}/wscript"
Pull request in https://github.com/gentoo/x11/pull/2
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/x11.git/commit/?id=afbaafaa912dc09a19fee7ee28ef94c44a134a06 commit afbaafaa912dc09a19fee7ee28ef94c44a134a06 Author: Sandino Araico Sanchez <sandino@sandino.net> AuthorDate: 2019-06-23 00:20:32 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2019-06-24 21:08:58 +0000 app-benchmarks/glmark2: add patch to fix compile Compile fix copied from https://bbs.archlinux.org/viewtopic.php?id=212719 Closes: https://bugs.gentoo.org/688518 Closes: https://github.com/gentoo/x11/pull/2 Signed-off-by: Sandino Araico Sanchez <sandino@sandino.net> Signed-off-by: Matt Turner <mattst88@gentoo.org> app-benchmarks/glmark2/glmark2-2014.03.ebuild | 2 ++ 1 file changed, 2 insertions(+)
Thanks for the bug report and the pull request!