From owner-freebsd-ports@freebsd.org Mon Mar 5 15:24:37 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3277FF37BAF for ; Mon, 5 Mar 2018 15:24:37 +0000 (UTC) (envelope-from bsdkaffee@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B728A7E7DD for ; Mon, 5 Mar 2018 15:24:36 +0000 (UTC) (envelope-from bsdkaffee@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 6FB37F37BAB; Mon, 5 Mar 2018 15:24:36 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 49E5BF37BA9 for ; Mon, 5 Mar 2018 15:24:36 +0000 (UTC) (envelope-from bsdkaffee@gmail.com) Received: from mail-ua0-x22b.google.com (mail-ua0-x22b.google.com [IPv6:2607:f8b0:400c:c08::22b]) (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 D822D7E7DA; Mon, 5 Mar 2018 15:24:35 +0000 (UTC) (envelope-from bsdkaffee@gmail.com) Received: by mail-ua0-x22b.google.com with SMTP id m43so10699771uah.1; Mon, 05 Mar 2018 07:24:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=g+DILMoW43tpIAt60egvW/T6x5VLvQK2RVIJ0Lg7ges=; b=n6/OPgItR/nznQXVy21oYCkzjl9QC+8Pssyl6il5MVCEWHZ8UBUbF4ewR2I19l4XXx c6creXixL3DoQa4MzGn9Kiu0Pqs+j2LPLWRsYkVNmIotpbVqSxek4o/7PrmeiNiqX9d0 JYzBGl/9p1AroPjHs6DSzRVD62f0EmYvktWyg4P8lYqr+t77e9Wg3BSsENfFXTz1DLu/ 8iDf+QBLTwLD8l8LXe62d/u4oMsgH//xNkcucAnRXz8Y1ghK/gCabWxeuILwXO1gcwRM dGu4JLR2Qsx+e5LYJI6yMLStPEgtvv9ql5/dM6/fS+Wt2NaERZq9Dv3cFMB9Qg2XMiX9 +ylA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=g+DILMoW43tpIAt60egvW/T6x5VLvQK2RVIJ0Lg7ges=; b=KFH4QuRzO4vmJUCwq55GPVgr2irHZ+XnphoRC/SYTqd5CFdW9+JICxwaegLGz/h3oW 3PuPr+8+d92YU+uJdfiGlY0PrYfs6CB5DGPu5AAk0WPECtT45fqtiwm+Yvbs6jkXAqB/ 2bv7Y0TsNT/N3ayZmIOIQQtrXXyMTaCCU3oZairZ0NXYGnQiGumo6++nFf19gVnyIqF3 grE1jDxkfeB9WVjaMmMyNsO/vBP5KbjJ6iBFtO1JbtL5xgMMLd3h0sbxUVux8WFHYHiI Ap7wcqBJbk1wOhCXjcrYap1Ez2i2YTiOdXemos3IGvESmHg99HIW3IjZLmoT7YiQqgd1 zPrw== X-Gm-Message-State: APf1xPAge1jNpWgPCN/rUNgcZ+Y+n+F1LhwKx+oO+wDXxjMXoe3Qwu4p qIVGMhpDyHamlIDDe3kEj+bHYliFIs8YBGvRa7g= X-Google-Smtp-Source: AG47ELuwOx+e/XAbY8Mjq1rmTqT9Ugyu9u8lvJTaDLjqamETkkCsDv6x/xpo/lJPJ3S8kdZ+n78w4SEg41tSfqKIWvc= X-Received: by 10.159.51.26 with SMTP id o26mr10867010uab.97.1520263475068; Mon, 05 Mar 2018 07:24:35 -0800 (PST) MIME-Version: 1.0 Sender: bsdkaffee@gmail.com Received: by 10.31.165.207 with HTTP; Mon, 5 Mar 2018 07:24:34 -0800 (PST) In-Reply-To: <20180305112450.4bf542c1b3f2e0e9e993ad4e@FreeBSD.org> References: <935dd8c6-18ab-cd7f-1f41-31ff44179719@rawbw.com> <20180305112450.4bf542c1b3f2e0e9e993ad4e@FreeBSD.org> From: "Jason E. Hale" Date: Mon, 5 Mar 2018 10:24:34 -0500 X-Google-Sender-Auth: 0kUNIbUtaK6tdAGFGCWyVgpr_FU Message-ID: Subject: Re: Why some python ports fail with build_fs_violation like this: usr/local/lib/python3.6/site-packages/dbus/__pycache__ ? To: Emanuel Haupt Cc: Yuri , "ports@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2018 15:24:37 -0000 On Mon, Mar 5, 2018 at 5:24 AM, Emanuel Haupt wrote: > Yuri wrote: >> Examples: >> >> http://package21.nyi.freebsd.org/data/111amd64-default-qat/463452/logs/errors/py36-notify2-0.3.1.log >> >> http://package21.nyi.freebsd.org/data/111amd64-default-qat/463452/logs/errors/Carla-1.9.8.log >> >> >> Yuri > > I run into the same problem trying to update the nagstamon port (both > poudriere and poudriere-devel). > > In my case the port is heavily reliant on python36 flavoured > dependencies. > > Here is my build log: > http://people.freebsd.org/~ehaupt/misc/7DB621161F-672C5B551B-0F0958D74F-E60E451E4E/nagstamon-3.0.2.log > > In my case the following files are modified during the build stage: > > extra: usr/local/lib/python3.6/site-packages/dbus/mainloop/__pycache__ > extra: usr/local/lib/python3.6/site-packages/dbus/__pycache__ > > I'm not sure why that happens. > > Emanuel The problem looks to be in the devel/py-dbus port. It uses a script called ${WRKSRC}/py-compile to compile the Python bytecode, but it is not PEP 3147 compliant. I.e., it is writing out .pyc and .pyo files in Python < 3.2 style. Therefore, whenever the ports you are trying to build are loading the dbus module, it is creating the bytecode in the correct location on the fly and touching the filesystem. -Jason