From owner-freebsd-pkg@FreeBSD.ORG Mon Feb 16 00:57:16 2015 Return-Path: Delivered-To: pkg@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5DD765C9 for ; Mon, 16 Feb 2015 00:57:16 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 432C0ED9 for ; Mon, 16 Feb 2015 00:57:16 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1G0vGZW018227 for ; Mon, 16 Feb 2015 00:57:16 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 197670] ports-mgmt/pkg should pipe package installation messages through less when there are lots of them Date: Mon, 16 Feb 2015 00:57:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 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: Mon, 16 Feb 2015 00:57:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197670 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|pkg should pipe package |ports-mgmt/pkg should pipe |installation messages |package installation |through less when there are |messages through less when |lots of them |there are lots of them -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-pkg@FreeBSD.ORG Tue Feb 17 04:30:57 2015 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 328B9A6D for ; Tue, 17 Feb 2015 04:30:57 +0000 (UTC) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id 7C7CC683 for ; Tue, 17 Feb 2015 04:30:55 +0000 (UTC) X-Virus-Scanned: by clamd daemon 0.98.5_1 for FreeBSD at relay2.tomsk.ru Received: from admin.sibptus.tomsk.ru ([212.73.125.240] verified) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPS id 38223146 for freebsd-pkg@freebsd.org; Tue, 17 Feb 2015 10:30:52 +0600 Received: from admin.sibptus.tomsk.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.tomsk.ru (8.14.9/8.14.7) with ESMTP id t1H4Uneh069055 for ; Tue, 17 Feb 2015 10:30:52 +0600 (NOVT) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.tomsk.ru (8.14.9/8.14.7/Submit) id t1H4Un6G069054 for freebsd-pkg@freebsd.org; Tue, 17 Feb 2015 10:30:49 +0600 (NOVT) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.tomsk.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Tue, 17 Feb 2015 10:30:49 +0600 From: Victor Sudakov To: freebsd-pkg@freebsd.org Subject: "poudriere distclean" complains about /etc/make.conf Message-ID: <20150217043049.GA68755@admin.sibptus.tomsk.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: OAO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 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: Tue, 17 Feb 2015 04:30:57 -0000 Colleagues, I have the following construct in /etc/make.conf but not in /usr/local/etc/poudriere.d/make.conf: .if ${.CURDIR:M*/mail/spamassassin} && ${HOST} == "relay.sibptus.ru" EXTRA_PATCHES+=/root/patches/Mail-SpamAssassin-3.3.1.sa-cgp.diff:-p1 .endif When I run "poudriere distclean", it complains about this construct: WARNING (mail/spamassassin): "/etc/make.conf", line 15: Malformed conditional (${.CURDIR:M*/mail/spamassassin} && ${HOST} == "relay.sibptus.ru") WARNING (mail/spamassassin): "/usr/share/mk/sys.mk", line 340: if-less endif WARNING (mail/spamassassin): make: fatal errors encountered -- cannot continue I have two questions. 1. Why does it complain? The conditional seems legit. 2. Why does it use the global /etc/make.conf and not its own /usr/local/etc/poudriere.d/make.conf when running "poudriere distclean"? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From owner-freebsd-pkg@FreeBSD.ORG Tue Feb 17 21:13:14 2015 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B38DDD75 for ; Tue, 17 Feb 2015 21:13:14 +0000 (UTC) Received: from mail.norse-corp.com (mail.norse-corp.com [64.71.131.199]) by mx1.freebsd.org (Postfix) with ESMTP id 906343E8 for ; Tue, 17 Feb 2015 21:13:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.norse-corp.com (Postfix) with ESMTP id D10FF49CD2DC for ; Tue, 17 Feb 2015 13:13:07 -0800 (PST) X-Virus-Scanned: amavisd-new at mail.norse-corp.com Received: from mail.norse-corp.com ([127.0.0.1]) by localhost (mail.norse-corp.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ml90_z0gy6ky for ; Tue, 17 Feb 2015 13:13:07 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by mail.norse-corp.com (Postfix) with ESMTP id 9C12249CD23F for ; Tue, 17 Feb 2015 13:13:07 -0800 (PST) X-Virus-Scanned: amavisd-new at mail.norse-corp.com Received: from mail.norse-corp.com ([127.0.0.1]) by localhost (mail.norse-corp.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id JfuE1V-uoOo3 for ; Tue, 17 Feb 2015 13:13:07 -0800 (PST) Received: from mail.norse-corp.com (mail.norse-corp.com [64.71.131.199]) by mail.norse-corp.com (Postfix) with ESMTP id 4599349CD2DF for ; Tue, 17 Feb 2015 13:13:07 -0800 (PST) Date: Tue, 17 Feb 2015 13:13:07 -0800 (PST) From: James Koenig To: freebsd-pkg@freebsd.org Message-ID: <1205568033.41967.1424207587254.JavaMail.zimbra@norse-corp.com> In-Reply-To: <586733806.35281.1424202596271.JavaMail.zimbra@norse-corp.com> Subject: System lockup during Poudriere build MIME-Version: 1.0 X-Originating-IP: [50.204.88.51] X-Mailer: Zimbra 8.0.5_GA_5839 (ZimbraWebClient - FF35 ([unknown])/8.0.5_GA_5839) Thread-Topic: System lockup during Poudriere build Thread-Index: FF4spUUCb7nrwaDUM7v1BbLDEiQ9YA== Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 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: Tue, 17 Feb 2015 21:13:14 -0000 Dear FreeBSD-PKG email list, Have any of you had a successful poudriere build of the entire ports tree using ZFS as a primary RAID manager, including swap? If so, what kind of hardware or configurations did you use, in terms of RAM, number of CPUS, etc? When we've tried to run a poudriere bulk build on our entire ports tree, we've experienced the build server totally locking up over file locks. These lockups happen consistently during the build (poudriere bulk -a) process, whenever ZFS's swap is enabled, and no longer occur when ZFS's swap is disabled. a crash filesystem's core.txt from the described lockup is attached as zfs_lockup.core.txt.gz Regards, James Koenig From owner-freebsd-pkg@FreeBSD.ORG Wed Feb 18 14:31:28 2015 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2D7373D6 for ; Wed, 18 Feb 2015 14:31:28 +0000 (UTC) Received: from prod2.absolight.net (mx3.absolight.net [IPv6:2a01:678:2:100::25]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "plouf.absolight.net", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DB0C7EDF for ; Wed, 18 Feb 2015 14:31:27 +0000 (UTC) Received: from prod2.absolight.net (localhost [127.0.0.1]) by prod2.absolight.net (Postfix) with ESMTP id 5D7EFBDC24; Wed, 18 Feb 2015 15:31:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=mat.cc; h=date:from:to :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=plouf; bh=DvbKdt97Er0 m4f4LCWflQ7fHfq4=; b=rTV9ZGVo/RyXeO7+LO/RSTyRkLFv0U/KOtf8fr8cb8Y nrv0MEb4LE3Ww4W6PCzh9eIOKKBru7Za4MbhaIpW9P70DKGiWtU1ZryuISWHj46Z objm9nXMHpb98qNkN4uN34DIC44R1rCCCM5mXBHAaOyBSxApDPJn6x0nKRY+pG/M = Received: from gw.in.absolight.net (gw-ecl.in.absolight.net [79.143.241.69]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "gw.in.absolight.net", Issuer "CA Cert Signing Authority" (not verified)) by prod2.absolight.net (Postfix) with ESMTPSA id 432C7BDC1F; Wed, 18 Feb 2015 15:31:25 +0100 (CET) Received: from ogg.in.absolight.net (ogg.in.absolight.net [79.143.241.239]) by gw.in.absolight.net (Postfix) with ESMTP id B6C766119; Wed, 18 Feb 2015 15:31:24 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by ogg.in.absolight.net (Postfix) with ESMTP id 3D88F7DAFA0A; Wed, 18 Feb 2015 15:31:24 +0100 (CET) Date: Wed, 18 Feb 2015 15:31:23 +0100 From: Mathieu Arnold To: Victor Sudakov , freebsd-pkg@freebsd.org Subject: Re: "poudriere distclean" complains about /etc/make.conf Message-ID: In-Reply-To: <20150217043049.GA68755@admin.sibptus.tomsk.ru> References: <20150217043049.GA68755@admin.sibptus.tomsk.ru> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 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, 18 Feb 2015 14:31:28 -0000 +--On 17 f=C3=A9vrier 2015 10:30:49 +0600 Victor Sudakov = wrote: | Colleagues, |=20 | I have the following construct in /etc/make.conf but not in | /usr/local/etc/poudriere.d/make.conf: |=20 | .if ${.CURDIR:M*/mail/spamassassin} && ${HOST} =3D=3D "relay.sibptus.ru" | EXTRA_PATCHES+=3D/root/patches/Mail-SpamAssassin-3.3.1.sa-cgp.diff:-p1 | .endif |=20 | When I run "poudriere distclean", it complains about this construct:=20 |=20 | WARNING (mail/spamassassin): "/etc/make.conf", line 15: | Malformed conditional (${.CURDIR:M*/mail/spamassassin} && ${HOST} =3D=3D | "relay.sibptus.ru") WARNING (mail/spamassassin): "/usr/share/mk/sys.mk", | line 340: if-less endif WARNING (mail/spamassassin): make: fatal errors | encountered -- cannot continue |=20 | I have two questions. |=20 | 1. Why does it complain? The conditional seems legit. It seems like it is, but it is not, it should be: .if !empty(.CURDIR:M*/mail/spamassassin) && ${HOST} =3D=3D = "relay.sibptus.ru" EXTRA_PATCHES+=3D/root/patches/Mail-SpamAssassin-3.3.1.sa-cgp.diff:-p1 .endif or .if ${.CURDIR:M*/mail/spamassassin} !=3D "" && ${HOST} =3D=3D = "relay.sibptus.ru" --=20 Mathieu Arnold From owner-freebsd-pkg@FreeBSD.ORG Wed Feb 18 16:37:49 2015 Return-Path: Delivered-To: freebsd-pkg@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 9310738B for ; Wed, 18 Feb 2015 16:37:49 +0000 (UTC) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id EA977160 for ; Wed, 18 Feb 2015 16:37:48 +0000 (UTC) X-Virus-Scanned: by clamd daemon 0.98.5_1 for FreeBSD at relay2.tomsk.ru Received: from admin.sibptus.tomsk.ru ([212.73.125.240] verified) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPS id 38239585; Wed, 18 Feb 2015 22:37:45 +0600 Received: from admin.sibptus.tomsk.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.tomsk.ru (8.14.9/8.14.7) with ESMTP id t1IGbd83024796; Wed, 18 Feb 2015 22:37:42 +0600 (NOVT) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.tomsk.ru (8.14.9/8.14.7/Submit) id t1IGbdsW024795; Wed, 18 Feb 2015 22:37:39 +0600 (NOVT) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.tomsk.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Wed, 18 Feb 2015 22:37:39 +0600 From: Victor Sudakov To: Mathieu Arnold , freebsd-pkg@freebsd.org Subject: Re: "poudriere distclean" complains about /etc/make.conf Message-ID: <20150218163739.GA24716@admin.sibptus.tomsk.ru> References: <20150217043049.GA68755@admin.sibptus.tomsk.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: OAO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-pkg@freebsd.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 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, 18 Feb 2015 16:37:49 -0000 Mathieu Arnold wrote: > | > | I have the following construct in /etc/make.conf but not in > | /usr/local/etc/poudriere.d/make.conf: > | > | .if ${.CURDIR:M*/mail/spamassassin} && ${HOST} == "relay.sibptus.ru" > | EXTRA_PATCHES+=/root/patches/Mail-SpamAssassin-3.3.1.sa-cgp.diff:-p1 > | .endif > | > | When I run "poudriere distclean", it complains about this construct: > | > | WARNING (mail/spamassassin): "/etc/make.conf", line 15: > | Malformed conditional (${.CURDIR:M*/mail/spamassassin} && ${HOST} == > | "relay.sibptus.ru") WARNING (mail/spamassassin): "/usr/share/mk/sys.mk", > | line 340: if-less endif WARNING (mail/spamassassin): make: fatal errors > | encountered -- cannot continue > | > | I have two questions. > | > | 1. Why does it complain? The conditional seems legit. > > It seems like it is, but it is not, it should be: > > .if !empty(.CURDIR:M*/mail/spamassassin) && ${HOST} == "relay.sibptus.ru" > EXTRA_PATCHES+=/root/patches/Mail-SpamAssassin-3.3.1.sa-cgp.diff:-p1 > .endif > > or > > .if ${.CURDIR:M*/mail/spamassassin} != "" && ${HOST} == "relay.sibptus.ru" Sorry, Mathieu, your advice does not help: [root@svn ~] poudriere distclean -y [00:00:00] ====>> Gathering all expected distfiles for ports tree 'default' WARNING (mail/spamassassin): "/etc/make.conf", line 15: Malformed conditional (${.CURDIR:M*/mail/spamassassin} != "" && ${HOST} == "relay.sibptus.ru") WARNING (mail/spamassassin): "/usr/share/mk/sys.mk", line 340: if-less endif WARNING (mail/spamassassin): make: fatal errors encountered -- cannot continue -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From owner-freebsd-pkg@FreeBSD.ORG Wed Feb 18 22:34:17 2015 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D76B0B55 for ; Wed, 18 Feb 2015 22:34:17 +0000 (UTC) Received: from prod2.absolight.net (mx3.absolight.net [IPv6:2a01:678:2:100::25]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "plouf.absolight.net", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 92883A32 for ; Wed, 18 Feb 2015 22:34:17 +0000 (UTC) Received: from prod2.absolight.net (localhost [127.0.0.1]) by prod2.absolight.net (Postfix) with ESMTP id 9C01EBDC2E; Wed, 18 Feb 2015 23:34:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=mat.cc; h=date:from:to :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=plouf; bh=fNujRtTHmXs hku8NODQL1ZJLGe8=; b=0fVmugx59IurOmcSJEIo3QDQduiz5h2E+0rcSQ6hata zkH8mt+MsLPz0AdkgQO9Wt0Ivi6I6/y7kdNWZX/gHy1XxIJ8C/UHaFu/wEr30V9a xoF8pg7IU8kcQaIC4NWxNtfzWqb5jGofysKEcvuxk0t5SmJV4sp0wLvR34zNRaBo = Received: from atuin.in.mat.cc (atuin.in.mat.cc [79.143.241.205]) by prod2.absolight.net (Postfix) with ESMTPA id 7593FBDC24; Wed, 18 Feb 2015 23:34:15 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by atuin.in.mat.cc (Postfix) with ESMTP id 70AA326BABB2; Wed, 18 Feb 2015 23:34:00 +0100 (CET) Date: Wed, 18 Feb 2015 23:34:00 +0100 From: Mathieu Arnold To: Victor Sudakov , freebsd-pkg@freebsd.org Subject: Re: "poudriere distclean" complains about /etc/make.conf Message-ID: In-Reply-To: <20150218163739.GA24716@admin.sibptus.tomsk.ru> References: <20150217043049.GA68755@admin.sibptus.tomsk.ru> <20150218163739.GA24716@admin.sibptus.tomsk.ru> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 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, 18 Feb 2015 22:34:17 -0000 +--On 18 f=C3=A9vrier 2015 22:37:39 +0600 Victor Sudakov = wrote: | Mathieu Arnold wrote: |> |=20 |> | I have the following construct in /etc/make.conf but not in |> | /usr/local/etc/poudriere.d/make.conf: |> |=20 |> | .if ${.CURDIR:M*/mail/spamassassin} && ${HOST} =3D=3D = "relay.sibptus.ru" |> | EXTRA_PATCHES+=3D/root/patches/Mail-SpamAssassin-3.3.1.sa-cgp.diff:-p1 |> | .endif |> |=20 |> | When I run "poudriere distclean", it complains about this construct:=20 |> |=20 |> | WARNING (mail/spamassassin): "/etc/make.conf", line 15: |> | Malformed conditional (${.CURDIR:M*/mail/spamassassin} && ${HOST} = =3D=3D |> | "relay.sibptus.ru") WARNING (mail/spamassassin): |> | "/usr/share/mk/sys.mk", line 340: if-less endif WARNING |> | (mail/spamassassin): make: fatal errors encountered -- cannot continue |> |=20 |> | I have two questions. |> |=20 |> | 1. Why does it complain? The conditional seems legit. |>=20 |> It seems like it is, but it is not, it should be: |>=20 |> .if !empty(.CURDIR:M*/mail/spamassassin) && ${HOST} =3D=3D = "relay.sibptus.ru" |> EXTRA_PATCHES+=3D/root/patches/Mail-SpamAssassin-3.3.1.sa-cgp.diff:-p1 |> .endif |>=20 |> or |>=20 |> .if ${.CURDIR:M*/mail/spamassassin} !=3D "" && ${HOST} =3D=3D |> "relay.sibptus.ru" |=20 | Sorry, Mathieu, your advice does not help: |=20 | [root@svn ~] poudriere distclean -y | [00:00:00] =3D=3D=3D=3D>> Gathering all expected distfiles for ports tree | 'default' WARNING (mail/spamassassin): "/etc/make.conf", line 15: | Malformed conditional (${.CURDIR:M*/mail/spamassassin} !=3D "" && ${HOST} | =3D=3D "relay.sibptus.ru") WARNING (mail/spamassassin): | "/usr/share/mk/sys.mk", line 340: if-less endif WARNING | (mail/spamassassin): make: fatal errors encountered -- cannot continue=20 Ah, yes, HOST is not defined, it's why it fails, you need to add: HOST?=3D before that line, because you can't compare an undefined variable with anything. --=20 Mathieu Arnold From owner-freebsd-pkg@FreeBSD.ORG Thu Feb 19 03:14:53 2015 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E98DDC28 for ; Thu, 19 Feb 2015 03:14:52 +0000 (UTC) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id 4A675EC0 for ; Thu, 19 Feb 2015 03:14:51 +0000 (UTC) X-Virus-Scanned: by clamd daemon 0.98.5_1 for FreeBSD at relay2.tomsk.ru Received: from admin.sibptus.tomsk.ru ([212.73.125.240] verified) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPS id 38244037; Thu, 19 Feb 2015 09:14:49 +0600 Received: from admin.sibptus.tomsk.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.tomsk.ru (8.14.9/8.14.7) with ESMTP id t1J3Eke1033570; Thu, 19 Feb 2015 09:14:49 +0600 (NOVT) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.tomsk.ru (8.14.9/8.14.7/Submit) id t1J3EkTf033569; Thu, 19 Feb 2015 09:14:46 +0600 (NOVT) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.tomsk.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Thu, 19 Feb 2015 09:14:46 +0600 From: Victor Sudakov To: Mathieu Arnold , freebsd-pkg@freebsd.org Subject: Re: "poudriere distclean" complains about /etc/make.conf Message-ID: <20150219031446.GA32820@admin.sibptus.tomsk.ru> References: <20150217043049.GA68755@admin.sibptus.tomsk.ru> <20150218163739.GA24716@admin.sibptus.tomsk.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: OAO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-pkg@freebsd.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 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: Thu, 19 Feb 2015 03:14:53 -0000 Mathieu Arnold wrote: > +--On 18 f??vrier 2015 22:37:39 +0600 Victor Sudakov > wrote: > | Mathieu Arnold wrote: > |> | > |> | I have the following construct in /etc/make.conf but not in > |> | /usr/local/etc/poudriere.d/make.conf: > |> | > |> | .if ${.CURDIR:M*/mail/spamassassin} && ${HOST} == "relay.sibptus.ru" > |> | EXTRA_PATCHES+=/root/patches/Mail-SpamAssassin-3.3.1.sa-cgp.diff:-p1 > |> | .endif > |> | > |> | When I run "poudriere distclean", it complains about this construct: > |> | > |> | WARNING (mail/spamassassin): "/etc/make.conf", line 15: > |> | Malformed conditional (${.CURDIR:M*/mail/spamassassin} && ${HOST} == > |> | "relay.sibptus.ru") WARNING (mail/spamassassin): > |> | "/usr/share/mk/sys.mk", line 340: if-less endif WARNING > |> | (mail/spamassassin): make: fatal errors encountered -- cannot continue > |> | > |> | I have two questions. > |> | > |> | 1. Why does it complain? The conditional seems legit. > |> > |> It seems like it is, but it is not, it should be: > |> > |> .if !empty(.CURDIR:M*/mail/spamassassin) && ${HOST} == "relay.sibptus.ru" > |> EXTRA_PATCHES+=/root/patches/Mail-SpamAssassin-3.3.1.sa-cgp.diff:-p1 > |> .endif > |> > |> or > |> > |> .if ${.CURDIR:M*/mail/spamassassin} != "" && ${HOST} == > |> "relay.sibptus.ru" > | > | Sorry, Mathieu, your advice does not help: > | > | [root@svn ~] poudriere distclean -y > | [00:00:00] ====>> Gathering all expected distfiles for ports tree > | 'default' WARNING (mail/spamassassin): "/etc/make.conf", line 15: > | Malformed conditional (${.CURDIR:M*/mail/spamassassin} != "" && ${HOST} > | == "relay.sibptus.ru") WARNING (mail/spamassassin): > | "/usr/share/mk/sys.mk", line 340: if-less endif WARNING > | (mail/spamassassin): make: fatal errors encountered -- cannot continue > > Ah, yes, HOST is not defined, it's why it fails, you need to add: > > HOST?= Mathieu, what makes you think that HOST is not defined? It's defined in the environment and should be available to make: [sudakov@relay ~] make -V HOST relay.sibptus.ru [sudakov@relay ~] > > before that line, because you can't compare an undefined variable with > anything. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From owner-freebsd-pkg@FreeBSD.ORG Thu Feb 19 09:38:21 2015 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0AA5ABD for ; Thu, 19 Feb 2015 09:38:21 +0000 (UTC) Received: from prod2.absolight.net (mx3.absolight.net [IPv6:2a01:678:2:100::25]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "plouf.absolight.net", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 977409BB for ; Thu, 19 Feb 2015 09:38:19 +0000 (UTC) Received: from prod2.absolight.net (localhost [127.0.0.1]) by prod2.absolight.net (Postfix) with ESMTP id D8AB7BDC3E; Thu, 19 Feb 2015 10:38:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=mat.cc; h=date:from:to :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=plouf; bh=e0fDscgEior yr9dqbIdKgIXPvEc=; b=zBJujoIFe00PP3s74ecwawYEqElfW5vuNhAL4M7WjuF OhUvd2ogshabpp9iB/6qwQOmFkL9nWzg4IKFtiNgFPJCyY5SymcrD2j7NaDfsJZ4 Ayx9XZOBWfc5fRTDnQUL49viRR8SiV5Tf/ZUhW9YcBj/M8/TOKaUnt80PB54lCkE = Received: from atuin.in.mat.cc (atuin.in.mat.cc [79.143.241.205]) by prod2.absolight.net (Postfix) with ESMTPA id BA0B6BDC24; Thu, 19 Feb 2015 10:38:15 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by atuin.in.mat.cc (Postfix) with ESMTP id E3ADE26C04A4; Thu, 19 Feb 2015 10:37:59 +0100 (CET) Date: Thu, 19 Feb 2015 10:37:59 +0100 From: Mathieu Arnold To: Victor Sudakov , freebsd-pkg@freebsd.org Subject: Re: "poudriere distclean" complains about /etc/make.conf Message-ID: In-Reply-To: <20150219031446.GA32820@admin.sibptus.tomsk.ru> References: <20150217043049.GA68755@admin.sibptus.tomsk.ru> <20150218163739.GA24716@admin.sibptus.tomsk.ru> <20150219031446.GA32820@admin.sibptus.tomsk.ru> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 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: Thu, 19 Feb 2015 09:38:21 -0000 +--On 19 f=C3=A9vrier 2015 09:14:46 +0600 Victor Sudakov = wrote: | Mathieu Arnold wrote: |> +--On 18 f??vrier 2015 22:37:39 +0600 Victor Sudakov = |> wrote: |> | Mathieu Arnold wrote: |> |> |=20 |> |> | I have the following construct in /etc/make.conf but not in |> |> | /usr/local/etc/poudriere.d/make.conf: |> |> |=20 |> |> | .if ${.CURDIR:M*/mail/spamassassin} && ${HOST} =3D=3D = "relay.sibptus.ru" |> |> | = EXTRA_PATCHES+=3D/root/patches/Mail-SpamAssassin-3.3.1.sa-cgp.diff:-p1 |> |> | .endif |> |> |=20 |> |> | When I run "poudriere distclean", it complains about this |> |> | construct:=20 |> |> |=20 |> |> | WARNING (mail/spamassassin): "/etc/make.conf", line 15: |> |> | Malformed conditional (${.CURDIR:M*/mail/spamassassin} && ${HOST} = =3D=3D |> |> | "relay.sibptus.ru") WARNING (mail/spamassassin): |> |> | "/usr/share/mk/sys.mk", line 340: if-less endif WARNING |> |> | (mail/spamassassin): make: fatal errors encountered -- cannot |> |> | continue |> |> |=20 |> |> | I have two questions. |> |> |=20 |> |> | 1. Why does it complain? The conditional seems legit. |> |>=20 |> |> It seems like it is, but it is not, it should be: |> |>=20 |> |> .if !empty(.CURDIR:M*/mail/spamassassin) && ${HOST} =3D=3D |> |> "relay.sibptus.ru" |> |> = EXTRA_PATCHES+=3D/root/patches/Mail-SpamAssassin-3.3.1.sa-cgp.diff:-p1 |> |> .endif |> |>=20 |> |> or |> |>=20 |> |> .if ${.CURDIR:M*/mail/spamassassin} !=3D "" && ${HOST} =3D=3D |> |> "relay.sibptus.ru" |> |=20 |> | Sorry, Mathieu, your advice does not help: |> |=20 |> | [root@svn ~] poudriere distclean -y |> | [00:00:00] =3D=3D=3D=3D>> Gathering all expected distfiles for ports = tree |> | 'default' WARNING (mail/spamassassin): "/etc/make.conf", line 15: |> | Malformed conditional (${.CURDIR:M*/mail/spamassassin} !=3D "" && = ${HOST} |> | =3D=3D "relay.sibptus.ru") WARNING (mail/spamassassin): |> | "/usr/share/mk/sys.mk", line 340: if-less endif WARNING |> | (mail/spamassassin): make: fatal errors encountered -- cannot continue = |>=20 |> Ah, yes, HOST is not defined, it's why it fails, you need to add: |>=20 |> HOST?=3D |=20 | Mathieu, what makes you think that HOST is not defined? It's defined | in the environment and should be available to make: |=20 | [sudakov@relay ~] make -V HOST | relay.sibptus.ru | [sudakov@relay ~] It's not defined in my environment, so I'd say it's specific to your setup, so, it's not defined when poudriere runs make, so it fails. --=20 Mathieu Arnold From owner-freebsd-pkg@FreeBSD.ORG Thu Feb 19 15:47:25 2015 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5C76C3C6 for ; Thu, 19 Feb 2015 15:47:25 +0000 (UTC) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id B49D27B0 for ; Thu, 19 Feb 2015 15:47:23 +0000 (UTC) X-Virus-Scanned: by clamd daemon 0.98.5_1 for FreeBSD at relay2.tomsk.ru Received: from admin.sibptus.tomsk.ru ([212.73.125.240] verified) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPS id 38249953; Thu, 19 Feb 2015 21:47:21 +0600 Received: from admin.sibptus.tomsk.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.tomsk.ru (8.14.9/8.14.7) with ESMTP id t1JFlIUW051703; Thu, 19 Feb 2015 21:47:21 +0600 (NOVT) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.tomsk.ru (8.14.9/8.14.7/Submit) id t1JFlIFh051702; Thu, 19 Feb 2015 21:47:18 +0600 (NOVT) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.tomsk.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Thu, 19 Feb 2015 21:47:18 +0600 From: Victor Sudakov To: Mathieu Arnold , freebsd-pkg@freebsd.org Subject: Re: "poudriere distclean" complains about /etc/make.conf Message-ID: <20150219154718.GA51357@admin.sibptus.tomsk.ru> References: <20150217043049.GA68755@admin.sibptus.tomsk.ru> <20150218163739.GA24716@admin.sibptus.tomsk.ru> <20150219031446.GA32820@admin.sibptus.tomsk.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: OAO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-pkg@freebsd.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 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: Thu, 19 Feb 2015 15:47:25 -0000 Mathieu Arnold wrote: [dd] > |> Ah, yes, HOST is not defined, it's why it fails, you need to add: > |> > |> HOST?= > | > | Mathieu, what makes you think that HOST is not defined? It's defined > | in the environment and should be available to make: > | > | [sudakov@relay ~] make -V HOST > | relay.sibptus.ru > | [sudakov@relay ~] > > It's not defined in my environment, so I'd say it's specific to your setup, > so, it's not defined when poudriere runs make, so it fails. Dear Mathieu, you are right. The definition of "HOST?=" fixes the problem. Probably poudriere cleans the environment. Thank you very much for your help. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From owner-freebsd-pkg@FreeBSD.ORG Thu Feb 19 16:12:00 2015 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8AA717E2 for ; Thu, 19 Feb 2015 16:12:00 +0000 (UTC) Received: from mail-qg0-x22d.google.com (mail-qg0-x22d.google.com [IPv6:2607:f8b0:400d:c04::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3EEB4A66 for ; Thu, 19 Feb 2015 16:12:00 +0000 (UTC) Received: by mail-qg0-f45.google.com with SMTP id h3so7180456qgf.4 for ; Thu, 19 Feb 2015 08:11:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=7vjerZI+bfGnWY6EHzX6dpfKrzIE2pO8w20+Ow4Glbg=; b=VVhJLTqwFqpktj4bpaHTMi23ySa5DhXvIBHMGhJVXXnYiUCKV95hF3czDW781lZgGG L+St5xUvsJy4mrh9swbzMx0asDU3tzQjtA3yAir+pjIevw0r7Ze3pZwNvHR+Lkz2qPEo gr/llZ9w96Coiw6lAz331JeaFBqKaky9eoRW8oonNw9GMNqeeAvcKgjclWa5ulXTxs1d REvSGTN7XtS5aVdggqY1Z468Bu3+G+T3VAu25cEfbo2I0qAXG8fj5CK4oYW51btVozOP DX9QovDKCrUhCyH9vBdjxPsr0l9r8APfFwKvRUz015HAuwlQ4s9QP+nmi/9l4knXbFSM +kxA== MIME-Version: 1.0 X-Received: by 10.140.231.151 with SMTP id b145mr13418107qhc.22.1424362319310; Thu, 19 Feb 2015 08:11:59 -0800 (PST) Received: by 10.96.158.137 with HTTP; Thu, 19 Feb 2015 08:11:59 -0800 (PST) In-Reply-To: <20150219154718.GA51357@admin.sibptus.tomsk.ru> References: <20150217043049.GA68755@admin.sibptus.tomsk.ru> <20150218163739.GA24716@admin.sibptus.tomsk.ru> <20150219031446.GA32820@admin.sibptus.tomsk.ru> <20150219154718.GA51357@admin.sibptus.tomsk.ru> Date: Thu, 19 Feb 2015 18:11:59 +0200 Message-ID: Subject: Re: "poudriere distclean" complains about /etc/make.conf From: Kimmo Paasiala To: Victor Sudakov Content-Type: text/plain; charset=UTF-8 Cc: freebsd-pkg@freebsd.org, Mathieu Arnold X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 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: Thu, 19 Feb 2015 16:12:00 -0000 On Thu, Feb 19, 2015 at 5:47 PM, Victor Sudakov wrote: > Mathieu Arnold wrote: > > [dd] > >> |> Ah, yes, HOST is not defined, it's why it fails, you need to add: >> |> >> |> HOST?= >> | >> | Mathieu, what makes you think that HOST is not defined? It's defined >> | in the environment and should be available to make: >> | >> | [sudakov@relay ~] make -V HOST >> | relay.sibptus.ru >> | [sudakov@relay ~] >> >> It's not defined in my environment, so I'd say it's specific to your setup, >> so, it's not defined when poudriere runs make, so it fails. > > Dear Mathieu, you are right. The definition of "HOST?=" fixes the > problem. Probably poudriere cleans the environment. > > Thank you very much for your help. > > > -- > Victor Sudakov, VAS4-RIPE, VAS47-RIPN > sip:sudakov@sibptus.tomsk.ru > _______________________________________________ You're probably exporting (setenv in tcsh(1) and the like) HOST somewhere in your shell init files. Poudriere uses the plain sh(1) shell that does not create a HOST local variable, other shells like tcsh(1) and zsh(1) do create it though. HTH, -Kimmo From owner-freebsd-pkg@FreeBSD.ORG Thu Feb 19 18:06:37 2015 Return-Path: Delivered-To: freebsd-pkg@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 82EF8751 for ; Thu, 19 Feb 2015 18:06:37 +0000 (UTC) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id D6C86A88 for ; Thu, 19 Feb 2015 18:06:35 +0000 (UTC) X-Virus-Scanned: by clamd daemon 0.98.5_1 for FreeBSD at relay2.tomsk.ru Received: from admin.sibptus.tomsk.ru ([212.73.125.240] verified) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPS id 38250815; Fri, 20 Feb 2015 00:06:33 +0600 Received: from admin.sibptus.tomsk.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.tomsk.ru (8.14.9/8.14.7) with ESMTP id t1JI6QQw052913; Fri, 20 Feb 2015 00:06:28 +0600 (NOVT) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.tomsk.ru (8.14.9/8.14.7/Submit) id t1JI6Qp8052912; Fri, 20 Feb 2015 00:06:26 +0600 (NOVT) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.tomsk.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Fri, 20 Feb 2015 00:06:26 +0600 From: Victor Sudakov To: Kimmo Paasiala , freebsd-pkg@freebsd.org Subject: Re: "poudriere distclean" complains about /etc/make.conf Message-ID: <20150219180626.GA52751@admin.sibptus.tomsk.ru> References: <20150217043049.GA68755@admin.sibptus.tomsk.ru> <20150218163739.GA24716@admin.sibptus.tomsk.ru> <20150219031446.GA32820@admin.sibptus.tomsk.ru> <20150219154718.GA51357@admin.sibptus.tomsk.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: OAO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-pkg@freebsd.org, Mathieu Arnold X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 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: Thu, 19 Feb 2015 18:06:37 -0000 Kimmo Paasiala wrote: > On Thu, Feb 19, 2015 at 5:47 PM, Victor Sudakov wrote: > > Mathieu Arnold wrote: > > > > [dd] > > > >> |> Ah, yes, HOST is not defined, it's why it fails, you need to add: > >> |> > >> |> HOST?= > >> | > >> | Mathieu, what makes you think that HOST is not defined? It's defined > >> | in the environment and should be available to make: > >> | > >> | [sudakov@relay ~] make -V HOST > >> | relay.sibptus.ru > >> | [sudakov@relay ~] > >> > >> It's not defined in my environment, so I'd say it's specific to your setup, > >> so, it's not defined when poudriere runs make, so it fails. > > > > Dear Mathieu, you are right. The definition of "HOST?=" fixes the > > problem. Probably poudriere cleans the environment. > > > > You're probably exporting (setenv in tcsh(1) and the like) HOST > somewhere in your shell init files. Poudriere uses the plain sh(1) > shell that does not create a HOST local variable, other shells like > tcsh(1) and zsh(1) do create it though. > The HOST variable is already available in my login shell and "make -V HOST" confirms this. The question is why "poudriere distclean" does not inherit it from my login shell when I run poudriere from the shell prompt. The plain sh(1) does inherit it, look: [sudakov@admin ~] echo $SHELL ; echo $HOST /bin/tcsh admin.sibptus.tomsk.ru [sudakov@admin ~] sh $ echo $HOST admin.sibptus.tomsk.ru $ make -V HOST admin.sibptus.tomsk.ru $ -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From owner-freebsd-pkg@FreeBSD.ORG Thu Feb 19 20:03:33 2015 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 50D34CF3 for ; Thu, 19 Feb 2015 20:03:33 +0000 (UTC) Received: from parez.praha12.net (parez.6.praha12.net [IPv6:2a01:490:16:2::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EAAC5AA9 for ; Thu, 19 Feb 2015 20:03:32 +0000 (UTC) Received: from [IPv6:2a01:490:12:801:20c:29ff:fe5c:fbff] (gandalfold.tocnet.6.praha12.net [IPv6:2a01:490:12:801:20c:29ff:fe5c:fbff]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: posta@hell) by parez.praha12.net (Postfix) with ESMTPSA id 89F752013CE for ; Thu, 19 Feb 2015 21:03:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=praha12.net; s=parez; t=1424376198; bh=uG9bMRZqgOhXdWdtC4gIQz8bx25TGcn4s1FrXd4YASs=; h=Date:From:CC:Subject:References:In-Reply-To:From; b=jagj88fzzLqDX0gHf+ImQa/aNQttic2m89LGvD6epTr2cz4m2bCc+2bZrPP04hCtH QDs64t7LycsU2WzE06q4zUnbvCCHulGYK3h3USAsM8OTuCBFWNPzFK7tRzhAQUjbwc /xWb7xy2sFD012x6tObPuMFYdVSXuDu7cPTdVmcY= Message-ID: <54E64184.8020205@atlas.cz> Date: Thu, 19 Feb 2015 21:03:16 +0100 From: =?ISO-8859-2?Q?Daniel_Dvo=F8=E1k?= User-Agent: Mozilla/5.0 (Windows NT 5.2; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 CC: freebsd-pkg@freebsd.org Subject: Re: pkgdb perl unknown modifier References: <549B7720.6080306@atlas.cz> <20141225055240.GA11092@lonesome.com> <549E2B50.1040306@atlas.cz> In-Reply-To: <549E2B50.1040306@atlas.cz> X-Mailman-Approved-At: Thu, 19 Feb 2015 20:10:32 +0000 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 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: Thu, 19 Feb 2015 20:03:33 -0000 Hello, I still have not resolved this problem at all. I do not know what to do, what to find out where could be a problem, but I need it to repair my ports. Could somebody help me please ? Thank you. Daniel Dne 27.12.2014 4:45, "Daniel Dvořák$" napsal(a): > Dne 25.12.2014 v 6:52 Mark Linimon napsal(a): >> What version of FreeBSD are you on? This error can happen if you have >> certain versions that are no longer in support. >> >> mcl > Hi Mark, > > it is 8.4-RELEASE-p19. > > I found out something new to me in handbook: > > When upgrading an existing system that originally used the older > package system, the database must be converted to the new format, so > that the new tools are aware of the already installed packages. Once > pkg has been installed, the package database must be converted from > the traditional format to the new format by running this command: > > |#| *|pkg2ng|* > > > Note: > > This step is not required for new installations that do not yet have > any third-party software installed. > > Does it connect with my error somehow ? > > Durring last freebsd-update there were not any info about new pkg db > generation. > > I do not remember that I had to execute this command. > > Best regards, > > Daniel > > > > From owner-freebsd-pkg@FreeBSD.ORG Fri Feb 20 03:56:57 2015 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4F824385 for ; Fri, 20 Feb 2015 03:56:57 +0000 (UTC) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id A8118880 for ; Fri, 20 Feb 2015 03:56:55 +0000 (UTC) X-Virus-Scanned: by clamd daemon 0.98.5_1 for FreeBSD at relay2.tomsk.ru Received: from admin.sibptus.tomsk.ru ([212.73.125.240] verified) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPS id 38254844; Fri, 20 Feb 2015 09:56:53 +0600 Received: from admin.sibptus.tomsk.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.tomsk.ru (8.14.9/8.14.7) with ESMTP id t1K3uopM062713; Fri, 20 Feb 2015 09:56:53 +0600 (NOVT) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.tomsk.ru (8.14.9/8.14.7/Submit) id t1K3uoDD062711; Fri, 20 Feb 2015 09:56:50 +0600 (NOVT) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.tomsk.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Fri, 20 Feb 2015 09:56:50 +0600 From: Victor Sudakov To: Mathieu Arnold , freebsd-pkg@freebsd.org Subject: Re: "poudriere distclean" complains about /etc/make.conf Message-ID: <20150220035650.GA62448@admin.sibptus.tomsk.ru> References: <20150217043049.GA68755@admin.sibptus.tomsk.ru> <20150218163739.GA24716@admin.sibptus.tomsk.ru> <20150219031446.GA32820@admin.sibptus.tomsk.ru> <20150219154718.GA51357@admin.sibptus.tomsk.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150219154718.GA51357@admin.sibptus.tomsk.ru> Organization: OAO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 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: Fri, 20 Feb 2015 03:56:57 -0000 Victor Sudakov wrote: > > Dear Mathieu, you are right. The definition of "HOST?=" fixes the > problem. Probably poudriere cleans the environment. Indeed, the last line in /usr/local/bin/poudriere is exec env -i ${CMD_ENV} /bin/sh ${SETX} "${POUDRIEREPREFIX}/${CMD}.sh" $@ where ${CMD_ENV} contains only PATH and POUDRIERE_VERSION. That's where HOST is being stripped from the environment. Case closed IMHO. Thanks to everyone who replied. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru