Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Oct 2015 12:38:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 204031] Mk/Uses/pgsql.mk: "USES pgsql:9.0+" fails to find installed databases/postgresql9.4
Message-ID:  <bug-204031-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204031

            Bug ID: 204031
           Summary: Mk/Uses/pgsql.mk: "USES pgsql:9.0+" fails to find
                    installed databases/postgresql9.4
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: Axel.Rau@Chaos1.DE
                CC: freebsd-ports-bugs@FreeBSD.org

Having
  USES pgsql:9.0+
in a port Makefile and some PostgreSQL 9.x installed, say
  postgresql94-client
gives compile errors and confusing error messages like:
- - -
[root@vps: /usr/ports/www/calendarserver] # make
===>  py27-calendarserver-5.1_3 cannot install: the port wants
postgresql-client version 9.0 9.1 9.2 9.3 9.4 and you have version 9.4
installed.
*** Error code 1

Stop.
make: stopped in /usr/ports/www/calendarserver
- - -

Everything works if
  USES pgsql:9.0+
is replaced by
  USES pgsql
(reported by w.litter@aon.at in 201613), or something like
  DEFAULT_VERSIONS= pgsql=9.4
in /etc/make.conf

-- 
You are receiving this mail because:
You are on the CC list for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204031-13>