Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Oct 2012 01:04:03 GMT
From:      Garrett Cooper <yanegomi@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/172741: [ports] check-build-conflicts checks too early for pre-build targets
Message-ID:  <201210160104.q9G143jF046542@red.freebsd.org>
Resent-Message-ID: <201210160110.q9G1A0o9082566@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         172741
>Category:       ports
>Synopsis:       [ports] check-build-conflicts checks too early for pre-build targets
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 16 01:10:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Cooper
>Release:        9.1-PRERELEASE
>Organization:
EMC Isilon
>Environment:
FreeBSD forza.west.isilon.com 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0 r240770: Thu Sep 20 19:28:45 PDT 2012     gcooper@forza.west.isilon.com:/usr/obj/usr/src/sys/FORZA  amd64
>Description:
I just wanted to look at the source files for perl-5.8.9 and I can't due to CONFLICTS between perl versions:

$ sudo make extract

===>  perl-5.8.9_7 conflicts with installed package(s): 
      perl-5.12.4_4

      They install files into the same place.
      You may want to stop build with Ctrl + C.
===>  License ART10 GPLv1 accepted by the user
===>  Found saved configuration for perl-5.8.9_7
===>   perl-5.8.9_7 depends on file: /usr/local/sbin/pkg - found

===>  perl-5.8.9_7 conflicts with installed package(s): 
      perl-5.12.4_4

      They will not build together.
      Please remove them first with pkg delete.
*** [check-build-conflicts] Error code 1

Stop in /scratch/freebsd/ports/lang/perl5.8.
*** [extract] Error code 1

Stop in /scratch/freebsd/ports/lang/perl5.8.

The conflicts checking could be delayed to a later stage.

The workaround is to use -DDELAY_CONFLICTS_CHECK:

$ sudo make extract -DDEFER_CONFLICTS_CHECK 

===>  perl-5.8.9_7 conflicts with installed package(s): 
      perl-5.12.4_4

      They install files into the same place.
      You may want to stop build with Ctrl + C.
===>  License ART10 GPLv1 accepted by the user
===>  Found saved configuration for perl-5.8.9_7
===>   perl-5.8.9_7 depends on file: /usr/local/sbin/pkg - found
===>  Extracting for perl-5.8.9_7
=> SHA256 Checksum OK for perl/perl-5.8.9.tar.bz2.
=> SHA256 Checksum OK for perl/BSDPAN-5.8.9_20090303.tar.bz2.
=> SHA256 Checksum OK for perl/defined-or-5.8.9.bz2.
$
>How-To-Repeat:
cd /usr/ports/lang/perl5.12; make install
cd ../perl5.8; make extract
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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