lang/ExtUtils-F77, pkg, portmaster fail to deal with GCC_DEFAULT_VERSION= 4.7

Anton Shterenlikht mexas at bristol.ac.uk
Fri Mar 15 15:11:22 UTC 2013


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



More information about the freebsd-ports mailing list