Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874390 - app-accessibility/nfbtrans-7.74-r2 - nfbtrans.c: error: call to undeclared function strnset; ISO C99 and
Summary: app-accessibility/nfbtrans-7.74-r2 - nfbtrans.c: error: call to undeclared fu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
: 881861 882149 (view as bug list)
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-03 07:54 UTC by Toralf Förster
Modified: 2023-05-11 01:21 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.50 KB, text/plain)
2022-10-03 07:54 UTC, Toralf Förster
Details
app-accessibility:nfbtrans-7.74-r2:20221002-223532.log (app-accessibility:nfbtrans-7.74-r2:20221002-223532.log,11.15 KB, text/plain)
2022-10-03 07:54 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,57.01 KB, text/plain)
2022-10-03 07:54 UTC, Toralf Förster
Details
environment (environment,61.25 KB, text/plain)
2022-10-03 07:54 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,29.20 KB, application/x-bzip)
2022-10-03 07:54 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,3.24 KB, application/x-bzip)
2022-10-03 07:54 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-10-03 07:54:19 UTC
      deprecated in all versions of C and is not supported in C2x
      [-Wdeprecated-non-prototype]
void delay_unix(period)
     ^
nfbtrans.c:698:9: error: call to undeclared function 'strnset'; ISO C99 and
      later do not support implicit function declarations
      [-Werror,-Wimplicit-function-declaration]

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.1
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1 *
GNU Make 4.3

  HEAD of ::gentoo
commit e8e29df7377eeab512ce76c90af9d3b810edc07f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Oct 2 21:17:02 2022 +0000

    2022-10-02 21:17:02 UTC

emerge -qpvO app-accessibility/nfbtrans
[ebuild  N    ] app-accessibility/nfbtrans-7.74-r2
Comment 1 Toralf Förster gentoo-dev 2022-10-03 07:54:20 UTC
Created attachment 816295 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-03 07:54:21 UTC
Created attachment 816298 [details]
app-accessibility:nfbtrans-7.74-r2:20221002-223532.log
Comment 3 Toralf Förster gentoo-dev 2022-10-03 07:54:22 UTC
Created attachment 816301 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-03 07:54:23 UTC
Created attachment 816304 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-03 07:54:25 UTC
Created attachment 816307 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-03 07:54:25 UTC
Created attachment 816310 [details]
logs.tar.bz2
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-19 08:08:40 UTC
*** Bug 881861 has been marked as a duplicate of this bug. ***
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-20 21:43:38 UTC
*** Bug 882149 has been marked as a duplicate of this bug. ***
Comment 9 Larry the Git Cow gentoo-dev 2023-05-11 01:21:50 UTC
The bug has been closed via the following commit(s):

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

commit 1e312126df0b0debe1e16baf40d210c0377df4fb
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-05-11 00:36:32 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-11 00:36:32 +0000

    app-accessibility/nfbtrans: fix modern C issues
    
    Closes: https://bugs.gentoo.org/874390
    Signed-off-by: Sam James <sam@gentoo.org>

 .../nfbtrans/files/nfbtrans-7.74-modern-c.patch    | 98 ++++++++++++++++++++++
 app-accessibility/nfbtrans/nfbtrans-7.74-r3.ebuild | 49 +++++++++++
 2 files changed, 147 insertions(+)