(See attached file: corosync_make_rpm_error.txt)

Hi all,

I am building released tar.gz of corosync v2.3.5 from github. Log is
attached for your refrerence:

OS: RHEL 7.2
Arch: PPC64LE

Summary of log:
*********************************************************************************************
corosync.spec.in > corosync.spec-t; \
chmod a-w corosync.spec-t
fatal: Not a git repository (or any of the parent directories): .git
chmod: cannot access ‘corosync.spec-t’: No such file or directory
make[1]: *** [corosync.spec] Error 1
make[1]: Leaving directory `/root/ha/corosync/corosync-2.3.5'
make: *** [rpm] Error 2
*********************************************************************************************

Note:
I am however able to build using make rpm if I clone from master branch.
So, I think this is specific to released tar balls.

Will greatly appreciate any inputs on above. Please let me know if you need
more information.

Thanks and Regards,
Anup Halarnkar

# make rpm
Making clean in include
make[1]: Entering directory `/root/ha/corosync/corosync-2.3.5/include'
rm -rf .libs _libs
rm -f *.lo
make[1]: Leaving directory `/root/ha/corosync/corosync-2.3.5/include'
Making clean in common_lib
make[1]: Entering directory `/root/ha/corosync/corosync-2.3.5/common_lib'
test -z "libcorosync_common.la" || rm -f libcorosync_common.la
rm -f ./so_locations
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
make[1]: Leaving directory `/root/ha/corosync/corosync-2.3.5/common_lib'
Making clean in lib
make[1]: Entering directory `/root/ha/corosync/corosync-2.3.5/lib'
test -z "libcpg.la libquorum.la libcfg.la libvotequorum.la libcmap.la 
libsam.la" || rm -f libcpg.la libquorum.la libcfg.la libvotequorum.la 
libcmap.la libsam.la
rm -f ./so_locations
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
make[1]: Leaving directory `/root/ha/corosync/corosync-2.3.5/lib'
Making clean in exec
make[1]: Entering directory `/root/ha/corosync/corosync-2.3.5/exec'
test -z "libtotem_pg.la" || rm -f libtotem_pg.la
rm -f ./so_locations
rm -rf .libs _libs
 rm -f corosync
rm -f *.o
rm -f *.lo
make[1]: Leaving directory `/root/ha/corosync/corosync-2.3.5/exec'
Making clean in tools
make[1]: Entering directory `/root/ha/corosync/corosync-2.3.5/tools'
rm -rf .libs _libs
rm -f corosync-xmlproc corosync-blackbox
 rm -f corosync-cfgtool corosync-keygen corosync-cpgtool corosync-quorumtool 
corosync-notifyd corosync-cmapctl
rm -f *.o
rm -f *.lo
make[1]: Leaving directory `/root/ha/corosync/corosync-2.3.5/tools'
Making clean in test
make[1]: Entering directory `/root/ha/corosync/corosync-2.3.5/test'
rm -rf .libs _libs
rm -f ploadstart
 rm -f cpgverify testcpg testcpg2 cpgbench testquorum testvotequorum1 
