* * NOTE THE FOLLOWING SECURITY RISKS: * * -- by enabling wildcards, there is a slightly higher chance of an exploit * -- by enabling scp and/or winscp compatibility, more programs will need * to be installed in the chroot which increases the risk. * * please read /usr/share/doc/scponly-4.8-r2/SECURITY* after install! * >>> Unpacking source... >>> Unpacking scponly-4.8.tgz to /var/tmp/portage/net-misc/scponly-4.8-r2/work * Applying scponly-4.8-rsync.patch ...  [ ok ] >>> Source unpacked in /var/tmp/portage/net-misc/scponly-4.8-r2/work >>> Compiling source in /var/tmp/portage/net-misc/scponly-4.8-r2/work/scponly-4.8 ... * econf: updating scponly-4.8/config.sub with /usr/share/gnuconfig/config.sub * econf: updating scponly-4.8/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --with-sftp-server=/usr/lib64/misc/sftp-server --with-default-chdir=/ --disable-restrictive-names --enable-chrooted-binary --enable-chroot-checkdir --enable-winscp-compat --disable-gftp-compat --enable-scp-compat --enable-sftp --disable-quota-compat --enable-passwd-compat --disable-rsync-compat --disable-unison-compat --disable-svn-compat --disable-svnserv-compat --disable-sftp-logging-compat --enable-wildcards checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for cut... /bin/cut checking for grep... /bin/grep checking for sort... /bin/sort checking for ldd... /usr/bin/ldd checking for useradd... /usr/sbin/useradd checking for chown... /bin/chown checking for chmod... /bin/chmod checking for dirname... /bin/dirname checking for id... /usr/bin/id checking for pw... no checking for rm... /bin/rm checking for pwd_mkdb... no configure: enabling core WinSCP and Vanilla SCP binaries... checking for sftp-server... /usr/lib/misc/sftp-server checking for ls... /bin/ls checking for scp... /usr/bin/scp checking for rm... /bin/rm checking for ln... /bin/ln checking for mv... /bin/mv checking for chmod... /bin/chmod checking for chown... /bin/chown checking for chgrp... /bin/chgrp checking for mkdir... /bin/mkdir checking for rmdir... /bin/rmdir configure: enabling WinSCP compatability... checking for pwd... /bin/pwd checking for groups... /bin/groups checking for id... /usr/bin/id checking for echo... /bin/echo configure: enabling passwd compatability... checking for passwd... /bin/passwd configure: enabling SFTP compatability... checking for sftp-server... /usr/lib64/misc/sftp-server checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking wordexp.h usability... yes checking wordexp.h presence... yes checking for wordexp.h... yes checking glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for working alloca.h... yes checking for alloca... yes checking for malloc... yes checking for atexit... yes checking for bzero... yes checking for strchr... yes checking for strerror... yes checking for glob... yes checking for wordexp... yes checking for strspn... yes checking for basename... yes checking for getopt... yes checking whether optreset is declared... no configure: creating ./config.status config.status: creating Makefile config.status: creating setup_chroot.sh config.status: creating config.h make -j9 CC=x86_64-pc-linux-gnu-gcc x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -msse4 -Wl,-O1 -I. -I. -DHAVE_CONFIG_H -DDEBUGFILE='"/etc/scponly/debuglevel"' -o scponly.o -c scponly.c x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -msse4 -Wl,-O1 -I. -I. -DHAVE_CONFIG_H -DDEBUGFILE='"/etc/scponly/debuglevel"' -o helper.o -c helper.c x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -msse4 -Wl,-O1 -I. -I. -DHAVE_CONFIG_H -DDEBUGFILE='"/etc/scponly/debuglevel"' -o groups groups.c helper.c:264:24: error: #elif with no expression make: *** [helper.o] Error 1 make: *** Waiting for unfinished jobs.... scponly.c: In function 'main': scponly.c:228: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result scponly.c: In function 'process_winscp_requests': scponly.c:609: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result scponly.c: In function 'process_ssh_request': scponly.c:758: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result * * ERROR: net-misc/scponly-4.8-r2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2377: Called die * The specific snippet of code: * emake CC=$(tc-getCC) || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/net-misc/scponly-4.8-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/scponly-4.8-r2/temp/environment'. *