Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 586328 - www-servers/ocsigenserver: invalid use of := inside || ()
Summary: www-servers/ocsigenserver: invalid use of := inside || ()
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 586238
  Show dependency tree
 
Reported: 2016-06-18 19:38 UTC by Michał Górny
Modified: 2016-06-23 11:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-06-18 19:38:32 UTC
dbm? ( || ( dev-ml/camldbm:= >=dev-lang/ocaml-3.12[gdbm] ) )

:= inside || () is forbidden and must not be used.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-06-21 19:28:11 UTC
commit a6bb3f132de1185fb2798692666e368415fe839e
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: Tue Jun 21 21:26:12 2016
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: Tue Jun 21 21:26:28 2016

    www-servers/ocsigenserver: Remove := inside ||, #586328


Solved the immediate issue. Keeping the bug open so that we can work on improving the dep.
Comment 2 Alexis Ballier gentoo-dev 2016-06-23 11:26:59 UTC
commit 7756f9b4c515c47a0c60e26d2ad502f69bf66a6f
Author: Alexis Ballier <aballier@gentoo.org>
Date:   Thu Jun 23 13:26:18 2016 +0200

    www-servers/ocsigenserver: depend on camldbm only since ocsigen is ~arch only and camldbm is unmasked on relevant arches.
    
    Package-Manager: portage-2.3.0_rc1

diff --git a/www-servers/ocsigenserver/ocsigenserver-2.7.ebuild b/www-servers/ocsigenserver/ocsigenserver-2.7-r1.ebuild
similarity index 97%
rename from www-servers/ocsigenserver/ocsigenserver-2.7.ebuild
rename to www-servers/ocsigenserver/ocsigenserver-2.7-r1.ebuild
index 1a5a3cb..311e804 100644
--- a/www-servers/ocsigenserver/ocsigenserver-2.7.ebuild
+++ b/www-servers/ocsigenserver/ocsigenserver-2.7-r1.ebuild
@@ -26,7 +26,7 @@ DEPEND=">=dev-ml/lwt-2.5.0:=[react,ssl]
                >=dev-ml/tyxml-3.3:=[camlp4(+)]
                >=dev-lang/ocaml-3.12:=[ocamlopt?]
                dev-ml/ocaml-ipaddr:=
-               dbm? ( || ( dev-ml/camldbm >=dev-lang/ocaml-3.12[gdbm] ) )
+               dbm? ( dev-ml/camldbm:= )
                sqlite? ( dev-ml/ocaml-sqlite3:= )"
 RDEPEND="${DEPEND}"
 


this is the proper way