Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 May 2013 04:52:43 -0700 (PDT)
From:      Jack Mc Lauren <jack.mclauren@yahoo.com>
To:        FreeBSD Global Users Mailing List <freebsd-questions@freebsd.org>
Subject:   make release fails
Message-ID:  <1369309963.43730.YahooMailNeo@web160101.mail.bf1.yahoo.com>

next in thread | raw e-mail | index | archive | help

Hi
I'm trying to make my own release ...

# cd /usr/src
# make buildkernel KERNCONF=MYKERN
# make -j4 buildworld
# cd release/
# make release NODOC=YES NOPORTS=YES NOSRC=YES

and that's the error while making release:


find //usr/obj/usr/src/release/dist/doc -empty -delete
find: -delete: //usr/obj/usr/src/release/dist/doc: relative path potentially not
 safe
*** [distributeworld] Error code 1

Stop in /usr/src.
*** [distributeworld] Error code 1

Stop in /usr/src.
*** [base.txz] Error code 1

Stop in /usr/src/release.
*** [release] Error code 1

Stop in /usr/src/release

These are contents of /etc/src.conf file :

WITHOUT_BLUETOOTH="YES"
WITHOUT_EXAMPLES="YES"
WITHOUT_FLOPPY="YES"
WITHOUT_GAMES="YES"
WITHOUT_MAN="YES"
WITHOUT_MAN_UTILS="YES"
WITHOUT_SHAREDOCS="YES"
WITHOUT_WIRELESS="YES"
WITHOUT_WIRELESS_SUPPORT="YES"
WITHOUT_AT="YES"
WITHOUT_CALENDAR="YES"
WITHOUT_INFO="YES"
WITHOUT_LOCALES="YES"
WITHOUT_ZFS="YES"
WITHOUT_BSD_CPIO="YES"
WITHOUT_CTM="YES"
WITHOUT_DICT="YES"
WITHOUT_GDB="YES"
WITHOUT_GNU="YES"
WITHOUT_GROFF="YES"
WITHOUT_HTML="YES"
WITHOU_INFO="YES"
WITHOUT_LPR="YES"
WITHOUT_MAIL="YES"
WITHOUT_PORTSNAP="YES"
WITHOUT_QUOTAS="YES"
WITHOUT_RCS="YES"
WITHOUT_SYSINSTALL="YES"
WITHOUT_BIND="YES"
WITHOUT_BIND_XML="YES"
WITHOUT_BIND_IDN="YES"
WITHOUT_BIND_SIGCHASE="YES"
WITHOUT_BIND_LARGE_FILE="YES"
WITHOUT_FREEBSD_UPDATE="YES"
WITHOUT_RESCUE="YES"

What's wrong with this?
Thanks in advance
From owner-freebsd-questions@FreeBSD.ORG  Thu May 23 11:53:56 2013
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by hub.freebsd.org (Postfix) with ESMTP id B1D70FBD
 for <freebsd-questions@freebsd.org>; Thu, 23 May 2013 11:53:56 +0000 (UTC)
 (envelope-from wblock@wonkity.com)
Received: from wonkity.com (wonkity.com [67.158.26.137])
 by mx1.freebsd.org (Postfix) with ESMTP id 549EB9EE
 for <freebsd-questions@freebsd.org>; Thu, 23 May 2013 11:53:56 +0000 (UTC)
Received: from wonkity.com (localhost [127.0.0.1])
 by wonkity.com (8.14.7/8.14.7) with ESMTP id r4NBrm4j099211;
 Thu, 23 May 2013 05:53:48 -0600 (MDT)
 (envelope-from wblock@wonkity.com)
Received: from localhost (wblock@localhost)
 by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r4NBrmfp099208;
 Thu, 23 May 2013 05:53:48 -0600 (MDT)
 (envelope-from wblock@wonkity.com)
