# make rpm

4 messages from 2007-01-21 to 2007-01-22. Participants: Nicolas Pitre, Jakub Narebski, Josh Boyer, Junio C Hamano.
Thread: https://gitlist.dev/t/6464

## Nicolas Pitre, 2007-01-21 18:27

Subject: make rpm
Message-ID: <Pine.LNX.4.64.0701211325250.3011@xanadu.home>
URL: https://gitlist.dev/e/Pine.LNX.4.64.0701211325250.3011%40xanadu.home

```
I just tried 'make rpm' and it died with:

|rpmbuild -ta git-1.5.0.rc2.tar.gz
|error: Failed build dependencies:
|        perl(Error) is needed by git-1.5.0.rc2-1.i386

Of course I have perl installed.  But what is that "perl(Error)" about?


Nicolas

```

## Jakub Narebski, 2007-01-21 18:44

Subject: Re: make rpm
Message-ID: <ep0c9d$tph$1@sea.gmane.org>
URL: https://gitlist.dev/e/ep0c9d%24tph%241%40sea.gmane.org
In-Reply-To: <Pine.LNX.4.64.0701211325250.3011@xanadu.home>

```
[Cc: git@vger.kernel.org]

Nicolas Pitre wrote:

> I just tried 'make rpm' and it died with:
> 
> |rpmbuild -ta git-1.5.0.rc2.tar.gz
> |error: Failed build dependencies:
> |        perl(Error) is needed by git-1.5.0.rc2-1.i386
> 
> Of course I have perl installed.  But what is that "perl(Error)" about?

You don't have Error.pm perl module (in perl-Error package in Fedora Core).
Git distributes it's own copy, but I guess rpm target requires to have it
installed rather than provide it ourself.

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git

```

## Josh Boyer, 2007-01-21 23:48

Subject: Re: make rpm
Message-ID: <625fc13d0701211548j5f41d4eck49db2726e9c194c2@mail.gmail.com>
URL: https://gitlist.dev/e/625fc13d0701211548j5f41d4eck49db2726e9c194c2%40mail.gmail.com
In-Reply-To: <ep0c9d$tph$1@sea.gmane.org>

```
On 1/21/07, Jakub Narebski <jnareb@gmail.com> wrote:
> [Cc: git@vger.kernel.org]
>
> Nicolas Pitre wrote:
>
> > I just tried 'make rpm' and it died with:
> >
> > |rpmbuild -ta git-1.5.0.rc2.tar.gz
> > |error: Failed build dependencies:
> > |        perl(Error) is needed by git-1.5.0.rc2-1.i386
> >
> > Of course I have perl installed.  But what is that "perl(Error)" about?
>
> You don't have Error.pm perl module (in perl-Error package in Fedora Core).
> Git distributes it's own copy, but I guess rpm target requires to have it
> installed rather than provide it ourself.

If you really have your own copy, you can use Provides: perl(Error) or
something similar.

josh

```

## Junio C Hamano, 2007-01-22 00:59

Subject: Re: make rpm
Message-ID: <7v8xfvzxit.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7v8xfvzxit.fsf%40assigned-by-dhcp.cox.net
In-Reply-To: <625fc13d0701211548j5f41d4eck49db2726e9c194c2@mail.gmail.com>

```
"Josh Boyer" <jwboyer@gmail.com> writes:

>> You don't have Error.pm perl module (in perl-Error package in Fedora Core).
>> Git distributes it's own copy, but I guess rpm target requires to have it
>> installed rather than provide it ourself.
>
> If you really have your own copy, you can use Provides: perl(Error) or
> something similar.

That's true, but I do not think we would want to officially
"Provide" it.  We ship a copy only as a back-up measure for
people building from the source, as Error.pm seems not so widely
deployed.

```
