<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/pepe2k/include/prereq-build.mk, branch v21.02.1</title>
<subtitle>Staging tree of Piotr Dymacz</subtitle>
<id>https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v21.02.1</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v21.02.1'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/'/>
<updated>2021-10-13T05:19:30Z</updated>
<entry>
<title>build: prereq detect Python 3.10 for `python3` binary</title>
<updated>2021-10-13T05:19:30Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2021-10-10T09:09:46Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=f1f304940b72def82dc22cebd78436505f2d6b9f'/>
<id>urn:sha1:f1f304940b72def82dc22cebd78436505f2d6b9f</id>
<content type='text'>
While the binary `python3.10` is correctly detected by the build system
the default `python3` binary is currently not detected if pointing to a
Python 3.10 installation.

Fix this by extending the grep regex.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
(cherry picked from commit 56ea2bf2eec431ccd3c566190a444ad63db39b65)
</content>
</entry>
<entry>
<title>prereq-build: recognize Python 3.10</title>
<updated>2021-10-09T02:34:51Z</updated>
<author>
<name>Marcin Juszkiewicz</name>
</author>
<published>2021-09-28T13:03:24Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=9b258f220f1223dc578e1cfe3ff026fb98b9edd2'/>
<id>urn:sha1:9b258f220f1223dc578e1cfe3ff026fb98b9edd2</id>
<content type='text'>
Fedora 35 contains Python 3.10 as default version. Make use of it.

Signed-off-by: Marcin Juszkiewicz &lt;marcin@juszkiewicz.com.pl&gt;
[fix commit subject]
Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
(cherry picked from commit e1c03ca18519f9683f6bfce1795e58d99575d895)
</content>
</entry>
<entry>
<title>build: fix `which` detection on Fedora &amp; MacOS</title>
<updated>2021-10-09T02:32:23Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2021-10-02T01:56:27Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=913403b587451abaaf67e8f9640f0dc2cdcec95d'/>
<id>urn:sha1:913403b587451abaaf67e8f9640f0dc2cdcec95d</id>
<content type='text'>
Fix Fedora 34/35 issue where 'which' detection of 'which' wasn't working
because Fedora use alias and proc

Fixup of fca5ad55d2 prereq-build: fix `which` detection on Fedora

Reported-by: Jani Partanen &lt;rtfm@iki.fi&gt;
Suggest-by: Etienne Champetier &lt;champetier.etienne@gmail.com&gt;
Tested-by: Georgi Valkov &lt;gvalkov@abv.bg&gt;
Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
(cherry picked from commit 0d1ebf0d6d20f0439ab45b293f9daa7662c44ba6)
</content>
</entry>
<entry>
<title>prereq-build: require python3-distutils</title>
<updated>2021-08-28T13:48:08Z</updated>
<author>
<name>Andre Heider</name>
</author>
<published>2021-08-10T10:22:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=5bfb9c30a1a3199596dcf07cf64dea7df92a7237'/>
<id>urn:sha1:5bfb9c30a1a3199596dcf07cf64dea7df92a7237</id>
<content type='text'>
Debian and Ubuntu ship a python3-minimal package which does not include
the distutils module. This is not supported by upstream and can be
considered a broken python distribution.

In practice, many scripts depend on said module, and this is a reoccuring
pain point for building various OpenWrt packages.

Require and check for said module, enough time has been wasted on this.

A list of just the most recent issues:
https://github.com/openwrt/packages/pull/16304
https://github.com/openwrt/packages/pull/16027
https://github.com/openwrt/packages/pull/15443
https://github.com/openwrt/packages/pull/14394
https://github.com/openwrt/packages/pull/12909
https://github.com/openwrt/packages/issues/12443
https://github.com/openwrt/packages/pull/11035
https://github.com/openwrt/packages/issues/10993

