New issue
Advanced search Search tips

Issue 821054 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

samba: gnutls update left old ABI references

Project Member Reported by vbendeb@chromium.org, Mar 12 2018

Issue description

./build_packages work fine, but then when trying

./build_images --board=coral test

it starts fine, then at some point reports an error:


/mnt/host/source/src/scripts/build_library/test_image_content.sh: line 41: echo: write error: Broken pipe
^[[1m^[[31mERROR   : test_elf_deps: Failed dependency check^[[m^O


and then keeps spitting errors for a few minutes before dying (log attached)

I did repo sync today and tried exiting/re-entering chroot, anything else might be missing?
 
screenlog.1
1.6 MB Download

Comment 1 by vapier@chromium.org, Mar 12 2018

Components: -Infra>Client>ChromeOS OS>Packages
Labels: -Pri-1 OS-Chrome Pri-2
Summary: samba: gnutls update left old ABI references (was: can't build image for coral any more)
your build is indeed broken:
ERROR   : Package: net-fs/samba-4.5.3-r12
ERROR   : /mnt/host/source/src/build/images/coral/R67-10481.0.2018_03_12_0941-a1/rootfs/usr/lib64/libsmbclient.so.0.2.3 (interpreter => None)
ERROR   :     liblibsmb-samba4.so => /mnt/host/source/src/build/images/coral/R67-10481.0.2018_03_12_0941-a1/rootfs/usr/lib64/samba/liblibsmb-samba4.so
ERROR   :         libgensec-samba4.so => /mnt/host/source/src/build/images/coral/R67-10481.0.2018_03_12_0941-a1/rootfs/usr/lib64/samba/libgensec-samba4.so
ERROR   :             libauthkrb5-samba4.so => /mnt/host/source/src/build/images/coral/R67-10481.0.2018_03_12_0941-a1/rootfs/usr/lib64/samba/libauthkrb5-samba4.so
ERROR   :                 libgnutls.so.26 => None

try re-emerging samba
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
(cr) (bcf-sc) vbendeb@eskimo ~/trunk/src/scripts $ sudo emerge samba
Calculating dependencies... done!

!!! The ebuild selected to satisfy "net-nds/openldap" has unmet requirements.
- net-nds/openldap-2.4.44::portage-stable USE="berkdb crypt cxx ipv6 ssl syslog -debug -experimental -gnutls -icu -iodbc -kerberos -kinit -libressl -minimal -odbc -overlays -perl -samba -sasl -selinux -slp -smbkrb5passwd -static-libs -tcpd" ABI_X86="64 -32 -x32"

  The following REQUIRED_USE flag constraints are unsatisfied:
    cxx? ( sasl )

  The above constraints are a subset of the following complete expression:
    cxx? ( sasl ) at-most-one-of ( gnutls libressl )

(dependency required by "sys-libs/ldb-1.1.29-r2::chromiumos[ldap]" [ebuild])
(dependency required by "net-fs/samba-4.5.3-r12::chromiumos" [ebuild])
(dependency required by "samba" [argument])
(cr) (bcf-sc) vbendeb@eskimo ~/trunk/src/scripts $ 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Comment 3 by vapier@chromium.org, Mar 12 2018

installing samba into the sdk doesn't make sense.  you're having a problem with a specific board, so rebuild samba for that board.
guys, any advice how to proceed here, am I missing some obvious way to fix this?

I'm stuck and can't work on a couple of sort of urgent issues.
good point, board specific emerge helped.

Feel free to close unless something needs to change so that others do not fall into this trap.

Comment 6 by vapier@chromium.org, Mar 12 2018

Cc: -dgarr...@chromium.org ljusten@chromium.org rsorokin@chromium.org
Owner: ljusten@chromium.org
Status: Available (was: Untriaged)
we should update the samba ebuild to use a subslot on gnutls so the rebuild happens automatically for people
Owner: vbendeb@chromium.org
I've uploaded CL:960001.

Vadim, in the meantime, try
emerge-<your board> samba.

This should do the trick.
Owner: ljusten@chromium.org
Lutz, I already did, if you think the problem has been fixed - please close this bug.
Status: Started (was: Available)
Is build_packages now successful after emerging samba for your board?

CL:960001 should prevent similar issues in the future, but it needs to go in first.
yes, build packages for my board succeeded.
Project Member

Comment 11 by bugdroid1@chromium.org, Mar 14 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/dafbcaa52c3ca419c5f2d9ccdc43d4d0d933a38e

commit dafbcaa52c3ca419c5f2d9ccdc43d4d0d933a38e
Author: Lutz Justen <ljusten@chromium.org>
Date: Wed Mar 14 11:07:14 2018

Samba: Depend on latest gnutls

Forces Samba to rebuild if gnutils slot/subslot changes.

BUG= chromium:821054 
TEST=Samba compiles

Change-Id: Iddf837339c1fde8fd5771b9e9651fe40762c7be2
Reviewed-on: https://chromium-review.googlesource.com/960001
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Lutz Justen <ljusten@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[modify] https://crrev.com/dafbcaa52c3ca419c5f2d9ccdc43d4d0d933a38e/net-fs/samba/samba-4.5.3.ebuild
[rename] https://crrev.com/dafbcaa52c3ca419c5f2d9ccdc43d4d0d933a38e/net-fs/samba/samba-4.5.3-r13.ebuild

Status: Fixed (was: Started)

Sign in to add a comment