I'm not sure if this is the same issue or not, but I have a problem with
"ambiguous sources". I downloaded all the src.rpm files from
ftp://ftp.openpkg.org/current/SRC/ (excluding PLUS, but I want to do that
next)
-----------------------------------O----------------------------------
$ rpm -qa
make-3.80-1.2.0
gcc-3.2.1-1.2.0
openpkg-tool-20030212-20030212
openpkg-1.2.0-1.2.0
binutils-2.13.2.1-1.2.0
$
-----------------------------------O----------------------------------
-----------------------------------O----------------------------------
$ openpkg index -o 00INDEX.rdf -i .
Broken Pipe
Broken Pipe
Broken Pipe
Broken Pipe
Broken Pipe
Broken Pipe
Broken Pipe
WARNING: unknown token '"2"':
< #if "%{V_minor}" == "0"
> #if "2" == "0"
WARNING: unknown token '==':
< #if "%{V_minor}" == "0"
> #if "2" == "0"
WARNING: unknown token '"0"':
< #if "%{V_minor}" == "0"
> #if "2" == "0"
Broken Pipe
Broken Pipe
Broken Pipe
Broken Pipe
Broken Pipe
Broken Pipe
Broken Pipe
Broken Pipe
Broken Pipe
Broken Pipe
Broken Pipe
Broken Pipe
Broken Pipe
Broken Pipe
Broken Pipe
Broken Pipe
Broken Pipe
$
-----------------------------------O----------------------------------
-----------------------------------O----------------------------------
$ openpkg build -r . -UA
# reading index file
# using simple text parser
# reading index file
# using simple text parser
# ambigous sources for
# 0: binutils-2.13.2.1-1.2.0 = ./binutils-2.13.2.1-1.2.0.src.rpm
# 1: binutils-2.13.2.1-1.2.0 = ./binutils-2.13.2.1-1.2.0.src.rpm
.
.
.
# 51: binutils-2.13.2.1-1.2.0 = ./binutils-2.13.2.1-1.2.0.src.rpm
# 52: binutils-2.13.2.1-1.2.0 = ./binutils-2.13.2.1-1.2.0.src.rpm
# 53: binutils-2.13.2.1-1.2.0 = ./binutils-2.13.2.1-1.2.0.src.rpm
# 54: gcc-3.2.1-1.2.0 = ./gcc-3.2.1-1.2.0.src.rpm
# 55: gcc-3.2.1-1.2.0 = ./gcc-3.2.1-1.2.0.src.rpm
# 56: gcc-3.2.1-1.2.0 = ./gcc-3.2.1-1.2.0.src.rpm
# 57: gcc-3.2.1-1.2.0 = ./gcc-3.2.1-1.2.0.src.rpm
# 58: gcc-3.2.1-1.2.0 = ./gcc-3.2.1-1.2.0.src.rpm
.
.
.
# 137: gcc-3.2.1-1.2.0 = ./gcc-3.2.1-1.2.0.src.rpm
# 138: gcc-3.2.1-1.2.0 = ./gcc-3.2.1-1.2.0.src.rpm
# 139: make-3.80-1.2.0 = ./make-3.80-1.2.0.src.rpm
# 140: make-3.80-1.2.0 = ./make-3.80-1.2.0.src.rpm
# 141: make-3.80-1.2.0 = ./make-3.80-1.2.0.src.rpm
.
.
.
# 270: make-3.80-1.2.0 = ./make-3.80-1.2.0.src.rpm
# 271: make-3.80-1.2.0 = ./make-3.80-1.2.0.src.rpm
# 272: make-3.80-1.2.0 = ./make-3.80-1.2.0.src.rpm
# 273: openpkg-1.2.0-1.2.0 = ./openpkg-1.2.0-1.2.0.src.rpm
# 274: openpkg-1.2.0-1.2.0 = ./openpkg-1.2.0-1.2.0.src.rpm
# 275: openpkg-1.2.0-1.2.0 = ./openpkg-1.2.0-1.2.0.src.rpm
.
.
.
# 426: openpkg-1.2.0-1.2.0 = ./openpkg-1.2.0-1.2.0.src.rpm
# 427: openpkg-1.2.0-1.2.0 = ./openpkg-1.2.0-1.2.0.src.rpm
# 428: openpkg-1.2.0-1.2.0 = ./openpkg-1.2.0-1.2.0.src.rpm
FATAL: cannot find source for ''
$
-----------------------------------O----------------------------------
-----------------------------------O----------------------------------
$ ls binutil* openpkg* gcc* make*
binutils-2.13.2.1-1.2.0.src.rpm make-3.80-1.2.0.src.rpm
gcc-3.2.1-1.2.0.src.rpm openpkg-1.2.0-1.2.0.src.rpm
$
-----------------------------------O----------------------------------
Perhaps I'm not doing this right? I just want to build binary rpms from
all the src.rpms available and decide later what to install on other
machines. I don't want to pick through them now; I'd like as much
automation as possible and I was hoping openpkg-tool was the answer.
I realize I may have probs with multiple sources for MTA, POP, etc. but it
doesn't appear that I've encountered that above, and I could delete the
src.rpms that I don't want to get around that.
--
Vinod
On Thu, 6 Feb 2003, Michael van Elst wrote:
> On Wed, Feb 05, 2003, Martin Andrews wrote:
>
> Hi,
>
> > I ran "openpkg index" on a mysql rpm I built from openpkg 1.2. I just
> > tried it on a directory with only this RPM and sure enough I get an
> > empty entry in the prereqs. I have the same problem on solaris 7 and
> > redhat 7.1 (all I have tried so far).
>
> this is a bug. RPM reports dependencies to 'rpmlib(...)' that
> were not correctly removed from the index but left these empty
> PreReq elements.
>
> I have uploaded a fixed version to current.
>
> Thanks for your feedback :)
>
> Greetings,
> --
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [EMAIL PROTECTED]