New issue
Advanced search Search tips

Issue 845116 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner: ----
Closed: May 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug-Regression



Sign in to add a comment

Build failure: elm overlay, sys-kernel/chromeos-kernel-3_18-3.18-r2121

Project Member Reported by richard....@arm.com, May 21 2018

Issue description

Build log excerpt:

chromeos-kernel-3_18-3.18-r2121: ERROR: "get_proc_ns" [fs/esdfs/esdfs.ko] undefined!
chromeos-kernel-3_18-3.18-r2121: make[2]: *** [/build/elm/tmp/portage/sys-kernel/chromeos-kernel-3_18-3.18-r2121/work/chromeos-kernel-3_18-3.18/scripts/Makefile.modpost:91: __modpost] Error 1
chromeos-kernel-3_18-3.18-r2121: make[2]: Target '_modpost' not remade because of errors.
chromeos-kernel-3_18-3.18-r2121: make[1]: *** [/build/elm/tmp/portage/sys-kernel/chromeos-kernel-3_18-3.18-r2121/work/chromeos-kernel-3_18-3.18/Makefile:1128: modules] Error 2
chromeos-kernel-3_18-3.18-r2121: make[1]: Target '_all' not remade because of errors.
chromeos-kernel-3_18-3.18-r2121: make[1]: Leaving directory '/build/elm/var/cache/portage/sys-kernel/chromeos-kernel-3_18'
chromeos-kernel-3_18-3.18-r2121: make: *** [Makefile:145: sub-make] Error 2
chromeos-kernel-3_18-3.18-r2121: make: Target '_all' not remade because of errors.
chromeos-kernel-3_18-3.18-r2121: emake failed
chromeos-kernel-3_18-3.18-r2121:  * If this failure is due to build-dir corruption, run:
chromeos-kernel-3_18-3.18-r2121:  *   sudo rm -rf '/build/elm/var/cache/portage/sys-kernel/chromeos-kernel-3_18'
chromeos-kernel-3_18-3.18-r2121:  * ERROR: sys-kernel/chromeos-kernel-3_18-3.18-r2121::chromiumos failed (compile phase):
chromeos-kernel-3_18-3.18-r2121:  *   command: emake O=/build/elm/var/cache/portage/sys-kernel/chromeos-kernel-3_18 LD=/usr/x86_64-pc-linux-gnu/aarch64-cros-linux-gnu/binutils-bin/2.27.0/ld CC=aarch64-cros-linux-gnu-gcc -B/usr/x86_64-pc-linux-gnu/aarch64-cros-linux-gnu/binutils-bin/2.27.0 CXX=aarch64-cros-linux-gnu-g++ -B/usr/x86_64-pc-linux-gnu/aarch64-cros-linux-gnu/binutils-bin/2.27.0 HOSTCC=x86_64-pc-linux-gnu-gcc HOSTCXX=x86_64-pc-linux-gnu-g++ -k
chromeos-kernel-3_18-3.18-r2121:  *
chromeos-kernel-3_18-3.18-r2121:  * Call stack:
chromeos-kernel-3_18-3.18-r2121:  *     ebuild.sh, line  133:  Called src_compile
chromeos-kernel-3_18-3.18-r2121:  *   environment, line 5449:  Called cros-kernel2_src_compile
chromeos-kernel-3_18-3.18-r2121:  *   environment, line 1676:  Called kmake '-k'
chromeos-kernel-3_18-3.18-r2121:  *   environment, line 4378:  Called cw_emake 'O=/build/elm/var/cache/portage/sys-kernel/chromeos-kernel-3_18' 
 
Cc: gwendal@chromium.org
Components: OS>Kernel
Labels: -Type-Bug Arch-ARM64 OS-Chrome Type-Bug-Regression
Status: Untriaged (was: Unconfirmed)
Bisection indicates that this is first bad commit:

commit c5617c02900fb7ad0c5d3df42e699b0242907523
Author: Daniel Rosenberg <drosen@google.com>
Date:   Wed Apr 11 18:50:44 2018 -0700

    BACKPORT: CHROMIUM: esdfs: Add option to set base namespace
    
    This lets you set esdfs's base namespace by giving it
    the fd for the user namespace you'd like to use via the
    ns_fd option.
    
    BUG=b:63876697
    TEST=compilation mount esdfs with ns_fd option
    
    Change-Id: Iece5d55264cee34eb97c5caec63c6f4e39f4b387
    Signed-off-by: Daniel Rosenberg <drosen@google.com>
    Reviewed-on: https://chromium-review.googlesource.com/1011725
    Commit-Ready: Gwendal Grignou <gwendal@chromium.org>
    Commit-Ready: Gwendal Grignou <gwendal@google.com>
    Tested-by: Gwendal Grignou <gwendal@google.com>
    Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
    (cherry picked from commit 3187f533815955867ad6e4cd441ac9215cb1b33f)
    Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
    Reviewed-on: https://chromium-review.googlesource.com/1066216

It doesn't look like this is a clean revert. 
Cc: -gwendal@chromium.org
Steps to reproduce are (within the CrOS chroot):

   cd ~/trunk/src/scripts
   ./build_packages --board=elm accept_licenses=*
   # Wait for build to fail
   cros_workon --board=elm start chromeos-kernel-3_18
   emerge-elm chromeos-kernel-3_18

   
Status: Fixed (was: Untriaged)
Duplicate of http://crbug.com/63876697

Sign in to add a comment