Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 688518 - [x11 overlay] app-benchmarks/glmark2-2014.03 sqrt configure fail
Summary: [x11 overlay] app-benchmarks/glmark2-2014.03 sqrt configure fail
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-23 00:10 UTC by Sandino Araico Sanchez
Modified: 2019-06-25 01:16 UTC (History)
0 users

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


Attachments
config.log (config.log,12.85 KB, text/x-log)
2019-06-23 00:10 UTC, Sandino Araico Sanchez
Details
glmark2-2014.03 ebuild with the fix (glmark2-2014.03-r1.ebuild,1.43 KB, text/plain)
2019-06-23 00:16 UTC, Sandino Araico Sanchez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sandino Araico Sanchez 2019-06-23 00:10:47 UTC
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
Comment 1 Sandino Araico Sanchez 2019-06-23 00:12:56 UTC
Found related report in Arch Linux https://bbs.archlinux.org/viewtopic.php?id=212719
Comment 2 Sandino Araico Sanchez 2019-06-23 00:16:22 UTC
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"
Comment 3 Sandino Araico Sanchez 2019-06-23 00:28:01 UTC
Pull request in https://github.com/gentoo/x11/pull/2
Comment 4 Larry the Git Cow gentoo-dev 2019-06-24 21:09:16 UTC
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(+)
Comment 5 Matt Turner gentoo-dev 2019-06-25 01:16:26 UTC
Thanks for the bug report and the pull request!