Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Mar 2013 12:48:59 GMT
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/177017: lang/p5-ExtUtils-F77 update with portmaster+pkgng - wrong dependencies list
Message-ID:  <201303161248.r2GCmxEv008544@zzz.men.bris.ac.uk>
Resent-Message-ID: <201303161250.r2GCo16w015364@freefall.freebsd.org>

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

>Number:         177017
>Category:       ports
>Synopsis:       lang/p5-ExtUtils-F77 update with portmaster+pkgng - wrong dependencies list
>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:   Sat Mar 16 12:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Anton Shterenlikht
>Release:        FreeBSD 10.0-CURRENT ia64
>Organization:
University of Bristol 	
>Environment:
FreeBSD mech-cluster241.men.bris.ac.uk 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r244834: Sun Dec 30 09:16:26 GMT 2012     root@mech-cluster241.men.bris.ac.uk:/usr/obj/usr/src/sys/TZAV  ia64

	
>Description:

lang/gcc46 doesn't build, but lang/gcc47 does.
So I set:

# grep GCC_DEFAULT_VERSION= /usr/ports/Mk/bsd.gcc.mk
GCC_DEFAULT_VERSION=    4.7
#

I now want to rebuild all p5-* ports following
perl upgrade to perl-5.16.2_1.

On build and install of p5-ExtUtils-F77
dependence on gcc47 is clear:

# make
===>   p5-ExtUtils-F77-1.17_1 depends on file: /usr/local/sbin/pkg - found
===>  Extracting for p5-ExtUtils-F77-1.17_1
=> SHA256 Checksum OK for ExtUtils-F77-1.17.tar.gz.
===>   p5-ExtUtils-F77-1.17_1 depends on file: /usr/local/bin/perl5.16.2 - found
===>  Patching for p5-ExtUtils-F77-1.17_1
===>   p5-ExtUtils-F77-1.17_1 depends on file: /usr/local/bin/perl5.16.2 - found
===>  Applying FreeBSD patches for p5-ExtUtils-F77-1.17_1
===>   p5-ExtUtils-F77-1.17_1 depends on executable: gcc47 - found
                                                     ^^^^^

# make install
===>  Installing for p5-ExtUtils-F77-1.17_1
===>   p5-ExtUtils-F77-1.17_1 depends on executable: gcc47 - found
                                                     ^^^^^
However, pkg doesn't seem to record
the dependence on gcc47:

# pkg info -xd p5-ExtUtils-F77
p5-ExtUtils-F77-1.17_1 depends on:
perl-5.16.2_1

#

when I then try to rebuild with portmaster, I get:

# portmaster p5-ExtU

===>>> Currently installed version: p5-ExtUtils-F77-1.17_1
===>>> Port directory: /usr/ports/lang/p5-ExtUtils-F77

===>>> Gathering distinfo list for installed ports

===>>> Launching 'make checksum' for lang/p5-ExtUtils-F77 in background
===> No options to configure
===>>> Gathering dependency list for lang/p5-ExtUtils-F77 from ports
===>>> Launching child to install lang/gcc

===>>> p5-ExtUtils-F77-1.17_1 >> lang/gcc (1/1)

which is wrong

I think either p5-ExtUtils-F77, pkg or portmaster fail
to record properly that this port depends on gcc47.

	
>How-To-Repeat:
	
>Fix:

	


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



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