Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935322 - gui-wm/hyprland-0.41.2[-X] - [perl-5.40] [icu-75.1] [gcc-15] ../.../XWayland.hpp: error: HYPRATOM was not declared in this scope
Summary: gui-wm/hyprland-0.41.2[-X] - [perl-5.40] [icu-75.1] [gcc-15] ../.../XWayland....
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Julien
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-02 07:06 UTC by Toralf Förster
Modified: 2024-07-02 07:44 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,23.00 KB, text/plain)
2024-07-02 07:06 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,75.21 KB, application/x-xz)
2024-07-02 07:06 UTC, Toralf Förster
Details
environment (environment,125.12 KB, text/plain)
2024-07-02 07:06 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-07-02 07:06 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,34.00 KB, application/x-xz)
2024-07-02 07:06 UTC, Toralf Förster
Details
gui-wm:hyprland-0.41.2:20240702-010707.log.xz (gui-wm:hyprland-0.41.2:20240702-010707.log.xz,20.43 KB, application/x-xz)
2024-07-02 07:06 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,82.84 KB, application/x-xz)
2024-07-02 07:06 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,27.98 KB, application/x-xz)
2024-07-02 07:06 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 2024-07-02 07:06:34 UTC
too long lines were shrinked:

[572/586] x86_64-pc-linux-gnu-g++ -Isrc/Hyprland.p -Isrc -I../hyprland-source/src -Isubprojects/wlroots-hyprland/include -I../hyprland-source/subprojects/wlroots-hyprland/include -Isubprojects/udis86 -I../hyprland-source/subprojects/udis86 -I../hyprland-source/subprojects/udis86/libudis86 -Isubproje
[573/586] x86_64-pc-linux-gnu-g++ -Isrc/Hyprland.p -Isrc -I../hyprland-source/src -Isubprojects/wlroots-hyprland/include -I../hyprland-source/subprojects/wlroots-hyprland/include -Isubprojects/udis86 -I../hyprland-source/subprojects/udis86 -I../hyprland-source/subprojects/udis86/libudis86 -Isubproje
[574/586] x86_64-pc-linux-gnu-g++ -Isrc/Hyprland.p -Isrc -I../hyprland-source/src -Isubprojects/wlroots-hyprland/include -I../hyprland-source/subprojects/wlroots-hyprland/include -Isubprojects/udis86 -I../hyprland-source/subprojects/udis86 -I../hyprland-source/subprojects/udis86/libudis86 -Isubproje
FAILED: src/Hyprland.p/xwayland_XSurface.cpp.o 
x86_64-pc-linux-gnu-g++ -Isrc/Hyprland.p -Isrc -I../hyprland-source/src -Isubprojects/wlroots-hyprland/include -I../hyprland-source/subprojects/wlroots-hyprland/include -Isubprojects/udis86 -I../hyprland-source/subprojects/udis86 -I../hyprland-source/subprojects/udis86/libudis86 -Isubprojects/udis86
In file included from ../hyprland-source/src/xwayland/XSurface.cpp:2:
../hyprland-source/src/xwayland/XWayland.hpp:36:5: error: HYPRATOM was not declared in this scope
   36 |     HYPRATOM("_NET_SUPPORTED"),
      |     ^~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0-20240625-104003

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  ~dev-libs/icu-75.1
  ~dev-libs/icu-layoutex-75.1
    Requested by sam
  ~dev-lang/perl-5.40.0
  ~virtual/perl-Archive-Tar-3.20.10_rc
  ~virtual/perl-CPAN-Meta-Requirements-2.143.0
  ~virtual/perl-Compress-Raw-Bzip2-2.212.0
  ~virtual/perl-DB_File-1.859.0
  ~virtual/perl-Data-Dumper-2.189.0
  ~virtual/perl-Devel-PPPort-3.720.0
  ~virtual/perl-Exporter-5.780.0
  ~virtual/perl-ExtUtils-CBuilder-0.280.240
  ~virtual/perl-ExtUtils-Manifest-1.750.0
  ~virtual/perl-File-Spec-3.900.0
  ~virtual/perl-HTTP-Tiny-0.88.0
  ~virtual/perl-IO-1.550.0
  ~virtual/perl-IO-Compress-2.212.0
  ~virtual/perl-IO-Socket-IP-0.420.0
  ~virtual/perl-IO-Zlib-1.150.0
  ~virtual/perl-Math-BigInt-2.3.2
  ~virtual/perl-Math-BigInt-FastCalc-0.501.800
  ~virtual/perl-Math-BigRat-2.3.2
  ~virtual/perl-Module-CoreList-5.202.406.90
  ~virtual/perl-Module-Metadata-1.0.38
  ~virtual/perl-Pod-Simple-3.450.0
  ~virtual/perl-Safe-2.460.0
  ~virtual/perl-Socket-2.38.0
  ~virtual/perl-Test-Harness-3.480.0
  ~virtual/perl-Test-Simple-1.302.199
  ~virtual/perl-Text-Tabs+Wrap-2024.1.0
  ~virtual/perl-Time-HiRes-1.977.700
  ~virtual/perl-Time-Local-1.350.0
  ~virtual/perl-autodie-2.370.0
  ~virtual/perl-bignum-0.670.0
  ~virtual/perl-podlators-5.10.200_rc
  ~virtual/perl-threads-2.400.0
  ~virtual/perl-threads-shared-1.690.0
  ~virtual/perl-version-0.993.0
    Requested by dilfridge and sam

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 18.1.8
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.8
Python 3.12.4
Available Rust versions:
  [1]   rust-bin-1.79.0
  [2]   rust-1.79.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.23_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.11_p9 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.412_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.4 linux/amd64

  HEAD of ::gentoo
commit 6871287bed28eba3d17577ac48686bf1b40c672c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Jul 2 00:19:04 2024 +0000

    2024-07-02 00:19:03 UTC

emerge -qpvO gui-wm/hyprland
Comment 1 Toralf Förster gentoo-dev 2024-07-02 07:06:35 UTC
Created attachment 896757 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-07-02 07:06:36 UTC
Created attachment 896758 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-07-02 07:06:38 UTC
Created attachment 896759 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-07-02 07:06:38 UTC
Created attachment 896760 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-07-02 07:06:39 UTC
Created attachment 896761 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-07-02 07:06:40 UTC
Created attachment 896762 [details]
gui-wm:hyprland-0.41.2:20240702-010707.log.xz
Comment 7 Toralf Förster gentoo-dev 2024-07-02 07:06:41 UTC
Created attachment 896763 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-07-02 07:06:42 UTC
Created attachment 896764 [details]
temp.tar.xz
Comment 9 Alfred Wingate 2024-07-02 07:44:25 UTC
https://github.com/hyprwm/Hyprland/commit/fa022901cf2c9acdae9e9a24a68b9148d44f8627
https://github.com/hyprwm/Hyprland/pull/6620#issuecomment-2183336876

Previously this was declared in the file now its supposed come from src/xwayland/XWM.hpp -> src/macros.hpp, which is guarded by NO_XWAYLAND leading to build failure when its built with -X.

The fact that xwayland bits are compiled with -X is not unexpected behavior.
https://github.com/hyprwm/Hyprland/issues/178#issuecomment-1152140205