Bug 22472 - Slight syntax error in the dev-db/hk_classes-0.6 ebuild
Bug#: 22472 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: caleb@gentoo.org Reported By: eduffy@clemson.edu
Component: Ebuilds
URL: 
Summary: Slight syntax error in the dev-db/hk_classes-0.6 ebuild
Keywords:  
Status Whiteboard: 
Opened: 2003-06-08 21:16 0000
Description:   Opened: 2003-06-08 21:16 0000
The DEPEND variable starts off with a "||" for some reason.  I tried doing a
--pretend on dev-db/knoda and that would fail because it couldn't resolve the
dependencies for dev-db/hk-classes.  Using the --debug flag returns:
ebuild: dev-db/hk_classes-0.6                                                  \
Parent:    ebuild / dev-db/hk_classes-0.6 merge
Depstring: || ( mysql? ( >=dev-db/mysql-3.23.54a ) postgres? (
>=dev-db/postgresql-7.3 ) odbc? ( >=dev-db/unixODBC-2.0.6 ) ) || ( mysql? (
>=dev-db/mysql-3.23.54a ) postgres? ( >=dev-db/postgresql-7.3 ) odbc? (
>=dev-db/unixODBC-2.0.6 ) )

!!! Problem in dev-db/knoda dependencies.
!!! list index out of range

Removing the pipes fixes the problem.

Reproducible: Always
Steps to Reproduce:
1. emerge -pd knoda
Actual Results:  
The above error message.

------- Comment #1 From Seemant Kulleen (RETIRED) 2003-06-09 07:25:37 0000 -------
yeah, that's definitely illegal syntax for depend

------- Comment #2 From Caleb Tennis 2003-06-17 06:01:46 0000 -------
Dunno how that happened - it seemed to work for me when I first put it in. 
 
Anyway, it's fixed now.  Thanks for the report.