mysecureshell
                                
                                
                                
                                    mysecureshell copied to clipboard
                            
                            
                            
                        Jobs failing to build on travis-ci
Hi All, I am trying to build mysecureshell package on travis-ci, but it is failing to build. I found there is some permissions issue on coverity scan resulting to termination of build. Logs are mentioned below.
0.01s Setting environment variables from .travis.yml $ export LANG="en_US.UTF-8" $ export serverHost="localhost" $ export serverUser="test" $ export serverPassword="test" $ export TRAVIS_COMPILER=gcc $ export CXX=${CXX:-g++} $ export CXX_FOR_BUILD=${CXX_FOR_BUILD:-g++} $ export CC=${CC:-gcc} $ export CC_FOR_BUILD=${CC_FOR_BUILD:-gcc} $ gcc --version gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. before_install.1 0.00s$ echo $LANG before_install.2 0.00s$ echo $LC_ALL before_install.3 0.00s$ cat /etc/group before_install.4 0.00s$ cat /etc/fstab before_install.5 0.05s$ sudo addgroup --gid 3003 test before_install.6 0.04s$ sudo addgroup --gid 3004 group1 before_install.7 0.04s$ sudo addgroup --gid 3005 group2 before_install.8 0.04s$ sudo addgroup --gid 3006 group3 before_install.9 0.04s$ sudo addgroup --gid 3007 group4 before_install.10 0.04s$ sudo addgroup --gid 3008 group5 before_install.11 0.04s$ sudo addgroup --gid 3009 group6 before_install.12 0.07s$ sudo adduser --home /home/test --shell /usr/bin/mysecureshell --uid 4002 --gid 3003 --disabled-password --gecos "" test before_install.13 0.07s$ sudo adduser --home /home/test2 --shell /usr/bin/mysecureshell --uid 4003 --gid 3003 --disabled-password --gecos "" test2 before_install.14 0.02s$ sudo usermod -G group6 test before_install.15 0.02s$ echo 'test:test' | sudo chpasswd before_install.16 12.37s$ if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get update -qq && sudo apt-get install -qqy libacl1-dev libgnutls28-dev acl clang; fi before_script 4.67s$ ./configure checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking whether make sets $(MAKE)... yes 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 sed... /bin/sed checking for sudo... /usr/bin/sudo 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 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 whether gcc needs -traditional... no checking whether ln -s works... yes checking for inline... inline checking for an ANSI C-conforming const... yes checking for uid_t in sys/types.h... yes checking for int32_t... yes checking for mode_t... yes checking for off_t... yes checking for ssize_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking return type of signal handlers... void checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for u_int8_t... yes checking for u_int16_t... yes checking for u_int32_t... yes checking for u_int64_t... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for unistd.h... (cached) yes checking sys/statfs.h usability... yes checking sys/statfs.h presence... yes checking for sys/statfs.h... yes checking for sys/param.h... (cached) yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking sys/socket usability... no checking sys/socket presence... no checking for sys/socket... no checking for netinet/in.h... (cached) yes checking sys/acl.h usability... yes checking sys/acl.h presence... yes checking for sys/acl.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for sys/mount.h... yes checking whether closedir returns void... no checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking whether lstat accepts an empty string... no checking for unistd.h... (cached) yes checking for working chown... yes checking type of array argument to getgroups... gid_t checking for size_t... yes checking for getgroups... yes checking for working getgroups... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for strftime... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for alarm... yes checking for working mktime... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking whether stat file-mode macros are broken... no checking for sys/wait.h that is POSIX.1 compatible... yes checking whether time.h and sys/time.h may both be included... (cached) yes checking for endgrent... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strrchr... yes checking for strstr... yes checking for statfs... yes checking for statvfs... yes checking for getgroups... (cached) yes checking for strlcpy... no checking for strlcat... no checking for acl... no checking for acl_get_perm_np... no checking for atexit... yes checking for dup2... yes checking for endpwent... yes checking for gettimeofday... yes checking for memset... yes checking for mkdir... yes checking for realpath... yes checking for regcomp... yes checking for rmdir... yes checking for select... yes checking for setenv... yes checking for memmove... yes checking for openlog... yes checking for syslog... yes checking for closelog... yes checking for vsyslog... yes checking for connect... yes checking for gethostbyaddr... yes checking for gethostbyname... yes checking for inet_ntoa... yes checking for iconv_open... yes checking for iconv_close... yes checking for iconv... yes checking for acl_get_entry in -lacl... yes checking for gnutls_hash_init in -lgnutls... yes configure: creating ./config.status config.status: creating Makefile config.status: creating install.sh config.status: creating uninstaller.sh config.status: creating utils/sftp-user chmod: cannot access 'utils/sftp-verif': No such file or directory config.status: creating utils/sftp-verif config.status: creating config.h checking for a BSD-compatible install... /usr/bin/install -c MySecureShell has been configured with the following options: Log file: /var/log/sftp-server.log (color: no) User binaries: /usr/bin Shutdown file: /etc/sftp.shut Configuration file: /etc/ssh/sftp_config Compilation flags: Option supported: ACL : yes Remote Admin : yes UTF-8 Encoding : yes Sftp extension supported: Disk Usage : yes Disk Usage OpenSSH: yes File Hashing : yes $ export PROJECT_NAME=mysecureshell/mysecureshell Coverity Scan analysis selected for branch master. Coverity Scan API access denied. Check $PROJECT_NAME and $COVERITY_SCAN_TOKEN.
Please help me to fix this issue
Hello,
It's ok, the last error is about security scan but only my instance of travis have the correct configuration. So you can safetly ignore this error or remove coverity-scan 👍