Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870952 - app-text/discount-2.2.7b - gethopt.c: error: parameter val was not declared, defaults to int; ISO
Summary: app-text/discount-2.2.7b - gethopt.c: error: parameter val was not declared, ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ben Kohler
URL: https://github.com/Orc/discount/pull/264
Whiteboard:
Keywords:
: 879641 (view as bug list)
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-17 19:23 UTC by Toralf Förster
Modified: 2023-01-30 13:37 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.17 KB, text/plain)
2022-09-17 19:23 UTC, Toralf Förster
Details
app-text:discount-2.2.7b:20220917-170518.log (app-text:discount-2.2.7b:20220917-170518.log,10.44 KB, text/plain)
2022-09-17 19:23 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,15.20 KB, application/x-bzip)
2022-09-17 19:23 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,165.68 KB, text/plain)
2022-09-17 19:23 UTC, Toralf Förster
Details
environment (environment,61.49 KB, text/plain)
2022-09-17 19:23 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,8.74 KB, application/x-bzip)
2022-09-17 19:23 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,2.03 KB, application/x-bzip)
2022-09-17 19:23 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,32.10 KB, application/x-bzip)
2022-09-17 19:23 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-09-17 19:23:33 UTC
      in all versions of C and is not supported in C2x
      [-Wdeprecated-non-prototype]
hoptopt(ctx)
^
gethopt.c:48:13: error: parameter 'val' was not declared, defaults to 'int'; ISO
      C99 and later do not support implicit int [-Werror,-Wimplicit-int]
hopterr(ctx,val)

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1 *
GNU Make 4.3.90

  HEAD of ::gentoo
commit 752b2865f9e19ca4280730410cfaec446f15f897
Merge: 27e349751fc0 db1f1763bde4
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 17 16:31:48 2022 +0000

    Merge updates from master

emerge -qpvO app-text/discount
[ebuild  N    ] app-text/discount-2.2.7b  USE="-minimal -test"
Comment 1 Toralf Förster gentoo-dev 2022-09-17 19:23:34 UTC
Created attachment 808762 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-17 19:23:35 UTC
Created attachment 808765 [details]
app-text:discount-2.2.7b:20220917-170518.log
Comment 3 Toralf Förster gentoo-dev 2022-09-17 19:23:36 UTC
Created attachment 808768 [details]
clang.tar.bz2
Comment 4 Toralf Förster gentoo-dev 2022-09-17 19:23:38 UTC
Created attachment 808771 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2022-09-17 19:23:39 UTC
Created attachment 808774 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2022-09-17 19:23:40 UTC
Created attachment 808777 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-17 19:23:41 UTC
Created attachment 808780 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-09-17 19:23:42 UTC
Created attachment 808783 [details]
temp.tar.bz2
Comment 9 David Seifert gentoo-dev 2022-12-03 20:55:29 UTC
*** Bug 879641 has been marked as a duplicate of this bug. ***
Comment 10 Pascal Jäger 2023-01-29 22:10:34 UTC
This is merged by upstream already, so we just wait for a new release he will make eventually. 
See: https://github.com/Orc/discount/commit/7afa5c62427d63177201a0f7d9254dfc6e3fca3f
Comment 11 Matt Jolly gentoo-dev 2023-01-29 23:40:45 UTC
(In reply to Pascal Jäger from comment #10)
> This is merged by upstream already, so we just wait for a new release he
> will make eventually. 
> See:
> https://github.com/Orc/discount/commit/
> 7afa5c62427d63177201a0f7d9254dfc6e3fca3f

Are you aware of an upcoming release scheduled imminently? Clang 16 went into RC today - if there's no new release we should apply this patch to an ebuild revbump.
Comment 12 Ben Kohler gentoo-dev 2023-01-30 13:37:15 UTC
A few different places in the git log, I see references to 2.2.7c, 3, and 3.0.0a versions, but nothing tagged.

I'll package a snapshot some time today.