From owner-freebsd-current@freebsd.org Tue Jun 13 08:59:35 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 64263BEE5E0 for ; Tue, 13 Jun 2017 08:59:35 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D6551738B0 for ; Tue, 13 Jun 2017 08:59:34 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from freyja.zeit4.iv.bundesimmobilien.de ([87.138.105.249]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MH4Os-1d6wHR3be6-00Dsrn for ; Tue, 13 Jun 2017 10:59:32 +0200 Date: Tue, 13 Jun 2017 10:59:25 +0200 From: "O. Hartmann" To: freebsd-current Subject: FreeBSD-base: build 11-STABLE on 12-CURRENT host system Message-ID: <20170613105925.6e95e67b@freyja.zeit4.iv.bundesimmobilien.de> Organization: Walstatt X-Mailer: Claws Mail 3.15.0 (GTK+ 2.24.31; amd64-portbld-freebsd12.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:GghmNBftrVrC+H39El/+RYZuTi4D6EgSEDLDeO6q11UhoiKQfCn iSDfE0MRZCqUKbHb/27TN1SvtpNY6jtNLffiRu5Xxd3sWGUWTT+GFBN7VUG97BsizAf04mp IIx5uLecXB750QLTYk3pRJRBdegsNtOxZlJr8EZEZoUALykupW7vljl9qTD54bnBXDUbWFi tmKq/cTzuuQLrvkdUPLMw== X-UI-Out-Filterresults: notjunk:1;V01:K0:Lb0ZE+okLLU=:JTzHNaKJY1SGQMpCYiqi67 MGJktw7AdeDJiB1NyHK1IZ5bTo9LKScnK8XUBxZDIadLoS653khrPXumbeSItUQvubbtYyCNh 8DZ1nHt3iRgcVgkGW29Ui92yQtQdDfiK4psh6OkFd3APO4IeTlnd++XF5hTZQ6Cmw4c/ZPyep l2cbs0xUbpngNxAhTFWdrH+Fbz6w3hiyjPSfKwmggDUjTgC3T5ShjCVcQEqVpqtetN1JhqsMw LhPSP+Cz1Cbkal2BgNGUw0B0To3iKdlzgwfO0C5s2THIbYYw81gYuhGT0e28bYvkh0hgsLajh c1oSOLb0lO4GKas0g3cxOmXowK8e+x4A35/jiIN5YZZTpCp8XE067toJjB3cZLGwf8GhFXkVx FWjci1z2hHRDmlIeYCHJTJR4JdFUE59R1dJyi1PhsFO6mZFZ18uwzf3peGrpN+k11+7iKpd48 G+wFtwQHWKTO3ZkaDxyltj8Kw9fel1wb3CHLvfOPQ+fERercyezaGhchp4Pm5HF7nuBsuqo2k +x94xix/rQm6b5zgz+UkarG6wvJpzpYPbA5ICD2XurJg2PRt+YGWboESzSlcDwovzw40r8A4+ fmkAIjmrqGzV3A4/p2v+snZJ/7r3qAZvwpoIThTB37xbMf2GhnuugegVc4den9kX1aYYhmmbD +WJHPbcIGWyXTVMqwR2bG7Vt7gdupM2d2GLN5+T/jwLbRrSQyt7cPfm+Me33r6c74Dwr3R0pn 8CfDNKZKP+OJgLm0b6tldwre5ViPi5PB72vtgkF1biXvM4K69Ga7HLNF4GEuIXM0JNSp2v00i 2iEkiy/ X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2017 08:59:35 -0000 I do not know whether this is the correct list, but since FreeBSD-base support (updating the OS via pkg as a feature) is considered BETA in FBSD 11, it is best to address the CURRENT list. Sorry if I'm mislead. The problem is, I try to build a "repo" on a 12-CURRENT host (r319846) with a dedicated 11-STABLE source tree (at the moment at r319892). It doesn't work, the creation of packages fail with the error shown below. It seems some targets are missing and I suspect the divergence between host OS and the supposed target OS (11-STABLE) as the warning "Major OS version upgrade detected" indicates. I provide you with these variables/environment setting I use: RELCONFBASE=/pool/relconfig/11/ #outside chroot()! __MAKE_CONF=${RELCONFBASE}/etc/make.conf SRCCONF=${RELCONFBASE}/etc/src.conf SRC_ENV_CONF=${RELCONFBASE}/etc/src-env.conf NO_INSTALLEXTRAKERNELS=NO KERNCONFDIR=${RELCONFBASE}/kernel_conf/amd64/ KERNCONF="MONITOR GENERIC2" and the build itself: cd ${SRCBASE}/src ; env MAKEOBJDIRPREFIX=${SRCBASE}/obj/ \ make \ __MAKE_CONF=${__MAKE_CONF} \ SRCCONF=${SRCCONF} \ SRC_ENV_CONF=${SRC_ENV_CONF} \ KERNCONFDIR=${KERNCONFDIR} \ KERNCONF="${KERNCONF}" \ NO_INSTALLEXTRAKERNELS=NO \ ${MKPARALLEL} \ buildworld buildkernel So far, this works with all desired aspects. But the make-target "packages" fails then as shown below. I use the very same schematics of a setup with TARGET=arm64 for crosscompiling 12-CURRENT for arm64.aarch64, which runs up to the end very smooth - so, again, the suspect is the diifference between the major OS versions. I's like to know how to build a 11-STABLE or, in the near future, the 11.1-RELENG FreeBSD-base repository on a 12-CURRENT platform. Is this possible in pricinciple (I think yes, but ...)? Or is there something I have missed? Thanks in advance, Oliver Hartmann [...] install -U -M /pool/sources/11-STABLE//obj//pool/sources/11-STABLE/src/amd64.amd64/kernelstage//kernel.GENERIC2.premeta -D /pool/sources/11-STABLE/obj/pool/sources/11-STABLE/src/amd64.amd64/kernelstage -T release -o root -g wheel -m 555 zlib.ko /pool/sources/11-STABLE/obj/pool/sources/11-STABLE/src/amd64.amd64/kernelstage/kernel.GENERIC2/boot/kernel.GENERIC2/ kldxref /pool/sources/11-STABLE/obj/pool/sources/11-STABLE/src/amd64.amd64/kernelstage/kernel.GENERIC2/boot/kernel.GENERIC2 --- create-packages --- --- create-world-packages --- --- create-world-packages --- ===> Creating FreeBSD-acct-11.1 pkg: Warning: Major OS version upgrade detected. Running "pkg-static install -f pkg" recommended pkg: Warning: Major OS version upgrade detected. Running "pkg-static install -f pkg" recommended pkg: Unable to access file /pool/sources/11-STABLE//obj//pool/sources/11-STABLE/src/amd64.amd64/worldstage/pool/sources/11-STABLE//obj//pool/sources/11-STABLE/src/amd64.amd64/worldstage/etc/periodic/daily/310.accounting:No such file or directory pkg: Unable to access file /pool/sources/11-STABLE//obj//pool/sources/11-STABLE/src/amd64.amd64/worldstage/pool/sources/11-STABLE//obj//pool/sources/11-STABLE/src/amd64.amd64/worldstage/etc/periodic/monthly/200.accounting:No such file or directory pkg: Unable to access file /pool/sources/11-STABLE//obj//pool/sources/11-STABLE/src/amd64.amd64/worldstage/pool/sources/11-STABLE//obj//pool/sources/11-STABLE/src/amd64.amd64/worldstage/etc/rc.d/accounting:No such file or directory pkg: Unable to access file /pool/sources/11-STABLE//obj//pool/sources/11-STABLE/src/amd64.amd64/worldstage/pool/sources/11-STABLE//obj//pool/sources/11-STABLE/src/amd64.amd64/worldstage/usr/bin/lastcomm:No such file or directory pkg: Unable to access file /pool/sources/11-STABLE//obj//pool/sources/11-STABLE/src/amd64.amd64/worldstage/pool/sources/11-STABLE//obj//pool/sources/11-STABLE/src/amd64.amd64/worldstage/usr/share/man/man1/lastcomm.1.gz:No such file or directory pkg: Unable to access file /pool/sources/11-STABLE//obj//pool/sources/11-STABLE/src/amd64.amd64/worldstage/pool/sources/11-STABLE//obj//pool/sources/11-STABLE/src/amd64.amd64/worldstage/usr/sbin/accton:No such file or directory pkg: Unable to access file /pool/sources/11-STABLE//obj//pool/sources/11-STABLE/src/amd64.amd64/worldstage/pool/sources/11-STABLE//obj//pool/sources/11-STABLE/src/amd64.amd64/worldstage/usr/share/man/man8/accton.8.gz:No such file or directory pkg: Unable to access file /pool/sources/11-STABLE//obj//pool/sources/11-STABLE/src/amd64.amd64/worldstage/pool/sources/11-STABLE//obj//pool/sources/11-STABLE/src/amd64.amd64/worldstage/usr/sbin/sa:No such file or directory pkg: Unable to access file /pool/sources/11-STABLE//obj//pool/sources/11-STABLE/src/amd64.amd64/worldstage/pool/sources/11-STABLE//obj//pool/sources/11-STABLE/src/amd64.amd64/worldstage/usr/share/man/man8/sa.8.gz:No such file or directory *** [create-world-packages] Error code 70 [...]