testvotequorum2 stress_cpgfdget stress_cpgcontext cpgbound testsam testcpgzc 
cpgbenchzc testzcgc stress_cpgzc
rm -f *.o
rm -f *.lo
make[1]: Leaving directory `/root/ha/corosync/corosync-2.3.5/test'
Making clean in cts
make[1]: Entering directory `/root/ha/corosync/corosync-2.3.5/cts'
Making clean in agents
make[2]: Entering directory `/root/ha/corosync/corosync-2.3.5/cts/agents'
rm -rf .libs _libs
rm -f shm_leak_audit.sh cmap-dispatch-deadlock.sh
 rm -f cpg_test_agent sam_test_agent votequorum_test_agent
rm -f *.o
rm -f *.lo
make[2]: Leaving directory `/root/ha/corosync/corosync-2.3.5/cts/agents'
make[2]: Entering directory `/root/ha/corosync/corosync-2.3.5/cts'
rm -rf .libs _libs
rm -f *.lo
make[2]: Leaving directory `/root/ha/corosync/corosync-2.3.5/cts'
make[1]: Leaving directory `/root/ha/corosync/corosync-2.3.5/cts'
Making clean in pkgconfig
make[1]: Entering directory `/root/ha/corosync/corosync-2.3.5/pkgconfig'
rm -rf .libs _libs
rm -f *.pc
rm -f *.lo
make[1]: Leaving directory `/root/ha/corosync/corosync-2.3.5/pkgconfig'
Making clean in man
make[1]: Entering directory `/root/ha/corosync/corosync-2.3.5/man'
rm -rf .libs _libs
rm -rf corosync.conf.5.html votequorum.5.html corosync.8.html 
corosync-cmapctl.8.html corosync-blackbox.8.html corosync-keygen.8.html 
corosync-cfgtool.8.html corosync-cpgtool.8.html corosync-notifyd.8.html 
corosync-quorumtool.8.html corosync_overview.8.html cpg_overview.8.html 
quorum_overview.8.html votequorum_overview.8.html sam_overview.8.html 
cmap_overview.8.html cmap_keys.8.html cpg_context_get.3.html 
cpg_context_set.3.html cpg_dispatch.3.html cpg_fd_get.3.html 
cpg_finalize.3.html cpg_initialize.3.html cpg_join.3.html cpg_leave.3.html 
cpg_local_get.3.html cpg_mcast_joined.3.html cpg_model_initialize.3.html 
cpg_zcb_mcast_joined.3.html cpg_zcb_alloc.3.html cpg_zcb_free.3.html 
cpg_membership_get.3.html cpg_iteration_finalize.3.html 
cpg_iteration_initialize.3.html cpg_iteration_next.3.html 
quorum_initialize.3.html quorum_finalize.3.html quorum_fd_get.3.html 
quorum_dispatch.3.html quorum_context_get.3.html quorum_context_set.3.html 
quorum_getquorate.3.html quorum_trackstart.3.html quorum_trackstop.3.html 
votequorum_dispatch.3.html votequorum_fd_get.3.html 
votequorum_context_get.3.html votequorum_context_set.3.html 
votequorum_finalize.3.html votequorum_getinfo.3.html 
votequorum_initialize.3.html votequorum_setexpected.3.html 
votequorum_setvotes.3.html votequorum_trackstart.3.html 
votequorum_trackstop.3.html votequorum_qdevice_register.3.html 
votequorum_qdevice_unregister.3.html votequorum_qdevice_update.3.html 
votequorum_qdevice_master_wins.3.html votequorum_qdevice_poll.3.html 
sam_data_getsize.3.html sam_data_restore.3.html sam_data_store.3.html 
sam_finalize.3.html sam_hc_callback_register.3.html sam_hc_send.3.html 
sam_initialize.3.html sam_mark_failed.3.html sam_register.3.html 
sam_start.3.html sam_stop.3.html sam_warn_signal_set.3.html 
cmap_context_get.3.html cmap_dec.3.html cmap_iter_init.3.html cmap_get.3.html 
cmap_inc.3.html cmap_set.3.html cmap_iter_next.3.html cmap_delete.3.html 
cmap_iter_finalize.3.html cmap_finalize.3.html cmap_dispatch.3.html 
cmap_initialize.3.html cmap_track_add.3.html cmap_context_set.3.html 
cmap_fd_get.3.html cmap_track_delete.3.html cpg_context_get.3 cpg_context_set.3 
cpg_dispatch.3 cpg_fd_get.3 cpg_finalize.3 cpg_initialize.3 cpg_join.3 
cpg_leave.3 cpg_local_get.3 cpg_mcast_joined.3 cpg_model_initialize.3 
cpg_zcb_mcast_joined.3 cpg_zcb_alloc.3 cpg_zcb_free.3 cpg_membership_get.3 
cpg_iteration_finalize.3 cpg_iteration_initialize.3 cpg_iteration_next.3 
quorum_initialize.3 quorum_finalize.3 quorum_fd_get.3 quorum_dispatch.3 
quorum_context_get.3 quorum_context_set.3 quorum_getquorate.3 
quorum_trackstart.3 quorum_trackstop.3 votequorum_dispatch.3 
votequorum_fd_get.3 votequorum_context_get.3 votequorum_context_set.3 
votequorum_finalize.3 votequorum_getinfo.3 votequorum_initialize.3 
votequorum_setexpected.3 votequorum_setvotes.3 votequorum_trackstart.3 
votequorum_trackstop.3 votequorum_qdevice_register.3 
votequorum_qdevice_unregister.3 votequorum_qdevice_update.3 
votequorum_qdevice_master_wins.3 votequorum_qdevice_poll.3 sam_data_getsize.3 
sam_data_restore.3 sam_data_store.3 sam_finalize.3 sam_hc_callback_register.3 
sam_hc_send.3 sam_initialize.3 sam_mark_failed.3 sam_register.3 sam_start.3 
sam_stop.3 sam_warn_signal_set.3 cmap_context_get.3 cmap_dec.3 cmap_iter_init.3 
cmap_get.3 cmap_inc.3 cmap_set.3 cmap_iter_next.3 cmap_delete.3 
cmap_iter_finalize.3 cmap_finalize.3 cmap_dispatch.3 cmap_initialize.3 
cmap_track_add.3 cmap_context_set.3 cmap_fd_get.3 cmap_track_delete.3
rm -f *.lo
make[1]: Leaving directory `/root/ha/corosync/corosync-2.3.5/man'
Making clean in init
make[1]: Entering directory `/root/ha/corosync/corosync-2.3.5/init'
rm -rf .libs _libs
rm -rf corosync corosync-notifyd
rm -f *.lo
make[1]: Leaving directory `/root/ha/corosync/corosync-2.3.5/init'
Making clean in conf
make[1]: Entering directory `/root/ha/corosync/corosync-2.3.5/conf'
Making clean in logrotate
make[2]: Entering directory `/root/ha/corosync/corosync-2.3.5/conf/logrotate'
rm -rf .libs _libs
rm -f corosync
rm -f *.lo
make[2]: Leaving directory `/root/ha/corosync/corosync-2.3.5/conf/logrotate'
make[2]: Entering directory `/root/ha/corosync/corosync-2.3.5/conf'
rm -rf .libs _libs
rm -f *.lo
make[2]: Leaving directory `/root/ha/corosync/corosync-2.3.5/conf'
make[1]: Leaving directory `/root/ha/corosync/corosync-2.3.5/conf'
Making clean in qdevices
make[1]: Entering directory `/root/ha/corosync/corosync-2.3.5/qdevices'
make[2]: Entering directory `/root/ha/corosync/corosync-2.3.5/qdevices'
rm -rf .libs _libs
rm -f *.lo
make[2]: Leaving directory `/root/ha/corosync/corosync-2.3.5/qdevices'
make[1]: Leaving directory `/root/ha/corosync/corosync-2.3.5/qdevices'
make[1]: Entering directory `/root/ha/corosync/corosync-2.3.5'
rm -rf doc/api corosync.spec corosync-UNKNOWN.tar.gz test_lense.sh
rm -rf .libs _libs
test -z "" || rm -f
test -z "" || rm -f
test -z "test-suite.log" || rm -f test-suite.log
rm -f *.lo
make[1]: Leaving directory `/root/ha/corosync/corosync-2.3.5'
cd . && rm -rf autom4te.cache .version && autoreconf -i
libtoolize: `AC_PROG_RANLIB' is rendered obsolete by `LT_INIT'
make  Makefile
make[1]: Entering directory `/root/ha/corosync/corosync-2.3.5'
/bin/sh ./config.status --recheck
running CONFIG_SHELL=/bin/sh /bin/sh ./configure --no-create --no-recursion
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... /usr/bin/grep
checking for egrep... /usr/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 for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of gcc... gcc3
checking build system type... powerpc64le-unknown-linux-gnu
checking host system type... powerpc64le-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert powerpc64le-unknown-linux-gnu file names to 
powerpc64le-unknown-linux-gnu format... func_convert_file_noop
checking how to convert powerpc64le-unknown-linux-gnu file names to toolchain 
format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf64lppc) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether make supports nested variables... (cached) yes
configure: enable inter-library dependencies: yes
configure: building in place srcdir:.
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf64lppc
checking if the linker (/usr/bin/ld -m elf64lppc) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf64lppc) supports shared 
libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf64lppc) supports shared 
libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... (cached) ranlib
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for groff... groff
checking for pkg-config... pkg-config
checking for augtool... no
checking for dot... no
checking for doxygen... doxygen
checking for awk... (cached) gawk
checking for sed... /usr/bin/sed
checking for bash... /usr/bin/bash
checking whether gcc needs -traditional... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working volatile... 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 for sys/wait.h that is POSIX.1 compatible... 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 limits.h usability... yes
checking limits.h presence... yes
checking for limits.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 stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... 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 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 unistd.h... (cached) yes
checking for sys/types.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking utmpx.h usability... yes
checking utmpx.h presence... yes
checking for utmpx.h... yes
checking ifaddrs.h usability... yes
checking ifaddrs.h presence... yes
checking for ifaddrs.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking for struct sockaddr_in.sin_len... no
checking for struct sockaddr_in6.sin6_len... no
checking for struct msghdr.msg_control... yes
checking for struct msghdr.msg_controllen... yes
checking for struct msghdr.msg_flags... yes
checking for struct msghdr.msg_accrights... no
checking for struct msghdr.msg_accrightslen... no
checking for uid_t in sys/types.h... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for int8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking return type of signal handlers... void
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for nss... yes
checking for LIBQB... yes
checking for qb_log_thread_priority_set in -lqb... yes
checking for pthread_create in -lpthread... yes
checking for socket in -lsocket... no
checking for t_open in -lnsl... no
checking for sched_getscheduler in -lrt... yes
checking for crc32 in -lz... no
checking for working alloca.h... yes
checking for alloca... yes
checking whether closedir returns void... no
checking for error_at_line... yes
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 for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... 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 for vprintf... yes
checking for _doprnt... no
checking for alarm... yes
checking for alphasort... yes
checking for atexit... yes
checking for bzero... yes
checking for dup2... yes
checking for endgrent... yes
checking for endpwent... yes
checking for fcntl... yes
checking for getcwd... yes
checking for getpeerucred... no
checking for getpeereid... no
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for scandir... yes
checking for select... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strrchr... yes
checking for strspn... yes
checking for strstr... yes
checking for pthread_setschedparam... yes
checking for sched_get_priority_max... yes
checking for sched_setscheduler... yes
checking for getifaddrs... yes
checking for clock_gettime... yes
checking for ftruncate... yes
checking for gethostname... yes
checking for localtime_r... yes
checking for munmap... yes
checking for strtol... yes
configure: Sanitizing prefix: /usr
configure: Sanitizing exec_prefix: NONE
checking whether gcc supports "-Wall"... yes
checking whether gcc supports "-Wshadow"... yes
checking whether gcc supports "-Wmissing-prototypes"... yes
checking whether gcc supports "-Wmissing-declarations"... yes
checking whether gcc supports "-Wstrict-prototypes"... yes
checking whether gcc supports "-Wdeclaration-after-statement"... yes
checking whether gcc supports "-Wpointer-arith"... yes
checking whether gcc supports "-Wwrite-strings"... yes
checking whether gcc supports "-Wcast-align"... yes
checking whether gcc supports "-Wbad-function-cast"... yes
checking whether gcc supports "-Wmissing-format-attribute"... yes
checking whether gcc supports "-Wformat=2"... yes
checking whether gcc supports "-Wformat-security"... yes
checking whether gcc supports "-Wformat-nonliteral"... yes
checking whether gcc supports "-Wno-long-long"... yes
checking whether gcc supports "-Wunsigned-char"... no
checking whether gcc supports "-Wgnu89-inline"... no
checking whether gcc supports "-Wno-strict-aliasing"... yes
checking whether gcc accepts PIE flags... yes
checking whether gcc accepts RELRO flags... yes
checking whether gcc accepts BINDNOW flags... yes
checking whether gcc accepts "--as-needed"... yes
checking whether gcc accepts "--version-script"... yes
checking that generated files are newer than configure... done
configure: creating ./config.status

corosync configuration:
  Version                  = UNKNOWN
  Prefix                   = /usr
  Executables              = ${exec_prefix}/sbin
  Man pages                = ${datarootdir}/man
  Doc dir                  = ${datarootdir}/doc/${PACKAGE_TARNAME}
  Libraries                = /usr/lib64
  Header files             = ${prefix}/include
  Arch-independent files   = ${datarootdir}
  State information        = /var
  System configuration     = /etc
  System init.d directory  = /etc/init.d
  System systemd directory = /lib/systemd/system
  System upstart directory = /etc/init
  System init wraps dir    = /usr/share/corosync
  Log directory            = /var/log/cluster
  Log rotate directory     = /etc/logrotate.d
  corosync config dir      = /etc/corosync
  Features                 = pie relro bindnow

corosync build info:
  Library SONAME           = 5.0.0
  CFG Library SONAME       = 6.0.0
  CPG Library SONAME       = 4.1.0
  QUORUM Library SONAME    = 5.0.0
  SAM Library SONAME       = 4.4.0
  VOTEQUORUM Library SONAME  = 7.0.0
  CMAP Library SONAME      = 4.1.0
  Default optimization     = -O3
  Default debug options    =
  Extra compiler warnings  =
  Env. defined CFLAG       = -g -O2
  Env. defined CPPFLAGS    =
  Env. defined LDFLAGS     =
  ANSI defined CPPFLAGS    =
  Coverage     CFLAGS      =
  Coverage     LDFLAGS     =
  Fatal War.   CFLAGS      =
  Final        CFLAGS      = -g -O2  -fPIC -DPIC  -fPIE -O3 -ggdb3        -Wall 
-Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes 
-Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align 
-Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security 
-Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing
  Final        CPPFLAGS    =    -I$(top_builddir)/include 
-I$(top_srcdir)/include -I$(top_builddir)/include/corosync 
-I$(top_srcdir)/include/corosync
  Final        LDFLAGS     =   -fPIC -DPIC  -pie -Wl,-z,relro -Wl,-z,now  
-Wl,--as-needed
 /bin/sh ./config.status
config.status: creating Makefile
config.status: creating exec/Makefile
config.status: creating include/Makefile
config.status: creating init/Makefile
config.status: creating lib/Makefile
config.status: creating common_lib/Makefile
config.status: creating man/Makefile
config.status: creating pkgconfig/Makefile
config.status: creating test/Makefile
config.status: creating cts/Makefile
config.status: creating cts/agents/Makefile
config.status: creating cts/CTSvars.py
config.status: creating tools/Makefile
config.status: creating conf/Makefile
config.status: creating qdevices/Makefile
config.status: creating Doxyfile
config.status: creating conf/logrotate/Makefile
config.status: creating include/corosync/config.h
config.status: include/corosync/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
make[1]: Leaving directory `/root/ha/corosync/corosync-2.3.5'
make[1]: Entering directory `/root/ha/corosync/corosync-2.3.5'
make[1]: `Makefile' is up to date.
make[1]: Leaving directory `/root/ha/corosync/corosync-2.3.5'
make corosync.spec corosync-UNKNOWN.tar.gz
cat: .tarball-version: No such file or directory
make[1]: Entering directory `/root/ha/corosync/corosync-2.3.5'
rm -f corosync.spec-t corosync.spec
date="Sat Jun 25 2016" && \
if [ -f .tarball-version ]; then \
        gitver="" && \
        rpmver=$gitver && \
        alphatag="" && \
        dirty="" && \
        numcomm=""; \
