Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 828918 - net-fs/autofs-5.1.8 - ../.../hash.h: error: unknown type name _always_inline
Summary: net-fs/autofs-5.1.8 - ../.../hash.h: error: unknown type name _always_inline
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: musl-porting
  Show dependency tree
 
Reported: 2021-12-11 12:36 UTC by Toralf Förster
Modified: 2021-12-23 07:06 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.63 KB, text/plain)
2021-12-11 12:36 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,85.13 KB, text/plain)
2021-12-11 12:36 UTC, Toralf Förster
Details
environment (environment,81.07 KB, text/plain)
2021-12-11 12:36 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,10.56 KB, application/x-bzip)
2021-12-11 12:36 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,9.27 KB, application/x-bzip)
2021-12-11 12:36 UTC, Toralf Förster
Details
net-fs:autofs-5.1.8:20211211-120206.log (net-fs:autofs-5.1.8:20211211-120206.log,13.31 KB, text/plain)
2021-12-11 12:36 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,21.97 KB, application/x-bzip)
2021-12-11 12:36 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 2021-12-11 12:36:07 UTC
make[1]: Leaving directory '/var/tmp/portage/net-fs/autofs-5.1.8/work/autofs-5.1.8/samples'
x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/usr/include/tirpc  -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/usr/include/tirpc  -I../include -fPIC -D_GNU_SOURCE -DAUTOFS_MAP_DIR=\"/etc/autofs\" -DAUTOFS_CONF_DIR=\"/etc/conf.d\" -c mounts.c
In file included from ../include/automount.h:26,
                 from cat_path.c:18:
../include/hash.h:74:8: error: unknown type name '__always_inline'
   74 | static __always_inline uint32_t hash_64(uint64_t val, unsigned int bits)
      |        ^~~~~~~~~~~~~~~
../include/hash.h:74:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hash_64'
   74 | static __always_inline uint32_t hash_64(uint64_t val, unsigned int bits)

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

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

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.1 *
clang version 13.0.0
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.9
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.57.0 *
php cli:

  HEAD of ::gentoo
commit 5b3c1757053ea423912ad3d3ff637fe9470f13f1
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Dec 11 09:51:41 2021 +0000

    2021-12-11 09:51:40 UTC

emerge -qpvO net-fs/autofs
[ebuild  N    ] net-fs/autofs-5.1.8  USE="(libtirpc) sasl -dmalloc -ldap -mount-locking (-systemd)"
Comment 1 Toralf Förster gentoo-dev 2021-12-11 12:36:08 UTC
Created attachment 758502 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-11 12:36:10 UTC
Created attachment 758503 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-12-11 12:36:11 UTC
Created attachment 758504 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-12-11 12:36:12 UTC
Created attachment 758505 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-12-11 12:36:13 UTC
Created attachment 758506 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-11 12:36:14 UTC
Created attachment 758507 [details]
net-fs:autofs-5.1.8:20211211-120206.log
Comment 7 Toralf Förster gentoo-dev 2021-12-11 12:36:15 UTC
Created attachment 758508 [details]
temp.tar.bz2
Comment 8 Yixun Lan archtester gentoo-dev 2021-12-22 07:56:12 UTC
hi @musl team
 The musl patch for 5.1.8 is forward ported from 5.1.6, and obviously it's broken now. I don't maintain or have a musl system myself, so unable to do further test. and more important I don't want to maintain the musl patch _downstream_. Instead, the best approach would be: pushing the patches to autofs upstream.

 I'd plan to drop the musl support for autofs during next bump, unless someone willing to step up to maintain it (or my suggestion would keeping the musl patches at @musl overlay)..
Comment 9 Larry the Git Cow gentoo-dev 2021-12-23 07:06:01 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47fd280f578a9a3cc0259ce477e62153e2f67ca0

commit 47fd280f578a9a3cc0259ce477e62153e2f67ca0
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-12-23 04:12:21 +0000
Commit:     Yixun Lan <dlan@gentoo.org>
CommitDate: 2021-12-23 07:05:13 +0000

    net-fs/autofs: rebase musl patches, fix musl build for 5.1.8
    
    These patches are also ready to be upstreamed once runtime tested.
    
    Closes: https://bugs.gentoo.org/828918
    Closes: https://github.com/gentoo/gentoo/pull/23478
    Signed-off-by: Sam James <sam@gentoo.org>
    Signed-off-by: Yixun Lan <dlan@gentoo.org>

 net-fs/autofs/Manifest               | 1 +
 net-fs/autofs/autofs-5.1.8-r1.ebuild | 8 +++-----
 2 files changed, 4 insertions(+), 5 deletions(-)