Paste #0vmGthMUKYfS6IIUfBUd

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
 dpkg-buildpackage -rfakeroot -D -us -uc -i -I -tc -sa
dpkg-buildpackage: info: source package procinfo
dpkg-buildpackage: info: source version 1:2.0.304-2ubuntu1
dpkg-buildpackage: info: source distribution artful
dpkg-buildpackage: info: source changed by Will DeBerry <willdeberry@gmail.com>
 dpkg-source -i -I --before-build procinfo-2.0.304-2ubuntu1
dpkg-buildpackage: info: host architecture i386
dpkg-source: info: applying 01_add-GCC-hardening.patch
 fakeroot debian/rules clean
dh clean
   dh_testdir
   dh_auto_clean
   dh_autoreconf_clean
   dh_clean
 dpkg-source -i -I -b procinfo-2.0.304-2ubuntu1
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building procinfo using existing ./procinfo_2.0.304.orig.tar.gz
dpkg-source: info: building procinfo in procinfo_2.0.304-2ubuntu1.debian.tar.xz
dpkg-source: info: building procinfo in procinfo_2.0.304-2ubuntu1.dsc
 debian/rules build
dh build
   dh_testdir
   dh_update_autotools_config
   dh_autoreconf
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
   dh_auto_configure
	./configure --build=i686-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/i386-linux-gnu --libexecdir=\${prefix}/lib/i386-linux-gnu --disable-maintainer-mode --disable-dependency-tracking
configure: WARNING: unrecognized options: --disable-silent-rules, --disable-dependency-tracking
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 g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether time.h and sys/time.h may both be included... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for working strtod... yes
checking for select... yes
checking for strtol... yes
checking for strtoul... yes
checking for strtoull... yes
checking for snprintf... yes
checking for readdir64... yes
configure: creating ./config.status
config.status: creating Makefile
configure: WARNING: unrecognized options: --disable-silent-rules, --disable-dependency-tracking
   dh_auto_build
	make -j1
make[1]: Entering directory '/home/unit193/tmp/procinfo-2.0.304-2ubuntu1'
g++ -g -O2 -fdebug-prefix-map=/home/unit193/tmp/procinfo-2.0.304-2ubuntu1=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now -s -lncurses procinfo.cpp -o procinfo
In file included from procinfo.cpp:44:0:
lib/timeRoutines.cpp: In function ‘const timeDiff __time_rel(const time_t&, const time_t&)’:
lib/timeRoutines.cpp:134:46: warning: narrowing conversion of ‘(uint32_t)result1.timeWDHMS::minutes’ from ‘uint32_t {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
   { tm_sec: result1.seconds, tm_min: result1.minutes, tm_hour: result1.hours,
                                      ~~~~~~~~^~~~~~~
lib/timeRoutines.cpp:134:72: warning: narrowing conversion of ‘(uint32_t)result1.timeWDHMS::hours’ from ‘uint32_t {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
   { tm_sec: result1.seconds, tm_min: result1.minutes, tm_hour: result1.hours,
                                                                ~~~~~~~~^~~~~
lib/timeRoutines.cpp:135:20: warning: narrowing conversion of ‘(uint32_t)result1.timeWDHMS::days’ from ‘uint32_t {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
   tm_wday: result1.days, tm_week: result1.weeks };
            ~~~~~~~~^~~~
lib/timeRoutines.cpp:135:43: warning: narrowing conversion of ‘(uint32_t)result1.timeWDHMS::weeks’ from ‘uint32_t {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
   tm_wday: result1.days, tm_week: result1.weeks };
                                   ~~~~~~~~^~~~~
lib/timeRoutines.cpp: In function ‘const timeDiff __time_rel(const double&, const double&)’:
lib/timeRoutines.cpp:141:46: warning: narrowing conversion of ‘(uint32_t)result1.timeWDHMS::minutes’ from ‘uint32_t {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
   { tm_sec: result1.seconds, tm_min: result1.minutes, tm_hour: result1.hours,
                                      ~~~~~~~~^~~~~~~
lib/timeRoutines.cpp:141:72: warning: narrowing conversion of ‘(uint32_t)result1.timeWDHMS::hours’ from ‘uint32_t {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
   { tm_sec: result1.seconds, tm_min: result1.minutes, tm_hour: result1.hours,
                                                                ~~~~~~~~^~~~~
lib/timeRoutines.cpp:142:20: warning: narrowing conversion of ‘(uint32_t)result1.timeWDHMS::days’ from ‘uint32_t {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
   tm_wday: result1.days, tm_week: result1.weeks };
            ~~~~~~~~^~~~
lib/timeRoutines.cpp:142:43: warning: narrowing conversion of ‘(uint32_t)result1.timeWDHMS::weeks’ from ‘uint32_t {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
   tm_wday: result1.days, tm_week: result1.weeks };
                                   ~~~~~~~~^~~~~
lib/timeRoutines.cpp: In function ‘const timeDiff structTM2structTD(tm)’:
lib/timeRoutines.cpp:185:17: warning: narrowing conversion of ‘input.tm::tm_sec’ from ‘int’ to ‘double’ inside { } [-Wnarrowing]
   tm_sec: input.tm_sec, tm_min: input.tm_min, tm_hour: input.tm_hour,
           ~~~~~~^~~~~~
procinfo.cpp: In function ‘int main(int, char**)’:
procinfo.cpp:317:63: warning: narrowing conversion of ‘getFrac(interval, 1000000u)’ from ‘uint32_t {aka unsigned int}’ to ‘__suseconds_t {aka long int}’ inside { } [-Wnarrowing]
  const struct timeval sleepInterval = { (int)interval, getFrac(interval, 1000000) };
                                                        ~~~~~~~^~~~~~~~~~~~~~~~~~~
/tmp/ccu0DXK4.o: In function `print(char const*, ...)':
./lib/prettyPrint.cpp:42: undefined reference to `stdscr'
./lib/prettyPrint.cpp:42: undefined reference to `vwprintw'
/tmp/ccu0DXK4.o: In function `mainLoop(bool, bool, bool, bool, bool, bool, bool, bool, bool, unsigned int, std::vector<IRQ, std::allocator<IRQ> > const&)':
./procinfo.cpp:220: undefined reference to `refresh'
./procinfo.cpp:222: undefined reference to `erase'
/tmp/ccu0DXK4.o: In function `initConsole()':
./lib/prettyPrint.cpp:52: undefined reference to `initscr'
./lib/prettyPrint.cpp:54: undefined reference to `cbreak'
/tmp/ccu0DXK4.o: In function `main':
./procinfo.cpp:375: undefined reference to `clear'
/tmp/ccu0DXK4.o: In function `resetConsole()':
./lib/prettyPrint.cpp:60: undefined reference to `endwin'
collect2: error: ld returned 1 exit status
Makefile:47: recipe for target 'procinfo' failed
make[1]: *** [procinfo] Error 1
make[1]: Leaving directory '/home/unit193/tmp/procinfo-2.0.304-2ubuntu1'
dh_auto_build: make -j1 returned exit code 2
debian/rules:7: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1376:
dpkg-buildpackage -rfakeroot -D -us -uc -i -I -tc -sa failed