threads / discuss / 15158

problem building git 1.6.0 on SuSE

Subject: problem building git 1.6.0 on SuSE

## tl;dr

One message between Aug 22, 2008 and Aug 22, 2008.

replies: 0people: 1as markdown or json

MichaelTiloDressel@t-online.de· Aug 22, 2008, 11:47 UTC · lore
Hi,
I get the following errors when rpmbuild'ing git:
RPM build errors:
    File not found by glob:
/var/tmp/git-1.6.0-1-root-michael/usr/lib64/git-core/*svn*
    File not found by glob:
/var/tmp/git-1.6.0-1-root-michael/usr/lib64/git-core/*cvs*
    File not found:
/var/tmp/git-1.6.0-1-root-michael/usr/lib64/git-core/git-archimport
    File not found by glob:
/var/tmp/git-1.6.0-1-root-michael/usr/lib64/git-core/*email*
    File not found:
/var/tmp/git-1.6.0-1-root-michael/usr/lib64/git-core/git-gui
    File not found:
/var/tmp/git-1.6.0-1-root-michael/usr/lib64/git-core/git-citool

I have to replace %{_libexecdir} by /usr/libexec in git.spec to get around this problem.

I guess the %{_libexecdir} macro's value is not respected everywhere in configure(.in) etc.

The reason may be that on my system rpm --eval %{_libexecdir} returns: /usr/lib64 . While on others it may return /usr/libexec. And if /usr/libexec is used somewhere hard wired it won't show up that the value %{_libexecdir} is ignored.

Still I think this is potentially a general problem not only related to SuSE.

I may take care of this problem at some later point when I have some more time to learn about the git's building and packaging internals. Maybe somebody else can do it quicker.

Cheers, Michael

← back to recent threads