Signed-off-by: Andre Heider &lt;a.heider@gmail.com&gt;
(cherry picked from commit 60af8d753343691c4a647bfc7c51ef6eb92df9f2)
</content>
</entry>
<entry>
<title>Extend checks on build prerequisites for building OpenWRT core</title>
<updated>2021-05-08T10:45:55Z</updated>
<author>
<name>Bas Mevissen</name>
</author>
<published>2021-04-19T23:08:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=567ad2d434a464f80c278800050fb3a9b9c49c9a'/>
<id>urn:sha1:567ad2d434a464f80c278800050fb3a9b9c49c9a</id>
<content type='text'>
OpenWRT requires a number of Perl modules to be installed. It wasn't checking on all of them.
This patch adds checks for Perl FindBin, File::Copy, File::Compare and Thread::Queue modules.

Failing to install these, will have the build break at some point. By adding these to the
prereq-build.mk script, they are checked on forehand.

Tested on a Fedora 33 and 34 (beta) that was freshly installed. Fedora appears to
break up Perl modules into small packages that need to be installed for the build to succeed.

Signed-off-by: Bas Mevissen &lt;abuse@basmevissen.nl&gt;
(cherry picked from commit f68c9474acf9a65b5a9538db8e45c173462487e3)
</content>
</entry>
<entry>
<title>build: add which command to build requirements</title>
<updated>2021-03-03T22:03:25Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2021-03-03T18:48:55Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=ceb6869cd982056b02f97b51a0e4e2d300ea5b12'/>
<id>urn:sha1:ceb6869cd982056b02f97b51a0e4e2d300ea5b12</id>
<content type='text'>
`which` utility is not shipped by default for example on recent Arch
Linux and then any steps relying on its presence fails, like for example
following Python3 prereq build check:

 $ python3 --version
 Python 3.9.1

 $ make
 /bin/sh: line 1: which: command not found
 ...
 Checking 'python3'... failed.

So make `which` utility host build requirement.

References: PR#3820 FS#3525
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
(cherry picked from commit 13069b1a1dcbef0bb9b42db98025fa9203283220)
</content>
</entry>
<entry>
<title>build: fix checks for GCC11</title>
<updated>2021-03-03T22:01:18Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2021-03-01T12:29:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=a29b3983248588505e927317a162edb8187b94f9'/>
<id>urn:sha1:a29b3983248588505e927317a162edb8187b94f9</id>
<content type='text'>
Fedora 34 already uses GCC11.

Reported-by: Marcin Juszkiewicz &lt;marcin-openwrt@juszkiewicz.com.pl&gt;
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
(cherry picked from commit cae69d558135456976b8fc6cb08530d1358cf6d5)
</content>
</entry>
<entry>
<title>build: use SPDX license tags</title>
<updated>2021-02-05T13:54:47Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2020-09-22T02:48:37Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=a17b8eaa2e4b319b7069170398fe965786a813e9'/>
<id>urn:sha1:a17b8eaa2e4b319b7069170398fe965786a813e9</id>
<content type='text'>
The license folder is a core part of OpenWrt and all GPL-2.0 licensed.
Use SPDX license tags to allow machines to check licenses.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
[rebase, keep some Copyright lines, sharpen commit message]
Signed-off-by: Adrian Schmutzler &lt;freifunk@adrianschmutzler.de&gt;
</content>
</entry>
<entry>
<title>build/prereq: merge ifndef IB block together</title>
<updated>2020-12-31T19:30:01Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2020-12-30T04:19:08Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=cc9d5b5a488d3a43068f621a1ef184f06e43bede'/>
<id>urn:sha1:cc9d5b5a488d3a43068f621a1ef184f06e43bede</id>
<content type='text'>
Multiple prereq checks are only required within the build system but not
for the ImageBuilder. These checks are excluded by using ifndef IB.

This commit merges the three ifndef IB blocks together.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>build: require rsync</title>
<updated>2020-12-07T16:23:13Z</updated>
<author>
<name>Stijn Tintel</name>
</author>
<published>2020-12-04T17:16:26Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=0ba83a757728185eabd965e07331508923cca825'/>
<id>urn:sha1:0ba83a757728185eabd965e07331508923cca825</id>
<content type='text'>
It seems to be required to build toolchain/kernel-headers.

Signed-off-by: Stijn Tintel &lt;stijn@linux-ipv6.be&gt;
</content>
</entry>
</feed>
