i get the following when trying to run emerge rcs [root]# emerge rcs Calculating dependencies \>>> Unpacking source... >>> Unpacking rcs-5.7.tar.gz >>> Source unpacked. creating cache ./config.cache checking diff basename... $(bindir)/diff checking for $(bindir)/diff... $(bindir)/diff checking diff success status... 0 checking diff failure status... 1 checking diff trouble status... 2 checking diff options for RCS... -an checking diff -L... yes checking diff3 -m... yes checking for $(bindir)/diff3... $(bindir)/diff3 checking for ed... /bin/ed checking for sendmail... no checking for mail... no checking for mailx... no checking for pic... pic -n checking for gcc... gcc checking whether we are using GNU C... yes checking for a BSD compatible install... /bin/install -c checking whether make sets ${MAKE}... yes updating cache ./config.cache creating ./config.status creating Makefile creating man/Makefile creating src/Makefile cd man && make all make[1]: Entering directory `/var/tmp/portage/rcs-5.7-r1/work/rcs-5.7/man' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/var/tmp/portage/rcs-5.7-r1/work/rcs-5.7/man' cd src && make all make[1]: Entering directory `/var/tmp/portage/rcs-5.7-r1/work/rcs-5.7/src' rm -f a.* ALL_CFLAGS=' -Dhas_conf_h -I. -I. -march=i686 -O3 -pipe' \ CC='gcc' \ COMPAT2='0' \ DIFF3='/usr/bin/diff3' DIFF3_BIN='1' \ DIFF='/usr/bin/diff' DIFFFLAGS='-an' DIFF_L='1' \ DIFF_SUCCESS='0' \ DIFF_FAILURE='1' \ DIFF_TROUBLE='2' \ ED='/bin/ed' \ LDFLAGS='' LIBS='' \ RCSPREFIX='/usr/bin/' \ SENDMAIL='' \ /bin/sh -x ./conf.sh 3>&1 >a.h 2>conf.err ./conf.sh: testing permissions ... ./conf.sh: This command should not be run with superuser permissions. OK ./conf.sh: testing compiler for plausibility ... OK ./conf.sh: configuring exitmain ... OK ./conf.sh: configuring _POSIX_C_SOURCE ... OK ./conf.sh: configuring _POSIX_SOURCE ... OK ./conf.sh: configuring how to check for syntax errors ... gcc -Dhas_conf_h -I. -I. -march=i686 -O3 -pipe -S ./conf.sh: configuring #include <sys/types.h> ... OK ./conf.sh: configuring #include <sys/stat.h> ... OK ./conf.sh: configuring #include <dirent.h> ... OK ./conf.sh: configuring #include <fcntl.h> ... OK ./conf.sh: configuring #include <limits.h> ... OK ./conf.sh: configuring #include <mach/mach.h> ... commenting it out ./conf.sh: configuring #include <net/errno.h> ... commenting it out ./conf.sh: configuring #include <pwd.h> ... OK ./conf.sh: configuring #include <siginfo.h> ... commenting it out ./conf.sh: configuring #include <signal.h> ... OK ./conf.sh: configuring #include <stdlib.h> ... OK ./conf.sh: configuring #include <string.h> ... OK ./conf.sh: configuring #include <sys/mman.h> ... OK ./conf.sh: configuring #include <sys/wait.h> ... OK ./conf.sh: configuring #include <ucontext.h> ... OK ./conf.sh: configuring #include <unistd.h> ... OK ./conf.sh: configuring #include <utime.h> ... OK ./conf.sh: configuring #include <vfork.h> ... commenting it out ./conf.sh: configuring has_sys_param_h ... OK ./conf.sh: configuring errno ... OK ./conf.sh: configuring has_readlink, readlink_isreg_errno ... 1, EINVAL ./conf.sh: configuring mode_t ... OK ./conf.sh: configuring off_t ... OK ./conf.sh: configuring pid_t ... OK ./conf.sh: configuring sig_atomic_t ... OK ./conf.sh: configuring size_t ... OK ./conf.sh: configuring ssize_t ... OK ./conf.sh: configuring time_t ... OK ./conf.sh: configuring uid_t ... OK ./conf.sh: configuring const ... OK ./conf.sh: configuring volatile ... OK ./conf.sh: configuring has_prototypes, has_stdarg, has_varargs, va_start_args ... 1, 1, -1, 2 ./conf.sh: configuring bad_chmod_close ... OK ./conf.sh: configuring bad_creat0 ... will work around bug ./conf.sh: configuring bad_fopen_wplus ... OK ./conf.sh: configuring has_attribute_noreturn ... OK ./conf.sh: configuring has_dirent, void_closedir ... OK ./conf.sh: configuring has_fchmod ... does not work ./conf.sh: configuring has_fflush_input ... OK ./conf.sh: configuring has_fputs ... OK ./conf.sh: configuring has_ftruncate ... OK ./conf.sh: configuring has_getuid ... OK ./conf.sh: configuring has_getpwuid ... OK ./conf.sh: configuring has_kill ... OK ./conf.sh: configuring has_memcmp ... OK ./conf.sh: configuring has_memcpy ... OK ./conf.sh: configuring has_memmove ... OK ./conf.sh: configuring has_map_fd, has_mmap, has_madvise, mmap_signal ... make[1]: Leaving directory `/var/tmp/portage/rcs-5.7-r1/work/rcs-5.7/src' cd man && make all make[1]: Entering directory `/var/tmp/portage/rcs-5.7-r1/work/rcs-5.7/man' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/var/tmp/portage/rcs-5.7-r1/work/rcs-5.7/man' cd src && make all make[1]: Entering directory `/var/tmp/portage/rcs-5.7-r1/work/rcs-5.7/src' rm -f a.* ALL_CFLAGS=' -Dhas_conf_h -I. -I. -march=i686 -O3 -pipe' \ CC='gcc' \ COMPAT2='0' \ DIFF3='/usr/bin/diff3' DIFF3_BIN='1' \ DIFF='/usr/bin/diff' DIFFFLAGS='-an' DIFF_L='1' \ DIFF_SUCCESS='0' \ DIFF_FAILURE='1' \ DIFF_TROUBLE='2' \ ED='/bin/ed' \ LDFLAGS='' LIBS='' \ RCSPREFIX='/usr/bin/' \ SENDMAIL='' \ /bin/sh -x ./conf.sh 3>&1 >a.h 2>conf.err ./conf.sh: testing permissions ... ./conf.sh: This command should not be run with superuser permissions. OK ./conf.sh: testing compiler for plausibility ... OK ./conf.sh: configuring exitmain ... OK ./conf.sh: configuring _POSIX_C_SOURCE ... OK ./conf.sh: configuring _POSIX_SOURCE ... OK ./conf.sh: configuring how to check for syntax errors ... gcc -Dhas_conf_h -I. -I. -march=i686 -O3 -pipe -S ./conf.sh: configuring #include <sys/types.h> ... OK ./conf.sh: configuring #include <sys/stat.h> ... OK ./conf.sh: configuring #include <dirent.h> ... OK ./conf.sh: configuring #include <fcntl.h> ... OK ./conf.sh: configuring #include <limits.h> ... OK ./conf.sh: configuring #include <mach/mach.h> ... commenting it out ./conf.sh: configuring #include <net/errno.h> ... commenting it out ./conf.sh: configuring #include <pwd.h> ... OK ./conf.sh: configuring #include <siginfo.h> ... commenting it out ./conf.sh: configuring #include <signal.h> ... OK ./conf.sh: configuring #include <stdlib.h> ... OK ./conf.sh: configuring #include <string.h> ... OK ./conf.sh: configuring #include <sys/mman.h> ... OK ./conf.sh: configuring #include <sys/wait.h> ... OK ./conf.sh: configuring #include <ucontext.h> ... OK ./conf.sh: configuring #include <unistd.h> ... OK ./conf.sh: configuring #include <utime.h> ... OK ./conf.sh: configuring #include <vfork.h> ... commenting it out ./conf.sh: configuring has_sys_param_h ... OK ./conf.sh: configuring errno ... OK ./conf.sh: configuring has_readlink, readlink_isreg_errno ... 1, EINVAL ./conf.sh: configuring mode_t ... OK ./conf.sh: configuring off_t ... OK ./conf.sh: configuring pid_t ... OK ./conf.sh: configuring sig_atomic_t ... OK ./conf.sh: configuring size_t ... OK ./conf.sh: configuring ssize_t ... OK ./conf.sh: configuring time_t ... OK ./conf.sh: configuring uid_t ... OK ./conf.sh: configuring const ... OK ./conf.sh: configuring volatile ... OK ./conf.sh: configuring has_prototypes, has_stdarg, has_varargs, va_start_args ... 1, 1, -1, 2 ./conf.sh: configuring bad_chmod_close ... OK ./conf.sh: configuring bad_creat0 ... will work around bug ./conf.sh: configuring bad_fopen_wplus ... OK ./conf.sh: configuring has_attribute_noreturn ... OK ./conf.sh: configuring has_dirent, void_closedir ... OK ./conf.sh: configuring has_fchmod ... does not work ./conf.sh: configuring has_fflush_input ... OK ./conf.sh: configuring has_fputs ... OK ./conf.sh: configuring has_ftruncate ... OK ./conf.sh: configuring has_getuid ... OK ./conf.sh: configuring has_getpwuid ... OK ./conf.sh: configuring has_kill ... OK ./conf.sh: configuring has_memcmp ... OK ./conf.sh: configuring has_memcpy ... OK ./conf.sh: configuring has_memmove ... OK ./conf.sh: configuring has_map_fd, has_mmap, has_madvise, mmap_signal ... make[1]: Leaving directory `/var/tmp/portage/rcs-5.7-r1/work/rcs-5.7/src' ...done! >>> emerge app-text/rcs-5.7-r1 to / >>> md5 ;-) rcs-5.7.tar.gz !!! emerge aborting on /usr/portage/app-text/rcs/rcs-5.7-r1.ebuild . make[1]: ***[conf.h] Error 139 make: *** [all] Error 2 make[1]: ***[conf.h] Error 139 make: *** [all] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 9, Exitcode 2 !!! (no error message)
Naz, a tricky bug, just for you.
Added Small fix for this package please test and get back to me on it. I would like to know if the same issue comes up. I will leave this bug open until I do here back from you. My system doesn't seem to have problems with this ebuild so I can't reproduce locally. Naz
So this ebuild now works fine on every one's machines??? Naz
Yup, it works now.