Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 875041 - sci-biology/unafold-3.8-r1 - energy.c: error: implicit declaration of function readOrDie [-Werror=implicit-function-declaration]
Summary: sci-biology/unafold-3.8-r1 - energy.c: error: implicit declaration of functio...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Biology related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-04 16:39 UTC by Toralf Förster
Modified: 2022-10-23 19:18 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.46 KB, text/plain)
2022-10-04 16:39 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,199.79 KB, text/plain)
2022-10-04 16:39 UTC, Toralf Förster
Details
environment (environment,80.57 KB, text/plain)
2022-10-04 16:39 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,20.70 KB, application/x-bzip)
2022-10-04 16:39 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,7.66 KB, application/x-bzip)
2022-10-04 16:39 UTC, Toralf Förster
Details
sci-biology:unafold-3.8-r1:20221004-070604.log (sci-biology:unafold-3.8-r1:20221004-070604.log,11.30 KB, text/plain)
2022-10-04 16:39 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,22.36 KB, application/x-bzip)
2022-10-04 16:39 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-04 16:39:09 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -DPKGDATADIR=\"/usr/share/unafold/\"   -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -O3 -c hybrid.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -DENERGY=int -DINTEGER -DPRECISION=1000 -DPKGDATADIR=\"/usr/share/unafold/\"   -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -O3 -c -o hybrid_min-energy.o `test -f 'energy.c' || echo './'`en
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -DENERGY=int -DINTEGER -DPRECISION=1000 -DPKGDATADIR=\"/usr/share/unafold/\"   -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -O3 -c -o hybrid_min-hybrid-min.o `test -f 'hybrid-min.c' || echo
energy.c: In function loadStack:
energy.c:118:15: error: implicit declaration of function readOrDie [-Werror=implicit-function-declaration]
  118 |               readOrDie(1, "stack", gFile, "%lf", &stackEnergies[i][j][ii][jj]);
      |               ^~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20221002-192609

  -------------------------------------------------------------------

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 following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	OpenJDK 17.0.5_p5 [openjdk-17]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
4)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-17 
  [3]   openjdk-bin-8 
  [4]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit 1c64bc8148d14b13ff467b49398ec9978f83850c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Oct 4 06:02:55 2022 +0000

    2022-10-04 06:02:54 UTC

emerge -qpvO sci-biology/unafold
[ebuild  N    ] sci-biology/unafold-3.8-r1  USE="-custom-cflags"
Comment 1 Toralf Förster gentoo-dev 2022-10-04 16:39:10 UTC
Created attachment 819505 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-04 16:39:12 UTC
Created attachment 819508 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-10-04 16:39:13 UTC
Created attachment 819511 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-04 16:39:14 UTC
Created attachment 819514 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-04 16:39:15 UTC
Created attachment 819517 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-04 16:39:16 UTC
Created attachment 819520 [details]
sci-biology:unafold-3.8-r1:20221004-070604.log
Comment 7 Toralf Förster gentoo-dev 2022-10-04 16:39:18 UTC
Created attachment 819523 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-10-23 19:18:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=347343bc74b8a7625265a9e5ecfa05fb6b37d664

commit 347343bc74b8a7625265a9e5ecfa05fb6b37d664
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2022-10-23 19:18:07 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2022-10-23 19:18:07 +0000

    sci-biology/unafold: fix clang 16 build
    
    Closes: https://bugs.gentoo.org/875041
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../unafold/files/unafold-3.8-autotools.patch      |  41 ++
 .../unafold/files/unafold-3.8-clang16.patch        | 775 +++++++++++++++++++++
 sci-biology/unafold/unafold-3.8-r1.ebuild          |  24 +-
 3 files changed, 831 insertions(+), 9 deletions(-)