pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/52284: cwrappers and chekperms don't build with clang



>Number:         52284
>Category:       pkg
>Synopsis:       cwrappers and chekperms don't build with clang
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 08 14:05:00 +0000 2017
>Originator:     Kamil Rytarowski
>Release:        NetBSD 8.99.1 amd64
>Organization:
TNF
>Environment:
NetBSD chieftec 8.99.1 NetBSD 8.99.1 (GENERIC) #3: Thu Jun  8 12:59:05 UTC 2017  root@chieftec:/public/netbsd-root/sys/arch/amd64/compile/GENERIC amd64

>Description:
I've built and installed standalone clang (5.0svn) into /usr/local.

I added to mk.conf:
PKGSRC_COMPILER=        clang
PKG_CC=                 clang
PKG_CXX=                clang++
CLANGBASE=              /usr/local

cwrappers and checkperms are broken, because -Wno-traditional is unrecognized option and -Werror makes it fatal.


=> Build dependency cwrappers>=20150314: NOT found
=> Verifying install clean for ../../pkgtools/cwrappers
===> Installing dependencies for cwrappers-20170112
===> Overriding tools for cwrappers-20170112
===> Extracting for cwrappers-20170112
/bin/cp -R /usr/pkgsrc/pkgtools/cwrappers/files/bin /tmp/pkgsrc-tmp/pkgtools/cwrappers/work/cwrappers-20170112
/usr/bin/touch /tmp/pkgsrc-tmp/pkgtools/cwrappers/work/cwrappers-20170112/transform-gcc.c
/bin/rm -f /tmp/pkgsrc-tmp/pkgtools/cwrappers/work/libnbcompat/config.guess /tmp/pkgsrc-tmp/pkgtools/cwrappers/work/libnbcompat/config.sub
/bin/ln -fs /usr/pkgsrc/mk/gnu-config/config.guess /tmp/pkgsrc-tmp/pkgtools/cwrappers/work/libnbcompat/config.guess
/bin/ln -fs /usr/pkgsrc/mk/gnu-config/config.sub /tmp/pkgsrc-tmp/pkgtools/cwrappers/work/libnbcompat/config.sub
===> Patching for cwrappers-20170112
===> Creating toolchain wrappers for cwrappers-20170112
===> Configuring for cwrappers-20170112
=> Configuring and building libnbcompat
checking build system type... x86_64-unknown-netbsd7.99
checking host system type... x86_64--netbsd
checking for x86_64--netbsd-gcc... 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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether make sets $(MAKE)... yes
checking for x86_64--netbsd-gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for a BSD-compatible install... /tmp/pkgsrc-tmp/pkgtools/cwrappers/work/.tools/bin/install -c
checking whether ln -s works... yes
checking for x86_64--netbsd-ranlib... no
checking for ranlib... ranlib
checking for gawk... /usr/bin/awk
checking for ar... ar
checking for fparseln in -lutil... yes
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking alloca.h usability... no
checking alloca.h presence... no
checking for alloca.h... no
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking bsd/libutil.h usability... no
checking bsd/libutil.h presence... no
checking for bsd/libutil.h... no
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking endian.h usability... no
checking endian.h presence... no
checking for endian.h... no
checking err.h usability... yes
checking err.h presence... yes
checking for err.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking fnmatch.h usability... yes
checking fnmatch.h presence... yes
checking for fnmatch.h... yes
checking fts.h usability... yes
checking fts.h presence... yes
checking for fts.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking for inttypes.h... (cached) yes
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking machine/endian.h usability... yes
checking machine/endian.h presence... yes
checking for machine/endian.h... yes
checking ndir.h usability... no
checking ndir.h presence... no
checking for ndir.h... no
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/byteorder.h usability... no
checking sys/byteorder.h presence... no
checking for sys/byteorder.h... no
checking sys/cdefs.h usability... yes
checking sys/cdefs.h presence... yes
checking for sys/cdefs.h... yes
checking sys/dir.h usability... yes
checking sys/dir.h presence... yes
checking for sys/dir.h... yes
checking sys/endian.h usability... yes
checking sys/endian.h presence... yes
checking for sys/endian.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/ndir.h usability... no
checking sys/ndir.h presence... no
checking for sys/ndir.h... no
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 for sys/stat.h... (cached) yes
checking sys/statfs.h usability... no
checking sys/statfs.h presence... no
checking for sys/statfs.h... no
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/ttycom.h usability... yes
checking sys/ttycom.h presence... yes
checking for sys/ttycom.h... yes
checking for sys/types.h... (cached) yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/vfs.h usability... no
checking sys/vfs.h presence... no
checking for sys/vfs.h... no
checking sysexits.h usability... yes
checking sysexits.h presence... yes
checking for sysexits.h... yes
checking termcap.h usability... yes
checking termcap.h presence... yes
checking for termcap.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking tzfile.h usability... yes
checking tzfile.h presence... yes
checking for tzfile.h... yes
checking for unistd.h... (cached) yes
checking util.h usability... yes
checking util.h presence... yes
checking for util.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for sys/mount.h... yes
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking sys/queue.h usability... yes
checking sys/queue.h presence... yes
checking for sys/queue.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for regexec... yes
checking for va_copy... yes
checking for __builtin_va_copy... yes
checking md5.h usability... yes
checking md5.h presence... yes
checking for md5.h... yes
checking for MD5Init in md5.h... yes
checking for md5.h... (cached) yes
checking rmd160.h usability... yes
checking rmd160.h presence... yes
checking for rmd160.h... yes
checking sha1.h usability... yes
checking sha1.h presence... yes
checking for sha1.h... yes
checking sha2.h usability... yes
checking sha2.h presence... yes
checking for sha2.h... yes
checking for MD5File... yes
checking for RMD160File... yes
checking for SHA1File... yes
checking for SHA512_File... yes
checking for issetugid... yes
checking whether optarg is declared... yes
checking whether optind is declared... yes
checking whether optreset is declared... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for struct option... yes
checking vis.h usability... yes
checking vis.h presence... yes
checking for vis.h... yes
checking for VIS_WHITE in vis.h... yes
checking for strunvis... yes
checking for strvis... yes
checking for strsvis... yes
checking for svis... yes
checking for unvis... yes
checking for vis... yes
checking for strunvis... (cached) yes
checking for strvis... (cached) yes
checking for strsvis... (cached) yes
checking for svis... (cached) yes
checking for unvis... (cached) yes
checking for vis... (cached) yes
checking for __attribute__... yes
checking for size_t... yes
checking for uintptr_t... yes
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for long long... yes
checking for long double... yes
checking for fsid_t... yes
checking whether byte ordering is bigendian... no
checking size of off_t... 8
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether snprintf is declared... yes
checking whether asprintf is declared... yes
checking whether strdup is declared... yes
checking whether isblank is declared... yes
checking for err... yes
checking for fgetln... yes
checking for fnmatch... yes
checking for fparseln... yes
checking for getdelim... yes
checking for getenv... yes
checking for getline... yes
checking for lchflags... yes
checking for lchmod... yes
checking for lchown... yes
checking for lutimes... yes
checking for mkdtemp... yes
checking for mkstemp... yes
checking for setenv... yes
checking for setgroupent... yes
checking for setpassent... yes
checking for setprogname... yes
checking for shquote... yes
checking for statvfs... yes
checking for strerror... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for strmode... yes
checking for strsep... yes
checking for strtoll... yes
checking for unsetenv... yes
checking for usleep... yes
checking for utimes... yes
checking for warn... yes
checking for library containing socket... none required
checking for gethostbyname in -lnsl... no
checking for socklen_t... yes
checking for struct addrinfo... yes
checking for struct in6_addr... yes
checking for struct sockaddr_in6... yes
checking for struct sockaddr_storage... yes
checking for getnameinfo... yes
checking for gai_strerror... yes
checking for getaddrinfo... yes
checking for getenv... (cached) yes
checking for setenv... (cached) yes
checking for unsetenv... (cached) yes
checking for mkdtemp... (cached) yes
checking for mkstemp... (cached) yes
checking for setlocale... yes
checking for getmode... yes
checking for setmode... yes
checking whether endgrent is declared... no
checking whether endpwent is declared... no
checking whether setpassent is declared... no
checking for gid_from_group... yes
checking for group_from_gid... yes
checking for pwcache_groupdb... yes
checking for pwcache_userdb... yes
checking for uid_from_user... yes
checking for user_from_uid... yes
checking for fts_open... yes
checking for timegm... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking for poll.h... (cached) yes
checking for sys/poll.h... (cached) yes
checking for poll... yes
checking if poll() is implemented natively... yes
checking for getpassphrase... no
checking for getpgrp... yes
checking for select... yes
checking for getpgrp... (cached) yes
checking whether getpgrp requires zero arguments... yes
checking for struct statfs.f_flags... no
checking for struct statfs.f_fsize... no
checking for struct statfs.f_iosize... no
checking for struct dirent.d_namlen... yes
checking for DIR.dd_fd... yes
checking for dirfd... yes
checking *printf() support for %lld... yes
checking for strtoll... (cached) yes
checking if vsnprintf is standards compliant... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating nbcompat/config.h
--- nbcompat/nbconfig.h ---
/usr/bin/awk -f nbcompat.awk nbcompat/config.h > nbcompat/nbconfig.h
--- glob.o ---
gcc -DHAVE_NBCOMPAT_H=1 -I/tmp/pkgsrc-tmp/pkgtools/cwrappers/work/libnbcompat -I. -I.  -O2 -O0 -g -ggdb -DHAVE_CONFIG_H -c glob.c
--- libnbcompat.a ---
ar cr libnbcompat.a glob.o
ranlib libnbcompat.a
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Checking for portability problems in extracted files
checking for x86_64--netbsd-gcc... 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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
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 spawn.h usability... yes
checking spawn.h presence... yes
checking for spawn.h... yes
checking for posix_spawnp... yes
configure: creating ./config.status
config.status: creating config.h
===> Building for cwrappers-20170112
--- .gdbinit ---
--- alloc.o ---
--- cleanup-cc.o ---
--- common.o ---
--- reorder-cc.o ---
--- generic-transform-cc.o ---
--- normalise-cc.o ---
--- as-wrapper.o ---
--- .gdbinit ---
rm -f .gdbinit
--- alloc.o ---
#   compile  cwrappers-20170112/alloc.o
--- cleanup-cc.o ---
#   compile  cwrappers-20170112/cleanup-cc.o
--- common.o ---
#   compile  cwrappers-20170112/common.o
--- reorder-cc.o ---
#   compile  cwrappers-20170112/reorder-cc.o
--- generic-transform-cc.o ---
#   compile  cwrappers-20170112/generic-transform-cc.o
--- normalise-cc.o ---
#   compile  cwrappers-20170112/normalise-cc.o
--- as-wrapper.o ---
#   compile  cwrappers-20170112/as-wrapper.o
--- alloc.o ---
gcc -O2 -O0 -g -ggdb -fPIE    -std=gnu99    -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare  -Wsystem-headers   -Wno-traditional   -Wa,--fatal-warnings  -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wsign-compare -Wformat=2  -Wno-format-zero-length  -Werror   -DHAVE_NBCOMPAT_H=1 -I/tmp/pkgsrc-tmp/pkgtools/cwrappers/work/libnbcompat  -c    alloc.c
--- cleanup-cc.o ---
gcc -O2 -O0 -g -ggdb -fPIE    -std=gnu99    -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare  -Wsystem-headers   -Wno-traditional   -Wa,--fatal-warnings  -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wsign-compare -Wformat=2  -Wno-format-zero-length  -Werror   -DHAVE_NBCOMPAT_H=1 -I/tmp/pkgsrc-tmp/pkgtools/cwrappers/work/libnbcompat  -c    cleanup-cc.c
--- common.o ---
gcc -O2 -O0 -g -ggdb -fPIE    -std=gnu99    -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare  -Wsystem-headers   -Wno-traditional   -Wa,--fatal-warnings  -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wsign-compare -Wformat=2  -Wno-format-zero-length  -Werror   -DHAVE_NBCOMPAT_H=1 -I/tmp/pkgsrc-tmp/pkgtools/cwrappers/work/libnbcompat  -c    common.c
--- reorder-cc.o ---
gcc -O2 -O0 -g -ggdb -fPIE    -std=gnu99    -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare  -Wsystem-headers   -Wno-traditional   -Wa,--fatal-warnings  -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wsign-compare -Wformat=2  -Wno-format-zero-length  -Werror   -DHAVE_NBCOMPAT_H=1 -I/tmp/pkgsrc-tmp/pkgtools/cwrappers/work/libnbcompat  -c    reorder-cc.c
--- generic-transform-cc.o ---
gcc -O2 -O0 -g -ggdb -fPIE    -std=gnu99    -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare  -Wsystem-headers   -Wno-traditional   -Wa,--fatal-warnings  -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wsign-compare -Wformat=2  -Wno-format-zero-length  -Werror   -DHAVE_NBCOMPAT_H=1 -I/tmp/pkgsrc-tmp/pkgtools/cwrappers/work/libnbcompat  -c    generic-transform-cc.c
--- normalise-cc.o ---
gcc -O2 -O0 -g -ggdb -fPIE    -std=gnu99    -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare  -Wsystem-headers   -Wno-traditional   -Wa,--fatal-warnings  -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wsign-compare -Wformat=2  -Wno-format-zero-length  -Werror   -DHAVE_NBCOMPAT_H=1 -I/tmp/pkgsrc-tmp/pkgtools/cwrappers/work/libnbcompat  -c    normalise-cc.c
--- as-wrapper.o ---
gcc -O2 -O0 -g -ggdb -fPIE    -std=gnu99    -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare  -Wsystem-headers   -Wno-traditional   -Wa,--fatal-warnings  -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wsign-compare -Wformat=2  -Wno-format-zero-length  -Werror   -DHAVE_NBCOMPAT_H=1 -I/tmp/pkgsrc-tmp/pkgtools/cwrappers/work/libnbcompat  -c    as-wrapper.c
--- .gdbinit ---
touch .gdbinit
--- cc-wrapper.o ---
#   compile  cwrappers-20170112/cc-wrapper.o
gcc -O2 -O0 -g -ggdb -fPIE    -std=gnu99    -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare  -Wsystem-headers   -Wno-traditional   -Wa,--fatal-warnings  -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wsign-compare -Wformat=2  -Wno-format-zero-length  -Werror   -DHAVE_NBCOMPAT_H=1 -I/tmp/pkgsrc-tmp/pkgtools/cwrappers/work/libnbcompat  -c    cc-wrapper.c
--- common.o ---
error: unknown warning option '-Wno-traditional' [-Werror,-Wunknown-warning-option]
--- alloc.o ---
error: unknown warning option '-Wno-traditional' [-Werror,-Wunknown-warning-option]
--- common.o ---
*** [common.o] Error code 1

