[From nobody Mon Oct  5 16:51:06 2026
Received: (at submit) by bugs.debian.org; 12 Jul 2024 14:21:56 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
 (2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-105.3 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
 DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
 SPF_HELO_NONE,SPF_NONE,UNPARSEABLE_RELAY,USER_IN_DKIM_WELCOMELIST,
 USER_IN_DKIM_WHITELIST autolearn=ham autolearn_force=no
 version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 19; hammy, 150; neutral, 87; spammy,
 0. spammytokens:
 hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
 0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: &lt;ginggs@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:37334)
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=stravinsky.debian.org, EMAIL=hostmaster@stravinsky.debian.org (verified)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.94.2) (envelope-from &lt;ginggs@debian.org&gt;) id 1sSH9o-004tEg-JZ
 for submit@bugs.debian.org; Fri, 12 Jul 2024 14:21:56 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Content-Type:To:Subject:Message-ID:
 Date:From:MIME-Version:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=5sQWyCRqHVyfYEC3+kmMKcYEZrM3dZp2L5bGjI58vFo=; b=rGmVkC6xv397g7hb433DHiJ4p7
 7UhGI1TIFTSrZ4yrIifX8bTdPj3yB9NFc5ek2tqbLs+6u8ob1CkoAgUx2r2LgO4o1BG38ZH9xLymH
 JeM6oCXaLeJQVFiZ5bSfwt3oA3AsOMFsgdVjVvf61yU7H/xk9xT/pd2QVL4lsMZlqVZ0YlFlSRgTZ
 TcCsPDsJ7cMcmGWi73OoentwsraJyV2LAI1LcAAxocslh7mGVBZLhBufLO7XsFQLqt7Z7ZzlzAk52
 aUox3yB2/rqNXeYBCoAyR3rVI7TIxgKrA0nHS5QYb1yoocLo6HgOFT75c4EOA3yIWD67Rj5LabTZx
 dnL5tbmw==;
Received: from authenticated user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128)
 (Exim 4.94.2) (envelope-from &lt;ginggs@debian.org&gt;) id 1sSH9m-00BRnN-Da
 for submit@bugs.debian.org; Fri, 12 Jul 2024 14:21:54 +0000
Received: by mail-oa1-f48.google.com with SMTP id
 586e51a60fabf-25e3b8637c9so987252fac.3
 for &lt;submit@bugs.debian.org&gt;; Fri, 12 Jul 2024 07:21:54 -0700 (PDT)
X-Gm-Message-State: AOJu0YxH+Pk0G7MeIjNWVLASXXNc2bYXL7r+tr0yGwA+CsaKgg6XiG7n
 M52mQgQIrsbcM/p6MZWmBbsBVpg9cHZ+d9bwTV/ZEjqmqksVJrOASfNK6gmIqZtVBTn6VWyPv+w
 Ys05evTHmG98jh3hDe/qxFDoo6z4=
X-Google-Smtp-Source: AGHT+IH9qOs6ahGcbHnOE9UO17EaHU6yj3hgjp4p/sGkxHm7iHMUSUwieE4VSXrabm2/IJjKAUzcNidV2IJQqYJwwMM=
X-Received: by 2002:a05:6870:d38e:b0:24f:cddc:ccff with SMTP id
 586e51a60fabf-25eae81a20bmr10063731fac.21.1720794112743; Fri, 12 Jul 2024
 07:21:52 -0700 (PDT)
MIME-Version: 1.0
From: Graham Inggs &lt;ginggs@debian.org&gt;
Date: Fri, 12 Jul 2024 14:21:41 +0000
X-Gmail-Original-Message-ID: &lt;CAM8zJQuH7sDM+gGrHX8L+hXYFsJaPHWiTwgPfR3PrsFSECqGZw@mail.gmail.com&gt;
Message-ID: &lt;CAM8zJQuH7sDM+gGrHX8L+hXYFsJaPHWiTwgPfR3PrsFSECqGZw@mail.gmail.com&gt;
Subject: pybj: fails to build extension but build still succeeds
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Content-Type: text/plain; charset=&quot;UTF-8&quot;
X-Debian-User: ginggs
Delivered-To: submit@bugs.debian.org

Source: pybj
Version: 0.2.6-2
Severity: serious
Tags: ftbfs
User: debian-python@lists.debian.org
Usertags: python3.12

Hi Maintainer

pybj fails to build its extension, but the build still succeeds.
Noticed in the recent rebuild for Python 3.12 only [1].  I've copied
what I hope is the relevant part of the log below.

Regards
Graham


[1] https://buildd.debian.org/status/fetch.php?pkg=pybj&amp;arch=amd64&amp;ver=0.2.6-2%2Bb1&amp;stamp=1720780666&amp;raw=0


running build
running build_py
running build_ext
building '_bjdata' extension
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g
-O2 -Wall -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/&lt;&lt;PKGBUILDDIR&gt;&gt;=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security
-fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
-I/usr/include/python3.12 -c src/_bjdata.c -o
build/temp.linux-x86_64-cpython-312/src/_bjdata.o -std=c99
-DUSE__BJDATA
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g
-O2 -Wall -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/&lt;&lt;PKGBUILDDIR&gt;&gt;=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security
-fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
-I/usr/include/python3.12 -c src/decoder.c -o
build/temp.linux-x86_64-cpython-312/src/decoder.o -std=c99
-DUSE__BJDATA
src/decoder.c:20:10: fatal error: numpy/arrayobject.h: No such file or directory
   20 | #include &lt;numpy/arrayobject.h&gt;
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
/&lt;&lt;PKGBUILDDIR&gt;&gt;/setup.py:64: UserWarning: Extension module _bjdata:
The output above this warning shows how the compilation failed.
  warnings.warn(&quot;Extension module %s: The output above this warning
shows how the compilation failed.&quot;
command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
running install_lib
]