Skip to contentSkip to conversation

Problems creating RPM out of tar (5.0.5)

DISCUSSION Holger Schier 3 participants 3 messages Dec 1, 2010 – Dec 10, 2010 Kernel automounter

lore
Share & tools
lore
#0 lore raw

Hey folks,

I am working with openSuSE 11.1 and 11.2 here and because of a new server I need an automounter with simple bind options. So I downloaded the 5.0.5 tar and do all the patching. Then I created a new tar and tried:

rpmbuild -tb autofs-5.0.5.-patched.tar.gz

But I get the following errors:
failed build dependencies
hesiod-devel is needed by autofs-5.0.5-1.src
openldap-devel is needed by autofs-5.0.5-1.src

Same error with the orginial tar.

openldap2-devel is installed (with YaST). I don't know what hesiod is and didn't find any rpms. And the autofs-5.0.4 rpm installation before was working.

So, where does these dependencies come from?

Thanks.
Holger

maintainer
#1 lore raw
Quoted 13 lines · Holger Schier

Hey folks,

I am working with openSuSE 11.1 and 11.2 here and because of a new server I need an automounter with simple bind options. So I downloaded the 5.0.5 tar and do all the patching. Then I created a new tar and tried:

rpmbuild -tb autofs-5.0.5.-patched.tar.gz

But I get the following errors:
failed build dependencies
hesiod-devel is needed by autofs-5.0.5-1.src
openldap-devel is needed by autofs-5.0.5-1.src

Quoted 7 lines

Same error with the orginial tar.

openldap2-devel is installed (with YaST). I don't know what hesiod is and didn't find any rpms. And the autofs-5.0.4 rpm installation before was working.

So, where does these dependencies come from?

If you look in the spec file you will see.
BuildPrereq: autoconf, hesiod-devel, openldap-devel, bison, flex, cyrus-sasl-devel

If the packages that provide these facilities have different names within your distribution you will need to change them. Why don't you have a look at the original openSuSE source rpm and see what it uses.

Quoted 8 lines

Thanks.
Holger

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

#2 lore raw
In reply to Holger Schier
Quoted 7 lines · Holger Schier

Hey folks,

I am working with openSuSE 11.1 and 11.2 here and because of a new server I need an automounter with simple bind options. So I downloaded the 5.0.5 tar and do all the patching. Then I created a new tar and tried:

rpmbuild -tb autofs-5.0.5.-patched.tar.gz

Hello Holger,

Alternatively, you can use the packages from the Build Service filesystems repository.

openSUSE 11.1:

http://download.opensuse.org/repositories/filesystems/openSUSE_11.1/i586/autofs-5.0.5-20.2.i586.rpm
http://download.opensuse.org/repositories/filesystems/openSUSE_11.1/x86_64/autofs-5.0.5-20.2.x86_64.rpm

openSUSE 11.2:

http://download.opensuse.org/repositories/filesystems/openSUSE_11.2/i586/autofs-5.0.5-20.1.i586.rpm
http://download.opensuse.org/repositories/filesystems/openSUSE_11.2/x86_64/autofs-5.0.5-20.1.x86_64.rpm

These are the latest (Factory) version rebuilt on 11.1 and 11.2

Leonardo