New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 899913 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Last visit > 30 days ago
Closed: Oct 31
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug
Build-Toolchain

Blocking:
issue 834385



Sign in to add a comment

glibc 2.27: lakitu has several build time issues

Project Member Reported by llozano@chromium.org, Oct 29

Issue description

From the following log:

https://luci-logdog.appspot.com/logs/chromeos/buildbucket/cr-buildbucket.appspot.com/8931311934767550864/+/steps/BuildPackages/0/stdout

we have several bugs:

1) vim-core-8.0.1298

298: checking for tgetent in -ltinfo... no
vim-core-8.0.1298: checking for tgetent in -lncurses... no
vim-core-8.0.1298: checking for tgetent in -ltermlib... no
vim-core-8.0.1298: checking for tgetent in -ltermcap... no
vim-core-8.0.1298: checking for tgetent in -lcurses... no
vim-core-8.0.1298: no terminal library found
vim-core-8.0.1298: checking for tgetent()... configure: error: NOT FOUND!
vim-core-8.0.1298:       You need to install a terminal library; for example ncurses.
vim-core-8.0.1298:       Or specify the name of the library with --with-tlib.
vim-core-8.0.1298:  * ERROR: app-editors/vim-core-8.0.1298::portage-stable failed (configure phase):
vim-core-8.0.1298:  *   econf failed

2) net-fs/autofs-5.1.2

several instances of 

 In file included from ../include/automount.h:32:
autofs-5.1.2: ../include/rpc_subs.h:19:10: fatal error: 'rpc/rpc.h' file not found
autofs-5.1.2: #include <rpc/rpc.h>
autofs-5.1.2:          ^~~~~~~~~~~

3) cloud-disk-resize

../cloud-disk-resize-0.0.1/cgpt/blkid_utils.c:53:16: error: implicit declaration of function 'major' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
cloud-disk-resize-0.0.1-r8:                major(devno), minor(devno)) <= 0)

4) systemd 

2 different errors:

