libtool: link: x86_64-pc-linux-gnu-gcc -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -g -fvisibility=hidden -Wstrict-prototypes -Wmissing-prototypes -Wsign-compare -I/usr/include/libdrm -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed -o weston-launch src/weston_launch-weston-launch.o -lpam -ldrm src/weston_launch-weston-launch.o: In function `handle_open': /var/tmp/portage/dev-libs/weston-1.11.0/work/weston-1.11.0/src/weston-launch.c:363: undefined reference to `major' ----------------------------------------------------------------- This is an unstable amd64 chroot image (named plasma-abi32+64_20170216-195507) at a hardened host acting as a tinderbox. ----------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-5.4.0 * llvm-config: 3.9.1 Available Python interpreters, in order of preference: [1] python3.4 [2] python3.5 (fallback) [3] python2.7 (fallback) [4] jython2.7 (fallback) Available Ruby profiles: [1] ruby21 (with Rubygems) * java-config: The following VMs are available for generation-2: 1) IcedTea JDK 7.2.6.8 [icedtea-bin-7] *) IcedTea JDK 3.3.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-7 [2] icedtea-bin-8 system-vm
Created attachment 464786 [details] emerge-info.txt
Created attachment 464788 [details] config.log.tbz2
Created attachment 464790 [details] dev-libs:weston-1.11.0:20170223-012107.log
Created attachment 464792 [details] emerge-history.txt
Created attachment 464794 [details] environment
Created attachment 464796 [details] etc.portage.tbz2
Created attachment 488376 [details, diff] weston-launch patch for major/minor According to NEWS if glibc-2.25: * The inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated. This means that in a future release, the macros “major”, “minor”, and “makedev” will only be available from <sys/sysmacros.h>. The same error occurred on 1.12.0 for me. Attached patch should be applied by all weston ebuilds. Resolved.
*** Bug 628052 has been marked as a duplicate of this bug. ***
This is fixed in 3.0.0. It was addressed by upstream.
(In reply to James Le Cuirot from comment #9) > This is fixed in 3.0.0. It was addressed by upstream. Please either backport or stabilize 3.0.0, your decision.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a594acda7bfbae3c55c54c9d0c521f362c2843d commit 0a594acda7bfbae3c55c54c9d0c521f362c2843d Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2018-04-29 22:06:51 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2018-04-29 22:07:00 +0000 dev-libs/weston: Add build fix for glibc-2.26, bug 610652 Oh well, this one was really easy. Closes: https://bugs.gentoo.org/610652 Package-Manager: Portage-2.3.31, Repoman-2.3.9 dev-libs/weston/files/weston-1.11.0-sysmacros.patch | 11 +++++++++++ dev-libs/weston/weston-1.11.0.ebuild | 5 +++-- 2 files changed, 14 insertions(+), 2 deletions(-)