Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Mar 2013 15:11:10 GMT
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        perl@freebsd.org
Cc:        freebsd-ports@freebsd.org
Subject:   lang/ExtUtils-F77, pkg, portmaster fail to deal with GCC_DEFAULT_VERSION=    4.7
Message-ID:  <201303151511.r2FFBA47017937@mech-cluster241.men.bris.ac.uk>

next in thread | raw e-mail | index | archive | help
This is r244834 ia64, ports tree at r314250.

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.

Please advise

Anton




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