Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1124930 Details for
Bug 1307622
ht: FTBFS in rawhide
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
build.log
<fdopen> (text/plain), 58.31 KB, created by
Fedora Release Engineering
on 2016-02-13 21:35:25 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Fedora Release Engineering
Created:
2016-02-13 21:35:25 UTC
Size:
58.31 KB
patch
obsolete
>Mock Version: 1.2.14 >Mock Version: 1.2.14 >ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/ht.spec'], gid=425user='mockbuild'chrootPath='/var/lib/mock/f24-build-4921454-577888/root'timeout=172800uid=1000env={'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'HOME': '/builddir'}logger=<mockbuild.trace_decorator.getLog object at 0x7f4679321c18>printOutput=Falseshell=False) >Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/ht.spec'] with env {'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'HOME': '/builddir'} and shell False >warning: Could not canonicalize hostname: buildvm-26.phx2.fedoraproject.org >Building target platforms: i686 >Building for target i686 >Wrote: /builddir/build/SRPMS/ht-2.0.22-5.fc24.src.rpm >Child return code was: 0 >LEAVE do --> > >ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/ht.spec '], gid=425user='mockbuild'chrootPath='/var/lib/mock/f24-build-4921454-577888/root'timeout=172800uid=1000env={'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'HOME': '/builddir'}logger=<mockbuild.trace_decorator.getLog object at 0x7f4679321c18>printOutput=Falseshell=Falseprivate_network=True) >Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/ht.spec '] with env {'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'HOME': '/builddir'} and shell False >Building target platforms: i686 >Building for target i686 >Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cq7Viq >+ umask 022 >+ cd /builddir/build/BUILD >+ cd /builddir/build/BUILD >+ rm -rf ht-2.0.22 >+ /usr/bin/bzip2 -dc /builddir/build/SOURCES/ht-2.0.22.tar.bz2 >+ /usr/bin/tar -xof - >+ STATUS=0 >+ '[' 0 -ne 0 ']' >+ cd ht-2.0.22 >+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . >+ echo 'Patch #1 (ht-2.0.22-format-security.patch):' >Patch #1 (ht-2.0.22-format-security.patch): >+ /usr/bin/patch -p1 -b --suffix .format-security --fuzz=0 >patching file asm/x86dis.cc >patching file htpal.cc >+ echo 'Patch #2 (ht-2.0.22-autotools.patch):' >Patch #2 (ht-2.0.22-autotools.patch): >+ /usr/bin/patch -p1 --fuzz=0 >patching file configure >patching file configure.in >+ touch -r aclocal.m4 configure.in >+ recode latin1..utf8 TODO >+ find . -name '*.cc' -o -name '*.h' >+ xargs chmod 0644 >+ exit 0 >Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dYTXly >+ umask 022 >+ cd /builddir/build/BUILD >+ cd ht-2.0.22 >+ CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables' >+ export CFLAGS >+ CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables' >+ export CXXFLAGS >+ FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -I/usr/lib/gfortran/modules' >+ export FFLAGS >+ FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -I/usr/lib/gfortran/modules' >+ export FCFLAGS >+ LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' >+ export LDFLAGS >+ '[' 1 = 1 ']' >+++ dirname ./configure >++ find . -name config.guess -o -name config.sub >+ for i in '$(find $(dirname ./configure) -name config.guess -o -name config.sub)' >++ basename ./config.sub >+ '[' -f /usr/lib/rpm/redhat/config.sub ']' >+ /usr/bin/rm -f ./config.sub >++ basename ./config.sub >+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub >'/usr/lib/rpm/redhat/config.sub' -> './config.sub' >+ for i in '$(find $(dirname ./configure) -name config.guess -o -name config.sub)' >++ basename ./config.guess >+ '[' -f /usr/lib/rpm/redhat/config.guess ']' >+ /usr/bin/rm -f ./config.guess >++ basename ./config.guess >+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess >'/usr/lib/rpm/redhat/config.guess' -> './config.guess' >+ '[' 1 = 1 ']' >+ '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' >++ find . -name ltmain.sh >+ ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-maintainermode >checking build system type... i686-redhat-linux-gnu >checking host system type... i686-redhat-linux-gnu >checking target system type... i686-redhat-linux-gnu >checking for a BSD-compatible install... /usr/bin/install -c >checking whether build environment is sane... yes >checking for a thread-safe mkdir -p... /usr/bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >*** LINUX, building POSIX version. we need (n)curses. >checking for i686-redhat-linux-gnu-ranlib... no >checking for ranlib... ranlib >checking for gmake... /usr/bin/gmake >checking whether /usr/bin/gmake sets $(MAKE)... yes >checking for i686-redhat-linux-gnu-gcc... no >checking for 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 for style of include used by /usr/bin/gmake... GNU >checking dependency style of gcc... none >checking how to run the C preprocessor... gcc -E >checking for i686-redhat-linux-gnu-g++... no >checking for i686-redhat-linux-gnu-c++... no >checking for i686-redhat-linux-gnu-gpp... no >checking for i686-redhat-linux-gnu-aCC... no >checking for i686-redhat-linux-gnu-CC... no >checking for i686-redhat-linux-gnu-cxx... no >checking for i686-redhat-linux-gnu-cc++... no >checking for i686-redhat-linux-gnu-cl.exe... no >checking for i686-redhat-linux-gnu-FCC... no >checking for i686-redhat-linux-gnu-KCC... no >checking for i686-redhat-linux-gnu-RCC... no >checking for i686-redhat-linux-gnu-xlC_r... no >checking for i686-redhat-linux-gnu-xlC... no >checking for g++... g++ >checking whether we are using the GNU C++ compiler... yes >checking whether g++ accepts -g... yes >checking dependency style of g++... none >checking for bison... no >checking for byacc... no >checking for flex... no >checking for lex... no >checking for ar... /usr/bin/ar >checking for gar... (cached) /usr/bin/ar >checking whether to use the included lzo compression library... no >checking for lzo1x_1_compress in -llzo2... yes >checking lzo/lzo1x.h usability... yes >checking lzo/lzo1x.h presence... yes >checking for lzo/lzo1x.h... yes >checking for XOpenDisplay in -lX11... yes >checking for ANSI C header files... no >checking stdlib.h usability... yes >checking stdlib.h presence... yes >checking for stdlib.h... yes >checking string.h usability... yes >checking string.h presence... yes >checking for string.h... yes >checking stdint.h usability... yes >checking stdint.h presence... yes >checking for stdint.h... yes >checking for ncursesw6-config... ncursesw6-config >checking for an ANSI C-conforming const... yes >checking size of char... 1 >checking size of short... 2 >checking size of int... 4 >checking size of long int... 4 >checking for asinh... no >checking for acosh... no >checking for atanh... no >configure: creating ./config.status >config.status: creating Makefile >config.status: creating analyser/Makefile >config.status: creating asm/Makefile >config.status: creating doc/Makefile >config.status: creating eval/Makefile >config.status: creating info/Makefile >config.status: creating io/Makefile >config.status: creating io/posix/Makefile >config.status: creating io/djgpp/Makefile >config.status: creating io/win32/Makefile >config.status: creating minilzo/Makefile >config.status: creating output/Makefile >config.status: creating tools/Makefile >config.status: creating config.h >config.status: executing depfiles commands >./configure successful. >===================== >Configuration summary >===================== >X11 textmode support available: yes >enable profiling: no >make a release build: yes >using included minilzo: no >+ make -j4 >/usr/bin/gmake all-recursive >gmake[1]: Entering directory '/builddir/build/BUILD/ht-2.0.22' >Making all in tools >gmake[2]: Entering directory '/builddir/build/BUILD/ht-2.0.22/tools' >gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c bin2c.c >gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o bin2c bin2c.o >gmake[2]: Leaving directory '/builddir/build/BUILD/ht-2.0.22/tools' >Making all in analyser >gmake[2]: Entering directory '/builddir/build/BUILD/ht-2.0.22/analyser' >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../asm -I../io/posix -I../io -I../output -I../eval -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o analy.o analy.cc >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../asm -I../io/posix -I../io -I../output -I../eval -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o analy_alpha.o analy_alpha.cc >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../asm -I../io/posix -I../io -I../output -I../eval -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o analy_names.o analy_names.cc >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../asm -I../io/posix -I../io -I../output -I../eval -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o analy_x86.o analy_x86.cc >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../asm -I../io/posix -I../io -I../output -I../eval -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o code_analy.o code_analy.cc >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../asm -I../io/posix -I../io -I../output -I../eval -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o data_analy.o data_analy.cc >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../asm -I../io/posix -I../io -I../output -I../eval -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o language.o language.cc >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../asm -I../io/posix -I../io -I../output -I../eval -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o pe_analy.o pe_analy.cc >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../asm -I../io/posix -I../io -I../output -I../eval -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o stddata.o stddata.cc >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../asm -I../io/posix -I../io -I../output -I../eval -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o elf_analy.o elf_analy.cc >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../asm -I../io/posix -I../io -I../output -I../eval -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o analy_register.o analy_register.cc >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../asm -I../io/posix -I../io -I../output -I../eval -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o coff_analy.o coff_analy.cc >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../asm -I../io/posix -I../io -I../output -I../eval -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o analy_java.o analy_java.cc >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../asm -I../io/posix -I../io -I../output -I../eval -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o class_analy.o class_analy.cc >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../asm -I../io/posix -I../io -I../output -I../eval -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o ne_analy.o ne_analy.cc >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../asm -I../io/posix -I../io -I../output -I../eval -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o analy_il.o analy_il.cc >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../asm -I../io/posix -I../io -I../output -I../eval -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o analy_ia64.o analy_ia64.cc >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../asm -I../io/posix -I../io -I../output -I../eval -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o le_analy.o le_analy.cc >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../asm -I../io/posix -I../io -I../output -I../eval -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o analy_ppc.o analy_ppc.cc >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../asm -I../io/posix -I../io -I../output -I../eval -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o macho_analy.o macho_analy.cc >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../asm -I../io/posix -I../io -I../output -I../eval -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o flt_analy.o flt_analy.cc >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../asm -I../io/posix -I../io -I../output -I../eval -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o xbe_analy.o xbe_analy.cc >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../asm -I../io/posix -I../io -I../output -I../eval -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o pef_analy.o pef_analy.cc >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../asm -I../io/posix -I../io -I../output -I../eval -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o analy_arm.o analy_arm.cc >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../asm -I../io/posix -I../io -I../output -I../eval -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o xex_analy.o xex_analy.cc >pef_analy.cc: In member function 'virtual const char* PEFAnalyser::getSegmentNameByAddress(Address*)': >pef_analy.cc:448:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (pef_shared->sheaders.sheaders[i].nameOffset == 0xffffffff) { > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ >xex_analy.cc: In member function 'virtual void XEXAnalyser::beginAnalysis()': >xex_analy.cc:73:7: warning: unused variable 'buffer' [-Wunused-variable] > char buffer[1024]; > ^~~~~~ >xex_analy.cc: In member function 'virtual bool XEXAnalyser::validAddress(Address*, tsectype)': >xex_analy.cc:294:6: warning: unused variable 'sec' [-Wunused-variable] > int sec; > ^~~ >rm -f libanalyser.a >/usr/bin/ar cru libanalyser.a analy.o analy_alpha.o analy_names.o analy_x86.o code_analy.o data_analy.o language.o pe_analy.o stddata.o elf_analy.o analy_register.o coff_analy.o analy_java.o class_analy.o ne_analy.o analy_il.o analy_ia64.o le_analy.o analy_ppc.o macho_analy.o flt_analy.o xbe_analy.o pef_analy.o analy_arm.o xex_analy.o >ranlib libanalyser.a >gmake[2]: Leaving directory '/builddir/build/BUILD/ht-2.0.22/analyser' >Making all in asm >gmake[2]: Entering directory '/builddir/build/BUILD/ht-2.0.22/asm' >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../io/posix -I../io -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o alphadis.o alphadis.cc >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../io/posix -I../io -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o alphaopc.o alphaopc.cc >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../io/posix -I../io -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o asm.o asm.cc >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../io/posix -I../io -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o x86asm.o x86asm.cc >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../io/posix -I../io -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o x86dis.o x86dis.cc >alphadis.cc: In member function 'virtual const char* Alphadis::strf(dis_insn*, int, const char*)': >alphadis.cc:349:104: warning: format '%qx' expects argument of type 'long long unsigned int', but argument 7 has type 'uint64* {aka long long unsigned int*}' [-Wformat=] > sprintf(insnstr, "%-10s %s%s, %s0x%qx", A_NAME, A_REG_A, cs_symbol, cs_number, &alpha_insn->address); > ^ >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../io/posix -I../io -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o x86opc.o x86opc.cc >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../io/posix -I../io -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o javadis.o javadis.cc >javadis.cc: In member function 'virtual void javadis::str_op(char*, int*, javadis_insn*, java_insn_op*)': >javadis.cc:288:12: warning: variable 'a' set but not used [-Wunused-but-set-variable] > CPU_ADDR a; > ^ >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../io/posix -I../io -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o javaopc.o javaopc.cc >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../io/posix -I../io -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o ildis.o ildis.cc >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../io/posix -I../io -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o ilopc.o ilopc.cc >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../io/posix -I../io -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o ia64dis.o ia64dis.cc >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../io/posix -I../io -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o ia64opc.o ia64opc.cc >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../io/posix -I../io -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o ppcopc.o ppcopc.cc >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../io/posix -I../io -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o ppcdis.o ppcdis.cc >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../io/posix -I../io -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o armdis.o armdis.cc >ppcdis.cc: In member function 'virtual dis_insn* PPCDisassembler::decode(byte*, int, CPU_ADDR)': >ppcdis.cc:65:10: warning: variable 'table_op' set but not used [-Wunused-but-set-variable] > uint32 table_op; > ^~~~~~~~ >ppcdis.cc:44:9: warning: variable 'op' set but not used [-Wunused-but-set-variable] > uint32 op; > ^~ >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../io/posix -I../io -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o arm-dis.o arm-dis.cc >rm -f libasm.a >/usr/bin/ar cru libasm.a alphadis.o alphaopc.o asm.o x86asm.o x86dis.o x86opc.o javadis.o javaopc.o ildis.o ilopc.o ia64dis.o ia64opc.o ppcopc.o ppcdis.o armdis.o arm-dis.o >ranlib libasm.a >gmake[2]: Leaving directory '/builddir/build/BUILD/ht-2.0.22/asm' >Making all in doc >gmake[2]: Entering directory '/builddir/build/BUILD/ht-2.0.22/doc' >gmake[2]: Nothing to be done for 'all'. >gmake[2]: Leaving directory '/builddir/build/BUILD/ht-2.0.22/doc' >Making all in info >gmake[2]: Entering directory '/builddir/build/BUILD/ht-2.0.22/info' >g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../io/posix -I../io -I../eval -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o infoview.o infoview.cc >rm -f libinfo.a >/usr/bin/ar cru libinfo.a infoview.o >ranlib libinfo.a >gmake[2]: Leaving directory '/builddir/build/BUILD/ht-2.0.22/info' >Making all in io >gmake[2]: Entering directory '/builddir/build/BUILD/ht-2.0.22/io' >Making all in posix >gmake[3]: Entering directory '/builddir/build/BUILD/ht-2.0.22/io/posix' >g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../io -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o event.o event.cc >g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../io -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o sysfile.o sysfile.cc >g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../io -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o sysdisplay.o sysdisplay.cc >g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../io -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o syskeyb.o syskeyb.cc >syskeyb.cc: In function 'int get_modifier(int)': >syskeyb.cc:69:8: warning: variable 'b' set but not used [-Wunused-but-set-variable] > Bool b; > ^ >syskeyb.cc: In function 'bool keyb_getevent(sys_event_t&)': >syskeyb.cc:172:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > #define META_KEY(c) ((c) | 0x80000000) > ~~~~~~~~~~~~~~~~~~~~ > #define UNMETA_KEY(c) ((c) & (~0x80000000)) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > #define SHIFT_KEY(c) ((c) | 0x40000000) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > #define UNSHIFT_KEY(c) ((c) & (~0x40000000)) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > #define CTRL_KEY(c) ((c) | 0x20000000) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > #define UNCTRL_KEY(c) ((c) & (~0x20000000)) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > #else > ~~~~~ > #define META_KEY(c) ((c) | 0x80000000) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > #define UNMETA_KEY(c) ((c) & (~0x80000000)) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > #define SHIFT_KEY(c) ((c) | 0x80000000) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > #define UNSHIFT_KEY(c) ((c) & (~0x80000000)) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > #define CTRL_KEY(c) ((((c)>='a') && ((c)<='z')) ? (c-'a'+1) : ((c) | 0x80000000)) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > #define UNCTRL_KEY(c) ((c) & (~0x80000000)) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > #endif > ~~~~~~ > > > #define CTRL_ALPHA_KEY(c) ((c)-'a'+1) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > #ifdef HAVE_TEXTMODE_X11 > ~~~~~~~~~~~~~~~~~~~~~~~~ > #include <X11/Xlib.h> > ~~~~~~~~~~~~~~~~~~~~~ > > > static Display *Xdisplay; > ~~~~~~~~~~~~~~~~~~~~~~~~~ > static Window Xwindow; > ~~~~~~~~~~~~~~~~~~~~~~ > #endif /* HAVE_TEXTMODE_X11 */ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > void sys_get_driver_desc(char *buf) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > { > ~ > #ifdef HAVE_TEXTMODE_X11 > ~~~~~~~~~~~~~~~~~~~~~~~~ > sprintf(buf, "POSIX/NCurses/X11 (X server %sconnected)", Xdisplay ? "" : "NOT "); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > #else > ~~~~~ > sprintf(buf, "POSIX/NCurses"); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > #endif > ~~~~~~ > } > ~ > > > static int get_modifier(int key) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > { > ~ > #ifdef HAVE_TEXTMODE_X11 > ~~~~~~~~~~~~~~~~~~~~~~~~ > if (Xdisplay) { > ~~~~~~~~~~~~~~~ > Window root, child; > ~~~~~~~~~~~~~~~~~~~ > int root_x, root_y; > ~~~~~~~~~~~~~~~~~~~ > int win_x, win_y; > ~~~~~~~~~~~~~~~~~ > unsigned int mask; > ~~~~~~~~~~~~~~~~~~ > Bool b; > ~~~~~~~ > int result = key; > ~~~~~~~~~~~~~~~~~ > > > b = XQueryPointer(Xdisplay, Xwindow, &root, &child, > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > &root_x, &root_y, > ~~~~~~~~~~~~~~~~~ > &win_x, &win_y, > ~~~~~~~~~~~~~~~ > &mask); > ~~~~~~~ > > > if (mask & ShiftMask) result = SHIFT_KEY(result); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > if (mask & ControlMask) result = CTRL_KEY(result); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > return result; > ~~~~~~~~~~~~~~ > } > ~ > #endif > ~~~~~~ > return key; > ~~~~~~~~~~~ > } > ~ > > > static int escseq2rawkey(uint r) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > { > ~ > switch (r) { > ~~~~~~~~~~~~ > case 'H': return KEY_HOME; > ~~~~~~~~~~~~~~~~~~~~~~~~~~ > case 'F': return KEY_END; > ~~~~~~~~~~~~~~~~~~~~~~~~~ > case 'P': return KEY_F(1); > ~~~~~~~~~~~~~~~~~~~~~~~~~~ > case 'Q': return KEY_F(2); > ~~~~~~~~~~~~~~~~~~~~~~~~~~ > case 'R': return KEY_F(3); > ~~~~~~~~~~~~~~~~~~~~~~~~~~ > case 'S': return KEY_F(4); > ~~~~~~~~~~~~~~~~~~~~~~~~~~ > } > ~ > return -1; > ~~~~~~~~~~ > } > ~ > > > /* From xterm's ctlseqs: > ~~~~~~~~~~~~~~~~~~~~~~~~ > On button press or release, xterm sends CSI M CbCxCy. The low two bits of Cb encode button > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > information: 0=MB1 pressed, 1=MB2 pressed, 2=MB3 pressed, 3=release. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > The next three bits encode the modifiers which were down when the button > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > was pressed and are added together: 4=Shift, 8=Meta, 16=Control. Note > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > however that the shift and control bits are normally unavailable because > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > xterm uses the control modifier with mouse for popup menus, and the > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > shift modifier is used in the default translations for button events. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > The Meta modifier recognized by xterm is the mod1 mask, and is not nec- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > essarily the "Meta" key (see xmodmap). Cx and Cy are the x and y coor- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > dinates of the mouse event, encoded as in X10 mode. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > Wheel mice may return buttons 4 and 5. Those buttons are represented by > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > adding 64 to the event code. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > */ > ~~ > > > static bool keyb_getmouseevent(sys_event_t &event) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > { > ~ > event.type = SYSEV_MOUSE_EVENT; > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > // CSI M is already parsed. now get Cb, Cx and Cy > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > int b = getch(); > ~~~~~~~~~~~~~~~~ > b -= 32; > ~~~~~~~~ > switch (b & 3) { > ~~~~~~~~~~~~~~~~ > case 0: > ~~~~~~~ > if (b & 64) { > ~~~~~~~~~~~~~ > // button 4 pressed (normally mouse wheel up) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > event.mouse_event.button_mask = MBM_BUTTON4; > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > } else { > ~~~~~~~~ > // left button pressed > ~~~~~~~~~~~~~~~~~~~~~~ > event.mouse_event.button_mask = MBM_LEFT; > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > } > ~ > event.mouse_event.button_event = MBE_PRESSED; > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > break; > ~~~~~~ > case 1: > ~~~~~~~ > if (b & 64) { > ~~~~~~~~~~~~~ > // button 5 pressed (normally mouse wheel down) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > event.mouse_event.button_mask = MBM_BUTTON5; > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > } else { > ~~~~~~~~ > // middle button pressed > ~~~~~~~~~~~~~~~~~~~~~~~~ > event.mouse_event.button_mask = MBM_MIDDLE; > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > } > ~ > event.mouse_event.button_event = MBE_PRESSED; > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > break; > ~~~~~~ > case 2: > ~~~~~~~ > if (b & 64) { > ~~~~~~~~~~~~~ > // button 6 pressed (whatever ?) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > event.mouse_event.button_mask = MBM_BUTTON6; > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > } else { > ~~~~~~~~ > // right button pressed > ~~~~~~~~~~~~~~~~~~~~~~~ > event.mouse_event.button_mask = MBM_RIGHT; > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > } > ~ > event.mouse_event.button_event = MBE_PRESSED; > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > break; > ~~~~~~ > case 3: > ~~~~~~~ > // all buttons released > ~~~~~~~~~~~~~~~~~~~~~~~ > event.mouse_event.button_mask = MBM_LEFT | MBM_MIDDLE | MBM_RIGHT | > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > MBM_BUTTON4 | MBM_BUTTON5 | MBM_BUTTON6; > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > event.mouse_event.button_event = MBE_RELEASED; > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > break; > ~~~~~~ > } > ~ > int x = getch()-32; // now 1-based > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > int y = getch()-32; // now 1-based > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > event.mouse_event.x = x-1; // now 0-based > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > event.mouse_event.y = y-1; // now 0-based > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > return true; > ~~~~~~~~~~~~ > } > ~ > > > bool keyb_getevent(sys_event_t &event) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > { > ~ > int r = keyb_getrawkey(); > ~~~~~~~~~~~~~~~~~~~~~~~~~ > if (r == KEY_MOUSE) return keyb_getmouseevent(event); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ht_key k = K_INVALID; > ~~~~~~~~~~~~~~~~~~~~~ > int r2 = UNMETA_KEY(UNCTRL_KEY(UNSHIFT_KEY(r))); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > if (META_KEY(r) == r && (r2 == '[' || r2 == 'O')) {/* escape seq */ > ~~~~~~~~~~~~~~~~^~~~ >Makefile:257: recipe for target 'syskeyb.o' failed >syskeyb.cc: In function 'ht_key keyb_getkey()': >syskeyb.cc:199:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > #define META_KEY(c) ((c) | 0x80000000) > ~~~~~~~~~~~~~~~~~~~~ > #define UNMETA_KEY(c) ((c) & (~0x80000000)) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > #define SHIFT_KEY(c) ((c) | 0x40000000) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > #define UNSHIFT_KEY(c) ((c) & (~0x40000000)) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > #define CTRL_KEY(c) ((c) | 0x20000000) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > #define UNCTRL_KEY(c) ((c) & (~0x20000000)) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > #else > ~~~~~ > #define META_KEY(c) ((c) | 0x80000000) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > #define UNMETA_KEY(c) ((c) & (~0x80000000)) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > #define SHIFT_KEY(c) ((c) | 0x80000000) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > #define UNSHIFT_KEY(c) ((c) & (~0x80000000)) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > #define CTRL_KEY(c) ((((c)>='a') && ((c)<='z')) ? (c-'a'+1) : ((c) | 0x80000000)) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > #define UNCTRL_KEY(c) ((c) & (~0x80000000)) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > #endif > ~~~~~~ > > > #define CTRL_ALPHA_KEY(c) ((c)-'a'+1) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > #ifdef HAVE_TEXTMODE_X11 > ~~~~~~~~~~~~~~~~~~~~~~~~ > #include <X11/Xlib.h> > ~~~~~~~~~~~~~~~~~~~~~ > > > static Display *Xdisplay; > ~~~~~~~~~~~~~~~~~~~~~~~~~ > static Window Xwindow; > ~~~~~~~~~~~~~~~~~~~~~~ > #endif /* HAVE_TEXTMODE_X11 */ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > void sys_get_driver_desc(char *buf) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > { > ~ > #ifdef HAVE_TEXTMODE_X11 > ~~~~~~~~~~~~~~~~~~~~~~~~ > sprintf(buf, "POSIX/NCurses/X11 (X server %sconnected)", Xdisplay ? "" : "NOT "); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > #else > ~~~~~ > sprintf(buf, "POSIX/NCurses"); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > #endif > ~~~~~~ > } > ~ > > > static int get_modifier(int key) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > { > ~ > #ifdef HAVE_TEXTMODE_X11 > ~~~~~~~~~~~~~~~~~~~~~~~~ > if (Xdisplay) { > ~~~~~~~~~~~~~~~ > Window root, child; > ~~~~~~~~~~~~~~~~~~~ > int root_x, root_y; > ~~~~~~~~~~~~~~~~~~~ > int win_x, win_y; > ~~~~~~~~~~~~~~~~~ > unsigned int mask; > ~~~~~~~~~~~~~~~~~~ > Bool b; > ~~~~~~~ > int result = key; > ~~~~~~~~~~~~~~~~~ > > > b = XQueryPointer(Xdisplay, Xwindow, &root, &child, > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > &root_x, &root_y, > ~~~~~~~~~~~~~~~~~ > &win_x, &win_y, > ~~~~~~~~~~~~~~~ > &mask); > ~~~~~~~ > > > if (mask & ShiftMask) result = SHIFT_KEY(result); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > if (mask & ControlMask) result = CTRL_KEY(result); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > return result; > ~~~~~~~~~~~~~~ > } > ~ > #endif > ~~~~~~ > return key; > ~~~~~~~~~~~ > } > ~ > > > static int escseq2rawkey(uint r) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > { > ~ > switch (r) { > ~~~~~~~~~~~~ > case 'H': return KEY_HOME; > ~~~~~~~~~~~~~~~~~~~~~~~~~~ > case 'F': return KEY_END; > ~~~~~~~~~~~~~~~~~~~~~~~~~ > case 'P': return KEY_F(1); > ~~~~~~~~~~~~~~~~~~~~~~~~~~ > case 'Q': return KEY_F(2); > ~~~~~~~~~~~~~~~~~~~~~~~~~~ > case 'R': return KEY_F(3); > ~~~~~~~~~~~~~~~~~~~~~~~~~~ > case 'S': return KEY_F(4); > ~~~~~~~~~~~~~~~~~~~~~~~~~~ > } > ~ > return -1; > ~~~~~~~~~~ > } > ~ > > > /* From xterm's ctlseqs: > ~~~~~~~~~~~~~~~~~~~~~~~~ > On button press or release, xterm sends CSI M CbCxCy. The low two bits of Cb encode button > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > information: 0=MB1 pressed, 1=MB2 pressed, 2=MB3 pressed, 3=release. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > The next three bits encode the modifiers which were down when the button > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > was pressed and are added together: 4=Shift, 8=Meta, 16=Control. Note > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > however that the shift and control bits are normally unavailable because > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > xterm uses the control modifier with mouse for popup menus, and the > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > shift modifier is used in the default translations for button events. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > The Meta modifier recognized by xterm is the mod1 mask, and is not nec- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > essarily the "Meta" key (see xmodmap). Cx and Cy are the x and y coor- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > dinates of the mouse event, encoded as in X10 mode. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > Wheel mice may return buttons 4 and 5. Those buttons are represented by > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > adding 64 to the event code. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > */ > ~~ > > > static bool keyb_getmouseevent(sys_event_t &event) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > { > ~ > event.type = SYSEV_MOUSE_EVENT; > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > // CSI M is already parsed. now get Cb, Cx and Cy > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > int b = getch(); > ~~~~~~~~~~~~~~~~ > b -= 32; > ~~~~~~~~ > switch (b & 3) { > ~~~~~~~~~~~~~~~~ > case 0: > ~~~~~~~ > if (b & 64) { > ~~~~~~~~~~~~~ > // button 4 pressed (normally mouse wheel up) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > event.mouse_event.button_mask = MBM_BUTTON4; > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > } else { > ~~~~~~~~ > // left button pressed > ~~~~~~~~~~~~~~~~~~~~~~ > event.mouse_event.button_mask = MBM_LEFT; > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > } > ~ > event.mouse_event.button_event = MBE_PRESSED; > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > break; > ~~~~~~ > case 1: > ~~~~~~~ > if (b & 64) { > ~~~~~~~~~~~~~ > // button 5 pressed (normally mouse wheel down) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > event.mouse_event.button_mask = MBM_BUTTON5; > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > } else { > ~~~~~~~~ > // middle button pressed > ~~~~~~~~~~~~~~~~~~~~~~~~ > event.mouse_event.button_mask = MBM_MIDDLE; > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > } > ~ > event.mouse_event.button_event = MBE_PRESSED; > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > break; > ~~~~~~ > case 2: > ~~~~~~~ > if (b & 64) { > ~~~~~~~~~~~~~ > // button 6 pressed (whatever ?) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > event.mouse_event.button_mask = MBM_BUTTON6; > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > } else { > ~~~~~~~~ > // right button pressed > ~~~~~~~~~~~~~~~~~~~~~~~ > event.mouse_event.button_mask = MBM_RIGHT; > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > } > ~ > event.mouse_event.button_event = MBE_PRESSED; > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > break; > ~~~~~~ > case 3: > ~~~~~~~ > // all buttons released > ~~~~~~~~~~~~~~~~~~~~~~~ > event.mouse_event.button_mask = MBM_LEFT | MBM_MIDDLE | MBM_RIGHT | > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > MBM_BUTTON4 | MBM_BUTTON5 | MBM_BUTTON6; > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > event.mouse_event.button_event = MBE_RELEASED; > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > break; > ~~~~~~ > } > ~ > int x = getch()-32; // now 1-based > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > int y = getch()-32; // now 1-based > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > event.mouse_event.x = x-1; // now 0-based > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > event.mouse_event.y = y-1; // now 0-based > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > return true; > ~~~~~~~~~~~~ > } > ~ > > > bool keyb_getevent(sys_event_t &event) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > { > ~ > int r = keyb_getrawkey(); > ~~~~~~~~~~~~~~~~~~~~~~~~~ > if (r == KEY_MOUSE) return keyb_getmouseevent(event); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ht_key k = K_INVALID; > ~~~~~~~~~~~~~~~~~~~~~ > int r2 = UNMETA_KEY(UNCTRL_KEY(UNSHIFT_KEY(r))); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > if (META_KEY(r) == r && (r2 == '[' || r2 == 'O')) {/* escape seq */ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > r2 = r; > ~~~~~~~ > if (keyb_keypressed()) { > ~~~~~~~~~~~~~~~~~~~~~~~~ > r = keyb_getrawkey(); > ~~~~~~~~~~~~~~~~~~~~~ > r = escseq2rawkey(r); > ~~~~~~~~~~~~~~~~~~~~~ > #ifdef HAVE_TEXTMODE_X11 > ~~~~~~~~~~~~~~~~~~~~~~~~ > if (CTRL_KEY(r2) == r2) r = CTRL_KEY(r); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > if (SHIFT_KEY(r2) == r2) r = SHIFT_KEY(r); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > #endif > ~~~~~~ > } > ~ > } > ~ > k = keyb_rawkey2key(r); > ~~~~~~~~~~~~~~~~~~~~~~~ > if ((k == K_INVALID) && ((unsigned int)r <= 255)) k = (ht_key)r; > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > event.type = SYSEV_KEYPRESSED; > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /* if (k == 'a') { > ~~~~~~~~~~~~~~~~~~ > event.key = K_Control_PageDown; > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > } else {*/ > ~~~~~~~~~~ > event.key = k; > ~~~~~~~~~~~~~~ > // } > ~~~~ > return true; > ~~~~~~~~~~~~ > } > ~ > > > ht_key keyb_getkey() > ~~~~~~~~~~~~~~~~~~~~ > { > ~ > int r = keyb_getrawkey(); > ~~~~~~~~~~~~~~~~~~~~~~~~~ > ht_key k = K_INVALID; > ~~~~~~~~~~~~~~~~~~~~~ > int r2 = UNMETA_KEY(UNCTRL_KEY(UNSHIFT_KEY(r))); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > if (META_KEY(r) == r && ((r2 == '[') || (r2 == 'O'))) {/* escape seq */ > ~~~~~~~~~~~~~~~~^~~~ >syskeyb.cc: At global scope: >syskeyb.cc:440:1: error: narrowing conversion of '2147483911u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] > }; > ^ >syskeyb.cc:440:1: error: narrowing conversion of '2147483656u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483775u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483907u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483906u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483908u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483909u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483987u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483986u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483979u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483978u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483910u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147484008u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483697u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483698u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483699u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483700u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483701u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483702u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483703u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483704u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483705u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483696u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483745u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483746u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483747u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483748u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483749u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483750u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483751u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483752u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483753u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483754u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483755u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483756u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483757u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483758u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483759u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483760u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483761u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483762u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483763u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483764u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483765u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483766u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483767u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483768u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483769u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483770u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483913u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483914u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483915u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483916u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483917u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483918u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483919u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483920u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483921u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483922u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483923u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >syskeyb.cc:440:1: error: narrowing conversion of '2147483924u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] >gmake[3]: *** [syskeyb.o] Error 1 >gmake[3]: *** Waiting for unfinished jobs.... >sysdisplay.cc: In member function 'virtual void CursesSystemDisplay::copyFromDisplay(const Display&, int, int, const Bounds&)': >sysdisplay.cc:362:13: warning: unused variable 'cm' [-Wunused-variable] > CursorMode cm = d.getCursorMode(); > ^~ >gmake[3]: Leaving directory '/builddir/build/BUILD/ht-2.0.22/io/posix' >Makefile:283: recipe for target 'all-recursive' failed >gmake[2]: Leaving directory '/builddir/build/BUILD/ht-2.0.22/io' >gmake[2]: *** [all-recursive] Error 1 >gmake[1]: *** [all-recursive] Error 1 >Makefile:570: recipe for target 'all-recursive' failed >gmake[1]: Leaving directory '/builddir/build/BUILD/ht-2.0.22' >Makefile:324: recipe for target 'all' failed >make: *** [all] Error 2 >RPM build errors: >error: Bad exit status from /var/tmp/rpm-tmp.dYTXly (%build) > Bad exit status from /var/tmp/rpm-tmp.dYTXly (%build) >Child return code was: 1 >EXCEPTION: Command failed. See logs for output. > # bash --login -c /usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/ht.spec >Traceback (most recent call last): > File "/usr/lib/python3.4/site-packages/mockbuild/trace_decorator.py", line 84, in trace > result = func(*args, **kw) > File "/usr/lib/python3.4/site-packages/mockbuild/util.py", line 526, in do > raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) >mockbuild.exception.Error: Command failed. See logs for output. > # bash --login -c /usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/ht.spec >LEAVE do --> EXCEPTION RAISED >
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 1307622
: 1124930 |
1124931
|
1124932