Skip to content

Instantly share code, notes, and snippets.

@aespinosa
Created December 18, 2015 05:01
Show Gist options
  • Save aespinosa/7923649d922467110ee4 to your computer and use it in GitHub Desktop.
Save aespinosa/7923649d922467110ee4 to your computer and use it in GitHub Desktop.
nix-shell -p screen
nix-shell -p screen
these derivations will be built:
/nix/store/imllr5vbrvbjb30sm9kvy1l4ii0fjvf8-screen-4.3.1.drv
building path(s) ‘/nix/store/jgdd2x4l5rhhp51r86ssi1cramm239s0-screen-4.3.1’
unpacking sources
unpacking source archive /nix/store/h2yicr397vakb4ijs74vngkvmm1gk56f-screen-4.3.1.tar.gz
source root is screen-4.3.1
patching sources
applying patch /nix/store/sycysq7bdffvz64g7d2452hqjny5c7ia-CVE-2015-6806.patch
patching file ansi.c
applying patch /nix/store/p29dfgyxqcziv99bqxq989v626kmws3w-screen-utmp.patch?file_id=34815
patching file acconfig.h
patching file configure.ac
patching file utmp.c
configuring
configure flags: --prefix=/nix/store/jgdd2x4l5rhhp51r86ssi1cramm239s0-screen-4.3.1 --enable-telnet --enable-pam --infodir=/nix/store/jgdd2x4l5rhhp51r86ssi1cramm239s0-screen-4.3.1/share/info --mandir=/nix/store/jgdd2x4l5rhhp51r86ssi1cramm239s0-screen-4.3.1/share/man --with-sys-screenrc=/etc/screenrc --enable-colors256
this is screen version 4.3.1
checking for gcc... clang
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 clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... /nix/store/kfslz3z05nvh3b851dl3z0xx71r3z4g9-gnugrep-2.22/bin/grep
checking for egrep... /nix/store/kfslz3z05nvh3b851dl3z0xx71r3z4g9-gnugrep-2.22/bin/grep -E
checking whether clang 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... /nix/store/cgyn13df4j2s8aksv8miaz0yimvldmnk-coreutils-8.24/bin/install -c
configure: checking for buggy tools...
- sh is 'GNU bash, version 4.3.42(1)-release (x86_64-apple-darwin13.4.0)'.
checking if a system-wide socket dir should be used... yes
checking for the socket dir... (eff_uid ? "/tmp/uscreens" : "/tmp/screens")
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 stropts.h usability... no
checking stropts.h presence... no
checking for stropts.h... no
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...
configure: checking libtermcap...
configure: checking libtermlib...
configure: checking libncursesw...
- you use the terminfo database
configure: checking ospeed...
configure: checking for /dev/ptc...
configure: checking for SVR4 ptys...
checking for getpt... no
configure: checking for ptyranges...
configure: checking default tty permissions/group...
checking for write... no
checking for xterm... no
- can't determine - assume ptys are world accessable
configure: checking getutent...
configure: checking getutent with -lgen...
configure: checking ut_host...
checking utempter.h usability... no
checking utempter.h presence... no
checking for utempter.h... no
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... no
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
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.
building
make flags: SHELL=/nix/store/1qh7l7vb89hfgmai1c0fjh2r50fgyjrx-bash-4.3-p42/bin/bash
CPP="clang -E -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/nix/store/jgdd2x4l5rhhp51r86ssi1cramm239s0-screen-4.3.1/share/screen/utf8encodings"'" srcdir=. sh ./osdef.sh
In file included from osdef0.c:23:
./os.h:266:12: fatal error: 'utmp.h' file not found
# include <utmp.h>
^
1 error generated.
AWK=gawk CC="clang -g -O2" srcdir=. sh ./comm.sh
In file included from ./comm.c:39:
./os.h:266:12: fatal error: 'utmp.h' file not found
# include <utmp.h>
^
1 error generated.
AWK=gawk srcdir=. sh ./term.sh
clang -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/nix/store/jgdd2x4l5rhhp51r86ssi1cramm239s0-screen-4.3.1/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \
-g -O2 screen.c
In file included from screen.c:89:
In file included from ./screen.h:30:
./os.h:266:12: fatal error: 'utmp.h' file not found
# include <utmp.h>
^
1 error generated.
Makefile:82: recipe for target 'screen.o' failed
make: *** [screen.o] Error 1
builder for ‘/nix/store/imllr5vbrvbjb30sm9kvy1l4ii0fjvf8-screen-4.3.1.drv’ failed with exit code 2
error: build of ‘/nix/store/imllr5vbrvbjb30sm9kvy1l4ii0fjvf8-screen-4.3.1.drv’ failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment