Date: Tue, 19 May 2015 10:24:03 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no> To: FreeBSD stable <freebsd-stable@freebsd.org> Subject: ctfconvert fails for cddl/lib/drti, ctfconvert is missing Message-ID: <alpine.BSF.2.20.1505191015560.12303@mail.fig.ol.no>
next in thread | raw e-mail | index | archive | help
During make -j 1 installworld on stable/10, this happened to me on two separate occations: ===> cddl/lib/drti (install) make[6]: /usr/obj/usr/src/cddl/lib/drti/.depend, 87: ignoring stale .depend for /usr/src/cddl/lib/drti/../../../sys/cddl/compat/opensolaris/sys/cyclic.h clang -O2 -pipe -fno-omit-frame-pointer -I/usr/src/cddl/lib/drti/../../../sys/cddl/compat/opensolaris -I/usr/src/cddl/lib/drti/../../../cddl/compat/opensolaris/include -I/usr/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/head -I/usr/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/lib/libctf/common -I/usr/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/lib/libdtrace/common -I/usr/src/cddl/lib/drti/../../../sys/cddl/contrib/opensolaris/uts/common -DPIC -fpic -DNEED_SOLARIS_BOOLEAN -std=gnu89 -Qunused-arguments -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wmissing-variable-declarations -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-unknown-pragmas ! -c /usr/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/lib/libdtrace/common/drti.c -o drti.o ctfconvert -L VERSION drti.o make[6]: exec(ctfconvert) failed (No such file or directory) *** Error code 1 I run make -j 4 buildworld with -D NO_CLEAN. I had DESTDIR set to a new and empty ZFS BE, so maybe ctfconvert isn't installed in time. /etc/make.conf contains: KERNCONF=ENTERPRISE GENERIC ZFS STRIP= CFLAGS+=-fno-omit-frame-pointer /etc/src.conf contains: CC=clang CXX=clang++ CPP=clang-cpp NO_WERROR= WERROR= WITH_CLANG_EXTRAS=yes WITH_CLANG_FULL=yes WITH_CTF=1 WITH_GCC=yes WITH_GNUCXX=yes WITH_LIBCPLUSPLUS=yes WITH_NAND=yes Running make -k installworld succeeds. -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From owner-freebsd-stable@FreeBSD.ORG Tue May 19 09:06:18 2015 Return-Path: <owner-freebsd-stable@FreeBSD.ORG> Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2193CB08 for <freebsd-stable@freebsd.org>; Tue, 19 May 2015 09:06:18 +0000 (UTC) Received: from freesbee.wheel.dk (freesbee.wheel.dk [IPv6:2001:6c8:130::97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freesbee.wheel.dk", Issuer "RapidSSL SHA256 CA - G3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D8B9115E3 for <freebsd-stable@freebsd.org>; Tue, 19 May 2015 09:06:17 +0000 (UTC) Received: by freesbee.wheel.dk (Postfix, from userid 1023) id A6E32324613; Tue, 19 May 2015 11:06:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wheel.dk; s=20131204; t=1432026374; bh=9CoHMw8IliC0WBvduZxZ1KJDeiZE9LIliNwFd3xzBLI=; h=Date:From:To:Subject; b=bh86SIqR2oH1ZoHwtphSO/TJtCJUODPlOS7JXgrx+l/0Yf+wvQIgfepEwCAg6DTvl TPHV5+4mCqvg3FwTczk+2t5Z8te0vmIOXGwAq4hZ6UVZEBQL0Cmcx9u2hRDYn1s1x9 ykFTTq8niJ1GKkaq74KXTuQlNKCrvd2PAZG6dfy3eQQ0BXcwEPZz0VVUHPQ4ldXIzf GWo6VGziP9+u7YXN0MObfAJoH64gD8DD+3Ff2CHWscuf3okT8YsaLy+m0kfwOlFUgo gloxBEmLsKCj91PCeI9dli/E+RDHF5BbpPA8t33VGWEOTw0HoJ+Bsjm7jls85Mx6Jb /L41r02bSd+fQ== Received: from localhost (localhost [127.0.0.1]) by freesbee.wheel.dk (Postfix) with ESMTP id A62323243FE for <freebsd-stable@freebsd.org>; Tue, 19 May 2015 11:06:14 +0200 (CEST) Date: Tue, 19 May 2015 11:06:14 +0200 (CEST) From: Claus Andersen <clan@wheel.dk> To: freebsd-stable@freebsd.org Subject: Unattended install using bsdinstall and ZFS Message-ID: <alpine.BSF.2.20.1505191102100.63121@freesbee.wheel.dk> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code <freebsd-stable.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-stable>, <mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable/> List-Post: <mailto:freebsd-stable@freebsd.org> List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>, <mailto:freebsd-stable-request@freebsd.org?subject=subscribe> X-List-Received-Date: Tue, 19 May 2015 09:06:18 -0000 Hi, Got no answer on -questions so I hope I do not break netiquette by trying my luck here: I cannot wrap my head around this: Am able to do an unattended install using bsdinstall and UFS on 10.1. But I cannot get ZFS to work unattended. If I set the variables concerning ZFS in the install script they do not seem to get picked up. If I set them on the command line using export before I execute the script it only picks up on ZFSBOOT_* but seems to ignore ZFSINTERACTIVE and ZFS_CONFIRM_LAYOUT This almost works: # ZFSBOOT_DISKS="da0 da1" # ZFSBOOT_VDEV_TYPE="mirror" # ZFSBOOT_CONFIRM_LAYOUT=0 # export ZFSBOOT_DISKS ZFSBOOT_VDEV_TYPE ZFSBOOT_CONFIRM_LAYOUT # bsdinstall script install.txt But this still gives me the menu "ZFS Configuration". In the menu I can see that it has picked up ZFSBOOT_DISKS and ZFSBOOT_VDEV_TYPE. The minimal "install.txt" contains: DISTRIBUTIONS="kernel.txz base.txz" RELEASE="10.1" ZFSINTERACTIVE="NO" #!/bin/sh echo "Installation complete, running in host system" It seems to ignore ZFSINTERACTIVE. I have tried with 0, "0", "false", "False", "FALSE". And I have tried going the export route. I would rather use whatever bsdinstall makes available so I can retire my current range of DIY scripts. What is the correct(TM) way of doing unattended install using bsdinstall and ZFS? Google and the man page was not enough for me - I need a real human being! Kind Regards, Claus Andersen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1505191015560.12303>