Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 880385 - app-misc/bb-1.3.0_rc1-r5 - formulas.c: error: incompatible function pointer types initializing int
Summary: app-misc/bb-1.3.0_rc1-r5 - formulas.c: error: incompatible function pointer t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: ~arch only
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-11-08 10:24 UTC by Toralf Förster
Modified: 2024-10-28 19:43 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.08 KB, text/plain)
2022-11-08 10:24 UTC, Toralf Förster
Details
app-misc:bb-1.3.0_rc1-r5:20221108-093829.log (app-misc:bb-1.3.0_rc1-r5:20221108-093829.log,36.61 KB, text/plain)
2022-11-08 10:24 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,1.71 KB, application/x-bzip)
2022-11-08 10:24 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,30.55 KB, text/plain)
2022-11-08 10:24 UTC, Toralf Förster
Details
environment (environment,78.27 KB, text/plain)
2022-11-08 10:24 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,22.67 KB, application/x-bzip)
2022-11-08 10:24 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,10.38 KB, application/x-bzip)
2022-11-08 10:24 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,30.56 KB, application/x-bzip)
2022-11-08 10:24 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-11-08 10:24:28 UTC
too long lines were shrinked:

clang -DHAVE_CONFIG_H -I.     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include -D SOUNDDIR=\"/usr/share/bb\" -c -o kt2.o kt2.c
clang -DHAVE_CONFIG_H -I.     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include -D SOUNDDIR=\"/usr/share/bb\" -c -o textform.o textform.c
clang -DHAVE_CONFIG_H -I.     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include -D SOUNDDIR=\"/usr/share/bb\" -c -o kt3.o kt3.c
clang -DHAVE_CONFIG_H -I.     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include -D SOUNDDIR=\"/usr/share/bb\" -c -o formulas.o formulas.c
formulas.c:424:2: error: incompatible function pointer types initializing 'int
      (*)(number_t, number_t, number_t, number_t) __attribute__((regparm (3)))'
      (aka 'int (*)(double, double, double, double) __attribute__((regparm

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-j4-20221108-023017

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.4
Python 3.10.8
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The Glorious Glasgow Haskell Compilation System, version 8.10.6
php cli (if any):
GNU Make 4.4

  HEAD of ::gentoo
commit 5c62c228257b375a4680cb55f3573cbf3d80326c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Nov 8 09:01:56 2022 +0000

    2022-11-08 09:01:56 UTC

emerge -qpvO app-misc/bb
[ebuild  N    ] app-misc/bb-1.3.0_rc1-r5  USE="-mikmod"
Comment 1 Toralf Förster gentoo-dev 2022-11-08 10:24:29 UTC
Created attachment 829031 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-08 10:24:30 UTC
Created attachment 829033 [details]
app-misc:bb-1.3.0_rc1-r5:20221108-093829.log
Comment 3 Toralf Förster gentoo-dev 2022-11-08 10:24:31 UTC
Created attachment 829035 [details]
clang.tar.bz2
Comment 4 Toralf Förster gentoo-dev 2022-11-08 10:24:32 UTC
Created attachment 829037 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2022-11-08 10:24:34 UTC
Created attachment 829039 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2022-11-08 10:24:35 UTC
Created attachment 829041 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-08 10:24:37 UTC
Created attachment 829043 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-11-08 10:24:38 UTC
Created attachment 829045 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-11-15 02:22:18 UTC Comment hidden (obsolete)
Comment 10 Larry the Git Cow gentoo-dev 2022-11-22 07:05:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=996809c0e52057ec8e5f32dd1d9f8f9bea559c18

commit 996809c0e52057ec8e5f32dd1d9f8f9bea559c18
Author:     Pascal Jäger <pascal.jaeger@leimstift.de>
AuthorDate: 2022-11-11 21:59:27 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-11-22 06:48:42 +0000

    app-misc/bb: revbump, fix build for clang16 and lto
    
    Closes: https://bugs.gentoo.org/880385
    Closes: https://bugs.gentoo.org/854720
    Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
    Closes: https://github.com/gentoo/gentoo/pull/28233
    Signed-off-by: Sam James <sam@gentoo.org>

 ...-1.3.0_rc1-r5.ebuild => bb-1.3.0_rc1-r6.ebuild} |  7 +++-
 .../files/bb-1.3.0_rc1-fix-build-for-clang16.patch | 23 +++++++++++
 .../files/bb-1.3.0_rc1-fix-lto-type-mismatch.patch | 18 +++++++++
 .../bb-1.3.0_rc1-fix-return-type-and-QA.patch      | 47 ++++++++++++++++++++++
 4 files changed, 93 insertions(+), 2 deletions(-)