make: stopped in /tmp/pkgsrc-tmp/pkgtools/cwrappers/work/cwrappers-20170112
--- alloc.o ---
*** [alloc.o] Error code 1

make: stopped in /tmp/pkgsrc-tmp/pkgtools/cwrappers/work/cwrappers-20170112
--- generic-transform-cc.o ---
error: unknown warning option '-Wno-traditional' [-Werror,-Wunknown-warning-option]
--- normalise-cc.o ---
error: unknown warning option '-Wno-traditional' [-Werror,-Wunknown-warning-option]
--- generic-transform-cc.o ---
*** [generic-transform-cc.o] Error code 1

make: stopped in /tmp/pkgsrc-tmp/pkgtools/cwrappers/work/cwrappers-20170112
--- reorder-cc.o ---
error: unknown warning option '-Wno-traditional' [-Werror,-Wunknown-warning-option]
--- normalise-cc.o ---
*** [normalise-cc.o] Error code 1

make: stopped in /tmp/pkgsrc-tmp/pkgtools/cwrappers/work/cwrappers-20170112
--- reorder-cc.o ---
*** [reorder-cc.o] Error code 1

make: stopped in /tmp/pkgsrc-tmp/pkgtools/cwrappers/work/cwrappers-20170112
--- as-wrapper.o ---
error: unknown warning option '-Wno-traditional' [-Werror,-Wunknown-warning-option]
--- cc-wrapper.o ---
error: unknown warning option '-Wno-traditional' [-Werror,-Wunknown-warning-option]
--- as-wrapper.o ---
*** [as-wrapper.o] Error code 1

make: stopped in /tmp/pkgsrc-tmp/pkgtools/cwrappers/work/cwrappers-20170112
--- cc-wrapper.o ---
*** [cc-wrapper.o] Error code 1

make: stopped in /tmp/pkgsrc-tmp/pkgtools/cwrappers/work/cwrappers-20170112
--- cleanup-cc.o ---
error: unknown warning option '-Wno-traditional' [-Werror,-Wunknown-warning-option]
*** [cleanup-cc.o] Error code 1

make: stopped in /tmp/pkgsrc-tmp/pkgtools/cwrappers/work/cwrappers-20170112
8 errors

make: stopped in /tmp/pkgsrc-tmp/pkgtools/cwrappers/work/cwrappers-20170112
*** Error code 2

Stop.
make[3]: stopped in /usr/pkgsrc/pkgtools/cwrappers
*** Error code 1

Stop.
make[2]: stopped in /usr/pkgsrc/pkgtools/cwrappers
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/pkgtools/digest
*** Error code 1

Stop.
>How-To-Repeat:
1. Install clang
2. Configure mk.conf
2. Try to build cwrappers and checkperms
>Fix:
N/A

Workaround is to build cwrappers and checkperms with GCC.



Home | Main Index | Thread Index | Old Index