Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939082 - sci-astronomy/wcstools-3.9.5-r1 - [ncurses-6.5] [llvm] webread.c: error: redeclaration of gethostname must have the
Summary: sci-astronomy/wcstools-3.9.5-r1 - [ncurses-6.5] [llvm] webread.c: error: rede...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Astronomy project
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-09-04 19:09 UTC by Toralf Förster
Modified: 2025-04-12 20:54 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,22.64 KB, text/plain)
2024-09-04 19:09 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,85.29 KB, application/x-xz)
2024-09-04 19:09 UTC, Toralf Förster
Details
environment (environment,93.50 KB, text/plain)
2024-09-04 19:09 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.21 KB, application/x-xz)
2024-09-04 19:09 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,56.32 KB, application/x-xz)
2024-09-04 19:09 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,6.07 KB, application/x-xz)
2024-09-04 19:09 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,85.11 KB, application/x-xz)
2024-09-04 19:09 UTC, Toralf Förster
Details
sci-astronomy:wcstools-3.9.5-r1:20240904-185544.log (sci-astronomy:wcstools-3.9.5-r1:20240904-185544.log,145.10 KB, text/plain)
2024-09-04 19:09 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,273.62 KB, application/x-xz)
2024-09-04 19:09 UTC, Toralf Förster
Details
var.tmp.clang.tar.xz (var.tmp.clang.tar.xz,1.10 KB, application/x-xz)
2024-09-04 19:10 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 2024-09-04 19:09:49 UTC
webread.c:66:14: warning: a function declaration without a prototype is
      deprecated in all versions of C and is treated as a zero-parameter
      prototype in C23, conflicting with a subsequent definition
      [-Wdeprecated-non-prototype]
   66 | static FILE *SokOpen();
      |              ^
webread.c:930:16: error: redeclaration of 'gethostname' must have the
      'overloadable' attribute
  930 |     extern int gethostname();

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_llvm-20240825-084454

  UNMASKED:
    Requested by sam
  /etc/portage/package.unmask/50unstable:>=sys-libs/ncurses-6.5

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 18.1.8+libcxx
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.8+libcxx
Python 3.12.5
Available Rust versions:
  [1]   rust-bin-1.80.1
  [2]   rust-1.80.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.24_p8 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.23.0 linux/amd64

  HEAD of ::gentoo
commit 8d81393d5d03e57de697b0906cd3a9fe4cec40e6
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Sep 4 16:34:04 2024 +0000

    2024-09-04 16:34:03 UTC

emerge -qpvO =sci-astronomy/wcstools-3.9.5-r1
[ebuild  N    ] sci-astronomy/wcstools-3.9.5-r1
Comment 1 Toralf Förster gentoo-dev 2024-09-04 19:09:50 UTC
Created attachment 902092 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-09-04 19:09:51 UTC
Created attachment 902093 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-09-04 19:09:52 UTC
Created attachment 902094 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-09-04 19:09:53 UTC
Created attachment 902095 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-09-04 19:09:54 UTC
Created attachment 902096 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-09-04 19:09:55 UTC
Created attachment 902097 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-09-04 19:09:56 UTC
Created attachment 902098 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-09-04 19:09:57 UTC
Created attachment 902099 [details]
sci-astronomy:wcstools-3.9.5-r1:20240904-185544.log
Comment 9 Toralf Förster gentoo-dev 2024-09-04 19:09:59 UTC
Created attachment 902100 [details]
temp.tar.xz
Comment 10 Toralf Förster gentoo-dev 2024-09-04 19:10:00 UTC
Created attachment 902101 [details]
var.tmp.clang.tar.xz
Comment 11 Larry the Git Cow gentoo-dev 2025-04-12 20:54:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=716b5d97120a924ce994ad657c6ea51a2dda8bcb

commit 716b5d97120a924ce994ad657c6ea51a2dda8bcb
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2025-03-02 17:23:31 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-04-12 20:53:55 +0000

    sci-astronomy/wcstools: version bump to 3.9.7, limit C version to C17
    
    Too many K&R function definitions for normal fix.
    New version includes new tool, fixhead and removes some non-installable
    headers.
    
    Closes: https://bugs.gentoo.org/943830
    Closes: https://bugs.gentoo.org/939082
    Closes: https://bugs.gentoo.org/924305
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/40851
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-astronomy/wcstools/Manifest                    |  1 +
 sci-astronomy/wcstools/files/Makefile.3.9.7.am     | 74 +++++++++++++++++++++
 .../wcstools/files/Makefile.libwcs.3.9.7.am        | 16 +++++
 sci-astronomy/wcstools/wcstools-3.9.7.ebuild       | 76 ++++++++++++++++++++++
 4 files changed, 167 insertions(+)