Re: ino64 package fallout

From: Shawn Webb <shawn.webb_at_hardenedbsd.org>
Date: Wed, 24 May 2017 13:07:54 -0400
On Wed, May 24, 2017 at 10:05:22AM -0700, Don Lewis wrote:
> I just upgraded by package build box and its poudriere jail to r318776
> and ran into some significant package build fallout.
> 
> devel/llvm40:build:
> 
> 
> /usr/bin/c++  -DHAVE_RPC_XDR_H=0 -DHAVE_TIRPC_RPC_XDR_H=0  -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -Wall -std=c++11 -Wno-unused-parameter -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include    -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -Wall -std=c++11 -Wno-unused-parameter -m64 -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -Wglobal-constructors -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_platform_limits_posix.cc.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTer!
>  mination.x86_64.dir/sanitizer_platform_limits_posix.cc.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_platform_limits_posix.cc.o -c /wrkdirs/usr/ports/devel/llvm40/work/compiler-rt-4.0.1rc1.src/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
> In file included from /wrkdirs/usr/ports/devel/llvm40/work/compiler-rt-4.0.1rc1.src/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:59:
> /usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings]
> #warning "this file includes <sys/timeb.h> which is deprecated"
>  ^
> /wrkdirs/usr/ports/devel/llvm40/work/compiler-rt-4.0.1rc1.src/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:1037:1: error: 'assertion_failed__1037' declared as an array with a negative size
> CHECK_SIZE_AND_OFFSET(dirent, d_ino);
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /wrkdirs/usr/ports/devel/llvm40/work/compiler-rt-4.0.1rc1.src/lib/sanitizer_common/sanitizer_platform_limits_posix.h:1470:3: note: expanded from macro 'CHECK_SIZE_AND_OFFSET'
>   COMPILER_CHECK(sizeof(((__sanitizer_##CLASS *) NULL)->MEMBER) == \
>   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /wrkdirs/usr/ports/devel/llvm40/work/compiler-rt-4.0.1rc1.src/lib/sanitizer_common/sanitizer_internal_defs.h:257:30: note: expanded from macro 'COMPILER_CHECK'
> #define COMPILER_CHECK(pred) IMPL_COMPILER_ASSERT(pred, __LINE__)
>                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /wrkdirs/usr/ports/devel/llvm40/work/compiler-rt-4.0.1rc1.src/lib/sanitizer_common/sanitizer_internal_defs.h:263:57: note: expanded from macro 'IMPL_COMPILER_ASSERT'
>     typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int)(pred)-1]
>                                                         ^~~~~~~~~~~~~~~
> /wrkdirs/usr/ports/devel/llvm40/work/compiler-rt-4.0.1rc1.src/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:1045:1: error: 'assertion_failed__1045' declared as an array with a negative size
> CHECK_SIZE_AND_OFFSET(dirent, d_reclen);
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /wrkdirs/usr/ports/devel/llvm40/work/compiler-rt-4.0.1rc1.src/lib/sanitizer_common/sanitizer_platform_limits_posix.h:1472:3: note: expanded from macro 'CHECK_SIZE_AND_OFFSET'
>   COMPILER_CHECK(offsetof(__sanitizer_##CLASS, MEMBER) ==          \
>   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /wrkdirs/usr/ports/devel/llvm40/work/compiler-rt-4.0.1rc1.src/lib/sanitizer_common/sanitizer_internal_defs.h:257:30: note: expanded from macro 'COMPILER_CHECK'
> #define COMPILER_CHECK(pred) IMPL_COMPILER_ASSERT(pred, __LINE__)
>                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /wrkdirs/usr/ports/devel/llvm40/work/compiler-rt-4.0.1rc1.src/lib/sanitizer_common/sanitizer_internal_defs.h:263:57: note: expanded from macro 'IMPL_COMPILER_ASSERT'
>     typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int)(pred)-1]
>                                                         ^~~~~~~~~~~~~~~
> 1 warning and 2 errors generated.
> 
> 
> lang/ghc:configure:
> 
> [1 of 1] Compiling Main             ( Setup.hs, Setup.o )
> Linking Setup ...
> Setup: No cabal file found.
> Please create a package description file <pkgname>.cabal
> *** Error code 1
> 
> 
> lang/rust:build:
> 
>   extracting cargo-nightly-x86_64-unknown-freebsd/cargo/etc/bash_completion.d/ca
> rgo
>    Compiling rustc-serialize v0.3.22
>    Compiling libc v0.2.21
>    Compiling gcc v0.3.43
>    Compiling getopts v0.2.14
>    Compiling num_cpus v0.2.13
>    Compiling filetime v0.1.10
>    Compiling build_helper v0.1.0 (file:///wrkdirs/usr/ports/lang/rust/work/rustc
> -1.17.0-src/src/build_helper)
>    Compiling cmake v0.1.21
>    Compiling toml v0.1.30
>    Compiling bootstrap v0.0.0 (file:///wrkdirs/usr/ports/lang/rust/work/rustc-1.
> 17.0-src/src/bootstrap)
>     Finished dev [unoptimized] target(s) in 31.38 secs
> Build completed unsuccessfully in 0:00:45
> gmake[1]: *** [Makefile:24: all] Error 245
> 
> 
> ... and lots more ports skipped because of the above.

HardenedBSD, too, is seeing huge fallout with package building due to
ino64.

Thanks,

-- 
Shawn Webb
Cofounder and Security Engineer
HardenedBSD

GPG Key ID:          0x6A84658F52456EEE
GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89  3D9E 6A84 658F 5245 6EEE

Received on Wed May 24 2017 - 15:08:00 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:11 UTC