1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'Installation and Maintenance of Ports or Packages' started by ArsenShnurkov, May 29, 2012.

  1. ArsenShnurkov

    ArsenShnurkov New Member

    Messages:
    11
    Likes Received:
    0
    After executing the command pkg_deinstall tcl make starts to give error messages for every package:

    Code:
    [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?
     
  2. phoenix

    phoenix Moderator Staff Member Moderator

    Messages:
    3,407
    Likes Received:
    1
    Check your /etc/make.conf.

    And, check the output of # make -V ALL_OPTIONS in the port directory.
     
  3. ArsenShnurkov

    ArsenShnurkov New Member

    Messages:
    11
    Likes Received:
    0
    /etc/make.conf was emptied by me

    # make -V ALL_OPTIONS

    still gives the same error message

    Code:
    [root@freebsd62 /usr/ports/lang/tcl84]# make
    Unknown modifier 'u'
    
    Variable ALL_OPTIONS is recursive.
    
     
  4. phoenix

    phoenix Moderator Staff Member Moderator

    Messages:
    3,407
    Likes Received:
    1
    Something in your ports tree is corrupted, then.

    You can try to remove /usr/ports/Mk and /usr/ports/lang/tcl84 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.
     
  5. jb_fvwm2

    jb_fvwm2 Member

    Messages:
    1,567
    Likes Received:
    0
    /usr/ports/Mk is undergoing major changes today, 29 May 2012... which may have something to do with this thread...
     
  6. ArsenShnurkov

    ArsenShnurkov New Member

    Messages:
    11
    Likes Received:
    0
  7. grumpybozo

    grumpybozo New Member

    Messages:
    2
    Likes Received:
    0
    Recent changes in /usr/ports/Mk depend on the 'u' variable expansion modifier that was added to make(1) 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 make 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.
     
  8. Lena

    Lena New Member

    Messages:
    1
    Likes Received:
    0
    I have a jail without sources under 6.3-STABLE. I copied all the content of the /usr/src/usr.src/make/ directory from another machine with 8.3-RELEASE, in that directory gave `make` command, then copied the "make" executable to /usr/bin/ . Now I again can update ports. Thanks.
     
  9. Faulpelz

    Faulpelz New Member

    Messages:
    1
    Likes Received:
    0
    This worked well for me. Thanks!