Source: screen
Version: 4.3.1-2
Severity: important

On my system which has quite a few -dev packages installed, utmp.c does
not compile:

,----
| gcc -c -I. -I.  -Wdate-time -D_FORTIFY_SOURCE=2 
-DETCSCREENRC='"/etc/screenrc"' 
-DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H 
-DGIT_REV=\""`git describe --always 2>/dev/null`"\" \
|      -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall 
-Wextra -Wno-unused-parameter -Wno-missing-field-initializers utmp.c
| utmp.c:99:0: warning: "pututline" redefined
|  # define pututline xpututline
|  ^
| In file included from screen.h:30:0,
|                  from utmp.c:34:
| os.h:262:0: note: this is the location of the previous definition
|  #  define pututline pututxline
|  ^
| utmp.c: In function 'makedead':
| utmp.c:602:13: error: 'struct __exit_status' has no member named 
'e_termination'
|    u->ut_exit.e_termination = 0;
|              ^
| utmp.c:603:13: error: 'struct __exit_status' has no member named 'e_exit'
|    u->ut_exit.e_exit = 0;
|              ^
| utmp.c: In function 'xpututline':
| utmp.c:885:3: warning: implicit declaration of function 'pututline' 
[-Wimplicit-function-declaration]
|    pututline(u);
|    ^
| Makefile:82: recipe for target 'utmp.o' failed
| make[2]: *** [utmp.o] Error 1
`----

I'm attaching a complete build log from git master.  This is not
reproducible in a minimal chroot, even if libutempter-dev is installed
(see #819781).


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (x86_64)

 dpkg-buildpackage -rfakeroot -D -us -uc -i
dpkg-buildpackage: source package screen
dpkg-buildpackage: source version 4.3.1-3
dpkg-buildpackage: source distribution UNRELEASED
dpkg-buildpackage: source changed by Axel Beckert <a...@debian.org>
 dpkg-source -i --before-build screen
dpkg-buildpackage: host architecture i386
dpkg-source: info: using options from screen/debian/source/local-options: 
--unapply-patches
dpkg-source: info: using options from screen/debian/source/options: 
--extend-diff-ignore=config\.h\.in
dpkg-source: info: applying 11replace_doc_paths.patch
dpkg-source: info: applying 13split_info_files.patch
dpkg-source: info: applying 26source_encoding.patch
dpkg-source: info: applying 45suppress_remap.patch
dpkg-source: info: applying 58-show-encoding-hardstatus.patch
dpkg-source: info: applying 60-screen-4.2.1-debian4.1.0-compatibility.patch
dpkg-source: info: applying 61denial-of-service-stack-overflow-fix.patch
dpkg-source: info: applying 80EXP_session_creation_time.patch
 fakeroot debian/rules clean
dh clean --parallel --with autoreconf
   dh_testdir
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/usr/local/src/deb-src/screen/screen'
test ! -s doc/Makefile || /usr/bin/make -C doc realclean
test ! -s Makefile || ! grep -q clean Makefile || /usr/bin/make realclean
make[1]: Leaving directory '/usr/local/src/deb-src/screen/screen'
   dh_autoreconf_clean
   dh_clean
 dpkg-source -i -b screen
dpkg-source: info: using options from screen/debian/source/local-options: 
--unapply-patches
dpkg-source: info: using options from screen/debian/source/options: 
--extend-diff-ignore=config\.h\.in
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building screen using existing ./screen_4.3.1.orig.tar.gz
dpkg-source: info: building screen in screen_4.3.1-3.debian.tar.xz
dpkg-source: info: building screen in screen_4.3.1-3.dsc
 debian/rules build
dh build --parallel --with autoreconf
   dh_testdir
   dh_update_autotools_config
   dh_autoreconf
autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader: 
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template 
without
autoheader: WARNING: `acconfig.h':
autoheader: 
autoheader: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader:             [Define if a function `main' is needed.])
autoheader: 
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/usr/local/src/deb-src/screen/screen'
dh_auto_configure -- \
            --with-socket-dir=/var/run/screen \
            --enable-pam \
            --with-pty-mode=0620 \
            --with-pty-group=5 \
            --enable-rxvt_osc \
            --with-sys-screenrc=/etc/screenrc \
            --enable-colors256 \
            --enable-telnet \
            --enable-use-locale
        ./configure --build=i586-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 --with-socket-dir=/var/run/screen --enable-pam 
--with-pty-mode=0620 --with-pty-group=5 --enable-rxvt_osc 
--with-sys-screenrc=/etc/screenrc --enable-colors256 --enable-telnet 
--enable-use-locale
configure: WARNING: unrecognized options: --disable-silent-rules, 
--disable-maintainer-mode, --disable-dependency-tracking
this is screen version 4.3.1
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 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 whether gcc needs -traditional... no
checking for library containing strerror... none required
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for gawk... gawk
checking for a BSD-compatible install... /usr/bin/install -c
configure: checking for buggy tools...
checking if a system-wide socket dir should be used... yes
checking for the socket dir... "/var/run/screen"
configure: checking for MIPS...
configure: checking for Ultrix...
configure: checking for butterfly...
configure: checking for POSIX.1...
- you have a POSIX system
configure: checking for System V...
configure: checking for sequent/ptx...
configure: checking SVR4...
checking dwarf.h usability... no
checking dwarf.h presence... no
checking for dwarf.h... no
checking elf.h usability... yes
checking elf.h presence... yes
checking for elf.h... yes
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
configure: checking for Solaris 2.x...
configure: checking BSD job jontrol...
- you have jobcontrol
configure: checking setresuid...
configure: checking setreuid...
configure: checking seteuid...
configure: checking execvpe...
configure: checking select...
configure: checking fifos...
- your fifos are usable
configure: checking for broken fifo implementation...
- your implementation is ok
configure: checking sockets...
- your sockets are usable
configure: checking socket implementation...
- you are normal
- both sockets and fifos usable. let's take sockets.
configure: checking select return value...
- select is ok
configure: checking for tgetent...
configure: checking libcurses...
- you use the terminfo database
configure: checking ospeed...
configure: checking for /dev/ptc...
configure: checking for SVR4 ptys...
checking for getpt... yes
configure: checking for ptyranges...
configure: checking getutent...
configure: checking ut_host...
checking utempter.h usability... yes
checking utempter.h presence... yes
checking for utempter.h... yes
configure: checking for libutil(s)...
configure: checking getloadavg...
assuming posix signal definition
configure: checking for crypt and sec libraries...
configure: checking crypt...
configure: checking IRIX sun library...
configure: checking syslog...
configure: checking wait union...
configure: checking for termio or termios...
configure: checking getspnam...
configure: checking getttyent...
configure: checking fdwalk...
configure: checking whether memcpy/memmove/bcopy handles overlapping 
arguments...
checking for long file names... yes
checking for vsprintf... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for setenv... checking for nl_langinfo(CODESET)... yes
checking for library containing gethostname... none required
checking for rename... yes
checking for fchmod... yes
checking for fchown... yes
checking for strerror... yes
checking for lstat... yes
checking for _exit... yes
checking for utimes... yes
checking for vsnprintf... yes
checking for getcwd... yes
checking for setlocale... yes
checking for strftime... yes
checking for PAM support... yes
checking for the global screenrc file... configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating config.h
config.status: executing default commands
configure: WARNING: unrecognized options: --disable-silent-rules, 
--disable-maintainer-mode, --disable-dependency-tracking

Now please check the pathnames in the Makefile and in the user
configuration section in config.h.
Then type 'make' to make screen. Good luck.

# Assert the use of fifos instead of sockets
grep -q "define.*NAMEDPIPE.*1" config.h || echo "#define NAMEDPIPE 1" >> 
config.h
make[1]: Leaving directory '/usr/local/src/deb-src/screen/screen'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/usr/local/src/deb-src/screen/screen'
dh_auto_build       -- CFLAGS+='-Wall -Wextra -Wno-unused-parameter 
-Wno-missing-field-initializers'
        make -j1 "CFLAGS+=-Wall -Wextra -Wno-unused-parameter 
-Wno-missing-field-initializers"
make[2]: Entering directory '/usr/local/src/deb-src/screen/screen'
CPP="gcc -E -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' 
-DSCREENENCODINGS='"/usr/share/screen/utf8encodings"'" srcdir=. sh ./osdef.sh
AWK=gawk CC="gcc -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -Wextra -Wno-unused-parameter 
-Wno-missing-field-initializers" srcdir=. sh ./comm.sh
AWK=gawk srcdir=. sh ./term.sh
gcc -c -I. -I.  -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' 
-DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H 
-DGIT_REV=\""`git describe --always 2>/dev/null`"\" \
     -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall 
-Wextra -Wno-unused-parameter -Wno-missing-field-initializers screen.c
screen.c: In function 'MakeWinMsgEv':
screen.c:2713:11: warning: comparison between signed and unsigned integer 
expressions [-Wsign-compare]
     if (l < strlen(win->w_cmdargs[i]) + 1)
           ^
screen.c:2786:12: warning: variable 'ss' set but not used 
[-Wunused-but-set-variable]
      char *ss;
            ^
screen.c: In function 'main':
screen.c:1132:8: warning: ignoring return value of 'chown', declared with 
attribute warn_unused_result [-Wunused-result]
        (void) chown(SockPath, real_uid, real_gid);
        ^
screen.c:972:5: warning: ignoring return value of 'setgid', declared with 
attribute warn_unused_result [-Wunused-result]
     setgid(real_gid); \
     ^
screen.c:1187:7: note: in expansion of macro 'SET_GUID'
       SET_GUID();
       ^
screen.c:973:5: warning: ignoring return value of 'setuid', declared with 
attribute warn_unused_result [-Wunused-result]
     setuid(real_uid); \
     ^
screen.c:1187:7: note: in expansion of macro 'SET_GUID'
       SET_GUID();
       ^
screen.c:972:5: warning: ignoring return value of 'setgid', declared with 
attribute warn_unused_result [-Wunused-result]
     setgid(real_gid); \
     ^
screen.c:1207:7: note: in expansion of macro 'SET_GUID'
       SET_GUID();
       ^
screen.c:973:5: warning: ignoring return value of 'setuid', declared with 
attribute warn_unused_result [-Wunused-result]
     setuid(real_uid); \
     ^
screen.c:1207:7: note: in expansion of macro 'SET_GUID'
       SET_GUID();
       ^
screen.c:972:5: warning: ignoring return value of 'setgid', declared with 
attribute warn_unused_result [-Wunused-result]
     setgid(real_gid); \
     ^
screen.c:1237:7: note: in expansion of macro 'SET_GUID'
       SET_GUID();
       ^
screen.c:973:5: warning: ignoring return value of 'setuid', declared with 
attribute warn_unused_result [-Wunused-result]
     setuid(real_uid); \
     ^
screen.c:1237:7: note: in expansion of macro 'SET_GUID'
       SET_GUID();
       ^
screen.c:972:5: warning: ignoring return value of 'setgid', declared with 
attribute warn_unused_result [-Wunused-result]
     setgid(real_gid); \
     ^
screen.c:1272:7: note: in expansion of macro 'SET_GUID'
       SET_GUID();
       ^
screen.c:973:5: warning: ignoring return value of 'setuid', declared with 
attribute warn_unused_result [-Wunused-result]
     setuid(real_uid); \
     ^
screen.c:1272:7: note: in expansion of macro 'SET_GUID'
       SET_GUID();
       ^
screen.c:1323:3: warning: ignoring return value of 'freopen', declared with 
attribute warn_unused_result [-Wunused-result]
   freopen("/dev/null", "r", stdin);
   ^
screen.c:1324:3: warning: ignoring return value of 'freopen', declared with 
attribute warn_unused_result [-Wunused-result]
   freopen("/dev/null", "w", stdout);
   ^
screen.c:1329:3: warning: ignoring return value of 'freopen', declared with 
attribute warn_unused_result [-Wunused-result]
   freopen("/dev/null", "w", stderr);
   ^
screen.c: In function 'serv_select_fn':
screen.c:3240:4: warning: ignoring return value of 'write', declared with 
attribute warn_unused_result [-Wunused-result]
    write(W_UWP(fore) ? fore->w_pwin->p_ptyfd : fore->w_ptyfd, 
    ^
screen.c: In function 'CoreDump':
screen.c:1687:3: warning: ignoring return value of 'setgid', declared with 
attribute warn_unused_result [-Wunused-result]
   setgid(getgid());
   ^
screen.c:1688:3: warning: ignoring return value of 'setuid', declared with 
attribute warn_unused_result [-Wunused-result]
   setuid(getuid());
   ^
screen.c:1703:7: warning: ignoring return value of 'write', declared with 
attribute warn_unused_result [-Wunused-result]
       write(disp->d_userfd, buf, strlen(buf));
       ^
screen.c: In function 'eexit':
screen.c:1887:7: warning: ignoring return value of 'setgid', declared with 
attribute warn_unused_result [-Wunused-result]
       setgid(real_gid);
       ^
screen.c:1888:7: warning: ignoring return value of 'setuid', declared with 
attribute warn_unused_result [-Wunused-result]
       setuid(real_uid);
       ^
screen.c: In function 'Msg':
screen.c:2165:5: warning: ignoring return value of 'write', declared with 
attribute warn_unused_result [-Wunused-result]
     write(queryflag, buf, strlen(buf));
     ^
screen.c: In function 'Panic':
screen.c:2206:9: warning: ignoring return value of 'write', declared with 
attribute warn_unused_result [-Wunused-result]
         write(D_userfd, buf, strlen(buf));
         ^
screen.c:2207:9: warning: ignoring return value of 'write', declared with 
attribute warn_unused_result [-Wunused-result]
         write(D_userfd, "\n", 1);
         ^
screen.c: In function 'QueryMsg':
screen.c:2236:3: warning: ignoring return value of 'write', declared with 
attribute warn_unused_result [-Wunused-result]
   write(queryflag, buf, strlen(buf));
   ^
gcc -c -I. -I.  -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' 
-DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H 
-DGIT_REV=\""`git describe --always 2>/dev/null`"\" \
     -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall 
-Wextra -Wno-unused-parameter -Wno-missing-field-initializers ansi.c
gcc -c -I. -I.  -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' 
-DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H 
-DGIT_REV=\""`git describe --always 2>/dev/null`"\" \
     -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall 
-Wextra -Wno-unused-parameter -Wno-missing-field-initializers fileio.c
fileio.c: In function 'WriteFile':
fileio.c:482:7: warning: ignoring return value of 'ftruncate', declared with 
attribute warn_unused_result [-Wunused-result]
       ftruncate(fd, 0);
       ^
fileio.c: In function 'printpipe':
fileio.c:815:7: warning: ignoring return value of 'dup', declared with 
attribute warn_unused_result [-Wunused-result]
       dup(pi[0]);
       ^
gcc -c -I. -I.  -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' 
-DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H 
-DGIT_REV=\""`git describe --always 2>/dev/null`"\" \
     -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall 
-Wextra -Wno-unused-parameter -Wno-missing-field-initializers mark.c
gcc -c -I. -I.  -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' 
-DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H 
-DGIT_REV=\""`git describe --always 2>/dev/null`"\" \
     -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall 
-Wextra -Wno-unused-parameter -Wno-missing-field-initializers misc.c
misc.c: In function 'GetUptime':
misc.c:806:3: warning: ignoring return value of 'read', declared with attribute 
warn_unused_result [-Wunused-result]
   (void)read(fd, uptimestr, 32);
   ^
gcc -c -I. -I.  -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' 
-DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H 
-DGIT_REV=\""`git describe --always 2>/dev/null`"\" \
     -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall 
-Wextra -Wno-unused-parameter -Wno-missing-field-initializers resize.c
gcc -c -I. -I.  -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' 
-DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H 
-DGIT_REV=\""`git describe --always 2>/dev/null`"\" \
     -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall 
-Wextra -Wno-unused-parameter -Wno-missing-field-initializers socket.c
socket.c: In function 'SendErrorMsg':
socket.c:759:3: warning: ignoring return value of 'write', declared with 
attribute warn_unused_result [-Wunused-result]
   (void) write(s, (char *) &m, sizeof m);
   ^
socket.c: In function 'CreateTempDisplay':
socket.c:931:4: warning: ignoring return value of 'write', declared with 
attribute warn_unused_result [-Wunused-result]
    write(i, "Attaching from inside of screen?\n", 33);
    ^
socket.c:942:8: warning: ignoring return value of 'write', declared with 
attribute warn_unused_result [-Wunused-result]
        write(i, "Access to session denied.\n", 26);
        ^
socket.c:966:7: warning: ignoring return value of 'write', declared with 
attribute warn_unused_result [-Wunused-result]
       write(i, "Could not make display.\n", 24);
       ^
gcc -c -I. -I.  -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' 
-DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H 
-DGIT_REV=\""`git describe --always 2>/dev/null`"\" \
     -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall 
-Wextra -Wno-unused-parameter -Wno-missing-field-initializers search.c
sh ./tty.sh tty.c
gcc -c -I. -I.  -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' 
-DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H 
-DGIT_REV=\""`git describe --always 2>/dev/null`"\" \
     -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall 
-Wextra -Wno-unused-parameter -Wno-missing-field-initializers tty.c
gcc -c -I. -I.  -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' 
-DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H 
-DGIT_REV=\""`git describe --always 2>/dev/null`"\" \
     -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall 
-Wextra -Wno-unused-parameter -Wno-missing-field-initializers term.c
gcc -c -I. -I.  -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' 
-DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H 
-DGIT_REV=\""`git describe --always 2>/dev/null`"\" \
     -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall 
-Wextra -Wno-unused-parameter -Wno-missing-field-initializers window.c
window.c: In function 'ForkWindow':
window.c:1469:7: warning: implicit declaration of function 'execvpe' 
[-Wimplicit-function-declaration]
       execvpe(proc, args, NewEnv);
       ^
window.c:1291:4: warning: ignoring return value of 'dup', declared with 
attribute warn_unused_result [-Wunused-result]
    dup(slave);
    ^
window.c:1342:3: warning: ignoring return value of 'dup', declared with 
attribute warn_unused_result [-Wunused-result]
   dup(newfd);
   ^
window.c:1346:8: warning: ignoring return value of 'dup', declared with 
attribute warn_unused_result [-Wunused-result]
        dup(win->w_ptyfd);
        ^
window.c: In function 'CloseDevice':
window.c:978:7: warning: ignoring return value of 'chown', declared with 
attribute warn_unused_result [-Wunused-result]
       (void)chown(wp->w_tty, 0, 0);
       ^
window.c: In function 'FreePseudowin':
window.c:1698:3: warning: ignoring return value of 'chown', declared with 
attribute warn_unused_result [-Wunused-result]
   (void)chown(pwin->p_tty, 0, 0);
   ^
window.c: In function 'RemakeWindow':
window.c:920:19: warning: 'f' may be used uninitialized in this function 
[-Wmaybe-uninitialized]
   p->w_writeev.fd = f;
                   ^
gcc -c -I. -I.  -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' 
-DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H 
-DGIT_REV=\""`git describe --always 2>/dev/null`"\" \
     -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall 
-Wextra -Wno-unused-parameter -Wno-missing-field-initializers utmp.c
utmp.c:99:0: warning: "pututline" redefined
 # define pututline xpututline
 ^
In file included from screen.h:30:0,
                 from utmp.c:34:
os.h:262:0: note: this is the location of the previous definition
 #  define pututline pututxline
 ^
utmp.c: In function 'makedead':
utmp.c:602:13: error: 'struct __exit_status' has no member named 'e_termination'
   u->ut_exit.e_termination = 0;
             ^
utmp.c:603:13: error: 'struct __exit_status' has no member named 'e_exit'
   u->ut_exit.e_exit = 0;
             ^
utmp.c: In function 'xpututline':
utmp.c:885:3: warning: implicit declaration of function 'pututline' 
[-Wimplicit-function-declaration]
   pututline(u);
   ^
Makefile:82: recipe for target 'utmp.o' failed
make[2]: *** [utmp.o] Error 1
make[2]: Leaving directory '/usr/local/src/deb-src/screen/screen'
dh_auto_build: make -j1 CFLAGS+=-Wall -Wextra -Wno-unused-parameter 
-Wno-missing-field-initializers returned exit code 2
debian/rules:37: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/usr/local/src/deb-src/screen/screen'
debian/rules:16: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Reply via email to