Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1368379

Summary: "fatal: Not a git repository (or any of the parent directories): .git" when compiling i18n Framework Library
Product: Red Hat Enterprise Linux 7 Reporter: Zhang Yi <yizhan>
Component: libinvm-i18nAssignee: Jeff Moyer <jmoyer>
Status: CLOSED CURRENTRELEASE QA Contact: Zhang Yi <yizhan>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-20 20:12:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Zhang Yi 2016-08-19 08:50:12 UTC
Description of problem:
"fatal: Not a git repository (or any of the parent directories): .git" when compiling i18n Framework Library 

Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. rpm -ivh libinvm-i18n-1.0.0.1016-3.el7.src.rpm
2. cd /root/rpmbuild
3. rpmbuild -bb SPECS/libinvm-i18n.spec

Actual results:


Expected results:


Additional info:

# rpmbuild -bb SPECS/libinvm-i18n.spec 
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5k1YTf
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd /root/rpmbuild/BUILD
+ rm -rf libinvm-i18n-1.0.0.1016
+ /usr/bin/gzip -dc /root/rpmbuild/SOURCES/libinvm-i18n-1.0.0.1016.tar.gz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd libinvm-i18n-1.0.0.1016
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eL7Bkh
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd libinvm-i18n-1.0.0.1016
+ make BUILDNUM=1.0.0.1016 RELEASE=1 'CFLAGS_EXTERNAL=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic' -j16
make -C src all SKIP_UNITTESTS=1
make[1]: Entering directory `/root/rpmbuild/BUILD/libinvm-i18n-1.0.0.1016/src'
mkdir -p ../output/build/linux/release
mkdir -p ../output/obj/linux/release/Intel_i18n
gcc -Wall -Werror -Wfatal-errors -fstack-protector-all -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE=500  -fPIC -m64 -O2 -std=c99 -MMD -D__VERSION_MAJOR__=1 -D__VERSION_MINOR__=0 -D__VERSION_HOTFIX__=0 -D__VERSION_BUILDNUM__=1016 -D__VERSION_NUMBER__=1.0.0.1016   -D__LINUX__ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -D_GNU_SOURCE -I../src -c textdomain.c -o ../output/obj/linux/release/Intel_i18n/textdomain.o
gcc -Wall -Werror -Wfatal-errors -fstack-protector-all -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE=500  -fPIC -m64 -O2 -std=c99 -MMD -D__VERSION_MAJOR__=1 -D__VERSION_MINOR__=0 -D__VERSION_HOTFIX__=0 -D__VERSION_BUILDNUM__=1016 -D__VERSION_NUMBER__=1.0.0.1016   -D__LINUX__ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -D_GNU_SOURCE -I../src -c gettext.c -o ../output/obj/linux/release/Intel_i18n/gettext.o
gcc -Wall -Werror -Wfatal-errors -fstack-protector-all -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE=500  -fPIC -m64 -O2 -std=c99 -MMD -D__VERSION_MAJOR__=1 -D__VERSION_MINOR__=0 -D__VERSION_HOTFIX__=0 -D__VERSION_BUILDNUM__=1016 -D__VERSION_NUMBER__=1.0.0.1016   -D__LINUX__ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -D_GNU_SOURCE -I../src -c posix_system.c -o ../output/obj/linux/release/Intel_i18n/posix_system.o
gcc -Wall -Werror -Wfatal-errors -fstack-protector-all -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE=500  -fPIC -m64 -O2 -std=c99 -MMD -D__VERSION_MAJOR__=1 -D__VERSION_MINOR__=0 -D__VERSION_HOTFIX__=0 -D__VERSION_BUILDNUM__=1016 -D__VERSION_NUMBER__=1.0.0.1016   -D__LINUX__ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -D_GNU_SOURCE -I../src -c gettext_dummy.c -o ../output/obj/linux/release/Intel_i18n/gettext_dummy.o
gcc -Wall -Werror -Wfatal-errors -fstack-protector-all -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE=500  -fPIC -m64 -O2 -std=c99 -MMD -D__VERSION_MAJOR__=1 -D__VERSION_MINOR__=0 -D__VERSION_HOTFIX__=0 -D__VERSION_BUILDNUM__=1016 -D__VERSION_NUMBER__=1.0.0.1016   -D__LINUX__ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -D_GNU_SOURCE -I../src -c safe_str.c -o ../output/obj/linux/release/Intel_i18n/safe_str.o
mkdir -p ../output/build/linux/release/include/libinvm-i18n
cp -rav libIntel_i18n.h ../output/build/linux/release/include/libinvm-i18n
'libIntel_i18n.h' -> '../output/build/linux/release/include/libinvm-i18n/libIntel_i18n.h'
gcc -Wall -Werror -Wfatal-errors -fstack-protector-all -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE=500  -fPIC -m64 -O2  -fno-strict-aliasing -MMD -D__VERSION_MAJOR__=1 -D__VERSION_MINOR__=0 -D__VERSION_HOTFIX__=0 -D__VERSION_BUILDNUM__=1016 -D__VERSION_NUMBER__=1.0.0.1016   -D__LINUX__   -shared ../output/obj/linux/release/Intel_i18n/textdomain.o ../output/obj/linux/release/Intel_i18n/gettext.o ../output/obj/linux/release/Intel_i18n/posix_system.o ../output/obj/linux/release/Intel_i18n/gettext_dummy.o ../output/obj/linux/release/Intel_i18n/safe_str.o  -Wl,-soname,libinvm-i18n.so.1 -o ../output/build/linux/release/libinvm-i18n.so.1.0.0
cd ../output/build/linux/release; rm -f libinvm-i18n.so.1; ln -s libinvm-i18n.so.1.0.0 libinvm-i18n.so.1
cd ../output/build/linux/release; rm -f libinvm-i18n.so; ln -s libinvm-i18n.so.1.0.0 libinvm-i18n.so
make[1]: Leaving directory `/root/rpmbuild/BUILD/libinvm-i18n-1.0.0.1016/src'
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Ddkf8i
+ umask 022
+ cd /root/rpmbuild/BUILD
+ '[' /root/rpmbuild/BUILDROOT/libinvm-i18n-1.0.0.1016-3.el7.x86_64 '!=' / ']'
+ rm -rf /root/rpmbuild/BUILDROOT/libinvm-i18n-1.0.0.1016-3.el7.x86_64
++ dirname /root/rpmbuild/BUILDROOT/libinvm-i18n-1.0.0.1016-3.el7.x86_64
+ mkdir -p /root/rpmbuild/BUILDROOT
+ mkdir /root/rpmbuild/BUILDROOT/libinvm-i18n-1.0.0.1016-3.el7.x86_64
+ cd libinvm-i18n-1.0.0.1016
+ make install RELEASE=1 RPM_ROOT=/root/rpmbuild/BUILDROOT/libinvm-i18n-1.0.0.1016-3.el7.x86_64 LIB_DIR=/usr/lib64 INCLUDE_DIR=/usr/include
fatal: Not a git repository (or any of the parent directories): .git
# complete the paths for the files to be installed
# install files into lib directory
mkdir -p /root/rpmbuild/BUILDROOT/libinvm-i18n-1.0.0.1016-3.el7.x86_64/usr/lib64
cp -rav ./output/build/linux/release/libinvm-i18n.so* /root/rpmbuild/BUILDROOT/libinvm-i18n-1.0.0.1016-3.el7.x86_64/usr/lib64
'./output/build/linux/release/libinvm-i18n.so' -> '/root/rpmbuild/BUILDROOT/libinvm-i18n-1.0.0.1016-3.el7.x86_64/usr/lib64/libinvm-i18n.so'
'./output/build/linux/release/libinvm-i18n.so.1' -> '/root/rpmbuild/BUILDROOT/libinvm-i18n-1.0.0.1016-3.el7.x86_64/usr/lib64/libinvm-i18n.so.1'
'./output/build/linux/release/libinvm-i18n.so.1.0.0' -> '/root/rpmbuild/BUILDROOT/libinvm-i18n-1.0.0.1016-3.el7.x86_64/usr/lib64/libinvm-i18n.so.1.0.0'
# install files into include directory
mkdir -p /root/rpmbuild/BUILDROOT/libinvm-i18n-1.0.0.1016-3.el7.x86_64/usr/include
cp -rav ./output/build/linux/release/include/libinvm-i18n /root/rpmbuild/BUILDROOT/libinvm-i18n-1.0.0.1016-3.el7.x86_64/usr/include
'./output/build/linux/release/include/libinvm-i18n' -> '/root/rpmbuild/BUILDROOT/libinvm-i18n-1.0.0.1016-3.el7.x86_64/usr/include/libinvm-i18n'
'./output/build/linux/release/include/libinvm-i18n/libIntel_i18n.h' -> '/root/rpmbuild/BUILDROOT/libinvm-i18n-1.0.0.1016-3.el7.x86_64/usr/include/libinvm-i18n/libIntel_i18n.h'
+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /root/rpmbuild/BUILD/libinvm-i18n-1.0.0.1016
extracting debug info from /root/rpmbuild/BUILDROOT/libinvm-i18n-1.0.0.1016-3.el7.x86_64/usr/lib64/libinvm-i18n.so.1.0.0
dwz: Too few files for multifile optimization
/usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match.
symlinked /usr/lib/debug/usr/lib64/libinvm-i18n.so.1.0.0.debug to /usr/lib/debug/usr/lib64/libinvm-i18n.so.debug
symlinked /usr/lib/debug/usr/lib64/libinvm-i18n.so.1.0.0.debug to /usr/lib/debug/usr/lib64/libinvm-i18n.so.1.debug
70 blocks
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
+ /usr/lib/rpm/redhat/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-java-repack-jars
Processing files: libinvm-i18n-1.0.0.1016-3.el7.x86_64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.46b4tl
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd libinvm-i18n-1.0.0.1016
+ DOCDIR=/root/rpmbuild/BUILDROOT/libinvm-i18n-1.0.0.1016-3.el7.x86_64/usr/share/doc/libinvm-i18n-1.0.0.1016
+ export DOCDIR
+ /usr/bin/mkdir -p /root/rpmbuild/BUILDROOT/libinvm-i18n-1.0.0.1016-3.el7.x86_64/usr/share/doc/libinvm-i18n-1.0.0.1016
+ cp -pr README.md /root/rpmbuild/BUILDROOT/libinvm-i18n-1.0.0.1016-3.el7.x86_64/usr/share/doc/libinvm-i18n-1.0.0.1016
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.RSVHQn
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd libinvm-i18n-1.0.0.1016
+ LICENSEDIR=/root/rpmbuild/BUILDROOT/libinvm-i18n-1.0.0.1016-3.el7.x86_64/usr/share/licenses/libinvm-i18n-1.0.0.1016
+ export LICENSEDIR
+ /usr/bin/mkdir -p /root/rpmbuild/BUILDROOT/libinvm-i18n-1.0.0.1016-3.el7.x86_64/usr/share/licenses/libinvm-i18n-1.0.0.1016
+ cp -pr licenses/intel_bsd /root/rpmbuild/BUILDROOT/libinvm-i18n-1.0.0.1016-3.el7.x86_64/usr/share/licenses/libinvm-i18n-1.0.0.1016
+ cp -pr licenses/netbsd /root/rpmbuild/BUILDROOT/libinvm-i18n-1.0.0.1016-3.el7.x86_64/usr/share/licenses/libinvm-i18n-1.0.0.1016
+ exit 0
Provides: libinvm-i18n = 1.0.0.1016-3.el7 libinvm-i18n(x86-64) = 1.0.0.1016-3.el7 libinvm-i18n.so.1()(64bit)
Requires(interp): /sbin/ldconfig /sbin/ldconfig
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH)
Processing files: libinvm-i18n-devel-1.0.0.1016-3.el7.x86_64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1qkchq
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd libinvm-i18n-1.0.0.1016
+ DOCDIR=/root/rpmbuild/BUILDROOT/libinvm-i18n-1.0.0.1016-3.el7.x86_64/usr/share/doc/libinvm-i18n-devel-1.0.0.1016
+ export DOCDIR
+ /usr/bin/mkdir -p /root/rpmbuild/BUILDROOT/libinvm-i18n-1.0.0.1016-3.el7.x86_64/usr/share/doc/libinvm-i18n-devel-1.0.0.1016
+ cp -pr README.md /root/rpmbuild/BUILDROOT/libinvm-i18n-1.0.0.1016-3.el7.x86_64/usr/share/doc/libinvm-i18n-devel-1.0.0.1016
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.VcxpIs
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd libinvm-i18n-1.0.0.1016
+ LICENSEDIR=/root/rpmbuild/BUILDROOT/libinvm-i18n-1.0.0.1016-3.el7.x86_64/usr/share/licenses/libinvm-i18n-devel-1.0.0.1016
+ export LICENSEDIR
+ /usr/bin/mkdir -p /root/rpmbuild/BUILDROOT/libinvm-i18n-1.0.0.1016-3.el7.x86_64/usr/share/licenses/libinvm-i18n-devel-1.0.0.1016
+ cp -pr licenses/intel_bsd /root/rpmbuild/BUILDROOT/libinvm-i18n-1.0.0.1016-3.el7.x86_64/usr/share/licenses/libinvm-i18n-devel-1.0.0.1016
+ cp -pr licenses/netbsd /root/rpmbuild/BUILDROOT/libinvm-i18n-1.0.0.1016-3.el7.x86_64/usr/share/licenses/libinvm-i18n-devel-1.0.0.1016
+ exit 0
Provides: libinvm-i18n-devel = 1.0.0.1016-3.el7 libinvm-i18n-devel(x86-64) = 1.0.0.1016-3.el7
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libinvm-i18n.so.1()(64bit)
Processing files: libinvm-i18n-debuginfo-1.0.0.1016-3.el7.x86_64
Provides: libinvm-i18n-debuginfo = 1.0.0.1016-3.el7 libinvm-i18n-debuginfo(x86-64) = 1.0.0.1016-3.el7
Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files /root/rpmbuild/BUILDROOT/libinvm-i18n-1.0.0.1016-3.el7.x86_64
Wrote: /root/rpmbuild/RPMS/x86_64/libinvm-i18n-1.0.0.1016-3.el7.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/libinvm-i18n-devel-1.0.0.1016-3.el7.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/libinvm-i18n-debuginfo-1.0.0.1016-3.el7.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.HlduUC
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd libinvm-i18n-1.0.0.1016
+ /usr/bin/rm -rf /root/rpmbuild/BUILDROOT/libinvm-i18n-1.0.0.1016-3.el7.x86_64
+ exit 0

Comment 2 Jeff Moyer 2016-08-19 13:54:40 UTC
This is just a warning.  Deferring to 7.4.

Comment 3 Jeff Moyer 2017-10-20 20:12:02 UTC
This is no longer relevant, now that the framework packages have been merged into the ixpdimm_sw component.