Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 582306 - [gnome-overlay] gnome-base/gdm-3.20.1 [-wayland]: Package 'wayland-client', required by 'gdk-3.0', not found
Summary: [gnome-overlay] gnome-base/gdm-3.20.1 [-wayland]: Package 'wayland-client', r...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gnome-3.20
  Show dependency tree
 
Reported: 2016-05-06 19:48 UTC by Kobboi
Modified: 2016-07-09 12:14 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kobboi 2016-05-06 19:48:24 UTC
Trying to move from USE=wayland to USe=-wayland, gdm-3.20.1 fails to compile

 sudo emerge -1av gdm

These are the packages that would be merged, in order:

Calculating dependencies   * waiting for lock on /var/db/.pkg.portage_lockfile ...                                 [ ok ]
... done!
[ebuild   R    ] gnome-base/gdm-3.20.1::gnome  USE="introspection ipv6 tcpd -accessibility -audit -branding -debug -fprint -plymouth (-selinux) -smartcard {-test} -wayland* -xinerama" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] y

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) gnome-base/gdm-3.20.1::gnome
 * gdm-3.20.1.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...                                [ ok ]
>>> Unpacking source...
>>> Unpacking gdm-3.20.1.tar.xz to /var/tmp/portage/gnome-base/gdm-3.20.1/work
>>> Source unpacked in /var/tmp/portage/gnome-base/gdm-3.20.1/work
>>> Preparing source in /var/tmp/portage/gnome-base/gdm-3.20.1/work/gdm-3.20.1 ...
 * Applying gdm-2.32.0-xinitrc-ssh-agent.patch ...                                       [ ok ]
 * Applying gdm-3.8.4-fingerprint-auth.patch ...                                         [ ok ]
 * Running eautoreconf in '/var/tmp/portage/gnome-base/gdm-3.20.1/work/gdm-3.20.1' ...
 * Running intltoolize --automake --copy --force ...                                     [ ok ]
 * Running libtoolize --install --copy --force --automake ...                            [ ok ]
 * Running aclocal -I m4 ...                                                             [ ok ]
 * Running autoconf --force ...                                                          [ ok ]
 * Running autoheader ...                                                                [ ok ]
 * Running automake --add-missing --copy --force-missing ...                             [ ok ]
 * Running elibtoolize in: gdm-3.20.1/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.3 patch ...
 * Fixing OMF Makefiles ...                                                              [ ok ]
 * Disabling deprecation warnings ...                                                    [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/gnome-base/gdm-3.20.1/work/gdm-3.20.1 ...
 * econf: updating gdm-3.20.1/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating gdm-3.20.1/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --libdir=/usr/lib64 --disable-maintainer-mode --disable-schemas-compile --enable-compile-warnings=minimum --docdir=/usr/share/doc/gdm-3.20.1 --enable-gdm-xsession --with-run-dir=/run/gdm --localstatedir=/var --disable-static --with-xdmcp=yes --enable-authentication-scheme=pam --with-default-pam-config=exherbo --with-at-spi-registryd-directory=/usr/libexec --without-xevie --enable-systemd-journal --without-libaudit --enable-ipv6 --without-plymouth --without-selinux --with-systemdsystemunitdir=/usr/lib/systemd/system --with-tcp-wrappers --disable-wayland-support --without-xinerama --with-initial-vt=7
configure: loading site script /usr/share/config.site
checking for a BSD-compatible install... /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '250' is supported by ustar format... yes
checking whether GID '250' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for ANSI C header files... (cached) yes
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of x86_64-pc-linux-gnu-g++... none
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B
checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for archiver @FILE support... @
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for x86_64-pc-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for ANSI C header files... (cached) yes
checking for itstool... itstool
checking for xmllint... xmllint
checking whether NLS is requested... yes
checking for intltool >= 0.40.0... 0.51.0 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.22.2
checking for XML::Parser... ok
checking what warning flags to pass to the C compiler... -Wall
checking what language compliance flags to pass to the C compiler... 
checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTHREAD... yes
checking for COMMON... yes
checking for DAEMON... yes
checking for x86_64-pc-linux-gnu-pkg-config... (cached) /usr/bin/x86_64-pc-linux-gnu-pkg-config
checking pkg-config is at least version 0.16... yes
checking for X... libraries , headers 
checking for XLIB... yes
checking for GTK... no
configure: error: Package requirements (gtk+-3.0 >= 2.91.1
) were not met:

Package 'wayland-client', required by 'gdk-3.0', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GTK_CFLAGS
and GTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/gnome-base/gdm-3.20.1/work/gdm-3.20.1/config.log
 * ERROR: gnome-base/gdm-3.20.1::gnome failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  133:  Called src_configure
 *             environment, line 4313:  Called gnome2_src_configure '--enable-gdm-xsession' '--with-run-dir=/run/gdm' '--localstatedir=/var' '--disable-static' '--with-xdmcp=yes' '--enable-authentication-scheme=pam' '--with-default-pam-config=exherbo' '--with-at-spi-registryd-directory=/usr/libexec' '--without-xevie' '--enable-systemd-journal' '--without-libaudit' '--enable-ipv6' '--without-plymouth' '--without-selinux' '--with-systemdsystemunitdir=/usr/lib/systemd/system' '--with-tcp-wrappers' '--disable-wayland-support' '--without-xinerama' '--with-initial-vt=7'
 *             environment, line 3204:  Called econf '--disable-maintainer-mode' '--disable-schemas-compile' '--enable-compile-warnings=minimum' '--docdir=/usr/share/doc/gdm-3.20.1' '--enable-gdm-xsession' '--with-run-dir=/run/gdm' '--localstatedir=/var' '--disable-static' '--with-xdmcp=yes' '--enable-authentication-scheme=pam' '--with-default-pam-config=exherbo' '--with-at-spi-registryd-directory=/usr/libexec' '--without-xevie' '--enable-systemd-journal' '--without-libaudit' '--enable-ipv6' '--without-plymouth' '--without-selinux' '--with-systemdsystemunitdir=/usr/lib/systemd/system' '--with-tcp-wrappers' '--disable-wayland-support' '--without-xinerama' '--with-initial-vt=7'
 *        phase-helpers.sh, line  662:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  117:  Called die
 * The specific snippet of code:
 *   		die "$@"
 * 
 * If you need support, post the output of `emerge --info '=gnome-base/gdm-3.20.1::gnome'`,
 * the complete build log and the output of `emerge -pqv '=gnome-base/gdm-3.20.1::gnome'`.
 * The complete build log is located at '/var/tmp/portage/gnome-base/gdm-3.20.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/gnome-base/gdm-3.20.1/temp/environment'.
 * Working directory: '/var/tmp/portage/gnome-base/gdm-3.20.1/work/gdm-3.20.1'
 * S: '/var/tmp/portage/gnome-base/gdm-3.20.1/work/gdm-3.20.1'
Comment 1 Pacho Ramos gentoo-dev 2016-06-25 12:28:41 UTC
Please retry with the version from the tree... I have just built it without issues and I have no wayland package installed
Comment 2 Kobboi 2016-06-25 14:44:14 UTC
Sure, but it looks like you stopped porting 3.20 packages to the tree :)
Comment 3 Pacho Ramos gentoo-dev 2016-06-25 16:20:12 UTC
No, I am on it... but it takes hours as I need to break a bit from time to time ;) (there are really a lot of packages)
Comment 4 Mart Raudsepp gentoo-dev 2016-07-04 18:32:34 UTC
The error message points at your gtk having been built with wayland support (USE=wayland), and then you somehow managed to remove wayland package that provides wayland-client.pc despite that. As that seems unlikely, seems something wonky going on in gtk's pkgconfig files. In what state re wayland USE flag is your gtk+:3 at?