Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 659080 Details for
Bug 741082
net-wireless/yatebts-6.0.0-r1 fails to compile: ybts.cpp:4323:23: error: non-constant-expression cannot be narrowed from type
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
build.log (text/plain), 14.02 KB, created by
Agostino Sarubbo
on 2020-09-08 07:09:59 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Agostino Sarubbo
Created:
2020-09-08 07:09:59 UTC
Size:
14.02 KB
patch
obsolete
> * Package: net-wireless/yatebts-6.0.0-r1 > * Repository: gentoo > * Maintainer: radio@gentoo.org > * USE: abi_x86_64 amd64 bladerf elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox > > >@@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ >This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; >This ebuild was merged at the following commit: >https://github.com/gentoo-mirror/gentoo/commit/48720073108ecfb33720388507d4bc11800d29d9 (Mon Sep 7 23:35:34 UTC 2020) >@@@@@ END @@@@@ > > > >emerge --info: >Portage 3.0.5 (python 3.8.5-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.32-r1, 5.4.0-1021-aws x86_64) >================================================================= >System uname: Linux-5.4.0-1021-aws-x86_64-Intel-R-_Xeon-R-_Platinum_8175M_CPU_@_2.50GHz-with-glibc2.2.5 >KiB Mem: 64359960 total, 30728520 free >KiB Swap: 0 total, 0 free >Timestamp of repository gentoo: Mon, 07 Sep 2020 23:35:33 +0000 >sh bash 5.0_p18 >ld GNU ld (Gentoo 2.34 p6) 2.34.0 >app-shells/bash: 5.0_p18::gentoo >dev-lang/perl: 5.30.3-r1::gentoo >dev-lang/python: 2.7.18-r1::gentoo, 3.6.12::gentoo, 3.7.9::gentoo, 3.8.5::gentoo, 3.9.0_rc1::gentoo >dev-util/cmake: 3.18.2::gentoo >sys-apps/baselayout: 2.7::gentoo >sys-apps/openrc: 0.42.1::gentoo >sys-apps/sandbox: 2.20::gentoo >sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo >sys-devel/automake: 1.16.2::gentoo >sys-devel/binutils: 2.34-r2::gentoo >sys-devel/gcc: 10.2.0-r1::gentoo >sys-devel/gcc-config: 2.3.2::gentoo >sys-devel/libtool: 2.4.6-r6::gentoo >sys-devel/make: 4.3::gentoo >sys-kernel/linux-headers: 5.8::gentoo (virtual/os-headers) >sys-libs/glibc: 2.32-r1::gentoo >Repositories: > >gentoo > location: /usr/portage > sync-type: rsync > sync-uri: rsync://rsync.gentoo.org/gentoo-portage > priority: -1000 > sync-rsync-verify-metamanifest: yes > sync-rsync-extra-opts: > sync-rsync-verify-max-age: 24 > sync-rsync-verify-jobs: 1 > >ACCEPT_KEYWORDS="amd64 ~amd64" >ACCEPT_LICENSE="* GPL-2" >CBUILD="x86_64-pc-linux-gnu" >CC="x86_64-pc-linux-gnu-clang" >CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" >CHOST="x86_64-pc-linux-gnu" >CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" >CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" >CXX="x86_64-pc-linux-gnu-clang++" >CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" >DISTDIR="/var/tmp/portage/net-wireless/yatebts-6.0.0-r1/distdir" >EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -b -k" >ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" >FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" >FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" >FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" >GENTOO_MIRRORS="http://distfiles.gentoo.org" >LANG="C.UTF-8" >LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld" >MAKEOPTS="-j16 V=1" >PKGDIR="/root/.packages" >PORTAGE_CONFIGROOT="/" >PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" >PORTAGE_TMPDIR="/var/tmp" >USE="acl amd64 berkdb bladerf bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 jumbo-build libglvnd libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd test unicode xattr zlib" ABI_X86="64" ELIBC="glibc" KERNEL="linux" USERLAND="GNU" >Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS > > > >>>> Unpacking source... >>>> Unpacking yate-bts-6.0.0-1.tar.gz to /var/tmp/portage/net-wireless/yatebts-6.0.0-r1/work >>>> Source unpacked in /var/tmp/portage/net-wireless/yatebts-6.0.0-r1/work >>>> Preparing source in /var/tmp/portage/net-wireless/yatebts-6.0.0-r1/work/yate-bts ... > * Applying yatebts-sgsnggsn-inetutils-hostname-fix.diff ... > [ ok ] > * Applying yatebts-5.0.0-gcc6.patch ... > [ ok ] > * Applying yatebts-6.0.0-dont-mess-with-cflags.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/net-wireless/yatebts-6.0.0-r1/work/yate-bts' ... > * Running aclocal ... > [ ok ] > * Running autoconf --force ... > [ ok ] > * Running autoheader ... > [ ok ] > * Running elibtoolize in: yate-bts/ >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-wireless/yatebts-6.0.0-r1/work/yate-bts ... >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/yatebts-6.0.0-r1 --htmldir=/usr/share/doc/yatebts-6.0.0-r1/html --libdir=/usr/lib64 --disable-sse3 --disable-sse41 >checking for local operating system type... Linux >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-pc-linux-gnu-clang++ accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-clang >checking whether we are using the GNU C compiler... yes >checking whether x86_64-pc-linux-gnu-clang accepts -g... yes >checking for x86_64-pc-linux-gnu-clang option to accept ISO C89... none needed >checking for gawk... gawk >checking for sed command to use... sed >checking for an ANSI C-conforming const... yes >checking for inline... inline >checking how to run the C preprocessor... x86_64-pc-linux-gnu-clang -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 for size_t... yes >checking whether time.h and sys/time.h may both be included... yes >checking whether byte ordering is bigendian... no >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 pthread.h usability... yes >checking pthread.h presence... yes >checking for pthread.h... yes >checking syslog.h usability... yes >checking syslog.h presence... yes >checking for syslog.h... yes >checking for openlog... yes >checking for syslog... yes >checking byteswap.h usability... yes >checking byteswap.h presence... yes >checking for byteswap.h... yes >checking sys/prctl.h usability... yes >checking sys/prctl.h presence... yes >checking for sys/prctl.h... yes >checking for Yate using yate-config... 6.1.0 >configure: creating ./config.status >config.status: creating yate-bts.spec >config.status: creating Makefile >config.status: creating mbts/A53/Makefile >config.status: creating mbts/CLI/Makefile >config.status: creating mbts/CommonLibs/Makefile >config.status: creating mbts/Connection/Makefile >config.status: creating mbts/Control/Makefile >config.status: creating mbts/GPRS/Makefile >config.status: creating mbts/GSM/Makefile >config.status: creating mbts/Globals/Makefile >config.status: creating mbts/Peering/Makefile >config.status: creating mbts/SGSNGGSN/Makefile >config.status: creating mbts/TRXManager/Makefile >config.status: creating mbts/sqlite3/Makefile >config.status: creating mbts/apps/Makefile >config.status: creating transceiver/Makefile >config.status: creating roaming/Makefile >config.status: creating scripts/Makefile >config.status: creating nipc/Makefile >config.status: creating nipc/auth/Makefile >config.status: creating config.h >>>> Source configured. >>>> Compiling source in /var/tmp/portage/net-wireless/yatebts-6.0.0-r1/work/yate-bts ... >make -j16 V=1 >x86_64-pc-linux-gnu-clang++ -Wall -I. -O2 -Wno-overloaded-virtual -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -I/usr/include/yate -Wl,--retain-symbols-file,/dev/null -rdynamic -shared -Wl,--unresolved-symbols=ignore-in-shared-libs -o ybts.yate ybts.cpp -lyateradio -lyate -L/usr/lib64 >make -C ./transceiver >make[1]: Entering directory '/var/tmp/portage/net-wireless/yatebts-6.0.0-r1/work/yate-bts/transceiver' >x86_64-pc-linux-gnu-clang++ -Wall -I.. -I.. -I. -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -DLITTLE_ENDIAN -Wno-overloaded-virtual -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -I/usr/include/yate -DHAVE_CONFIG_H -c transceiver.cpp >x86_64-pc-linux-gnu-clang++ -Wall -I.. -I.. -I. -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -DLITTLE_ENDIAN -Wno-overloaded-virtual -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -I/usr/include/yate -DHAVE_CONFIG_H -c sigproc.cpp >x86_64-pc-linux-gnu-clang++ -Wall -I.. -I.. -I. -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -DLITTLE_ENDIAN -Wno-overloaded-virtual -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -I/usr/include/yate -DHAVE_CONFIG_H -c gsmutil.cpp >In file included from gsmutil.cpp:22: >In file included from ./gsmutil.h:25: >/usr/include/yate/yateclass.h:2109:40: warning: reference cannot be bound to > In file included from dereferencedsigproc.cpp :null22 : >pointerIn file included from ./sigproc.hin: 25well-defined: > /usr/include/yate/yateclass.hC++: 2109code;: 40pointer: maywarning : bereference assumedcannot > beto boundalways In file included from toconverttransceiver.cpp > : to22dereferenced : > trueIn file included from null ./transceiver.h [-Wundefined-bool-conversion]:pointer >25 : >in /usr/include/yate/yateclass.hwell-defined: 2109C++: 40code;: pointerwarning : mayreference { return checkBOM(c_str()) && &(*this = c_str() + 3); } be >cannot ~~ ~~~~~~~^~~~~~~~~~~~~~ assumed >be > boundto /usr/include/yate/yateclass.h to:always > 2316 convert:dereferenced 13 :tonull notetruepointer: 'operator='[-Wundefined-bool-conversion]in > returnswell-defined aC++ referencecode; > pointer may be { return checkBOM(c_str()) && &(*this = c_str() + 3); }assumed > > String& operator=(const char* value); ~~ ~~~~~~~^~~~~~~~~~~~~~ > >to ^ >always/usr/include/yate/yateclass.h :convert2316 :to13 :true note[-Wundefined-bool-conversion]: >'operator=' returns a reference > String& operator=(const char* value); { return checkBOM(c_str()) && &(*this = c_str() + 3); } > > ^ ~~ ~~~~~~~^~~~~~~~~~~~~~ > >/usr/include/yate/yateclass.h:2316:13: note: 'operator=' returns a reference > String& operator=(const char* value); > ^ >In file included from ybts.cpp:22: >In file included from /usr/include/yate/yatephone.h:29: >In file included from /usr/include/yate/yatengine.h:29: >[1m/usr/include/yate/yateclass.h:2109:40: [0m[0;1;35mwarning: [0m[1mreference cannot be bound to > dereferenced null pointer in well-defined C++ code; pointer may be assumed > to always convert to true [-Wundefined-bool-conversion][0m > { return checkBOM(c_str()) && &(*this = c_str() + 3); } >[0;1;32m ~~ ~~~~~~~^~~~~~~~~~~~~~ >[0m[1m/usr/include/yate/yateclass.h:2316:13: [0m[0;1;30mnote: [0m'operator=' returns a reference[0m > String& operator=(const char* value); >[0;1;32m ^ >[0m[1mybts.cpp:4323:23: [0m[0;1;31merror: [0m[1mnon-constant-expression cannot be narrowed from type > '(anonymous namespace)::RPMsgType' to 'uint8_t' (aka 'unsigned char') in > initializer list [-Wc++11-narrowing][0m > uint8_t buf[4] = {!cause ? RPAckFromNetwork : RPErrorFromNetwork,rpMsgRef}; >[0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1mybts.cpp:4323:23: [0m[0;1;30mnote: [0minsert an explicit cast to silence this issue[0m > uint8_t buf[4] = {!cause ? RPAckFromNetwork : RPErrorFromNetwork,rpMsgRef}; >[0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[0;32m static_cast<uint8_t>( ) >[0m1 warning generated. >1 warning and 1 error generated. >make: *** [Makefile:185: ybts.yate] Error 1 >make: *** Waiting for unfinished jobs.... >1 warning generated. >1 warning generated. >ar rcs libtransceiver.a transceiver.o sigproc.o gsmutil.o >make[1]: Leaving directory '/var/tmp/portage/net-wireless/yatebts-6.0.0-r1/work/yate-bts/transceiver' > * ERROR: net-wireless/yatebts-6.0.0-r1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-wireless/yatebts-6.0.0-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-wireless/yatebts-6.0.0-r1::gentoo'`. > * The complete build log is located at '/var/log/emerge-log/build/net-wireless/yatebts-6.0.0-r1:20200908-005319.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-wireless/yatebts-6.0.0-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-wireless/yatebts-6.0.0-r1/temp/environment'. > * Working directory: '/var/tmp/portage/net-wireless/yatebts-6.0.0-r1/work/yate-bts' > * S: '/var/tmp/portage/net-wireless/yatebts-6.0.0-r1/work/yate-bts'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 741082
: 659080