RPM build fails
Hi folks, I'm trying to buld a RPM package for HPLIP, but I have an issue when the system is looking for the Requires dependencies. I've looked into it but I haven't found any help at all. Thus, I hope you can give a hand to fix this error:
Code:
...etc. I hope you can shed some light on this issue, because I really need after many days trying to sort it out on my own. Any help will be really appreciated! Thanks in advance. :) |
error: line 76: Dependency "" must begin with alpha-numeric, '_' or '/': """
What does "grep ^[B,R].*equires: /your/specfile.spec" return? |
Quote:
Code:
mach@Yoper ~/SPECS $ grep ^[B,R].*equires: hplip.spec |
No, it doesn't. The BuildRequires line looks sane to me. Could be an error in one of the rpm scripts because it tells you about a dependency called "" (empty). Since you do have the RPM's you should decide if you want to pursue this or if you (if you didn't edit the spec file or .src.rpm or tarball) just want to add a bugtrack item for the packages maintainer. If you want to pursue this then I'd like a download location URI for the .src.rpm or tarball (and the specfile: if you edited it).
|
Well, here you have all you need, I hope: http://88.198.41.209/build/yoper-3.0...er_3.0_alpha_/
I don't think it's a bug in the source, although I don't discard it fully. I'll try to build an older version, just for the sake of trying something different. Thanks again for you help! ;) |
Hmm. I've looked around a bit and most of the error messages are about not filling variables of the "%{?term:} type" which you should handle doing "rpmbuild --define term x y". Now the .spec file you posted has several lines commented out so I'm wondering if it is exactly the one from the RPM or your own local modified copy. If it is you best post a diff between them.
|
Hi Musikolo,
I will try and build it using your spec file and see if I get the same problem. |
Well, I definitely found the same issue
I've had a look over the rpmbuild scripts we use and can't see anything that could be causing it other than an issue with hplip itself. I'll confirm that as I work it out more. |
hplip dependencies
Going through the forums, I feel linux users should not use hp products or hp users should not use linux. Running linux puppy I have been denied printing for a week.
1. sh python displays Python 2.4(#1, Jun 13, 2007....) hplip says DEPENDENCY PYTHON DEVEL MISSING 2. lsb-sdk 3.1.1-5 installed with rpm hplip says DEPENDENCY LSB MISSING Why do HP people not specify version and provide link to a source? Dr K Chaudhry |
All times are GMT -5. The time now is 11:45 AM. |