Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
net-libs/libtirpc-1.1.4 fails to compile on musl
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Tentro
n00b
n00b


Joined: 24 Jan 2020
Posts: 5

PostPosted: Fri Jan 24, 2020 4:23 am    Post subject: net-libs/libtirpc-1.1.4 fails to compile on musl Reply with quote

I'm going through the Gentoo install process and my stage3 tarball is a vanilla musl libc: https://gentoo.osuosl.org/experimental/amd64/musl/stage3-amd64-musl-vanilla-20200106.tar.bz2
I get to the part where I'm updating the system with portage with: emerge --ask --verbose --update --deep --newuse @world
and all is well until it gets to libtirpc, probably posting this with the wrong formatting but I'll try anyways.
Code:
 * Package:    net-libs/libtirpc-1.1.4
 * Repository: gentoo
 * Maintainer: base-system@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_musl ipv6 kernel_linux split-usr userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking libtirpc-1.1.4.tar.bz2 to /var/tmp/portage/net-libs/libtirpc-1.1.4/work
>>> Unpacking libtirpc-glibc-nfs.tar.xz to /var/tmp/portage/net-libs/libtirpc-1.1.4/work
>>> Source unpacked in /var/tmp/portage/net-libs/libtirpc-1.1.4/work
>>> Preparing source in /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4 ...
 * Applying libtirpc-1.0.2-bcopy-to-memmove.patch ...
 [ ok ]
 * Running eautoreconf in '/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4' ...
 * Running libtoolize --install --copy --force --automake ...
 [ ok ]
 * Running aclocal -I m4 ...
 [ ok ]
 * Running autoconf --force ...
 [ ok ]
 * Running autoheader ...
 [ ok ]
 * Running automake --add-missing --copy --force-missing ...
 [ ok ]
 * Running elibtoolize in: libtirpc-1.1.4/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.3 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4 ...
 * abi_x86_64.amd64: running multilib-minimal_abi_src_configure
 * econf: updating libtirpc-1.1.4/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating libtirpc-1.1.4/config.sub with /usr/share/gnuconfig/config.sub
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/configure --prefix=/usr --build=x86_64-gentoo-linux-musl --host=x86_64-gentoo-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/libtirpc-1.1.4 --htmldir=/usr/share/doc/libtirpc-1.1.4/html --libdir=/usr/lib --enable-ipv6 --disable-gssapi --disable-static
checking for a BSD-compatible install... /var/tmp/portage/._portage_reinstall_.1p6bh2dn/bin/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for x86_64-gentoo-linux-musl-gcc... x86_64-gentoo-linux-musl-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-gentoo-linux-musl-gcc accepts -g... yes
checking for x86_64-gentoo-linux-musl-gcc option to accept ISO C89... none needed
checking whether x86_64-gentoo-linux-musl-gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of x86_64-gentoo-linux-musl-gcc... none
checking how to run the C preprocessor... x86_64-gentoo-linux-musl-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking gssapi/gssapi.h usability... no
checking gssapi/gssapi.h presence... no
checking for gssapi/gssapi.h... no
checking build system type... x86_64-gentoo-linux-musl
checking host system type... x86_64-gentoo-linux-musl
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-gentoo-linux-musl-gcc... /usr/x86_64-gentoo-linux-musl/bin/ld
checking if the linker (/usr/x86_64-gentoo-linux-musl/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-gentoo-linux-musl-nm -B
checking the name lister (/usr/bin/x86_64-gentoo-linux-musl-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 98304
checking how to convert x86_64-gentoo-linux-musl file names to x86_64-gentoo-linux-musl format... func_convert_file_noop
checking how to convert x86_64-gentoo-linux-musl file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-gentoo-linux-musl/bin/ld option to reload object files... -r
checking for x86_64-gentoo-linux-musl-objdump... x86_64-gentoo-linux-musl-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-gentoo-linux-musl-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-gentoo-linux-musl-ar... x86_64-gentoo-linux-musl-ar
checking for archiver @FILE support... @
checking for x86_64-gentoo-linux-musl-strip... x86_64-gentoo-linux-musl-strip
checking for x86_64-gentoo-linux-musl-ranlib... x86_64-gentoo-linux-musl-ranlib
checking command to parse /usr/bin/x86_64-gentoo-linux-musl-nm -B output from x86_64-gentoo-linux-musl-gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for x86_64-gentoo-linux-musl-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-gentoo-linux-musl-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-gentoo-linux-musl-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-gentoo-linux-musl-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-gentoo-linux-musl-gcc static flag -static works... yes
checking if x86_64-gentoo-linux-musl-gcc supports -c -o file.o... yes
checking if x86_64-gentoo-linux-musl-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-gentoo-linux-musl-gcc linker (/usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking features.h usability... yes
checking features.h presence... yes
checking for features.h... yes
checking gssapi/gssapi_ext.h usability... no
checking gssapi/gssapi_ext.h presence... no
checking for gssapi/gssapi_ext.h... no
checking for pthread_create in -lpthread... yes
checking for getrpcbyname... no
checking for getrpcbynumber... no
checking for setrpcent... no
checking for endrpcent... no
checking for getrpcent... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating doc/Makefile
config.status: creating libtirpc.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4 ...
 * abi_x86_64.amd64: running multilib-minimal_abi_src_compile
make -j3
(CDPATH="${ZSH_VERSION+.}:" && cd /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4 && /bin/sh /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/missing autoheader)
rm -f stamp-h1
touch /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive
make[1]: Entering directory '/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4-abi_x86_64.amd64'
Making all in src
make[2]: Entering directory '/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4-abi_x86_64.amd64/src'
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src -I..  -I/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc -include config.h -DPORTMAP -DINET6 -D_GNU_SOURCE -Wall -pipe   -march=native -O2 -pipe -c -o libtirpc_la-auth_none.lo `test -f 'auth_none.c' || echo '/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/'`auth_none.c
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src -I..  -I/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc -include config.h -DPORTMAP -DINET6 -D_GNU_SOURCE -Wall -pipe   -march=native -O2 -pipe -c -o libtirpc_la-auth_unix.lo `test -f 'auth_unix.c' || echo '/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/'`auth_unix.c
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src -I..  -I/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc -include config.h -DPORTMAP -DINET6 -D_GNU_SOURCE -Wall -pipe   -march=native -O2 -pipe -c -o libtirpc_la-authunix_prot.lo `test -f 'authunix_prot.c' || echo '/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/'`authunix_prot.c
libtool: compile:  x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src -I.. -I/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc -include config.h -DPORTMAP -DINET6 -D_GNU_SOURCE -Wall -pipe -march=native -O2 -pipe -c /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/authunix_prot.c  -fPIC -DPIC -o .libs/libtirpc_la-authunix_prot.o
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/authunix_prot.c:39:
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:75:9: error: unknown type name ‘__u_char’
   75 | typedef __u_char u_char;
      |         ^~~~~~~~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:75:18: error: conflicting types for ‘u_char’
   75 | typedef __u_char u_char;
      |                  ^~~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:41,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/authunix_prot.c:39:
/usr/include/sys/types.h:64:23: note: previous declaration of ‘u_char’ was here
   64 | typedef unsigned char u_char;
      |                       ^~~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/authunix_prot.c:39:
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:76:9: error: unknown type name ‘__u_short’
   76 | typedef __u_short u_short;
      |         ^~~~~~~~~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:76:19: error: conflicting types for ‘u_short’
   76 | typedef __u_short u_short;
      |                   ^~~~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:41,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/authunix_prot.c:39:
/usr/include/sys/types.h:65:24: note: previous declaration of ‘u_short’ was here
   65 | typedef unsigned short u_short, ushort;
      |                        ^~~~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/authunix_prot.c:39:
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:77:9: error: unknown type name ‘__u_int’
   77 | typedef __u_int u_int;
      |         ^~~~~~~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:77:17: error: conflicting types for ‘u_int’
   77 | typedef __u_int u_int;
      |                 ^~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:41,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/authunix_prot.c:39:
/usr/include/sys/types.h:66:18: note: previous declaration of ‘u_int’ was here
   66 | typedef unsigned u_int, uint;
      |                  ^~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/authunix_prot.c:39:
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:78:9: error: unknown type name ‘__u_long’
   78 | typedef __u_long u_long;
      |         ^~~~~~~~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:78:18: error: conflicting types for ‘u_long’
   78 | typedef __u_long u_long;
      |                  ^~~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:41,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/authunix_prot.c:39:
/usr/include/sys/types.h:67:23: note: previous declaration of ‘u_long’ was here
   67 | typedef unsigned long u_long, ulong;
      |                       ^~~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/authunix_prot.c:39:
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:79:9: error: unknown type name ‘__quad_t’
   79 | typedef __quad_t quad_t;
      |         ^~~~~~~~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:79:18: error: conflicting types for ‘quad_t’
   79 | typedef __quad_t quad_t;
      |                  ^~~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:41,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/authunix_prot.c:39:
/usr/include/sys/types.h:68:19: note: previous declaration of ‘quad_t’ was here
   68 | typedef long long quad_t;
      |                   ^~~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/authunix_prot.c:39:
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:80:9: error: unknown type name ‘__u_quad_t’
   80 | typedef __u_quad_t u_quad_t;
      |         ^~~~~~~~~~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:80:20: error: conflicting types for ‘u_quad_t’
   80 | typedef __u_quad_t u_quad_t;
      |                    ^~~~~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:41,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/authunix_prot.c:39:
/usr/include/sys/types.h:69:28: note: previous declaration of ‘u_quad_t’ was here
   69 | typedef unsigned long long u_quad_t;
      |                            ^~~~~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/authunix_prot.c:39:
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:81:9: error: unknown type name ‘__fsid_t’
   81 | typedef __fsid_t fsid_t;
      |         ^~~~~~~~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:85:9: error: unknown type name ‘__daddr_t’
   85 | typedef __daddr_t daddr_t;
      |         ^~~~~~~~~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:86:9: error: unknown type name ‘__caddr_t’
   86 | typedef __caddr_t caddr_t;
      |         ^~~~~~~~~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:86:19: error: conflicting types for ‘caddr_t’
   86 | typedef __caddr_t caddr_t;
      |                   ^~~~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:41,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/authunix_prot.c:39:
/usr/include/sys/types.h:63:15: note: previous declaration of ‘caddr_t’ was here
   63 | typedef char *caddr_t;
      |               ^~~~~~~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/authunix_prot.c: In function ‘xdr_authunix_parms’:
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/authunix_prot.c:58:25: warning: pointer targets in passing argument 2 of ‘xdr_u_int’ differ in signedness [-Wpointer-sign]
   58 |      && xdr_u_int(xdrs, &(p->aup_uid))
      |                         ^~~~~~~~~~~~~
      |                         |
      |                         uid_t * {aka unsigned int *}
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/authunix_prot.c:40:
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/xdr.h:290:32: note: expected ‘u_int *’ {aka ‘int *’} but argument is of type ‘uid_t *’ {aka ‘unsigned int *’}
  290 | extern bool_t xdr_u_int(XDR *, u_int *);
      |                                ^~~~~~~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/authunix_prot.c:59:25: warning: pointer targets in passing argument 2 of ‘xdr_u_int’ differ in signedness [-Wpointer-sign]
   59 |      && xdr_u_int(xdrs, &(p->aup_gid))
      |                         ^~~~~~~~~~~~~
      |                         |
      |                         gid_t * {aka unsigned int *}
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/authunix_prot.c:40:
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/xdr.h:290:32: note: expected ‘u_int *’ {aka ‘int *’} but argument is of type ‘gid_t *’ {aka ‘unsigned int *’}
  290 | extern bool_t xdr_u_int(XDR *, u_int *);
      |                                ^~~~~~~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/authunix_prot.c:60:25: warning: passing argument 2 of ‘xdr_array’ from incompatible pointer type [-Wincompatible-pointer-types]
   60 |      && xdr_array(xdrs, (caddr_t *)&(p->aup_gids),
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~
      |                         |
      |                         caddr_t * {aka int *}
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/authunix_prot.c:40:
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/xdr.h:311:32: note: expected ‘char **’ but argument is of type ‘caddr_t *’ {aka ‘int *’}
  311 | extern bool_t xdr_array(XDR *, char **, u_int *, u_int, u_int, xdrproc_t);
      |                                ^~~~~~~
libtool: compile:  x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src -I.. -I/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc -include config.h -DPORTMAP -DINET6 -D_GNU_SOURCE -Wall -pipe -march=native -O2 -pipe -c /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_none.c  -fPIC -DPIC -o .libs/libtirpc_la-auth_none.o
make[2]: *** [Makefile:675: libtirpc_la-authunix_prot.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
libtool: compile:  x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src -I.. -I/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc -include config.h -DPORTMAP -DINET6 -D_GNU_SOURCE -Wall -pipe -march=native -O2 -pipe -c /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c  -fPIC -DPIC -o .libs/libtirpc_la-auth_unix.o
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_none.c:49:
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:75:9: error: unknown type name ‘__u_char’
   75 | typedef __u_char u_char;
      |         ^~~~~~~~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:75:18: error: conflicting types for ‘u_char’
   75 | typedef __u_char u_char;
      |                  ^~~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:41,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_none.c:49:
/usr/include/sys/types.h:64:23: note: previous declaration of ‘u_char’ was here
   64 | typedef unsigned char u_char;
      |                       ^~~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_none.c:49:
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:76:9: error: unknown type name ‘__u_short’
   76 | typedef __u_short u_short;
      |         ^~~~~~~~~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:76:19: error: conflicting types for ‘u_short’
   76 | typedef __u_short u_short;
      |                   ^~~~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:41,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_none.c:49:
/usr/include/sys/types.h:65:24: note: previous declaration of ‘u_short’ was here
   65 | typedef unsigned short u_short, ushort;
      |                        ^~~~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_none.c:49:
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:77:9: error: unknown type name ‘__u_int’
   77 | typedef __u_int u_int;
      |         ^~~~~~~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:77:17: error: conflicting types for ‘u_int’
   77 | typedef __u_int u_int;
      |                 ^~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:41,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_none.c:49:
/usr/include/sys/types.h:66:18: note: previous declaration of ‘u_int’ was here
   66 | typedef unsigned u_int, uint;
      |                  ^~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_none.c:49:
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:78:9: error: unknown type name ‘__u_long’
   78 | typedef __u_long u_long;
      |         ^~~~~~~~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:78:18: error: conflicting types for ‘u_long’
   78 | typedef __u_long u_long;
      |                  ^~~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:41,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_none.c:49:
/usr/include/sys/types.h:67:23: note: previous declaration of ‘u_long’ was here
   67 | typedef unsigned long u_long, ulong;
      |                       ^~~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_none.c:49:
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:79:9: error: unknown type name ‘__quad_t’
   79 | typedef __quad_t quad_t;
      |         ^~~~~~~~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:79:18: error: conflicting types for ‘quad_t’
   79 | typedef __quad_t quad_t;
      |                  ^~~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:41,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_none.c:49:
/usr/include/sys/types.h:68:19: note: previous declaration of ‘quad_t’ was here
   68 | typedef long long quad_t;
      |                   ^~~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_none.c:49:
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:80:9: error: unknown type name ‘__u_quad_t’
   80 | typedef __u_quad_t u_quad_t;
      |         ^~~~~~~~~~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:80:20: error: conflicting types for ‘u_quad_t’
   80 | typedef __u_quad_t u_quad_t;
      |                    ^~~~~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:41,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_none.c:49:
/usr/include/sys/types.h:69:28: note: previous declaration of ‘u_quad_t’ was here
   69 | typedef unsigned long long u_quad_t;
      |                            ^~~~~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_none.c:49:
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:81:9: error: unknown type name ‘__fsid_t’
   81 | typedef __fsid_t fsid_t;
      |         ^~~~~~~~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:85:9: error: unknown type name ‘__daddr_t’
   85 | typedef __daddr_t daddr_t;
      |         ^~~~~~~~~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:86:9: error: unknown type name ‘__caddr_t’
   86 | typedef __caddr_t caddr_t;
      |         ^~~~~~~~~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:86:19: error: conflicting types for ‘caddr_t’
   86 | typedef __caddr_t caddr_t;
      |                   ^~~~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:41,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_none.c:49:
/usr/include/sys/types.h:63:15: note: previous declaration of ‘caddr_t’ was here
   63 | typedef char *caddr_t;
      |               ^~~~~~~
make[2]: *** [Makefile:661: libtirpc_la-auth_none.lo] Error 1
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/xdr.h:46,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/auth.h:49,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/clnt.h:43,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:53:
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:75:9: error: unknown type name ‘__u_char’
   75 | typedef __u_char u_char;
      |         ^~~~~~~~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:75:18: error: conflicting types for ‘u_char’
   75 | typedef __u_char u_char;
      |                  ^~~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:41,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/xdr.h:46,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/auth.h:49,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/clnt.h:43,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:53:
/usr/include/sys/types.h:64:23: note: previous declaration of ‘u_char’ was here
   64 | typedef unsigned char u_char;
      |                       ^~~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/xdr.h:46,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/auth.h:49,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/clnt.h:43,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:53:
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:76:9: error: unknown type name ‘__u_short’
   76 | typedef __u_short u_short;
      |         ^~~~~~~~~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:76:19: error: conflicting types for ‘u_short’
   76 | typedef __u_short u_short;
      |                   ^~~~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:41,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/xdr.h:46,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/auth.h:49,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/clnt.h:43,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:53:
/usr/include/sys/types.h:65:24: note: previous declaration of ‘u_short’ was here
   65 | typedef unsigned short u_short, ushort;
      |                        ^~~~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/xdr.h:46,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/auth.h:49,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/clnt.h:43,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:53:
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:77:9: error: unknown type name ‘__u_int’
   77 | typedef __u_int u_int;
      |         ^~~~~~~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:77:17: error: conflicting types for ‘u_int’
   77 | typedef __u_int u_int;
      |                 ^~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:41,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/xdr.h:46,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/auth.h:49,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/clnt.h:43,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:53:
/usr/include/sys/types.h:66:18: note: previous declaration of ‘u_int’ was here
   66 | typedef unsigned u_int, uint;
      |                  ^~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/xdr.h:46,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/auth.h:49,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/clnt.h:43,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:53:
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:78:9: error: unknown type name ‘__u_long’
   78 | typedef __u_long u_long;
      |         ^~~~~~~~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:78:18: error: conflicting types for ‘u_long’
   78 | typedef __u_long u_long;
      |                  ^~~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:41,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/xdr.h:46,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/auth.h:49,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/clnt.h:43,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:53:
/usr/include/sys/types.h:67:23: note: previous declaration of ‘u_long’ was here
   67 | typedef unsigned long u_long, ulong;
      |                       ^~~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/xdr.h:46,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/auth.h:49,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/clnt.h:43,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:53:
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:79:9: error: unknown type name ‘__quad_t’
   79 | typedef __quad_t quad_t;
      |         ^~~~~~~~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:79:18: error: conflicting types for ‘quad_t’
   79 | typedef __quad_t quad_t;
      |                  ^~~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:41,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/xdr.h:46,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/auth.h:49,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/clnt.h:43,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:53:
/usr/include/sys/types.h:68:19: note: previous declaration of ‘quad_t’ was here
   68 | typedef long long quad_t;
      |                   ^~~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/xdr.h:46,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/auth.h:49,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/clnt.h:43,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:53:
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:80:9: error: unknown type name ‘__u_quad_t’
   80 | typedef __u_quad_t u_quad_t;
      |         ^~~~~~~~~~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:80:20: error: conflicting types for ‘u_quad_t’
   80 | typedef __u_quad_t u_quad_t;
      |                    ^~~~~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:41,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/xdr.h:46,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/auth.h:49,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/clnt.h:43,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:53:
/usr/include/sys/types.h:69:28: note: previous declaration of ‘u_quad_t’ was here
   69 | typedef unsigned long long u_quad_t;
      |                            ^~~~~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/xdr.h:46,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/auth.h:49,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/clnt.h:43,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:53:
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:81:9: error: unknown type name ‘__fsid_t’
   81 | typedef __fsid_t fsid_t;
      |         ^~~~~~~~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:85:9: error: unknown type name ‘__daddr_t’
   85 | typedef __daddr_t daddr_t;
      |         ^~~~~~~~~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:86:9: error: unknown type name ‘__caddr_t’
   86 | typedef __caddr_t caddr_t;
      |         ^~~~~~~~~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:86:19: error: conflicting types for ‘caddr_t’
   86 | typedef __caddr_t caddr_t;
      |                   ^~~~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:41,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/xdr.h:46,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/auth.h:49,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/clnt.h:43,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:53:
/usr/include/sys/types.h:63:15: note: previous declaration of ‘caddr_t’ was here
   63 | typedef char *caddr_t;
      |               ^~~~~~~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c: In function ‘authunix_create’:
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:122:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  122 |  auth->ah_private = (caddr_t)au;
      |                     ^
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:122:19: warning: assignment to ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
  122 |  auth->ah_private = (caddr_t)au;
      |                   ^
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:125:26: warning: assignment to ‘caddr_t’ {aka ‘int’} from ‘void *’ makes integer from pointer without a cast [-Wint-conversion]
  125 |  au->au_origcred.oa_base = NULL;
      |                          ^
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:151:31: warning: assignment to ‘caddr_t’ {aka ‘int’} from ‘void *’ makes integer from pointer without a cast [-Wint-conversion]
  151 |  if ((au->au_origcred.oa_base = mem_alloc((u_int) len)) == NULL) {
      |                               ^
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:151:57: warning: comparison between pointer and integer
  151 |  if ((au->au_origcred.oa_base = mem_alloc((u_int) len)) == NULL) {
      |                                                         ^~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:157:25: warning: passing argument 1 of ‘memmove’ makes pointer from integer without a cast [-Wint-conversion]
  157 |  memmove(au->au_origcred.oa_base, mymem, (size_t)len);
      |          ~~~~~~~~~~~~~~~^~~~~~~~
      |                         |
      |                         caddr_t {aka int}
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:50:
/usr/include/string.h:26:7: note: expected ‘void *’ but argument is of type ‘caddr_t’ {aka ‘int’}
   26 | void *memmove (void *, const void *, size_t);
      |       ^~~~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/xdr.h:46,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/auth.h:49,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/clnt.h:43,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:53:
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:171:28: warning: passing argument 1 of ‘free’ makes pointer from integer without a cast [-Wint-conversion]
  171 |    mem_free(au->au_origcred.oa_base, (u_int)len);
      |             ~~~~~~~~~~~~~~~^~~~~~~~
      |                            |
      |                            caddr_t {aka int}
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:66:35: note: in definition of macro ‘mem_free’
   66 | #define mem_free(ptr, bsize) free(ptr)
      |                                   ^~~
In file included from /usr/include/pthread.h:30,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:41:
/usr/include/sched.h:80:11: note: expected ‘void *’ but argument is of type ‘caddr_t’ {aka ‘int’}
   80 | void free(void *);
      |           ^~~~~~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c: In function ‘authunix_validate’:
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:287:28: warning: passing argument 2 of ‘xdrmem_create’ makes pointer from integer without a cast [-Wint-conversion]
  287 |   xdrmem_create(&xdrs, verf->oa_base, verf->oa_length,
      |                        ~~~~^~~~~~~~~
      |                            |
      |                            caddr_t {aka int}
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/auth.h:49,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/clnt.h:43,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:53:
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/xdr.h:355:36: note: expected ‘char *’ but argument is of type ‘caddr_t’ {aka ‘int’}
  355 | extern void   xdrmem_create(XDR *, char *, u_int, enum xdr_op);
      |                                    ^~~~~~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:290:29: warning: comparison between pointer and integer
  290 |   if (au->au_shcred.oa_base != NULL) {
      |                             ^~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/xdr.h:46,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/auth.h:49,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/clnt.h:43,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:53:
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:291:26: warning: passing argument 1 of ‘free’ makes pointer from integer without a cast [-Wint-conversion]
  291 |    mem_free(au->au_shcred.oa_base,
      |             ~~~~~~~~~~~~~^~~~~~~~
      |                          |
      |                          caddr_t {aka int}
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:66:35: note: in definition of macro ‘mem_free’
   66 | #define mem_free(ptr, bsize) free(ptr)
      |                                   ^~~
In file included from /usr/include/pthread.h:30,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:41:
/usr/include/sched.h:80:11: note: expected ‘void *’ but argument is of type ‘caddr_t’ {aka ‘int’}
   80 | void free(void *);
      |           ^~~~~~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:293:26: warning: assignment to ‘caddr_t’ {aka ‘int’} from ‘void *’ makes integer from pointer without a cast [-Wint-conversion]
  293 |    au->au_shcred.oa_base = NULL;
      |                          ^
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:300:26: warning: assignment to ‘caddr_t’ {aka ‘int’} from ‘void *’ makes integer from pointer without a cast [-Wint-conversion]
  300 |    au->au_shcred.oa_base = NULL;
      |                          ^
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c: In function ‘authunix_refresh’:
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:328:38: warning: passing argument 2 of ‘xdrmem_create’ makes pointer from integer without a cast [-Wint-conversion]
  328 |  xdrmem_create(&xdrs, au->au_origcred.oa_base,
      |                       ~~~~~~~~~~~~~~~^~~~~~~~
      |                                      |
      |                                      caddr_t {aka int}
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/auth.h:49,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/clnt.h:43,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:53:
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/xdr.h:355:36: note: expected ‘char *’ but argument is of type ‘caddr_t’ {aka ‘int’}
  355 | extern void   xdrmem_create(XDR *, char *, u_int, enum xdr_op);
      |                                    ^~~~~~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/xdr.h:46,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/auth.h:49,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/clnt.h:43,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:53:
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c: In function ‘authunix_destroy’:
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:361:26: warning: passing argument 1 of ‘free’ makes pointer from integer without a cast [-Wint-conversion]
  361 |  mem_free(au->au_origcred.oa_base, au->au_origcred.oa_length);
      |           ~~~~~~~~~~~~~~~^~~~~~~~
      |                          |
      |                          caddr_t {aka int}
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:66:35: note: in definition of macro ‘mem_free’
   66 | #define mem_free(ptr, bsize) free(ptr)
      |                                   ^~~
In file included from /usr/include/pthread.h:30,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:41:
/usr/include/sched.h:80:11: note: expected ‘void *’ but argument is of type ‘caddr_t’ {aka ‘int’}
   80 | void free(void *);
      |           ^~~~~~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:363:28: warning: comparison between pointer and integer
  363 |  if (au->au_shcred.oa_base != NULL)
      |                            ^~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/xdr.h:46,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/auth.h:49,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/clnt.h:43,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:53:
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:364:25: warning: passing argument 1 of ‘free’ makes pointer from integer without a cast [-Wint-conversion]
  364 |   mem_free(au->au_shcred.oa_base, au->au_shcred.oa_length);
      |            ~~~~~~~~~~~~~^~~~~~~~
      |                         |
      |                         caddr_t {aka int}
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:66:35: note: in definition of macro ‘mem_free’
   66 | #define mem_free(ptr, bsize) free(ptr)
      |                                   ^~~
In file included from /usr/include/pthread.h:30,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:41:
/usr/include/sched.h:80:11: note: expected ‘void *’ but argument is of type ‘caddr_t’ {aka ‘int’}
   80 | void free(void *);
      |           ^~~~~~
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:368:28: warning: comparison between pointer and integer
  368 |  if (auth->ah_verf.oa_base != NULL)
      |                            ^~
In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/xdr.h:46,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/auth.h:49,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/clnt.h:43,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:53:
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:369:25: warning: passing argument 1 of ‘free’ makes pointer from integer without a cast [-Wint-conversion]
  369 |   mem_free(auth->ah_verf.oa_base, auth->ah_verf.oa_length);
      |            ~~~~~~~~~~~~~^~~~~~~~
      |                         |
      |                         caddr_t {aka int}
/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:66:35: note: in definition of macro ‘mem_free’
   66 | #define mem_free(ptr, bsize) free(ptr)
      |                                   ^~~
In file included from /usr/include/pthread.h:30,
                 from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/auth_unix.c:41:
/usr/include/sched.h:80:11: note: expected ‘void *’ but argument is of type ‘caddr_t’ {aka ‘int’}
   80 | void free(void *);
      |           ^~~~~~
make[2]: *** [Makefile:668: libtirpc_la-auth_unix.lo] Error 1
make[2]: Leaving directory '/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4-abi_x86_64.amd64/src'
make[1]: *** [Makefile:520: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4-abi_x86_64.amd64'
make: *** [Makefile:405: all] Error 2
 * ERROR: net-libs/libtirpc-1.1.4::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=net-libs/libtirpc-1.1.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/libtirpc-1.1.4::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-libs/libtirpc-1.1.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/libtirpc-1.1.4/temp/environment'.
 * Working directory: '/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4-abi_x86_64.amd64'
 * S: '/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4'
[/code]
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 24023
Location: here

PostPosted: Fri Jan 24, 2020 7:06 am    Post subject: Reply with quote

Tentro welcome to gentoo forums.
If you want install a musl system you should also add musl overlay that provide packages patched for musl.
For add an overlay you can use eselect-repository or layman
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 15294

PostPosted: Sat Jan 25, 2020 2:10 am    Post subject: Reply with quote

Tentro: do you have a particular reason you want to use musl? It's not as widely used, and you may have more problems with it than a glibc based system.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum