Unknown modifier 'u' ... Variable ALL_OPTIONS is recursive.

Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Unknown modifier 'u' ... Variable ALL_OPTIONS is recursive.

Postby ArsenShnurkov » 29 May 2012, 16:43

After executing the command [cmd=]pkg_deinstall tcl[/cmd] [FILE]make[/FILE] starts to give error messages for every package:

Code: Select all
[root@freebsd62 /usr/ports/www/xsp]# make
Unknown modifier 'u'

Variable ALL_OPTIONS is recursive.
[root@freebsd62 /usr/ports/www/xsp]# echo $ALL_OPTIONS

[root@freebsd62 /usr/ports/www/xsp]#


How to fix make?
ArsenShnurkov
Junior Member
 
Posts: 11
Joined: 29 May 2012, 10:23

Postby phoenix » 29 May 2012, 17:10

Check your [file]/etc/make.conf[/file].

And, check the output of [cmd=#]make -V ALL_OPTIONS[/cmd] in the port directory.
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
User avatar
phoenix
MFC'd
 
Posts: 3349
Joined: 17 Nov 2008, 05:43
Location: Kamloops, BC, Canada

Postby ArsenShnurkov » 29 May 2012, 17:28

[file]/etc/make.conf[/file] was emptied by me

[cmd=#]make -V ALL_OPTIONS[/cmd]

still gives the same error message

Code: Select all
[root@freebsd62 /usr/ports/lang/tcl84]# make
Unknown modifier 'u'

Variable ALL_OPTIONS is recursive.
ArsenShnurkov
Junior Member
 
Posts: 11
Joined: 29 May 2012, 10:23

Postby phoenix » 29 May 2012, 19:43

Something in your ports tree is corrupted, then.

You can try to remove [file]/usr/ports/Mk[/file] and [file]/usr/ports/lang/tcl84[/file] directories, then update your ports tree to re-download them, and see if that fixes the issue.

If it doesn't, try removing the entire tree and re-downloading it.
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
User avatar
phoenix
MFC'd
 
Posts: 3349
Joined: 17 Nov 2008, 05:43
Location: Kamloops, BC, Canada

Postby jb_fvwm2 » 29 May 2012, 20:08

[FILE]/usr/ports/Mk[/FILE] is undergoing major changes today, 29 May 2012... which may have something to do with this thread...
jb_fvwm2
Senior Member
 
Posts: 1502
Joined: 16 Nov 2008, 19:19

Postby ArsenShnurkov » 30 May 2012, 15:09

phoenix wrote:try removing the entire tree and re-downloading it.


I've done that:
http://forums.freebsd.org/showpost.php?p=178943&postcount=3

But the problem with [FILE]ALL_OPTIONS[/FILE] is still not solved.
ArsenShnurkov
Junior Member
 
Posts: 11
Joined: 29 May 2012, 10:23

Postby grumpybozo » 02 Jun 2012, 00:00

Recent changes in [FILE]/usr/ports/Mk[/FILE] depend on the 'u' variable expansion modifier that was added to [man=1]make[/man] about 6 years ago. The man page in 6.4-RELEASE documents that modifier but the man page on 6.3-RELEASE-p13 does not, so it may be possible to resolve this issue with a minimal update if you are unable to go to a supported version. It may even be workable to just build yourself a new [FILE]make[/FILE] binary from 6.4 or later source.

I still have one machine at 6.3-RELEASE-p13 that has this problem but I'm also already in the process of evacuating and decommissioning it, so I'm just treating this as a message from the Beastie that I need to prioritize that work.
grumpybozo
Junior Member
 
Posts: 2
Joined: 27 Feb 2012, 16:45
Location: Detroitish

Postby Lena » 14 Jul 2012, 13:25

I have a jail without sources under 6.3-STABLE. I copied all the content of the [FILE]/usr/src/usr.src/make/[/FILE] directory from another machine with 8.3-RELEASE, in that directory gave `make` command, then copied the "[FILE]make[/FILE]" executable to [FILE]/usr/bin/[/FILE] . Now I again can update ports. Thanks.
User avatar
Lena
Junior Member
 
Posts: 1
Joined: 30 Jan 2009, 16:37
Location: Eastern Europe

Postby Faulpelz » 09 Aug 2012, 08:13

This worked well for me. Thanks!
Faulpelz
Junior Member
 
Posts: 1
Joined: 08 Apr 2012, 13:14


Return to Installation and Maintenance of FreeBSD Ports or Packages

Who is online

Users browsing this forum: Bing [Bot], tunixbsd and 0 guests