git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Running "make rpm" fails on a CentOS 6.3 machine

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Jan 30, 2014, 18:16 UTC
Message-ID
<20140130181643.GG27577@google.com>
In-Reply-To
<CALMr_pWHfaHq46418UPcqGKm6bFc61jw-VqGJYV8Ogc9yuHDFA@mail.gmail.com>
Hi,
Erez Zilber wrote:
Show 6 quoted lines
> Writing perl.mak for Git
> Writing perl.mak for Git
> rename MakeMaker.tmp => perl.mak: No such file or directory at /usr/share/perl5/ExtUtils/MakeMaker.pm line 1024.
> make[3]: perl.mak: No such file or directory
> make[3]: perl.mak: No such file or directory
> make[3]: *** No rule to make target `perl.mak'.  Stop.

Looks like MakeMaker is racing against itself. Alas, (on a fairly current Debian system, with perl 5.14.2) I'm not able to reproduce that.

Instead, I get this:
| $ make -j8 rpm
[...]
| make[2]: Leaving directory `$HOME/rpmbuild/BUILD/git-1.8.5.3/Documentation'
| make[1]: Leaving directory `$HOME/rpmbuild/BUILD/git-1.8.5.3'
| + exit 0
| Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WqNYnx
| + umask 022
| + cd $HOME/rpmbuild/BUILD
| + cd git-1.8.5.3
| + rm -rf $HOME/rpmbuild/BUILDROOT/git-1.8.5.3-1.x86_64
| + make -j12 'CFLAGS=-O2 -g' \
	DESTDIR=$HOME/rpmbuild/BUILDROOT/git-1.8.5.3-1.x86_64 \
	ETC_GITCONFIG=/etc/gitconfig prefix=/usr \
	mandir=/usr/share/man htmldir=/usr/share/doc/git-1.8.5.3 \
	INSTALLDIRS=vendor install install-doc
| make[1]: Entering directory `$HOME/rpmbuild/BUILD/git-1.8.5.3'
| make[1]: warning: -jN forced in submake: disabling jobserver mode.
| make[1]: *** write jobserver: Bad file descriptor.  Stop.
| make[1]: *** Waiting for unfinished jobs....
| make[1]: *** write jobserver: Bad file descriptor.  Stop.
| error: Bad exit status from /var/tmp/rpm-tmp.WqNYnx (%install)
|
|
| RPM build errors:
|     Bad exit status from /var/tmp/rpm-tmp.WqNYnx (%install)
| make: *** [rpm] Error 1
Known problem?  A build without -j8 gets further.

Thanks, Jonathan

Previous: Erez ZilberNext: Todd Zullinger
Message 3 of 11 in “Running "make rpm" fails on a CentOS 6.3 machine”
  1. Erez ZilberJan 28, 2014
  2. Erez ZilberJan 30, 2014
  3. Jonathan NiederJan 30, 2014
  4. Todd ZullingerJan 30, 2014
  5. Erez ZilberFeb 2, 2014
  6. Todd ZullingerFeb 2, 2014
  7. Erez ZilberFeb 3, 2014
  8. Todd ZullingerFeb 3, 2014
  9. Martin LanghoffFeb 3, 2014
  10. Todd ZullingerFeb 3, 2014
  11. Junio C HamanoFeb 3, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.