Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jun 2015 02:27:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 200752] [patch] devel/libvirt: bad BUILD_DEPENDS with sasl support
Message-ID:  <bug-200752-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 200752
           Summary: [patch] devel/libvirt: bad BUILD_DEPENDS with sasl
                    support
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: jgh@FreeBSD.org
          Reporter: crest@sahiro.org
          Assignee: jgh@FreeBSD.org
             Flags: maintainer-feedback?(jgh@FreeBSD.org)
          Keywords: patch

Created attachment 157596
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=157596&action=edit
Removes "SASL_BUILD_DEPENDS" line

If SASL option is enabled, fails to build below.
Although security/cyrus-sasl2 port does not install "sasl" executable, but
"SASL_BUILD_DEPENDS=sasl:${PORTSDIR}/security/cyrus-sasl2" is specified. This
is wrong. And, because SASL_LIB_DEPENDS was already added in Makefile, I think
SASL_BUILD_DEPENDS is not needed.
My patch only removes "SASL_BUILD_DEPENDS" line.

> % sudo portmaster -gdw --delete-build-only devel/libvirt
> 
> portmaster: libvirt-1.2.16
> ===>>> Currently installed version: libvirt-1.2.16
> ===>>> Port directory: /usr/ports/devel/libvirt
> 
> ===>>> Gathering distinfo list for installed ports
> 
> ===>>> Launching 'make checksum' for devel/libvirt in background
> ===>>> Gathering dependency list for devel/libvirt from ports
> ===>>> Initial dependency check complete for devel/libvirt
> 
> ===>>> Starting build for devel/libvirt <<<===
> 
> ===>>> All dependencies are up to date
> 
> ===>   libvirt-1.2.16 depends on executable: dnsmasq - found
> ===>   libvirt-1.2.16 depends on executable: sasl - not found
> ===>    Verifying install for sasl in /usr/ports/security/cyrus-sasl2
> ===>  Installing for cyrus-sasl-2.1.26_9
> ===>   cyrus-sasl-2.1.26_9 depends on shared library: libpq.so.5 - found (/usr/local/lib/libpq.so.5)
> ===>   cyrus-sasl-2.1.26_9 depends on shared library: libmysqlclient.so.18 - found (/usr/local/lib/mysql/libmysqlclient.so.18)
> ===>   cyrus-sasl-2.1.26_9 depends on shared library: libdb-5.3.so - found (/usr/local/lib/libdb-5.3.so)
> ===>   cyrus-sasl-2.1.26_9 depends on shared library: libsqlite3.so - found (/usr/local/lib/libsqlite3.so)
> ===>  Checking if cyrus-sasl already installed
> ===>   cyrus-sasl-2.1.26_9 is already installed
>       You may wish to ``make deinstall'' and install this port again
>       by ``make reinstall'' to upgrade it properly.
>       If you really wish to overwrite the old port of cyrus-sasl
>       without deleting it first, set the variable "FORCE_PKG_REGISTER"
>       in your environment or the "make install" command line.
> *** Error code 1
> 
> Stop.
> make[3]: stopped in /usr/ports/security/cyrus-sasl2
> *** Error code 1
> 
> Stop.
> make[2]: stopped in /usr/ports/security/cyrus-sasl2
> *** Error code 1
> 
> Stop.
> make[1]: stopped in /usr/ports/devel/libvirt
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/ports/devel/libvirt
> 
> ===>>> make build failed for devel/libvirt
> ===>>> Aborting update

-- 
You are receiving this mail because:
You are the assignee for the bug.



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