Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 835489 - x11-libs/vte-0.66.2 - ../.../widget.cc: error: W_EXITCODE was not declared in this scope
Summary: x11-libs/vte-0.66.2 - ../.../widget.cc: error: W_EXITCODE was not declared in...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2022-03-17 08:08 UTC by Toralf Förster
Modified: 2022-04-25 17:41 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.08 KB, text/plain)
2022-03-17 08:08 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,123.04 KB, text/plain)
2022-03-17 08:08 UTC, Toralf Förster
Details
environment (environment,111.90 KB, text/plain)
2022-03-17 08:08 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,11.47 KB, application/x-bzip)
2022-03-17 08:08 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,10.28 KB, application/x-bzip)
2022-03-17 08:08 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,34.43 KB, application/x-bzip)
2022-03-17 08:08 UTC, Toralf Förster
Details
x11-libs:vte-0.66.2:20220316-225520.log (x11-libs:vte-0.66.2:20220316-225520.log,115.53 KB, text/plain)
2022-03-17 08:08 UTC, Toralf Förster
Details
workaround for w_exitcode for musl (vte-0.62.3-musl-remove-W_EXITCODE.patch,831 bytes, patch)
2022-03-18 13:48 UTC, Jory A. Pratt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-03-17 08:08:40 UTC
too long lines were shrinked:

[164/204] x86_64-gentoo-linux-musl-g++ -Isrc/libvte-2.91.so.0.6600.2.p -Isrc -I../vte-0.66.2/src -I. -I../vte-0.66.2 -Isrc/vte -I../vte-0.66.2/src/vte -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -
FAILED: src/libvte-2.91.so.0.6600.2.p/widget.cc.o 
x86_64-gentoo-linux-musl-g++ -Isrc/libvte-2.91.so.0.6600.2.p -Isrc -I../vte-0.66.2/src -I. -I../vte-0.66.2 -Isrc/vte -I../vte-0.66.2/src/vte -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/incl
../vte-0.66.2/src/widget.cc: In member function 'void vte::platform::Widget::dispose()':
../vte-0.66.2/src/widget.cc:726:30: error: 'W_EXITCODE' was not declared in this scope; did you mean 'WEXITED'?
  726 |                 int status = W_EXITCODE(0, SIGKILL);
      |                              ^~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-j4-20220315-220013

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.1 *
clang/llvm (if any):
clang version 13.0.1
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.1
Python 3.9.11
Available Ruby profiles:
  [1]   ruby26
  [2]   ruby27 *
Available Rust versions:
  [1]   rust-1.59.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11]
Available Java Virtual Machines:
  [1]   openjdk-bin-11  system-vm

php cli:
  [1]   php7.4 *
  [2]   php8.0
  [3]   php8.1

  HEAD of ::gentoo
commit a1723dc6937fe586c89cf9ef74c546dd5fb0ccce
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Mar 16 21:49:56 2022 +0000

    2022-03-16 21:49:46 UTC

emerge -qpvO x11-libs/vte
[ebuild  N    ] x11-libs/vte-0.66.2  USE="crypt icu introspection vala -debug -gtk-doc (-systemd) -vanilla"
Comment 1 Toralf Förster gentoo-dev 2022-03-17 08:08:41 UTC
Created attachment 767230 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-03-17 08:08:43 UTC
Created attachment 767231 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-03-17 08:08:44 UTC
Created attachment 767232 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-03-17 08:08:48 UTC
Created attachment 767233 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-03-17 08:08:49 UTC
Created attachment 767234 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-03-17 08:08:50 UTC
Created attachment 767235 [details]
temp.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-03-17 08:08:52 UTC
Created attachment 767236 [details]
x11-libs:vte-0.66.2:20220316-225520.log
Comment 8 Jory A. Pratt gentoo-dev 2022-03-18 13:48:38 UTC
Created attachment 767310 [details, diff]
workaround for w_exitcode for musl
Comment 9 Larry the Git Cow gentoo-dev 2022-04-22 00:46:26 UTC
The bug has been closed via the following commit(s):

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

commit c44771d1fa957cd2f04b42d79f900205575f0faa
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-04-22 00:46:05 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-04-22 00:46:05 +0000

    x11-libs/vte: fix musl build
    
    Closes: https://bugs.gentoo.org/835489
    Closes: https://bugs.gentoo.org/554416
    Thanks-to: Jory A. Pratt <anarchy@gentoo.org>
    Signed-off-by: Sam James <sam@gentoo.org>

 .../vte/files/vte-0.66.2-musl-W_EXITCODE.patch     | 29 ++++++++++++++++++++++
 x11-libs/vte/vte-0.66.2.ebuild                     |  2 ++
 x11-libs/vte/vte-0.68.0.ebuild                     |  2 ++
 3 files changed, 33 insertions(+)