From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by sourceware.org (Postfix) with ESMTPS id A4A0D3858D39 for ; Fri, 31 Dec 2021 21:22:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A4A0D3858D39 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wr1-x42f.google.com with SMTP id e5so57710975wrc.5 for ; Fri, 31 Dec 2021 13:22:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=SedTG/JiFJgLjzjxL8Anie/Eua3t/23SD7Qec3bluRs=; b=kAOEishTrSo9VWgtpnsKr5d8FCGRgCBodaEqCpEfAhhxBIzlEdBVyxs8ve/Nvzc+LW T/lJWaH/kdMINXPHxBG8pKH0hZeu9bTTtxkS/Cooeb56kNUttNvZN+7IGTsn4DL28v6N 0f2vy4tAoc5zOkOKFJ0LWCbZvDcpf0dwO2e0SfY8rbmmwK2TKxjxVh+T0fE2xQgrwqm4 G/KRKkLaukqIHC/4ZXPK8XLf6cy8KSg9QxiAN0NFPVdS8HlCtI10wRl+KXnfYxbZb648 bacmEwhlpNqHyysDvQLNDA9OR7E3zUQVLE8bKhVuwU7ICOr4PVtajJY67xWauLoU/YUC 3fFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=SedTG/JiFJgLjzjxL8Anie/Eua3t/23SD7Qec3bluRs=; b=YdTuxu9ylIQJL53OsVgwq0WMI5oIzOa9bZPoQ71QzDScehjSf7AoA8nRjG0f+PwRaP 7d2LNQjNfYL1GpEp8KaFIUaMBai2PCdW5sHlZ+wJXd1fksIT5pzcGKbT2cYsIDMLzfmh Kj1yjXs65LEonkZDKp/3FXmJlRxVXVLwnxFPNCrIqEharobPTizqAQTiY9A7Yuka5T7Q drphygNck1vhIBdANbbnkBV5fYibGIejqFz+jyyWFh/tsDEIZs0iQGI+wvuOlm+AMOyt 915+Dv50o2BpTVLnWyH7DAccPF40agVaRefhnGwYDgAyYt+NwBkXcPFB6eMkQg62Ukvh zXNQ== X-Gm-Message-State: AOAM5319m2HBdSEllCYm823qfimUY8/ikkZsYhOVx8Di1R3u85ISvSI9 Cox6oUSHTud1Cqq7s3oYInpf2dK3acQ= X-Google-Smtp-Source: ABdhPJwrdHCJusw6HmgeF/gcusF+yZD5zBFgbArL6NFzCr0ZAjArdyRyQal7MzLPc0GvX+a9f+7qqA== X-Received: by 2002:a5d:408c:: with SMTP id o12mr30179985wrp.691.1640985744773; Fri, 31 Dec 2021 13:22:24 -0800 (PST) Received: from ?IPV6:2003:cc:9f31:986c:910b:f3fc:7bf6:1d5f? (p200300cc9f31986c910bf3fc7bf61d5f.dip0.t-ipconnect.de. [2003:cc:9f31:986c:910b:f3fc:7bf6:1d5f]) by smtp.gmail.com with ESMTPSA id h3sm28070185wrt.94.2021.12.31.13.22.24 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 31 Dec 2021 13:22:24 -0800 (PST) Message-ID: Date: Fri, 31 Dec 2021 22:22:23 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 Subject: Re: python 3.9 package leaks CFLAGS into user packages via sysconfig Content-Language: it To: cygwin@cygwin.com References: From: Marco Atzeri In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Dec 2021 21:22:27 -0000 On 31.12.2021 20:33, Matthias Koeppe wrote: > On Mon, Dec 27, 2021 at 5:27 PM Matthias Koeppe > wrote: > >> $ python3.9 -m sysconfig | grep CFLAGS >> CFLAGS = "-Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall .. >> >> These flags will end up in builds of user Python packages with extensions >> via sysconfig/distutils. >> This should be fixed by putting the necessary flags for the Python build >> into CFLAGS_NODIST instead [...] >> > > Thanks, Marco, for the python-3.9.9-3 test package. > It has been reported to work well for us ( > https://trac.sagemath.org/ticket/33078#comment:34), solving the reported > problem. > > Matthias > Thanks Matthias for the testing. I expect to promote it from test to current in few days. Regards Marco