clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -I. -c -o io.o io.c clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -I. -c -o compute.o compute.c clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -I. -c -o dual.o dual.c clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -I. -c -o utils.o utils.c io.c:21:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] input_dataset(filename) ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib_hardened-j4-20221002-132844 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.2.0 * clang/llvm (if any): clang version 15.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin /usr/lib/llvm/15 15.0.1 Python 3.10.7 Available Ruby profiles: [1] ruby27 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.64.0 * The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): [1] php7.4 [2] php8.0 [3] php8.1 * GNU Make 4.3 HEAD of ::gentoo commit e89f3623ec9bc8d116dd4e75e08b0f0b5ef2cdbf Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Oct 3 01:02:05 2022 +0000 2022-10-03 01:02:04 UTC emerge -qpvO sci-chemistry/surf [ebuild N ] sci-chemistry/surf-1.0
Created attachment 816979 [details] emerge-info.txt
Created attachment 816982 [details] emerge-history.txt
Created attachment 816985 [details] environment
Created attachment 816988 [details] etc.portage.tar.bz2
Created attachment 816991 [details] logs.tar.bz2
Created attachment 816994 [details] sci-chemistry:surf-1.0:20221003-020730.log
Fair amount to fix (lacking declarations for nearly all its functions, many lack ints, return types need to be checked, K&R, and likely goes on), I don't think it's worth spending time here (not that the source is very big so it wouldn't be /that/ bad). Upstream is gone and don't think(?) anyone else package this, likely a last rites candidate.
(In reply to Ionen Wolkens from comment #7) > Upstream is gone and don't think(?) anyone else package this, likely a last > rites candidate. Then again, just noticed it has a revdep (molden).. which doesn't seem to actually use this? It has a bundled surf but it's also not built.
(In reply to Ionen Wolkens from comment #8) > (In reply to Ionen Wolkens from comment #7) > > Upstream is gone and don't think(?) anyone else package this, likely a last > > rites candidate. > Then again, just noticed it has a revdep (molden).. which doesn't seem to > actually use this? It has a bundled surf but it's also not built. Ah nevermind, I see it: src/xwin.c: execlp(cmdfil,"surf","-W","1",tmpf,NULL);
source code of that "surf" program is bundled with molden, but the ebuild does not compile it in favour of the standalone sci-chemistry/surf. OTOH, compiling molden even in most recent version 7.1 throws many ...implicit... warnings in the non-surf part.
sci-chemistry/surf is a running dependency of sci-chemistry/vmd and with the recent stabilization of gcc-14 this prevents me from emerging it. I've never personally used it, but this appears to be used for a visualization method in the VMD software [1]. The documentation also mentions two alternative and faster ways to render surfaces, so one solution could be to simply remove sci-chemistry/surf from the running dependencies of VMD. As I didn't want to mess with the ebuilds, I made this compile by temporarily appending "-fpermissive" to my compile flags. [1] http://www.ks.uiuc.edu/Research/vmd/current/ug/node74.html