Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 692366 - app-text/pinfo-0.6.13 : utils.c:372:62: error: unused parameter completions [-Werror=unused-parameter]
Summary: app-text/pinfo-0.6.13 : utils.c:372:62: error: unused parameter completions [...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: werror
  Show dependency tree
 
Reported: 2019-08-17 15:01 UTC by Toralf Förster
Modified: 2020-08-19 13:57 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.57 KB, text/plain)
2019-08-17 15:01 UTC, Toralf Förster
Details
app-text:pinfo-0.6.13:20190817-143618.log (app-text:pinfo-0.6.13:20190817-143618.log,20.70 KB, text/plain)
2019-08-17 15:01 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,268.33 KB, text/plain)
2019-08-17 15:01 UTC, Toralf Förster
Details
environment (environment,78.38 KB, text/plain)
2019-08-17 15:01 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,21.44 KB, application/x-bzip)
2019-08-17 15:01 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,12.04 KB, application/x-bzip)
2019-08-17 15:02 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,26.30 KB, application/x-bzip)
2019-08-17 15:02 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 2019-08-17 15:01:45 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw  -D_XOPEN_SOURCE=600  -Wall -Wextra -Wshadow -Werror -DLOCALEDIR=\"/usr/share/locale\" -DCONFIGDIR=\"/etc/pinforc\" -O2 -pipe -march=native -D_BSD_SOURCE -D_DEFAULT_SOURCE  -D_XOPEN_SOURCE=600 -c -o pinfo-utils.o `test -f 'utils.c' || echo './'`utils.c
utils.c: In function ‘getstring_with_completion’:
utils.c:372:62: error: unused parameter ‘completions’ [-Werror=unused-parameter]
  372 | getstring_with_completion(char *prompt, const char * const * completions)
      |                                         ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
cc1: all warnings being treated as errors

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-libressl-20190812-092237

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
  [3]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.36.0 *



emerge -qpvO app-text/pinfo
[ebuild  N    ] app-text/pinfo-0.6.13  USE="nls -readline"
Comment 1 Toralf Förster gentoo-dev 2019-08-17 15:01:47 UTC
Created attachment 587174 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-08-17 15:01:50 UTC
Created attachment 587176 [details]
app-text:pinfo-0.6.13:20190817-143618.log
Comment 3 Toralf Förster gentoo-dev 2019-08-17 15:01:53 UTC
Created attachment 587178 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-08-17 15:01:56 UTC
Created attachment 587180 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-08-17 15:01:58 UTC
Created attachment 587182 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-08-17 15:02:01 UTC
Created attachment 587184 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-08-17 15:02:04 UTC
Created attachment 587186 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-08-19 13:57:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e2c5b910bf3067d91d357a68d5b7a185a7a32be

commit 0e2c5b910bf3067d91d357a68d5b7a185a7a32be
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-08-19 13:53:46 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-08-19 13:57:11 +0000

    app-text/pinfo: Filter out -Werror
    
    Package-Manager: Portage-3.0.3, Repoman-3.0.0
    Closes: https://bugs.gentoo.org/692366
    Closes: https://bugs.gentoo.org/722414
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 app-text/pinfo/pinfo-0.6.13.ebuild | 3 +++
 app-text/pinfo/pinfo-99999.ebuild  | 4 +++-
 2 files changed, 6 insertions(+), 1 deletion(-)