From owner-freebsd-pkg@freebsd.org Wed Aug 14 15:30:03 2019 Return-Path: Delivered-To: freebsd-pkg@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1AC8BAF913 for ; Wed, 14 Aug 2019 15:30:03 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 467tn627g3z4SKn for ; Wed, 14 Aug 2019 15:30:02 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x82a.google.com with SMTP id i4so2069285qtj.8 for ; Wed, 14 Aug 2019 08:30:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AdQz1jvoK6QWpNR68mt5m7T+J7+wHn0LlbHfXlxNgAI=; b=E0gnDVPc1JDB5s7BAOI/OaQUEuv3GySZGJMYYPJ/wXfbHo02vnJNrye0PB3pdk637W wrajnH0rg7tp7iTXn0txoSU73xG/zDsBn2AjgzAIJ+jee9IQc5GipvSl5bF3tziLXkko hdqtnh+xZhgjhwE1awp5kJIUkBJrqvBJSoqcq/ztykSuoP7r3TUx0R/vDmHG1OB70wIN BBUkXMp47Ut0eXG7M/GsgkM9Xc6n4snb9jO3ggN9Q1DPSi9vShpbZZo5kZxD8dKU1QEW HBkP5BEhei0QPSUrwnjr4W8RBp0nYaiSfZsFZ1foY3cbiYuSPbQ9wAMI31MWdebcvhfE iKiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AdQz1jvoK6QWpNR68mt5m7T+J7+wHn0LlbHfXlxNgAI=; b=qR6/19mZnSJDfIfG3/WHbl0vMd6KbqgzkVevfaiR+7GcuVc9BegWvKAGOkVqud+qIz N206izi7eerSwISEeoGRx4WA8Z1pT5CJ+lJ3SCk67FZj3T1mS9i6ouO/T/27lOqNhUGe h7V0vRNj4otwvIStjb0eAxQzNWVErwRQAjYps9jxZZ6tWH+ZF46PKkB0gKy+itXxEbbJ EHbkx93eOX0ZTbhAIvQp8InNoJ+bz8dHRrnCZT4Nic+17vhBJRwk2+c4uV8Hvp24Iocl A6zvvrE5oMVMOo2vU2ibtRc4AXPn4EFTSmkdemkXWxDAHn3R/x73Cu2naJzqP+SUeaxZ YAXw== X-Gm-Message-State: APjAAAU614rf4bb9HE7+LmADJ3dOtKPlsnwy2dn45i3xiDhO2qVEvziW pMqIH9uK1Xk75gV59qGW4ObykGoLeQLA5KhnWixhccOfRXo= X-Google-Smtp-Source: APXvYqx145ZxIgzHsBArA+uT6lbtOQd9/kBrXg80uA8KJ26CTYR8P2PFMJft+K/vg2aFodk3hl+Ho881239mDZm6XFI= X-Received: by 2002:a0c:acfb:: with SMTP id n56mr191002qvc.87.1565796600262; Wed, 14 Aug 2019 08:30:00 -0700 (PDT) MIME-Version: 1.0 References: <20190814100441.GC73009@bastion.zyxst.net> In-Reply-To: <20190814100441.GC73009@bastion.zyxst.net> From: Warner Losh Date: Wed, 14 Aug 2019 09:29:48 -0600 Message-ID: Subject: Re: poudriere-devel question with crossbuilding To: tech-lists Cc: freebsd-pkg@freebsd.org, freebsd-mips@freebsd.org X-Rspamd-Queue-Id: 467tn627g3z4SKn X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=E0gnDVPc; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::82a) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-5.97 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-pkg@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; NEURAL_HAM_SHORT(-1.00)[-0.996,0]; RCVD_IN_DNSWL_NONE(0.00)[a.2.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-2.97)[ip: (-9.45), ipnet: 2607:f8b0::/32(-2.98), asn: 15169(-2.39), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2019 15:30:03 -0000 On Wed, Aug 14, 2019, 4:04 AM tech-lists wrote: > Hi, > > I built a poudriere-devel jail for 120-R for mips64 using native xtools. > I'd like to use poudriere image to make an image with some packages > installed. > > I invoke the process like this: > > poudriere image -h [real_hostname] -j 120R-mips64-x -f ./portslist -n > 120R-mips64.img -o ~ -p default -t usb > > I get this error immediately: > > [00:00:00] Error: The usb media type requires a jail with a kernel > > So I look at the manual again and find the -K option for the poudriere jail > creation command and run it like this: > > poudriere jail -c -a mips.mips64 -j 120R-mips64-k -m svn+https -J 64 -v > stable/12 -K "" > > because the manual says this: > > -K kernelname > Install the jail with a kernel. If the kernelname is an > empty string GENERIC will be used. If installing from > ftp > then the default kernel will be installed what ever the > kernelname value is. > > but the error I get is: > > -------------------------------------------------------------- > >>> World build completed on Tue Aug 13 17:31:12 BST 2019 > -------------------------------------------------------------- > [00:09:26] Starting make buildkernel with 64 jobs > --- buildkernel --- > make[1]: "/usr/local/poudriere/jails/120R-mips64-k/usr/src/Makefile.inc1" > line > 1538: Missing KERNCONF > /usr/local/poudriere/jails/120R-mips64-k/usr/src/sys/mips/conf/GENERIC > *** [buildkernel] Error code 1 > Mips doesn't have a GENERIC config. You will have to pick a different one. Warner make: stopped in /usr/local/poudriere/jails/120R-mips64-k/usr/src > 1 error > > make: stopped in /usr/local/poudriere/jails/120R-mips64-k/usr/src > [00:09:27] Error: Failed to 'make buildkernel' > [00:09:27] Error while creating jail, cleaning up. > [00:09:27] Removing 120R-mips64-k jail... done > [00:09:30] Cleaning 120R-mips64-k data... done > > so, how do I install a jail with a kernel? > > thanks, > -- > J. >