bin/132259: [regression] mergemaster no longer working outside FreeBSD src/ tree

bzeeb bzeeb+freebsd at zabbadoz.net
Mon Mar 2 07:40:03 PST 2009


>Number:         132259
>Category:       bin
>Synopsis:       [regression] mergemaster no longer working outside FreeBSD src/ tree
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 02 15:40:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     bzeeb
>Release:        7-STABLE
>Organization:
>Environment:
>Description:
While with old mergemaster version it was perfectly fine to have
an non-FreeBSD-src but equivalent tree and use mergemaster -m /path/to/that
and mergemaster files into an environment.

This now fails trying to call (internal) targets like:

make: don't know how to make _obj. Stop
or
make: don't know how to make everything. Stop

followed by:

  *** FATAL ERROR: Cannot 'cd' to /u1/server-skel/etc and install files to
      the temproot environment

sidenote: I think it should be "... or install..."

Adding the targets blank helps to still use it but
looking at the sources it seems to have hardcoded more constants like a
proper share/mk for make -m system makefiles now as well.
I wonder why those options need hardcoding into general installed file in
a way that they are not replaceable by the user?

If mergemaster is only used as a substitue for make distribution at install time to update merge from the freebsd src tree we should leave it as a src-tree update "dependency" and not install it to /usr/sbin at all.

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list