Bug 131904

Summary: Cannot build lang/gcc42 (gcc-4.2.5_20081126)
Product: Ports & Packages Reporter: hg
Component: Individual Port(s)Assignee: Gerald Pfeifer <gerald>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description hg 2009-02-20 14:30:01 UTC
lang/gcc42 is a dependency of print/pdftk (amongst other ports).  The ports
release gcc-4.2.5_20081126 fails to build complaining about the inability
to build in the presence of lang/gcc295, even though lang/gcc295 is not
present:


cally:/usr/ports# nice portupgrade -aRr
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 856 packages found (-1 +1) (...). done]
--->  Upgrading 'gcc-4.2.5_20081126' to 'gcc-4.2.5_20090218' (lang/gcc42)
--->  Building '/usr/ports/lang/gcc42'
===>  Cleaning for gcc-4.2.5_20090218
Making GCC 4.2.5 for FreeBSD 7.1  target=i386-portbld-freebsd7.1
===>  Extracting for gcc-4.2.5_20090218
=> MD5 Checksum OK for gcc-core-4.2-20090218.tar.bz2.
=> SHA256 Checksum OK for gcc-core-4.2-20090218.tar.bz2.
=> MD5 Checksum OK for gcc-g++-4.2-20090218.tar.bz2.
=> SHA256 Checksum OK for gcc-g++-4.2-20090218.tar.bz2.
=> MD5 Checksum OK for gcc-objc-4.2-20090218.tar.bz2.
=> SHA256 Checksum OK for gcc-objc-4.2-20090218.tar.bz2.
=> MD5 Checksum OK for gcc-java-4.2-20090218.tar.bz2.
=> SHA256 Checksum OK for gcc-java-4.2-20090218.tar.bz2.
===>   gcc-4.2.5_20090218 depends on file: /usr/local/bin/perl5.8.9 - found
This port will not build in the presence of lang/gcc295.
*** Error code 1

Stop in /usr/ports/lang/gcc42.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20090220-77744-1wmzsq5-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=gcc-4.2.5_20081126 UPGRADE_PORT_VER=4.2.5_20081126 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! lang/gcc42 (gcc-4.2.5_20081126)       (unknown build error)
cally:/usr/ports#

    and

cally:/usr/ports# pkg_info |grep gcc295
cally:/usr/ports#

How-To-Repeat: Attempt to build lang/gcc42
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-02-20 14:30:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gerald

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Gerald Pfeifer freebsd_committer freebsd_triage 2009-02-20 14:34:08 UTC
State Changed
From-To: open->feedback

This gcc42 port checks for the existance of a program called gcc295, 
not the actual port.  I assume you have such a program installed?
Comment 3 hg 2009-02-20 15:05:11 UTC
Arrrgh I did have gcc295 installed, thanks to ccache.  Please close this PR
Comment 4 Gerald Pfeifer freebsd_committer freebsd_triage 2009-02-21 15:14:53 UTC
State Changed
From-To: feedback->closed

Thanks for the quick feedback.  Closing this report as per your comment.