else \
        gitver="" && \
        rpmver=`echo $gitver | sed -e "s/^v//" -e "s/-.*//g"` && \
        alphatag=`echo $gitver | sed -e "s/.*-//" -e "s/^g//"` && \
        vtag=`echo $gitver | sed -e "s/-.*//g"` && \
        numcomm=`git rev-list $vtag..HEAD | wc -l` && \
        git update-index --refresh > /dev/null 2>&1 || true && \
        dirty=`git diff-index --name-only HEAD 2>/dev/null`; \
fi && \
if [ "$numcomm" = "0" ]; then numcomm=""; fi && \
if [ -n "$numcomm" ]; then numcomm="%global numcomm $numcomm"; fi && \
if [ "$alphatag" = "$gitver" ]; then alphatag=""; fi && \
if [ -n "$alphatag" ]; then alphatag="%global alphatag $alphatag"; fi && \
if [ -n "$dirty" ]; then dirty="%global dirty dirty"; fi && \
sed \
        -e "s#@version@#$rpmver#g" \
        -e "s#@ALPHATAG@#$alphatag#g" \
        -e "s#@NUMCOMM@#$numcomm#g" \
        -e "s#@DIRTY@#$dirty#g" \
        -e "s#@date@#$date#g" \
corosync.spec.in > corosync.spec-t; \
chmod a-w corosync.spec-t
fatal: Not a git repository (or any of the parent directories): .git
chmod: cannot access ‘corosync.spec-t’: No such file or directory
make[1]: *** [corosync.spec] Error 1
make[1]: Leaving directory `/root/ha/corosync/corosync-2.3.5'
make: *** [rpm] Error 2
_______________________________________________
Developers mailing list
[email protected]
http://clusterlabs.org/mailman/listinfo/developers

Reply via email to