systemd-232-r10: /build/lakitu/tmp/portage/sys-apps/systemd-232-r10/work/systemd-232/src/basic/parse-util.c:26:10: fatal error: 'xlocale.h' file not found
systemd-232-r10: #include <xlocale.h>
systemd-232-r10:          ^~~~~~~~~~~
systemd-232-r10: 1 error generated.
systemd-232-r10: make[2]: *** [Makefile:15572: src/basic/libbasic_la-parse-util.lo] Error 1
systemd-232-r10: make[2]: *** Waiting for unfinished jobs....
systemd-232-r10: mv -f src/basic/.deps/libbasic_la-chattr-util.Tpo src/basic/.deps/libbasic_la-chattr-util.Plo
systemd-232-r10: mv -f src/basic/.deps/libbasic_la-glob-util.Tpo src/basic/.deps/libbasic_la-glob-util.Plo
systemd-232-r10: mv -f src/basic/.deps/libbasic_la-hostname-util.Tpo src/basic/.deps/libbasic_la-hostname-util.Plo
systemd-232-r10: mv -f src/basic/.deps/libbasic_la-lockfile-util.Tpo src/basic/.deps/libbasic_la-lockfile-util.Plo
systemd-232-r10: mv -f src/basic/.deps/libbasic_la-conf-files.Tpo src/basic/.deps/libbasic_la-conf-files.Plo
systemd-232-r10: In file included from ../systemd-232/src/basic/util.c:39:
systemd-232-r10: In file included from ../systemd-232/src/basic/cgroup-util.h:29:
systemd-232-r10: In file included from ../systemd-232/src/basic/def.h:22:
systemd-232-r10: In file included from ../systemd-232/src/basic/util.h:46:
systemd-232-r10: In file included from ../systemd-232/src/basic/missing.h:1081:
systemd-232-r10: ../systemd-232/src/basic/missing_syscall.h:60:19: error: static declaration of 'memfd_create' follows non-static declaration
systemd-232-r10: static inline int memfd_create(const char *name, unsigned int flags) {

 
Blocking: 834385
i don't think the vim/curses issue is related to glibc-2.27.  we see it today with current packages.  e.g. https://chromium-review.googlesource.com/1152124
Project Member

Comment 3 by bugdroid1@chromium.org, Oct 30

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/portage-stable/+/61bc15ac00a7eb6ad4599b455dad02febf048fb1

commit 61bc15ac00a7eb6ad4599b455dad02febf048fb1
Author: Yunlian Jiang <yunlian@google.com>
Date: Tue Oct 30 08:04:58 2018

autofs: upgrade to Gentoo upstream 5.1.4

This update autofs to upstream 5.1.4 to make it builds with glibc
2.27.

BUG= chromium:899913 
TEST=emerge-chell autofs with glibc 2.27

Change-Id: I7e0ab87fdd02e3778e26a2ec21d996d6c25f6323
Reviewed-on: https://chromium-review.googlesource.com/1306218
Commit-Ready: Yunlian Jiang <yunlian@chromium.org>
Tested-by: Yunlian Jiang <yunlian@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[delete] https://crrev.com/502d33bc2049761b171a9a918305ab9ad31f29a4/net-fs/autofs/files/autofs-5.0.5-fix-install-deadlink.patch
[rename] https://crrev.com/61bc15ac00a7eb6ad4599b455dad02febf048fb1/net-fs/autofs/autofs-5.1.4.ebuild
[delete] https://crrev.com/502d33bc2049761b171a9a918305ab9ad31f29a4/net-fs/autofs/files/autofs-5.0.7-add-missing-endif-HAVE_SASL-in-modules-lookup_ldap.c.patch
[delete] https://crrev.com/502d33bc2049761b171a9a918305ab9ad31f29a4/net-fs/autofs/files/autofs-5.0.3-heimdal.patch
[modify] https://crrev.com/61bc15ac00a7eb6ad4599b455dad02febf048fb1/net-fs/autofs/metadata.xml
[delete] https://crrev.com/502d33bc2049761b171a9a918305ab9ad31f29a4/net-fs/autofs/files/autofs-5.0.7-libtirpc-link.patch
[delete] https://crrev.com/502d33bc2049761b171a9a918305ab9ad31f29a4/net-fs/autofs/files/autofs-5.0.6-revert-ldap.patch
[delete] https://crrev.com/502d33bc2049761b171a9a918305ab9ad31f29a4/net-fs/autofs/files/autofs-5.0.7-sloppy-mount.patch
[modify] https://crrev.com/61bc15ac00a7eb6ad4599b455dad02febf048fb1/net-fs/autofs/Manifest
[delete] https://crrev.com/502d33bc2049761b171a9a918305ab9ad31f29a4/net-fs/autofs/files/autofs-5.0.7-respect-user-flags-and-fix-asneeded-r3.patch
[delete] https://crrev.com/502d33bc2049761b171a9a918305ab9ad31f29a4/net-fs/autofs/files/autofs-5.0.7-parallel-make.patch
[delete] https://crrev.com/502d33bc2049761b171a9a918305ab9ad31f29a4/net-fs/autofs/files/autofs-5.1.2-libtirpc-as-need.patch
[delete] https://crrev.com/502d33bc2049761b171a9a918305ab9ad31f29a4/net-fs/autofs/files/autofs-5.0.7-sasl-def.patch

Project Member

Comment 4 by bugdroid1@chromium.org, Oct 30

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/board-overlays/+/816ca9ec39da0507d9576373b31828840c672b8b

commit 816ca9ec39da0507d9576373b31828840c672b8b
Author: Yunlian Jiang <yunlian@google.com>
Date: Tue Oct 30 11:56:44 2018

systemd: fix build time error with glibc 2.27

This backports two upsteam systemd patch to make it builds with glibc
2.27.
    1: drop 'include xlocale.h'
    2: rename memfd_create to avoid conflict.
I did not pull upstream Gentoo newer version because new versions
add some dependency like python 3.6 and we could not upgrade that
easily.

RELEASE_NOTE=NONE
BUG= chromium:899913 
TEST=emerge-lakitu systemd with glibc 2.27

Change-Id: If6a863a772fa63819c19df6cc972528e90a92416
Reviewed-on: https://chromium-review.googlesource.com/1306794
Commit-Ready: Yunlian Jiang <yunlian@chromium.org>
Tested-by: Yunlian Jiang <yunlian@chromium.org>
Reviewed-by: Daniel Wang <wonderfly@google.com>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[rename] https://crrev.com/816ca9ec39da0507d9576373b31828840c672b8b/overlay-lakitu/sys-apps/systemd/systemd-232-r11.ebuild
[modify] https://crrev.com/816ca9ec39da0507d9576373b31828840c672b8b/overlay-lakitu/sys-apps/systemd/systemd-232.ebuild
[add] https://crrev.com/816ca9ec39da0507d9576373b31828840c672b8b/overlay-lakitu/sys-apps/systemd/files/232-xlocale.patch
[add] https://crrev.com/816ca9ec39da0507d9576373b31828840c672b8b/overlay-lakitu/sys-apps/systemd/files/232-memfd_create.patch

Status: Verified (was: Assigned)

Sign in to add a comment