Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 871489 - x11-libs/neXtaw-0.15.1-r3 - XawIm.c: error: call to undeclared function _XtCopyFromArg; ISO C99
Summary: x11-libs/neXtaw-0.15.1-r3 - XawIm.c: error: call to undeclared function _XtCo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-18 16:28 UTC by Toralf Förster
Modified: 2022-10-13 09:06 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.77 KB, text/plain)
2022-09-18 16:28 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,2.35 KB, application/x-bzip)
2022-09-18 16:28 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,189.97 KB, text/plain)
2022-09-18 16:28 UTC, Toralf Förster
Details
environment (environment,28.23 KB, text/plain)
2022-09-18 16:28 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,14.56 KB, application/x-bzip)
2022-09-18 16:28 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.44 KB, application/x-bzip)
2022-09-18 16:28 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,33.75 KB, application/x-bzip)
2022-09-18 16:28 UTC, Toralf Förster
Details
x11-libs:neXtaw-0.15.1-r3:20220918-161957.log.bz2 (x11-libs:neXtaw-0.15.1-r3:20220918-161957.log.bz2,23.07 KB, application/x-bzip)
2022-09-18 16:28 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-18 16:28:17 UTC
      deprecated in all versions of C and is not supported in C2x
      [-Wdeprecated-non-prototype]
static void UnsetICFocus(w, ve)
            ^
XawIm.c:1102:17: error: call to undeclared function '_XtCopyFromArg'; 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_hardened-j4-20220916-040004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-10.3.1
 [3] 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:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3.90

  HEAD of ::gentoo
commit 86a956236f795efeb2d0fa11443b295b56e4be57
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 18 15:46:46 2022 +0000

    2022-09-18 15:46:46 UTC

emerge -qpvO x11-libs/neXtaw
[ebuild  N    ] x11-libs/neXtaw-0.15.1-r3
Comment 1 Toralf Förster gentoo-dev 2022-09-18 16:28:18 UTC
Created attachment 811984 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-18 16:28:19 UTC
Created attachment 811987 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-09-18 16:28:22 UTC
Created attachment 811990 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-09-18 16:28:23 UTC
Created attachment 811993 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-18 16:28:24 UTC
Created attachment 811996 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-18 16:28:25 UTC
Created attachment 811999 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-18 16:28:26 UTC
Created attachment 812002 [details]
temp.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-09-18 16:28:27 UTC
Created attachment 812005 [details]
x11-libs:neXtaw-0.15.1-r3:20220918-161957.log.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-10-13 09:06:57 UTC
The bug has been closed via the following commit(s):

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

commit bd7aa280e36e37620e378c70aed1f0c04c80969e
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-10-13 08:11:05 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-10-13 09:06:07 +0000

    x11-libs/neXtaw: EAPI7->8, fix w/ clang16, -std=gnu89 + -fno-strict
    
    clang16 fixes regenerates some flex/yacc files so BDEPEND on them.
    
    Haven't looked for a proper fix wrt #864535, may be easy but
    passing -fno-strict-aliasing as better-than-nothing.
    
    Closes: https://bugs.gentoo.org/864535
    Closes: https://bugs.gentoo.org/871489
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 x11-libs/neXtaw/files/neXtaw-0.15.1-clang16.patch  | 27 ++++++++++++++++
 ...aw-0.15.1-r3.ebuild => neXtaw-0.15.1-r4.ebuild} | 37 +++++++++++++++-------
 2 files changed, 52 insertions(+), 12 deletions(-)