Bug 170858

Summary: Error in archive specification: "WITH_" in bsd.options.mk during portupgrade on 7.0
Product: Ports & Packages Reporter: Aron Stansvik <elvstone>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Aron Stansvik 2012-08-22 11:00:18 UTC
I recently updated my ports tree with portsnap and did a portupgrade -an. This is what I got:

[astan@www /usr/ports/ports-mgmt/portupgrade]$ sudo BATCH=yes portupgrade -an
--->  Session started at: Wed, 22 Aug 2012 11:59:28 +0200
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 190 packages found (-1 +1) (...). done]
"/usr/ports/Mk/bsd.options.mk", line 235: Error in archive specification: "WITH_"
"/usr/ports/Mk/bsd.options.mk", line 235: Error in archive specification: "WITH_"
make: fatal errors encountered -- cannot continue
** Makefile possibly broken: lang/perl5.8:
** Please report this to the maintainer for lang/perl5.8
        No closing parenthesis in archive specification
        No closing parenthesis in archive specification
--->  Session ended at: Wed, 22 Aug 2012 11:59:50 +0200 (consumed 00:00:21)
/usr/local/sbin/portupgrade:1492:in `get_pkgname': Makefile broken (MakefileBrokenError)
        from /usr/local/sbin/portupgrade:616:in `main'
        from /usr/local/sbin/portupgrade:607:in `each'
        from /usr/local/sbin/portupgrade:607:in `main'
        from /usr/local/sbin/portupgrade:581:in `catch'
        from /usr/local/sbin/portupgrade:581:in `main'
        from /usr/local/lib/ruby/1.8/optparse.rb:1310:in `call'
        from /usr/local/lib/ruby/1.8/optparse.rb:1310:in `parse_in_order'
        from /usr/local/lib/ruby/1.8/optparse.rb:1306:in `catch'
        from /usr/local/lib/ruby/1.8/optparse.rb:1306:in `parse_in_order'
        from /usr/local/lib/ruby/1.8/optparse.rb:1254:in `catch'
        from /usr/local/lib/ruby/1.8/optparse.rb:1254:in `parse_in_order'
        from /usr/local/lib/ruby/1.8/optparse.rb:1248:in `order!'
        from /usr/local/lib/ruby/1.8/optparse.rb:1241:in `order'
        from /usr/local/sbin/portupgrade:558:in `main'
        from /usr/local/lib/ruby/1.8/optparse.rb:791:in `initialize'
        from /usr/local/sbin/portupgrade:230:in `new'
        from /usr/local/sbin/portupgrade:230:in `main'
        from /usr/local/sbin/portupgrade:2245

I know my installation is ancient, but the ports system should still work on 7.x right?

I tried removing /var/db/ports/perl/options and /etc/make.conf, but the problem remains. I know there have been changes to how options are handled. Have these changes been tested to work on 7.x?

How-To-Repeat: portupgrade -a on 7.0
Comment 1 Chris Rees freebsd_committer freebsd_triage 2012-08-22 11:10:06 UTC
State Changed
From-To: open->closed

The Ports Tree is unsupported and known not to work on unsupported 
versions of FreeBSD.  Please update to a supported version (7.4).