ERRORS: openvpn.spec

Arkadiusz Miskiewicz arekm at pld-linux.org
Sun Feb 25 17:13:59 CET 2007


On Sunday 25 of February 2007, Andrzej Krzysztofowicz wrote:
> Tomasz Wittner wrote:
> > On Sun 18. of February 2007, you wrote:
> > > openvpn.spec (AC-branch): FAILED
> > >
> > > --- openvpn.spec:AC-branch:
> > > Build-Time: user:0.46s sys:0.19s real:0.94s (faults io:0 non-io:22910)
> > >
> > >
> > >
> > > *** buildlog for openvpn.spec
> > > request from: twittner
> > > started at: Sun Feb 18 17:43:50 2007
> > > building SRPM using: cd rpm/SPECS; nice -n 10 ./builder -nu -nm
> > > --nodeps -bs  -r AC-branch  -Tp auto-ac- -tt openvpn.spec 2>&1
> > >
> > > # $Revision: 1.121.2.1 $, $Date: 2007/02/18 14:40:46 $
> > > Available branches: AC-branch OPENVPN2 RA-branch
> > > Searching for tag auto-ac-openvpn-2_0-3...
> > > Tag auto-ac-openvpn-2_0-3 already exists (spec release: 1.87).
> > > exit status 2304
> > > error: No files produced.
> > > error: File /home/users/builder/rpm/SOURCES/openvpn-2.0.9.tar.gz: No
> > > such file or directory Begin-PLD-Builder-Info
> > > Build-Time: user:0.46s sys:0.19s real:0.94s (faults io:0 non-io:22910)
> > >
> > > End-PLD-Builder-Info
> >
> > Coś jet popsute i źle wylicza autotaga.
>
> Rel. 1.380 poprawia ten problem.
> Z 1.381 jest j/w. Ktos chetny, by to poprawic?
>
> Rel. 1.380 is OK here.
> Rel. 1.381 and newer - as above. Any volunteer to locate and fix the
> problem? glen?
>
> For now - 1.380 on scrbuilder.

It's not builder script fault. It's rpm fault.

$ rpmbuild --define "prep %dump" openvpn.spec 2>&1 | grep PACKAGE_VERSION
 -1: PACKAGE_VERSION    2.0

and that happens because there is subpackage with Version field in 
openvpn.spec. 

builder script could be probably hacked to use:
[arekm at tarm ~/rpm/SPECS]$ rpm --specfile 
openvpn.spec -q --queryformat "PACKAGE_NAME=\"%{name}\"\nPACKAGE_VERSION=\"%{version}\"\nPACKAGE_RELEASE=\"%{release}\"\n"
PACKAGE_NAME="openvpn"
PACKAGE_VERSION="2.0.9"
PACKAGE_RELEASE="3"
PACKAGE_NAME="openvpn-devel"
PACKAGE_VERSION="2.0.9"
PACKAGE_RELEASE="3"
PACKAGE_NAME="easy-rsa"
PACKAGE_VERSION="2.0"
PACKAGE_RELEASE="3"
PACKAGE_NAME="openvpn-debuginfo"
PACKAGE_VERSION="2.0.9"
PACKAGE_RELEASE="3"

-- 
Arkadiusz Miśkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/


More information about the pld-devel-en mailing list