Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715508 - sys-fs/ecryptfs-utils-111_p20170609 : mount.ecryptfs_private.c: error: unknown type name _SWORD_TYPE
Summary: sys-fs/ecryptfs-utils-111_p20170609 : mount.ecryptfs_private.c: error: unknow...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-30 20:54 UTC by Toralf Förster
Modified: 2020-08-17 01:58 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.28 KB, text/plain)
2020-03-30 20:54 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,108.68 KB, text/plain)
2020-03-30 20:54 UTC, Toralf Förster
Details
environment (environment,164.97 KB, text/plain)
2020-03-30 20:54 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.45 KB, application/x-bzip)
2020-03-30 20:54 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,10.49 KB, application/x-bzip)
2020-03-30 20:54 UTC, Toralf Förster
Details
sys-fs:ecryptfs-utils-111_p20170609:20200330-180401.log (sys-fs:ecryptfs-utils-111_p20170609:20200330-180401.log,33.83 KB, text/plain)
2020-03-30 20:54 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,42.39 KB, application/x-bzip)
2020-03-30 20:54 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-03-30 20:54:17 UTC
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../..  -include ../../config.h -I../../src/include -D_FILE_OFFSET_BITS=64  -O2 -pipe -march=native -c -o mount.ecryptfs_private.o mount.ecryptfs_private.c
mount.ecryptfs_private.c: In function check_cwd_f_type:
mount.ecryptfs_private.c:238:2: error: unknown type name __SWORD_TYPE
  238 |  __SWORD_TYPE f_type_whitelist[] = {
      |  ^~~~~~~~~~~~
make[3]: *** [Makefile:1018: mount.ecryptfs_private.o] Error 1

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-20200328-201618

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.42.0 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon Mar 30 16:39:28 UTC 2020
/var/db/repos/musl	Fri Mar 27 00:25:27 UTC 2020

emerge -qpvO sys-fs/ecryptfs-utils
[ebuild  N    ] sys-fs/ecryptfs-utils-111_p20170609  USE="nls pam -doc -gpg -gtk -openssl -pkcs11 -python -suid -tpm" PYTHON_SINGLE_TARGET="python2_7"
Comment 1 Toralf Förster gentoo-dev 2020-03-30 20:54:20 UTC
Created attachment 627550 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-30 20:54:23 UTC
Created attachment 627552 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-30 20:54:26 UTC
Created attachment 627554 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-30 20:54:29 UTC
Created attachment 627556 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-30 20:54:32 UTC
Created attachment 627558 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-30 20:54:35 UTC
Created attachment 627560 [details]
sys-fs:ecryptfs-utils-111_p20170609:20200330-180401.log
Comment 7 Toralf Förster gentoo-dev 2020-03-30 20:54:38 UTC
Created attachment 627562 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-08-02 22:51:43 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d45f1c02b7588cfc8882c44ac0663c040a511dc

commit 7d45f1c02b7588cfc8882c44ac0663c040a511dc
Author:     Aaron Bauman <bman@gentoo.org>
AuthorDate: 2020-08-02 22:49:23 +0000
Commit:     Aaron Bauman <bman@gentoo.org>
CommitDate: 2020-08-02 22:51:26 +0000

    package.mask: last-rite sys-fs/ecryptfs-utils
    
    Bug: https://bugs.gentoo.org/735486
    Bug: https://bugs.gentoo.org/564894
    Bug: https://bugs.gentoo.org/704356
    Bug: https://bugs.gentoo.org/715938
    Bug: https://bugs.gentoo.org/697778
    Bug: https://bugs.gentoo.org/715508
    Signed-off-by: Aaron Bauman <bman@gentoo.org>

 profiles/package.mask | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
Comment 9 Larry the Git Cow gentoo-dev 2020-08-17 01:58:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80134effaa1cfff7c9dc6d9b72d356f5425f01d3

commit 80134effaa1cfff7c9dc6d9b72d356f5425f01d3
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2020-08-17 01:57:54 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-08-17 01:58:01 +0000

    sys-fs/ecryptfs-utils: fix musl build
    
    Include a simple patch from Alpine Linux
    to fix the build on musl.
    
    Closes: https://bugs.gentoo.org/715508
    Package-Manager: Portage-3.0.2, Repoman-2.3.23
    Signed-off-by: Sam James <sam@gentoo.org>

 .../ecryptfs-utils/ecryptfs-utils-111_p20170609-r1.ebuild   |  4 ++++
 .../ecryptfs-utils/files/ecryptfs-utils-111-musl-fix.patch  | 13 +++++++++++++
 2 files changed, 17 insertions(+)