You are not logged in.
Since Arch's move to gcc 6, scid_vs_pc (https://aur.archlinux.org/packages/scid_vs_pc/) no longer builds:
CPLUS_INCLUDE_PATH=/usr/include:/usr/local/include g++ -fno-rtti -std=c++11 -O2 -fno-exceptions -Wall -I/usr/include -o src/pgnscid.o -c src/pgnscid.cpp
In file included from /usr/include/c++/6.1.1/ext/string_conversions.h:41:0,
from /usr/include/c++/6.1.1/bits/basic_string.h:5402,
from /usr/include/c++/6.1.1/string:52,
from src/pgnparse.h:30,
from src/pgnscid.cpp:23:
/usr/include/c++/6.1.1/cstdlib:75:25: fatal error: stdlib.h: No such file or directory
#include_next <stdlib.h>
^
compilation terminated.
Makefile:429: recipe for target 'src/pgnscid.o' failed
make: *** [src/pgnscid.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build scid_vs_pc.
I have contacted the scid_vs_pc developer about this, and he thinks this is an issue in Arch itself, not his software. Any help on how to fix this would be appreciated.
Last edited by Morn (2016-05-20 12:08:21)
Offline
this may not solve your issue but anyway..
I have tried both scid and scid_vs_pc previously, but recently found that pychess in official repos is as good for all I need. You may want to try that if you haven't yet. cheers.
Arch is home!
https://github.com/Docbroke
Offline
Scid (and Scid vs. PC) are chess databases (like a free ChessBase basically), so it's not the same as pychess... But thanks anyway. I certainly like all things Python. :-)
If nobody has a solution I could change the PKGBUILD to depend on gcc5 from the AUR, but that took hours to compile on my machine, so if possible I'd like to find a more efficient solution.
P.S. I went ahead and switched the PKGBUILD to gcc5 in 4.16-3, so if you would like to recreate the error message, check out 4.16-2.
Last edited by Morn (2016-05-20 11:11:31)
Offline
Afaik new GCC 6 trips if you manually pass /usr/include in the wrong order. What happens if you remove that obvious CPLUS_INCLUDE_PATH, and check the makefile/configure script for any -I /usr/include and subsequently remove them? Not on my arch would test that myself otherwise.
Offline
This is definitely an upstream problem. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129
Offline
Thanks, V1del, that solved the issue! I've created a patch for configure and now all is well again with gcc 6.
Offline