buildworld fails as non-root user

From: Joan Picanyol (lists-freebsd-current_at_biaix.org)
Date: 02/16/04

  • Next message: Melvyn Sopacua: "Re: buildworld fails as non-root user"
    Date: Mon, 16 Feb 2004 12:53:23 +0100
    To: freebsd-current@freebsd.org
    
    

    Hi,

    I can't buildworld as a regular user with a clean /usr/obj:

    building static egacy library
    ranlib libegacy.a
    install -C -C -o root -g wheel -m 444 libegacy.a /usr/obj/usr/src/i386/legacy/usr/lib
    install: /usr/obj/usr/src/i386/legacy/usr/lib/libegacy.a: chown/chgrp: Operation not permitted
    *** Error code 71
     
    Stop in /usr/src/tools/build.
    *** Error code 1
     
    Stop in /usr/src.
    *** Error code 1
     
    Stop in /usr/src.
    *** Error code 1
     
    Stop in /usr/src.

    Before Stage 1.1 I also see a bunch of 'Operation not permitted' errors:

    mtree -deU -f /usr/src/etc/mtree/BSD.include.dist -p /usr/obj/usr/src/i386/usr/include
    . changed
            user expected 0 found 1000 not modified: Operation not permitted
            permissions expected 0755 found 0700 modified
    ./arpa missing (created)
    ./arpa: user/group/mode not modified: Operation not permitted
    ./arpa: warning: file mode not set
    ./bsnmp missing (created)
    ./bsnmp: user/group/mode not modified: Operation not permitted
    ./bsnmp: warning: file mode not set
    ./c++ missing (created)
    ./c++/3.3 missing (created)
    ./c++/3.3/backward missing (created)
    ./c++/3.3/backward: user/group/mode not modified: Operation not permitted
    ./c++/3.3/backward: warning: file mode not set
    [...]
    ./sys missing (created)
    ./sys: user/group/mode not modified: Operation not permitted
    ./sys: warning: file mode not set
    ./ufs missing (created)
    ./ufs/ffs missing (created)
    ./ufs/ffs: user/group/mode not modified: Operation not permitted
    ./ufs/ffs: warning: file mode not set
    ./ufs/ufs missing (created)
    ./ufs/ufs: user/group/mode not modified: Operation not permitted
    ./ufs/ufs: warning: file mode not set
    ./ufs: user/group/mode not modified: Operation not permitted
    ./ufs: warning: file mode not set
    ./vm missing (created)
    ./vm: user/group/mode not modified: Operation not permitted
    ./vm: warning: file mode not set
    ln -sf /usr/src/sys /usr/obj/usr/src/i386

    Is this expected behaviour? Is there a workaround?

    tks

    -- 
    pica
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Melvyn Sopacua: "Re: buildworld fails as non-root user"

    Relevant Pages

    • Critical problem in 2.6.2 and up
      ... Warning: '/dev' directory structure is incomplete; device is missing. ...
      (Linux-Kernel)
    • Problem in Migrating VC++ Development from Windows 2K to XP
      ... missing ';' before identifier 'DataBufferOffset' ... warning: ... extension used: zero-sized array in struct/union ...
      (microsoft.public.vstudio.general)
    • Re: dcdiag er
      ... Warning: attribute rIdSetReferences missing from ... The default SPN registration for 'HOST/UKSCRWADS01' is missing ... The File Replication Service Event log test ...
      (microsoft.public.win2000.active_directory)
    • Re: dcdiag er
      ... FSMO roles and left for 5 mins, then waited for replication to occur between ... Warning: attribute rIdSetReferences missing from ... The default SPN registration for 'HOST/UKSCRWADS01' is ...
      (microsoft.public.win2000.active_directory)
    • Re: event type: error the hpdj service failed to start
      ... Missing or corrupted files, ... of this error see the link to error code 20. ... system cannot find the file specified" error see the link error code 2. ... For generic information about the "The parameter is incorrect" error see the ...
      (microsoft.public.windowsxp.perform_maintain)