Re: ino64 package fallout

2017-05-25 Thread Konstantin Belousov
On Wed, May 24, 2017 at 05:49:04PM -0700, Don Lewis wrote:
> On 24 May, Konstantin Belousov wrote:
> > 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.
> > 
> > There are several reviews that fix ports with most significant fallouts,
> >lang/llvm39  D10796
> >lang/llvm40  D10797
> >lang/ghc D10798
> >multimedia/webcamd   D10800
> >devel/libgtopD10795
> >sysutils/py-psutil   D1081
> >lang/rustD10799
> > 
> > I intend to commit this tomorrow, after the ino64 get some probation time,
> > long enough to ensure that it does not get immediate revert.  You may
> > see the discussions and use the patches locally, meantime.
> 
> devel/libgtop is also broken:
> 
> procopenfiles.c:325:39: error: no member named 'kf_sa_local' in 'struct 
> kinfo_file'
> sun = (struct sockaddr_un *)&kif->kf_sa_local;
>  ~~~  ^
> procopenfiles.c:330:37: error: no member named 'kf_sa_local' in 'struct 
> kinfo_file'
> addrstr = 
> addr_to_string(&kif->kf_sa_local);
>   ~~~  ^
> procopenfiles.c:338:37: error: no member named 'kf_sa_peer' in 'struct 
> kinfo_file'
> addrstr = 
> addr_to_string(&kif->kf_sa_peer);
>   ~~~  ^
> procopenfiles.c:352:36: error: no member named 'kf_sa_peer' in 'struct 
> kinfo_file'
> addrstr = addr_to_string(&kif->kf_sa_peer);
>   ~~~  ^
> procopenfiles.c:357:52: error: no member named 'kf_sa_peer' in 'struct 
> kinfo_file'
> entry.info.sock.dest_port = 
> addr_to_port(&kif->kf_sa_peer);
> procwd.c:155:16: warning: comparison of integers of different signs: 'int' 
> and 'unsigned long' [-Wsign-compare]
> for (i = 0; i < len / sizeof(*kif); i++, kif++) {
> ~ ^ ~~
>   ~~~ 
>  ^
> procopenfiles.c:388:9: warning: cast from 'gchar *' (aka 'char *') to 
> 'glibtop_open_files_entry *' (aka 'struct _glibtop_open_files_entry *') 
> increases required alignment from 1 to 4 [-Wcast-align]
> return (glibtop_open_files_entry*)g_array_free(entries, FALSE);
>^~~
> procopenfiles.c:305:16: warning: comparison of integers of different signs: 
> 'ssize_t' (aka 'long') and 'unsigned long' [-Wsign-compare]
> for (i = 0; i < len / sizeof(*kif); i++, kif++) {
> ~ ^ ~~
> 2 warnings and 5 errors generated.

This looks like errors from the unpatched port.  For instance, in my
working directory, content of the file
devel/libgtop/work/libgtop-2.32.0/sysdeps/freebsd/procopenfiles.c
around line 325 is:
struct sockaddr_un *sun;
   
entry.type = GLIBTOP_FILE_TYPE_LOCALSOCKET;
sun = (struct sockaddr_un *)&kif->kf_un.kf_sock.
kf_sa_local;
which is not
sun = (struct sockaddr_un *)&kif->kf_sa_local;
as reported by compiler in your case.

The patch is applied as extra-patch, might be you have OSVERSION set
forcibly ?
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: ino64 package fallout

2017-05-24 Thread Don Lewis
On 24 May, Konstantin Belousov wrote:
> 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.
> 
> There are several reviews that fix ports with most significant fallouts,
>lang/llvm39D10796
>lang/llvm40D10797
>lang/ghc   D10798
>multimedia/webcamd D10800
>devel/libgtop  D10795
>sysutils/py-psutil D1081
>lang/rust  D10799
> 
> I intend to commit this tomorrow, after the ino64 get some probation time,
> long enough to ensure that it does not get immediate revert.  You may
> see the discussions and use the patches locally, meantime.

devel/libgtop is also broken:

procopenfiles.c:325:39: error: no member named 'kf_sa_local' in 'struct 
kinfo_file'
sun = (struct sockaddr_un *)&kif->kf_sa_local;
 ~~~  ^
procopenfiles.c:330:37: error: no member named 'kf_sa_local' in 'struct 
kinfo_file'
addrstr = 
addr_to_string(&kif->kf_sa_local);
  ~~~  ^
procopenfiles.c:338:37: error: no member named 'kf_sa_peer' in 'struct 
kinfo_file'
addrstr = 
addr_to_string(&kif->kf_sa_peer);
  ~~~  ^
procopenfiles.c:352:36: error: no member named 'kf_sa_peer' in 'struct 
kinfo_file'
addrstr = addr_to_string(&kif->kf_sa_peer);
  ~~~  ^
procopenfiles.c:357:52: error: no member named 'kf_sa_peer' in 'struct 
kinfo_file'
entry.info.sock.dest_port = 
addr_to_port(&kif->kf_sa_peer);
procwd.c:155:16: warning: comparison of integers of different signs: 'int' and 
'unsigned long' [-Wsign-compare]
for (i = 0; i < len / sizeof(*kif); i++, kif++) {
~ ^ ~~
  ~~~  ^
procopenfiles.c:388:9: warning: cast from 'gchar *' (aka 'char *') to 
'glibtop_open_files_entry *' (aka 'struct _glibtop_open_files_entry *') 
increases required alignment from 1 to 4 [-Wcast-align]
return (glibtop_open_files_entry*)g_array_free(entries, FALSE);
   ^~~
procopenfiles.c:305:16: warning: comparison of integers of different signs: 
'ssize_t' (aka 'long') and 'unsigned long' [-Wsign-compare]
for (i = 0; i < len / sizeof(*kif); i++, kif++) {
~ ^ ~~
2 warnings and 5 errors generated.

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: ino64 package fallout

2017-05-24 Thread Konstantin Belousov
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.

There are several reviews that fix ports with most significant fallouts,
   lang/llvm39  D10796
   lang/llvm40  D10797
   lang/ghc D10798
   multimedia/webcamd   D10800
   devel/libgtopD10795
   sysutils/py-psutil   D1081
   lang/rustD10799

I intend to commit this tomorrow, after the ino64 get some probation time,
long enough to ensure that it does not get immediate revert.  You may
see the discussions and use the patches locally, meantime.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: ino64 package fallout

2017-05-24 Thread Shawn Webb
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  
> which is deprecated" [-W#warnings]
> #warning "this file includes  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 .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)
> 

ino64 package fallout

2017-05-24 Thread Don Lewis
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  which 
is deprecated" [-W#warnings]
#warning "this file includes  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 .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 unsuccessf