From owner-freebsd-stable@freebsd.org Sat Apr 4 14:51:30 2020 Return-Path: Delivered-To: freebsd-stable@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 403712AE9EF for ; Sat, 4 Apr 2020 14:51:30 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-ot1-x343.google.com (mail-ot1-x343.google.com [IPv6:2607:f8b0:4864:20::343]) (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 48vfrV5DCZz4cb6 for ; Sat, 4 Apr 2020 14:51:22 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-ot1-x343.google.com with SMTP id f52so10465541otf.8 for ; Sat, 04 Apr 2020 07:51:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=mime-version:from:date:message-id:subject:to:cc; bh=6/GVodWi/u49BH6E0FWocB5kU7SkrVdij6AtlFT5fk0=; b=cuWLEqlF6Ulz1UkmpgKCOVYgNJJlcW8T4zVfzqRDZfevfcKr6E7Q8j82yawTSzoR9G xTKDzG1WnSt/gTmRcckgVHqqTyMrNNIjy0m+Ny/p6v35q0F9DJhb3DhpYdobbvdEAIQ0 xljWIVzAPw9BFXA5Sjt/xoOipD7LgALGvYPcKpNMKQOZJ2d2ZEgau8rmxH4ZKJZbEsRo XvYE0yzPkCI6lKsE0SPTFm5sIFqxsDT84+kHk9gtrUpfJQxpWACqOu2fBKzakfJsl8kG GIAqoX8UcxT9CuSCbCVe36aPsK0NKrMZHg0u+u0qaWNpw+q4OUeOevpF05D3XcUbKetm O1lQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=6/GVodWi/u49BH6E0FWocB5kU7SkrVdij6AtlFT5fk0=; b=mcoMXzcOF1fSLeqyvly8UKhdvtHTUnbqmXduvm+fbx3mOcNNVmprjj+1xzg/InHgMA HT5QuvWF1NoyfYgQPrxQPr1RzLyl8sE61aM+2cH4H1za+lhmZqI50cgvv8eNwL/7Q9lP NYjha+B0j9dFsxLsVN0UZCKRxPqKTekoq35O/rLrVg5Stu0xJkIRYtfwrelPWjtA0wn2 fA/qfqt+BlhS7gxe15F7irIT1++oat4H/q8x3d1a0dqRw0gk2VnNbK2lOydU8LXyj9sv 6bGepmxecRjQ9GfBdXRwYS0W1laGfjzMsD0QY9bZole46DTJfifhBWKv4Nl52hc6pwyS xE/Q== X-Gm-Message-State: AGi0Pubeahya0ldeUAhR0VAk9l67WoJ+DFs/9wcxzsE/1zrpRJQhThKs 6JvZuJrQgN8JVZFpSdYcib2Kz3CVLYs= X-Google-Smtp-Source: APiQypIxDWg5q5rJqwIFyhpx90zkon823yKrnB/9N6bD2Ltn9ls0Wcs/jabX+L7Fhwk/RsxTW0nz5Q== X-Received: by 2002:a05:6830:1054:: with SMTP id b20mr10571942otp.360.1586011872643; Sat, 04 Apr 2020 07:51:12 -0700 (PDT) Received: from mail-ot1-f49.google.com (mail-ot1-f49.google.com. [209.85.210.49]) by smtp.gmail.com with ESMTPSA id w21sm3072893oif.45.2020.04.04.07.51.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 04 Apr 2020 07:51:12 -0700 (PDT) Received: by mail-ot1-f49.google.com with SMTP id c9so10454742otl.12; Sat, 04 Apr 2020 07:51:11 -0700 (PDT) X-Received: by 2002:a9d:5187:: with SMTP id y7mr10514439otg.159.1586011871117; Sat, 04 Apr 2020 07:51:11 -0700 (PDT) MIME-Version: 1.0 From: Tomasz CEDRO Date: Sat, 4 Apr 2020 16:50:53 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: /usr/src/release/release.sh -> ports -> fetch pkg -> Bad system call (core dumped) To: FreeBSD Questions Mailing List , FreeBSD Stable , freebsd-ports Cc: Hans Petter Selasky Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 48vfrV5DCZz4cb6 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=cuWLEqlF; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2607:f8b0:4864:20::343) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-2.38 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; DMARC_NA(0.00)[cedro.info]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[cedro.info:+]; RCVD_IN_DNSWL_NONE(0.00)[3.4.3.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)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-0.08)[ip: (0.40), ipnet: 2607:f8b0::/32(-0.33), asn: 15169(-0.43), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Apr 2020 14:51:30 -0000 Hello world :-) I would like to build a 12-STABLE (/usr/src contains svn.freebsd.org/base/stable/12) locally on strong machine (24CPU 127GB RAM 12-1-RELEASE AMD64), then test changes on my local machine (panasonic toughbook i5 laptop 12.1-RELEASE AMD64). This will be used for testing kernel patches and driver development/fixes. The goal is to have separate zroot/ROOT/stable to select and act as the FreeBSD base. So far I have zroot/ROOT/default to use FreeBSD 12.1-RELEASE. I would like to switch between those to on boot to have one base system stable for working and another base system for testing on real environment. I noticed that simple copy of /boot/kernel does not work on my target machine. Thus I am trying to create a whole release, put a separate system base, then on boot select different zfs container base to boot from. I just love ZFS for that! I may even use snapshots to log and rollback changes. Questions: 1. Is it a good build / testing environment? Maybe there is a simpler / better way to cross compile binaries and test on another machine? Both are using 12.1-RELEASE AMD64 installations so far. All /usr/local should work both with 12.1-RELEASE and 12-STABLE right? 2. When that works, I would like to cross-compile for ARM in a similar manner, then attach pyOCD + GDB to debug ARM target. I guess that should work too as above? 3. During /usr/src/release/release.sh I get following error as pasted below. Does release.sh update /usr/ports just as it snaps from svn or it will use the /usr/porst that are just there and I need to provide /usr/ports in a state that will be bindled into a /scratch release? ===> docproj-2.0_14 depends on file: /usr/local/sbin/pkg - not found ===> License BSD2CLAUSE accepted by the user ===> Fetching all distfiles required by pkg-1.14.2 for building ===> Extracting for pkg-1.14.2 ===> License BSD2CLAUSE accepted by the user ===> Fetching all distfiles required by pkg-1.14.2 for building => SHA256 Checksum mismatch for freebsd-pkg-1.14.2_GH0.tar.gz. ===> Refetch for 1 more times files: freebsd-pkg-1.14.2_GH0.tar.gz ===> License BSD2CLAUSE accepted by the user => freebsd-pkg-1.14.2_GH0.tar.gz doesn't seem to exist in /tmp/distfiles/. => Attempting to fetch https://codeload.github.com/freebsd/pkg/tar.gz/1.14.2?dummy=/freebsd-pkg-1.14.2_GH0.tar.gz freebsd-pkg-1.14.2_GH0.tar.gz Bad system call (core dumped) => Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/freebsd-pkg-1.14.2_GH0.tar.gz freebsd-pkg-1.14.2_GH0.tar.gz Bad system call (core dumped) => Couldn't fetch it - please try to retrieve this => port manually into /tmp/distfiles/ and try again. *** Error code 1 Stop. Any hints and comments are welcome :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info