From owner-freebsd-ports@freebsd.org Sun Jul 17 09:25:37 2016 Return-Path: Delivered-To: freebsd-ports@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 0B8E4B9A952 for ; Sun, 17 Jul 2016 09:25:37 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8036A1C90 for ; Sun, 17 Jul 2016 09:25:36 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id u6H9PUsq046274 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 17 Jul 2016 12:25:30 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua u6H9PUsq046274 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id u6H9PUvk046273; Sun, 17 Jul 2016 12:25:30 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 17 Jul 2016 12:25:30 +0300 From: Konstantin Belousov To: Matthias Apitz , freebsd-ports@freebsd.org, samm@os2.kiev.ua Subject: Re: sysutils/atop fails to build in head r302904 with poudriere Message-ID: <20160717092529.GR38613@kib.kiev.ua> References: <20160717084017.GA2385@c720-r292778-amd64> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160717084017.GA2385@c720-r292778-amd64> User-Agent: Mutt/1.6.1 (2016-04-27) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tom.home X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jul 2016 09:25:37 -0000 On Sun, Jul 17, 2016 at 10:40:17AM +0200, Matthias Apitz wrote: > clang -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -DFREEBSD -c photoproc.c -o photoproc.o > photoproc.c:397:51: error: use of undeclared identifier 'P_KTHREAD' > ((pp->ki_flag & P_SYSTEM ) || (pp->ki_flag & P_KTHREAD))) > ^ > photoproc.c:464:75: error: use of undeclared identifier 'P_KTHREAD' > if (filterkernel && ((pbase->ki_flag & P_SYSTEM ) || (pbase->ki_flag & P_KTHREAD))) > ^ > photoproc.c:577:74: error: use of undeclared identifier 'P_KTHREAD' > if (filterkernel && ((pbase->ki_flag & P_SYSTEM ) || (pbase->ki_flag & P_KTHREAD))) > ^ > photoproc.c:674:51: error: use of undeclared identifier 'P_KTHREAD' > if ((pp->ki_flag & P_SYSTEM ) || (pp->ki_flag & P_KTHREAD)) > ^ > photoproc.c:690:44: error: use of undeclared identifier 'P_KTHREAD' > curtask->cpu.rtprio = ((pp->ki_flag & P_KTHREAD) ? pp->ki_pri.pri_native : > ^ > photoproc.c:694:44: error: use of undeclared identifier 'P_KTHREAD' > curtask->cpu.rtprio = ((pp->ki_flag & P_KTHREAD) ? pp->ki_pri.pri_native : The flag was renamed to P_KPROC in HEAD/stable-12.