Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 871072 - app-misc/splitvt-1.6.6-r3 - terminal.c: error: parameter numcols was not declared, defaults to
Summary: app-misc/splitvt-1.6.6-r3 - terminal.c: error: parameter numcols was not decl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-17 20:31 UTC by Toralf Förster
Modified: 2022-12-21 10:17 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.17 KB, text/plain)
2022-09-17 20:31 UTC, Toralf Förster
Details
app-misc:splitvt-1.6.6-r3:20220917-200029.log (app-misc:splitvt-1.6.6-r3:20220917-200029.log,80.80 KB, text/plain)
2022-09-17 20:31 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,1.22 KB, application/x-bzip)
2022-09-17 20:31 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,172.09 KB, text/plain)
2022-09-17 20:31 UTC, Toralf Förster
Details
environment (environment,57.60 KB, text/plain)
2022-09-17 20:31 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,10.09 KB, application/x-bzip)
2022-09-17 20:31 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,23.15 KB, application/x-bzip)
2022-09-17 20:31 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 20:31:16 UTC
      prototype in C2x, conflicting with a subsequent definition
      [-Wdeprecated-non-prototype]
extern void vt_keystate();      /* Set and reset application mode keys */
            ^
terminal.c:427:20: error: parameter 'numcols' was not declared, defaults to
      'int'; ISO C99 and later do not support implicit int
      [-Werror,-Wimplicit-int]

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

  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 cae144bf93fd795deac860e17b464cefe0130eee
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 17 18:46:59 2022 +0000

    2022-09-17 18:46:59 UTC

emerge -qpvO app-misc/splitvt
[ebuild  N    ] app-misc/splitvt-1.6.6-r3
Comment 1 Toralf Förster gentoo-dev 2022-09-17 20:31:18 UTC
Created attachment 809647 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-17 20:31:19 UTC
Created attachment 809650 [details]
app-misc:splitvt-1.6.6-r3:20220917-200029.log
Comment 3 Toralf Förster gentoo-dev 2022-09-17 20:31:20 UTC
Created attachment 809653 [details]
clang.tar.bz2
Comment 4 Toralf Förster gentoo-dev 2022-09-17 20:31:22 UTC
Created attachment 809656 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2022-09-17 20:31:23 UTC
Created attachment 809659 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2022-09-17 20:31:24 UTC
Created attachment 809662 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-17 20:31:25 UTC
Created attachment 809665 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-11-22 07:05:43 UTC
The bug has been closed via the following commit(s):

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

commit b821f8830d649f1f9fda4968551a676449d598e3
Author:     Pascal Jäger <pascal.jaeger@leimstift.de>
AuthorDate: 2022-11-02 14:30:31 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-11-22 06:57:39 +0000

    app-misc/splitvt: revbump, fix build with clang16, fix open bugs
    
    - Wrote a patch with modern C function definitions to make this work with clang16
    - sed in ebuild now uses | instead of : as delimiter
    - use ${ED} instead of ${D} now
    
    Closes: https://bugs.gentoo.org/871072
    Closes: https://bugs.gentoo.org/879639
    Closes: https://bugs.gentoo.org/710456
    Closes: https://bugs.gentoo.org/836040
    Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
    Closes: https://github.com/gentoo/gentoo/pull/28105
    Signed-off-by: Sam James <sam@gentoo.org>

 app-misc/splitvt/Manifest                |  1 +
 app-misc/splitvt/splitvt-1.6.6_p7.ebuild | 57 ++++++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+)