Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 919218

Summary: x11-plugins/wmcms-0.3.5-r4 - wmcms.c: error: implicit declaration of function strstr [-Wimplicit-function-declaration]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Bernard Cafarelli <voyageur>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt.xz
environment
etc.clang.tar.xz
etc.portage.tar.xz
qlist-info.txt.xz
temp.tar.xz
x11-plugins:wmcms-0.3.5-r4:20231204-100416.log

Description Toralf Förster gentoo-dev 2023-12-04 20:13:51 UTC
/usr/include/libdockapp/dockapp.h:286:66: note: expected short unsigned int * but argument is of type unsigned int *
  286 |                         unsigned short *width, unsigned short *height);
      |                                                ~~~~~~~~~~~~~~~~^~~~~~

wmcms.c: In function Get_Kernel_version:
wmcms.c:375:13: error: implicit declaration of function strstr [-Wimplicit-function-declaration]
  375 |         if (strstr(buf, "2.6.")) return IS_2_6;
      |             ^~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-20231127-140030

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  [1]   php8.1
  [2]   php8.2 *
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit f80a022aa25fd4fb8f90e26baf83e2261253e1ad
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Dec 4 09:36:54 2023 +0000

    2023-12-04 09:36:54 UTC

emerge -qpvO x11-plugins/wmcms
[ebuild  N    ] x11-plugins/wmcms-0.3.5-r4
Comment 1 Toralf Förster gentoo-dev 2023-12-04 20:13:52 UTC
Created attachment 877074 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-04 20:13:53 UTC
Created attachment 877075 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-04 20:13:54 UTC
Created attachment 877076 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-04 20:13:55 UTC
Created attachment 877077 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-04 20:13:56 UTC
Created attachment 877078 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-04 20:13:57 UTC
Created attachment 877079 [details]
qlist-info.txt.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-04 20:13:58 UTC
Created attachment 877080 [details]
temp.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-04 20:13:59 UTC
Created attachment 877081 [details]
x11-plugins:wmcms-0.3.5-r4:20231204-100416.log