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

Re: Cannot install git RPM

From
WDWolfgang Denk <wd@denx.de>
Date
Aug 9, 2005, 11:07 UTC
Message-ID
<20050809110705.6B1FF352B36@atlas.denx.de>
In-Reply-To
<20050809104040.B9C61352B36@atlas.denx.de>
I wrote:
Show 9 quoted lines
> it is not possible to build RPMs from the current git code:
> 
> RPM build errors:
>     Installed (but unpackaged) file(s) found:
>    /usr/share/git-core/templates/description
>    /usr/share/git-core/templates/hooks/post-update
>    /usr/share/git-core/templates/hooks/update
>    /usr/share/git-core/templates/info/exclude
> make: *** [rpm] Error 1
A simple fix is of course:

-> diff -u git-core.spec.in.ORIG git-core.spec.in --- git-core.spec.in.ORIG 2005-08-09 10:26:50.845877000 +0200 +++ git-core.spec.in 2005-08-09 12:42:06.872310918 +0200

@@ -40,6 +40,7 @@
 %{!?_without_docs: %doc Documentation/*.html }
 %{!?_without_docs: %{_mandir}/man1/*.1.gz}
 %{!?_without_docs: %{_mandir}/man7/*.7.gz}
+/usr/share/git-core/templates/*
 
 %changelog
 * Thu Jul 14 2005 Eric Biederman <ebiederm@xmission.com>


But the resulting RPM cannot be installed either,  at  least  not  in
standard Fedora Core 2/3/4 installations:

error: Failed dependencies:
        perl(Email::Valid) is needed by git-core-0.99.3-1
        perl(Mail::Sendmail) is needed by git-core-0.99.3-1


Seems git is depending on more and more stuff which is not  available
in standard distros. This makes it not easier for new users...

Is there at least some  documentation  which  external  packages  are
needed, and where to find these?

Best regards,

Wolfgang Denk
-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
"There are three principal ways to lose money: wine, women,  and  en-
gineers.  While  the first two are more pleasant, the third is by far
the more certain."                      -- Baron Rothschild, ca. 1800
Previous: Wolfgang DenkNext: Junio C Hamano
Message 2 of 16 in “Cannot build git RPM”
  1. Wolfgang DenkAug 9, 2005
  2. Wolfgang DenkAug 9, 2005
  3. Junio C HamanoAug 9, 2005
  4. Junio C HamanoAug 9, 2005
  5. Ryan AndersonAug 10, 2005
  6. Wolfgang DenkAug 10, 2005
  7. Chris WrightAug 10, 2005
  8. Sam RavnborgAug 10, 2005
  9. Chris WrightAug 10, 2005
  10. Wolfgang DenkAug 10, 2005
  11. Junio C HamanoAug 10, 2005
  12. Wolfgang DenkAug 10, 2005
  13. Chris WrightAug 10, 2005
  14. Clemens KollerAug 9, 2005
  15. Linus TorvaldsAug 9, 2005
  16. Clemens KollerAug 9, 2005

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.