Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874507 - sci-chemistry/surf-1.0 - io.c: error: type specifier missing, defaults to int; ISO C99 and later
Summary: sci-chemistry/surf-1.0 - io.c: error: type specifier missing, defaults to int...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Chemistry-Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-03 08:09 UTC by Toralf Förster
Modified: 2022-11-25 18:47 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.96 KB, text/plain)
2022-10-03 08:09 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,86.92 KB, text/plain)
2022-10-03 08:09 UTC, Toralf Förster
Details
environment (environment,60.88 KB, text/plain)
2022-10-03 08:09 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,29.50 KB, application/x-bzip)
2022-10-03 08:09 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,3.06 KB, application/x-bzip)
2022-10-03 08:09 UTC, Toralf Förster
Details
sci-chemistry:surf-1.0:20221003-020730.log (sci-chemistry:surf-1.0:20221003-020730.log,18.51 KB, text/plain)
2022-10-03 08:09 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-10-03 08:09:11 UTC
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
Comment 1 Toralf Förster gentoo-dev 2022-10-03 08:09:12 UTC
Created attachment 816979 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-03 08:09:14 UTC
Created attachment 816982 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-10-03 08:09:16 UTC
Created attachment 816985 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-03 08:09:17 UTC
Created attachment 816988 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-03 08:09:18 UTC
Created attachment 816991 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-03 08:09:19 UTC
Created attachment 816994 [details]
sci-chemistry:surf-1.0:20221003-020730.log
Comment 7 Ionen Wolkens gentoo-dev 2022-10-21 13:20:24 UTC
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.
Comment 8 Ionen Wolkens gentoo-dev 2022-10-21 14:14:05 UTC
(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.
Comment 9 Ionen Wolkens gentoo-dev 2022-10-21 14:20:22 UTC
(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);
Comment 10 hsk17 2022-11-25 18:47:49 UTC
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.