Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832950 - dev-libs/weston-10.0.0[-desktop] - ../weston-10.0.0/tests/weston-test-client-helper.h:40:10: fatal error: weston-screenshooter-client-protocol.h: No such file or directory
Summary: dev-libs/weston-10.0.0[-desktop] - ../weston-10.0.0/tests/weston-test-client-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: James Le Cuirot
URL: https://gitlab.freedesktop.org/waylan...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-08 20:27 UTC by ernsteiswuerfel
Modified: 2022-02-08 23:44 UTC (History)
0 users

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


Attachments
build.log (weston-10.0.0:20220208-202130.log,113.16 KB, text/plain)
2022-02-08 20:27 UTC, ernsteiswuerfel
Details
emerge --info (file_832950.txt,6.08 KB, text/plain)
2022-02-08 20:28 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2022-02-08 20:27:45 UTC
Created attachment 764640 [details]
build.log

USE="desktop" seems a hard dependancy. I can't find any USE-flag combination to make it build without +desktop. Even minimal config with +X -desktop fails.

[...]
[175/273] powerpc-unknown-linux-gnu-gcc -Itests/libtest-client.a.p -Itests -I../weston-10.0.0/tests -I. -I../weston-10.0.0 -Iinclude -I../weston-10.0.0/include -Icompositor -I../weston-10.0.0/compositor -Iprotocol -I/usr/lib/libffi/include -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/libpng16 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -Wmissing-prototypes -Wno-unused-parameter -Wno-shift-negative-value -Wno-missing-field-initializers -Wno-pedantic -Wundef -fvisibility=hidden -O2 -mcpu=7450 -pipe -fPIC -MD -MQ tests/libtest-client.a.p/weston-test-client-helper.c.o -MF tests/libtest-client.a.p/weston-test-client-helper.c.o.d -o tests/libtest-client.a.p/weston-test-client-helper.c.o -c ../weston-10.0.0/tests/weston-test-client-helper.c
FAILED: tests/libtest-client.a.p/weston-test-client-helper.c.o 
powerpc-unknown-linux-gnu-gcc -Itests/libtest-client.a.p -Itests -I../weston-10.0.0/tests -I. -I../weston-10.0.0 -Iinclude -I../weston-10.0.0/include -Icompositor -I../weston-10.0.0/compositor -Iprotocol -I/usr/lib/libffi/include -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/libpng16 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -Wmissing-prototypes -Wno-unused-parameter -Wno-shift-negative-value -Wno-missing-field-initializers -Wno-pedantic -Wundef -fvisibility=hidden -O2 -mcpu=7450 -pipe -fPIC -MD -MQ tests/libtest-client.a.p/weston-test-client-helper.c.o -MF tests/libtest-client.a.p/weston-test-client-helper.c.o.d -o tests/libtest-client.a.p/weston-test-client-helper.c.o -c ../weston-10.0.0/tests/weston-test-client-helper.c
In file included from ../weston-10.0.0/tests/weston-test-client-helper.c:43:
../weston-10.0.0/tests/weston-test-client-helper.h:40:10: fatal error: weston-screenshooter-client-protocol.h: No such file or directory
   40 | #include "weston-screenshooter-client-protocol.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
 * ERROR: dev-libs/weston-10.0.0::gentoo failed (compile phase):
 *   compile failed
Comment 1 ernsteiswuerfel archtester 2022-02-08 20:28:19 UTC
Created attachment 764641 [details]
emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2022-02-08 23:00:50 UTC
The bug has been closed via the following commit(s):

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

commit 2487bf5db21890b5712ea7056f5a558a1af8e9bc
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2022-02-08 23:00:18 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2022-02-08 23:00:18 +0000

    dev-libs/weston: Use upstream patch to fix USE=-desktop on 10.0.0
    
    Closes: https://bugs.gentoo.org/832950
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 .../weston/files/weston-10.0.0-test-deps.patch     | 34 ++++++++++++++++++++++
 dev-libs/weston/weston-10.0.0.ebuild               |  1 +
 2 files changed, 35 insertions(+)
Comment 3 ernsteiswuerfel archtester 2022-02-08 23:44:07 UTC
Thanks!