Professional Web Applications Themes

mergemaster problem - FreeBSD

Hello everyone, When I do mergemaster -ia, I get the following errors: *** The directory specified for the temporary root environment, /var/tmp/temproot, exists. This can be a security risk if untrusted users have access to the system. *** Creating the temporary root environment in /var/tmp/temproot.0313.15.35.39 *** /var/tmp/temproot.0313.15.35.39 ready for use *** Creating and populating directory structure in /var/tmp/temproot.0313.15.35.39 "Makefile", line 76: Could not find bsd.endian.mk "Makefile", line 77: Malformed conditional (${TARGET_ENDIANNESS} == "1234") "Makefile", line 77: Need an operator "Makefile", line 80: if-less elif "Makefile", line 80: Need an operator "Makefile", line 83: if-less else "Makefile", line 83: Need an ...

  1. #1

    Default mergemaster problem

    Hello everyone,
    When I do mergemaster -ia, I get the following errors:

    *** The directory specified for the temporary root environment,
    /var/tmp/temproot, exists. This can be a security risk if untrusted
    users have access to the system.

    *** Creating the temporary root environment in /var/tmp/temproot.0313.15.35.39
    *** /var/tmp/temproot.0313.15.35.39 ready for use
    *** Creating and populating directory structure in
    /var/tmp/temproot.0313.15.35.39

    "Makefile", line 76: Could not find bsd.endian.mk
    "Makefile", line 77: Malformed conditional (${TARGET_ENDIANNESS} == "1234")
    "Makefile", line 77: Need an operator
    "Makefile", line 80: if-less elif
    "Makefile", line 80: Need an operator
    "Makefile", line 83: if-less else
    "Makefile", line 83: Need an operator
    "Makefile", line 85: if-less endif
    "Makefile", line 85: Need an operator
    make: fatal errors encountered -- cannot continue

    *** FATAL ERROR: Cannot 'cd' to /usr/src/etc and install files to
    the temproot environment

    And I checked the /usr/src/etc/Makefile( version: 1.341 2005/03/03),
    starting at line 76, it has:

    ..include <bsd.endian.mk>
    ..if ${TARGET_ENDIANNESS} == "1234"
    CAP_MKDB_ENDIAN= -l
    PWD_MKDB_ENDIAN= -L
    ..elif ${TARGET_ENDIANNESS} == "4321"
    CAP_MKDB_ENDIAN= -b
    PWD_MKDB_ENDIAN= -B
    ..else
    CAP_MKDB_ENDIAN=
    ..endif

    I believe it's the source of error, I tried commenting them out, but
    mergemaster failed at some point.
    The file bsd.endian.mk (version 1.2 2005/02/25) is in the path
    /usr/src/share/mk/ as well.

    Any idea?
    Thanks.
    masterkev28 Guest

  2. #2

    Default Re: mergemaster problem

    On 03/13/05 17:08:56, masterkev28 masterkev28 wrote: 

    Why are you using -ia, they are th opposit in the man page. You
    should:

    # make buildworld
    # make buildkernel
    # make installkernel
    # reboot
    After installkernel finishes successfully, you should boot in single
    user mode (i.e. using boot -s from the loader prompt). Then run:
    # mergemaster -p
    # make installworld
    # mergemaster
    # reboot



    Jason Guest

  3. #3

    Default Re: mergemaster problem

    Hi,
    I didn't rebuild world, or kernel, however just some regular routine
    portupgrade -a.
    The problem is that no matter what I do with mergemaster, I get this
    error( also the same error occurs on another box of mine), and it
    started happening about a week ago after I did cvsup.

    It keeps complaining the line 76~80 in /usr/src/etc/Makefile, where I
    have no idea what's wrong with this file.

    Thanks,

    Kev


    On Mon, 14 Mar 2005 02:29:10 +0000, Jason Henson <rr.com> wrote: 
    >
    > Why are you using -ia, they are th opposit in the man page. You
    > should:
    >
    > # make buildworld
    > # make buildkernel
    > # make installkernel
    > # reboot
    > After installkernel finishes successfully, you should boot in single
    > user mode (i.e. using boot -s from the loader prompt). Then run:
    > # mergemaster -p
    > # make installworld
    > # mergemaster
    > # reboot
    >
    > _______________________________________________
    > org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    > To unsubscribe, send any mail to "org"
    >[/ref]
    masterkev28 Guest

  4. #4

    Default Re: mergemaster problem

    On 03/14/05 00:02:43, masterkev28 masterkev28 wrote: 

    Cvsup! Cvsup what, the stanard file to upgrade your base system? You
    don't need mergemaster unless you cvsup your base system, and if you
    did that and merged the new files, thats bad. You should rebuild the
    world and the kernel then install them. And don't cvsup unless you
    intend to upgrade your base system. That can put things out of sink.
     
    > >
    > > Why are you using -ia, they are th opposit in the man page. You
    > > should:
    > >
    > > # make buildworld
    > > # make buildkernel
    > > # make installkernel
    > > # reboot
    > > After installkernel finishes successfully, you should boot in[/ref]
    > single 
    > org" 
    >
    >
    >
    >[/ref]


    Jason Guest

Similar Threads

  1. contribute problem - access denied file may not existpermission problem
    By Al1973 in forum Macromedia Contribute Connection Administrtion
    Replies: 6
    Last Post: September 17th, 04:16 PM
  2. Issues running mergemaster
    By Joachim Dagerot in forum FreeBSD
    Replies: 2
    Last Post: February 19th, 07:03 AM
  3. Replies: 0
    Last Post: August 23rd, 11:56 AM
  4. Replies: 2
    Last Post: July 17th, 07:27 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139