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

Bug 885563

Summary: x11-libs/startup-notification-0.12-r1 fails test - test-send-xmessage.c: error: incompatible pointer to integer conversion
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Freedesktop bugs <freedesktop-bugs>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest, TESTFAILURE
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/30898
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2
var.tmp.clang.tar.bz2
x11-libs:startup-notification-0.12-r1:20221212-064535.log

Description Toralf Förster gentoo-dev 2022-12-12 10:06:19 UTC
too long lines were shrinked:

make  test-launcher test-launchee test-monitor test-send-xmessage test-watch-xmessages test-send-xmessage-xcb test-monitor-xcb test-launchee-xcb test-launcher-xcb test-watch-xmessages-xcb
make[2]: Entering directory '/var/tmp/portage/x11-libs/startup-notification-0.12-r1/work/startup-notification-0.12/test'
clang -DHAVE_CONFIG_H -I. -I..  -I.. -DSN_API_NOT_YET_FROZEN=1    -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c test-launcher.c
clang -DHAVE_CONFIG_H -I. -I..  -I.. -DSN_API_NOT_YET_FROZEN=1    -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c test-launchee.c
clang -DHAVE_CONFIG_H -I. -I..  -I.. -DSN_API_NOT_YET_FROZEN=1    -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c test-monitor.c
clang -DHAVE_CONFIG_H -I. -I..  -I.. -DSN_API_NOT_YET_FROZEN=1    -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c test-send-xmessage.c
test-send-xmessage.c:60:35: error: incompatible pointer to integer conversion
      passing 'char *' to parameter of type 'xcb_atom_t' (aka 'unsigned int')
      [-Wint-conversion]

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-j4_test-20221211-060004

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.6
Python 3.10.9
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 11.0.17_p8 [openjdk-bin-11]
Available Java Virtual Machines:
  [1]   openjdk-bin-11  system-vm

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

  HEAD of ::gentoo
commit d78f1b7bdb13185b59962497aa425a14a882d7bd
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Dec 12 06:16:48 2022 +0000

    2022-12-12 06:16:48 UTC

emerge -qpvO x11-libs/startup-notification
[ebuild  N    ] x11-libs/startup-notification-0.12-r1
Comment 1 Toralf Förster gentoo-dev 2022-12-12 10:06:21 UTC
Created attachment 841851 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-12-12 10:06:22 UTC
Created attachment 841853 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-12-12 10:06:24 UTC
Created attachment 841855 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-12-12 10:06:25 UTC
Created attachment 841857 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-12-12 10:06:26 UTC
Created attachment 841859 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-12-12 10:06:27 UTC
Created attachment 841861 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-12-12 10:06:29 UTC
Created attachment 841863 [details]
temp.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-12-12 10:06:30 UTC
Created attachment 841865 [details]
var.tmp.clang.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2022-12-12 10:06:32 UTC
Created attachment 841867 [details]
x11-libs:startup-notification-0.12-r1:20221212-064535.log
Comment 10 Larry the Git Cow gentoo-dev 2024-03-22 17:45:19 UTC
The bug has been closed via the following commit(s):

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

commit abd2d7f90ba6418034f1ff39799ddc01ad29078e
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2024-03-22 17:44:18 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2024-03-22 17:45:15 +0000

    x11-libs/startup-notification: Don't build tests
    
    They're not executed anyway and that appears to be intentional (e.g.
    some require additional arguments).
    
    Closes: https://bugs.gentoo.org/885563
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 x11-libs/startup-notification/startup-notification-0.12-r2.ebuild | 4 ++++
 1 file changed, 4 insertions(+)