Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 882443 - sci-mathematics/jags: configure breakage with Clang 16 (uses outdated dev-lang/R R.m4 macro)
Summary: sci-mathematics/jags: configure breakage with Clang 16 (uses outdated dev-lan...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL: https://sourceforge.net/p/mcmc-jags/b...
Whiteboard:
Keywords:
: 898268 (view as bug list)
Depends on:
Blocks: 906027
  Show dependency tree
 
Reported: 2022-11-22 07:17 UTC by Sam James
Modified: 2023-05-09 13:16 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-22 07:17:11 UTC
Reported upstream at https://sourceforge.net/p/mcmc-jags/bugs/58/.

```
configure:21871: checking for working isfinite
configure:21893: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -Wreturn-type     -ggdb3 -Werror=implicit-function-declaration -Werror=implicit-int  -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,pack-relative-relocs conftest.c  >&5
conftest.c: In function 'main':
conftest.c:64:3: error: implicit declaration of function 'exit' [-Werror=implicit-function-declaration]
   64 |   exit(isfinite(1./0.) | isfinite(0./0.) | isfinite(-1./0.));
      |   ^~~~
conftest.c:62:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
   61 | #include "confdefs.h"
  +++ |+#include <stdlib.h>
   62 | int main () {
conftest.c:64:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
   64 |   exit(isfinite(1./0.) | isfinite(0./0.) | isfinite(-1./0.));
      |   ^~~~
conftest.c:64:3: note: include '<stdlib.h>' or provide a declaration of 'exit'
cc1: some warnings being treated as errors
configure:21893: $? = 1
configure: program exited with status 1
configure: failed program was:
```
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-28 23:47:39 UTC
*** Bug 898268 has been marked as a duplicate of this bug. ***