Date: Thu, 23 May 2013 05:53:48 -0600 (MDT)
From: Warren Block <wblock@wonkity.com>
To: Torsten Hantzsche <t.hantzsche@hzdr.de>
Subject: Re: setup journaling for root partition
In-Reply-To: <alpine.BSF.2.00.1305231201320.20614@cubror.sm-ebffraqbes.qr>
Message-ID: <alpine.BSF.2.00.1305230550120.98184@wonkity.com>
References: <CAA_1SgH_RxFUXDj3VyvUN1Kzb6BPkJxFi8y8kjJn9Z=ytne=yw@mail.gmail.com>
 <519B4F11.9030309@ulb.ac.be>
 <CAN+S=WCAHB7_FDHQNAkTsd5qHqRcQ0b6-iT+Mk0Cw4fMo45pdA@mail.gmail.com>
 <519B87BC.1010301@qeng-ho.org>
 <CAHu1Y71s9faAfGpGitQLPZ_9YmR4u+_0rPV5d+uF1CgKqsOOVQ@mail.gmail.com>
 <519B9042.5050704@qeng-ho.org>
 <alpine.BSF.2.00.1305210919560.79332@wonkity.com>
 <CAHu1Y72UOjt05sPyw+=mDA4tjPh2tZM1Z0PtkM7+iHfnB0q+sg@mail.gmail.com>
 <CAA_1SgHp_NXXE8M1fAXvhcVihhxkhhdA75ACk_GHC3WfHJ4G9A@mail.gmail.com>
 <CAHu1Y72o=BOxCJ9GJzT-kJ06WsGB+i8Q=OCRoRZeDCwny1hxfw@mail.gmail.com>
 <CAA_1SgHwNJgD=Ubt348WpkKJA9-ek4K4P+z+rcfU-NuCiNTQYg@mail.gmail.com>
 <CAHu1Y73H7W386Yv0CRwPjtA=Uh_KBy-Dmk7+GDM2nQOYqBZbsQ@mail.gmail.com>
 <CAA_1SgEOeyBp=W1=e+2SeBn5SEdF4Bb76t9K9jgykGkUvK1oPw@mail.gmail.com>
 <CAHu1Y73LLnmmQ0EWWvTBdT-XttsehgaZOctzbAcrs=7X9rc20A@mail.gmail.com>
 <CAA_1SgEDPL5xpNT9m4i+rB-pbVv-K--i0BZMZDRaY28WgR0XaA@mail.gmail.com>
 <alpine.BSF.2.00.1305231201320.20614@cubror.sm-ebffraqbes.qr>
User-Agent: Alpine 2.00 (BSF 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3
 (wonkity.com [127.0.0.1]); Thu, 23 May 2013 05:53:48 -0600 (MDT)
Cc: freebsd-questions <freebsd-questions@freebsd.org>
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>,
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>,
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 23 May 2013 11:53:56 -0000

On Thu, 23 May 2013, Torsten Hantzsche wrote:

> On Thu, 23 May 2013, s m wrote:
>
>
>> thanks,
>>
>> i do as you said, but after loading gjournal, dd says "operation not
>> permitted".
>> gjournal clear says "operation not permitted" too and therefore "gjournal
>> label" is not done and say previous error (gjournal cannot clear metadata
>> on ad3s1a: operation not permitted). and -v return no extra log.
>>
>> i don't know why i can not do any thing in fixit mode:(
>>
>> is this a true procedure? i mean maybe i should do any thing else  because
>> freebsd handbook set journaling for user partition in single user mode not
>> in fixit mode. i test it and it works well, but for root partition i can
>> not do the same because root partition can not be unmount in single user
>> mode.
>>
>> any hints or comments are really appreciated.
>> thanks in advance
>>
>
> Hi,
>
> i remember having similar error messages with glabel some years ago.
> The solution was found in "man 4 geom" in section DIAGNOSTICS:
>
> I had to set "kern.geom.debugflags=0x10" to enable the "foot shooting" mode.
>
> Maybe this could help you too?

For certain values of "help". :)

If geom won't let you write to part of a disk, it's because it thinks
that part of the disk is already in use, usually by a mounted
filesystem.  Overwriting part of a filesystem is not guaranteed to lose
data.  But why take the chance?

Better to boot from mfsBSD (http://mfsbsd.vx.sk/).  Possibly better yet
to use SUJ, which can be enabled with tunefs with the root partition
mounted read-only in single user mode.  SUJ has its own problems,
though.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1369309963.43730.YahooMailNeo>