apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From WR - Widyachacra Rajapaksha | විද්‍යාචක්‍ර <widyacha...@gmail.com>
Subject Re: APR-UTIL 1.5.3 rpmbuild error: File not found by glob: apr_dbd_pgsql*
Date Thu, 13 Mar 2014 15:42:01 GMT
Dear Devs,

I guess I found the issue. But Sorry I didn't give you the completed
details to reproduce this error. So, please kindly find the below steps for
it;

Steps to reproduce the error;

1)
Install CentOS 6.5(Final) x86_64

2)
add below repo;

[pgdg93]
name=PostgreSQL *9.3* $releasever - $basearch
baseurl=http://yum.postgresql.org/9.3/redhat/rhel-$releasever-$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-93


3)
Install '*postgresql93-devel-9.3.3-1PGDG.rhel6.x86_64*' from below repo but*
not the default* '*postgresql-devel-8.4.20-1.el6_5.x86_64*'

4)
download the latest apr & apr-utils from 'http://apr.apache.org/download.cgi'


5)
Installed all the required dependancies to compile these
sources(apr,apr-utils)

6)
login from root

7)
cd ~/
mkdir -p {BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}

8)
copy downloaded sources(apr,apr-utils) to SOURCES

9)
rpmbuild -tb apr-1.5.0.tar.bz2

***This should build without any issues***

10)
rpmbuild -tb apr-util-1.5.3.tar.bz2

***sure you will end up with the above said error***

---

*Resolution;*

1)
Installed the default 'postgresql-devel'
pacakge(postgresql-devel-8.4.20-1.el6_5.x86_64);

yum install postgresql-devel

2)
rpmbuild -tb apr-util-1.5.3.tar.bz2

now everything will go smoothly.

*So, I guess this 'apr-util-1.5.3.tar.bz2' package is not build with
'postgresql93-devel-9.3.3-1PGDG.rhel6.x86_64'*







On Thu, Mar 13, 2014 at 8:46 PM, WR - Widyachacra Rajapaksha | විද්‍යාචක්‍ර
<widyachacra@gmail.com> wrote:

>
> On Thu, Mar 13, 2014 at 11:53 AM, Nick Kew <nick@webthing.com> wrote:
>
>>
>> On 12 Mar 2014, at 12:35, Jeff Trawick wrote:
>>
>> > On Tue, Mar 11, 2014 at 10:52 PM, WR - Widyachacra Rajapaksha |
>> විද්‍යාචක්‍ර <widyachacra@gmail.com> wrote:
>>
>> Sorry, can't reply to the original: Mac mail dislikes it and has just
>> crashed three
>> or four times when I try to view it(!)  But I can see it at Bugzilla
>> #56255.
>>
>> > I'm getting the bellow error while building the RPM using rpmbuild -tb
>> apr-util-1.5.3.tar.bz2 and I couldn't find a solution to resolve this from
>> the internet. Now I stuck & can't seem to figure out what to do next. Your
>> help will be greatly appreciated.
>>
>> Hmmm.  I didn't realise apr-util shipped with any kind of support for
>> rpmbuild, and this problem suggests to me it should perhaps be
>> marked as unsupported.
>>
> I just followed the steps in this;
> http://apr.apache.org/compiling_unix.html
>
>>
>> I see:
>> > RPM build errors:
>> >    File not found by glob:
>> /root/rpmbuild/BUILDROOT/apr-util-1.5.3-1.x86_64/usr/lib64/apr-util-1/apr_dbd_pgsql*
>>
>> from which I guess you built and installed as per apr-util.spec,
>> and that your build detected and installed the other DBD drivers in
>> apr-util.spec but not pgsql?
>>
>> So while pgsql support is optional in apr-util's normal build, rpmbuild
>> is treating
>> the absence of the pgsql driver as a fatal error?  The same logic appears
>> to
>> apply to all the DBD drivers.  Isn't that a recipe for trouble when
>> someone tries
>> rpmbuild with not all the optional dependencies installed?
>>
>> --
>> Nick Kew
>>
>>
>>
> ---
>
> Cheers!
>
> Widyachacra
>
---
ජයවේවා! (Cheers!)

Widyachacra Rajapaksha.

Mime
View raw message