Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874927 - x11-plugins/wmstickynotes-0.7 - wmstickynotes.c: error: call to undeclared function asprintf; ISO C99
Summary: x11-plugins/wmstickynotes-0.7 - wmstickynotes.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: 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-10-04 16:26 UTC by Toralf Förster
Modified: 2022-11-21 00:38 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.12 KB, text/plain)
2022-10-04 16:26 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,1.97 KB, application/x-bzip)
2022-10-04 16:26 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,75.57 KB, text/plain)
2022-10-04 16:26 UTC, Toralf Förster
Details
environment (environment,26.42 KB, text/plain)
2022-10-04 16:26 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,12.37 KB, application/x-bzip)
2022-10-04 16:26 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.98 KB, application/x-bzip)
2022-10-04 16:26 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,11.93 KB, application/x-bzip)
2022-10-04 16:26 UTC, Toralf Förster
Details
x11-plugins:wmstickynotes-0.7:20221004-003115.log (x11-plugins:wmstickynotes-0.7:20221004-003115.log,9.65 KB, text/plain)
2022-10-04 16:26 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-04 16:26:29 UTC
      C99 and later do not support implicit int [-Werror,-Wimplicit-int]
const num_color_schemes = 8;
~~~~~ ^
int
wmstickynotes.c:208:3: error: call to undeclared function 'asprintf'; 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_desktop_gnome_systemd-j4-20221003-130005

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

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 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

  HEAD of ::gentoo
commit 0ce3a88a2523c3faf802b73c24ce4412bd79f4df
Merge: b71fa0a03e30 cd796d1da6f6
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Oct 3 23:17:29 2022 +0000

    Merge updates from master

emerge -qpvO x11-plugins/wmstickynotes
[ebuild  N    ] x11-plugins/wmstickynotes-0.7
Comment 1 Toralf Förster gentoo-dev 2022-10-04 16:26:30 UTC
Created attachment 818740 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-04 16:26:32 UTC
Created attachment 818743 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-10-04 16:26:33 UTC
Created attachment 818746 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-04 16:26:34 UTC
Created attachment 818749 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-04 16:26:35 UTC
Created attachment 818752 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-04 16:26:36 UTC
Created attachment 818755 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-04 16:26:37 UTC
Created attachment 818758 [details]
temp.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-10-04 16:26:38 UTC
Created attachment 818761 [details]
x11-plugins:wmstickynotes-0.7:20221004-003115.log
Comment 9 Larry the Git Cow gentoo-dev 2022-11-21 00:38:18 UTC
The bug has been closed via the following commit(s):

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

commit c33f16b0f0cb13ea27db76be99d779af4431a89d
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-11-21 00:35:14 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-11-21 00:37:24 +0000

    x11-plugins/wmstickynotes: fix build w/ upcoming clang16
    
    Also set bit more explicit deps while revbumping.
    
    Closes: https://bugs.gentoo.org/874927
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 .../files/wmstickynotes-0.7-clang16.patch           |  8 ++++++++
 ...notes-0.7.ebuild => wmstickynotes-0.7-r1.ebuild} | 21 +++++++++++++++++++--
 2 files changed, 27 insertions(+), 2 deletions(-)