Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 880961 - media-libs/hamlib-4.4 - memsave.c: error: incompatible function pointer types passing int (RIG ,
Summary: media-libs/hamlib-4.4 - memsave.c: error: incompatible function pointer types...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Thomas Beierlein
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-11-11 12:30 UTC by Toralf Förster
Modified: 2022-11-17 07:09 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.12 KB, text/plain)
2022-11-11 12:30 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,157.82 KB, text/plain)
2022-11-11 12:30 UTC, Toralf Förster
Details
environment (environment,112.33 KB, text/plain)
2022-11-11 12:30 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,695 bytes, application/x-bzip)
2022-11-11 12:30 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,11.19 KB, application/x-bzip)
2022-11-11 12:30 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,16.36 KB, application/x-bzip)
2022-11-11 12:30 UTC, Toralf Förster
Details
media-libs:hamlib-4.4:20221111-114857.log.bz2 (media-libs:hamlib-4.4:20221111-114857.log.bz2,13.30 KB, application/x-bzip)
2022-11-11 12:30 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,46.26 KB, application/x-bzip)
2022-11-11 12:30 UTC, Toralf Förster
Details
var.tmp.clang.tar.bz2 (var.tmp.clang.tar.bz2,2.89 KB, application/x-bzip)
2022-11-11 12:30 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-11 12:30:40 UTC
too long lines were shrinked:

clang -DHAVE_CONFIG_H -I. -I../include  -DIN_HAMLIB -I../include -I../src -I../lib  -Wall -pthread -I../src -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o rigctld-rigctl_parse.o `test -f 'rigctl_parse.c' || echo '
clang -DHAVE_CONFIG_H -I. -I../include  -DIN_HAMLIB -I../include -I../src -I../lib  -Wall -pthread -I../src -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o rigctld-dumpcaps.o `test -f 'dumpcaps.c' || echo './'`dump
clang -DHAVE_CONFIG_H -I. -I../include  -DIN_HAMLIB -I../include -I../src -I../lib  -Wall -I/usr/include/libxml2  -I../src -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o rigmem-rigmem.o `test -f 'rigmem.c' || echo
clang -DHAVE_CONFIG_H -I. -I../include  -DIN_HAMLIB -I../include -I../src -I../lib  -Wall -I/usr/include/libxml2  -I../src -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o rigmem-memsave.o `test -f 'memsave.c' || ec
memsave.c:65:53: error: incompatible function pointer types passing 'int (RIG *,
      vfo_t, channel_t **, int, const chan_t *, void *)' (aka 'int (struct s_rig
      *, unsigned int, struct channel **, int, const struct chan_list *, void

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20221110-130010

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

CC=clang
CXX=clang++
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 Ruby profiles:
  [1]   ruby31 *
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 

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

  HEAD of ::gentoo
commit 69f0b7550ab587381bffca4687249bd3f505afdf
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Nov 11 10:16:50 2022 +0000

    2022-11-11 10:16:50 UTC

emerge -qpvO media-libs/hamlib
[ebuild  N    ] media-libs/hamlib-4.4  USE="-doc -perl -python -tcl" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9"
Comment 1 Toralf Förster gentoo-dev 2022-11-11 12:30:41 UTC
Created attachment 831233 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-11 12:30:43 UTC
Created attachment 831235 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-11-11 12:30:44 UTC
Created attachment 831237 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-11 12:30:45 UTC
Created attachment 831239 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-11 12:30:46 UTC
Created attachment 831241 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-11 12:30:47 UTC
Created attachment 831243 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-11 12:30:48 UTC
Created attachment 831245 [details]
media-libs:hamlib-4.4:20221111-114857.log.bz2
Comment 8 Toralf Förster gentoo-dev 2022-11-11 12:30:50 UTC
Created attachment 831247 [details]
temp.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2022-11-11 12:30:51 UTC
Created attachment 831249 [details]
var.tmp.clang.tar.bz2
Comment 10 Thomas Beierlein gentoo-dev 2022-11-14 17:33:45 UTC
Upstream informed (see https://github.com/Hamlib/Hamlib/issues/1149).
Let us wait a little bit for response.
Comment 11 Larry the Git Cow gentoo-dev 2022-11-17 07:09:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=573dae0ef553e180e7f5c85a333adce34237f59b

commit 573dae0ef553e180e7f5c85a333adce34237f59b
Author:     Thomas Beierlein <tomjbe@gentoo.org>
AuthorDate: 2022-11-17 07:06:09 +0000
Commit:     Thomas Beierlein <tomjbe@gentoo.org>
CommitDate: 2022-11-17 07:09:17 +0000

    media-libs/hamlib: fix CLANG warnings
    
    Backported from Hamlib repo i
    (see https://github.com/Hamlib/Hamlib/issues/1149)
    
    Closes: https://bugs.gentoo.org/880961
    Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>

 .../files/hamlib-4.4-fix-clang-warnings.patch      | 191 +++++++++++++++++++++
 media-libs/hamlib/hamlib-4.4.ebuild                |   1 +
 2 files changed, 192 insertions(+)