<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/nbd/include/autotools.mk, branch master</title>
<subtitle>Felix Fietkaus staging tree</subtitle>
<id>https://git-03.infra.openwrt.org/openwrt/staging/nbd/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/openwrt/staging/nbd/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/nbd/'/>
<updated>2024-08-29T18:04:02Z</updated>
<entry>
<title>include: autotools: do not symlink files in autoreconf</title>
<updated>2024-08-29T18:04:02Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2024-08-29T18:04:02Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/nbd/commit/?id=c364cb8e469f9a7de1ed8960163c90e26b2df1ad'/>
<id>urn:sha1:c364cb8e469f9a7de1ed8960163c90e26b2df1ad</id>
<content type='text'>
In Gluon's Github Actions CI, we were occasionally seeing bizarre build
errors that looked like a config.sub file had been corrupted, or changed
while it was being executed.

The cause turned out to be an interaction of the symlinks created by
autoreconf (pointing from individual tools' build dirs into
`staging_dir/host/share/automake-1.16`) and OpenWrt's host-build.mk,
which replaced config.guess and config.sub *after* autoreconf. The
result was that the replacement of these files ended up following the
symlinks and writing the files in `staging_dir/host/share/automake-1.16`
instead of a package's build dir. This could cause other packages' builds
to fail if they were currently executing the scripts while they were
being written.

To fix this, disable autoreconf's symlinking feature, so that modifying
these files in a package's build directory can't accidentally affect the
staged versions.

Link: https://github.com/openwrt/openwrt/pull/15825
Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
</entry>
<entry>
<title>autotools: add list of fake paths to tools</title>
<updated>2023-05-04T04:07:26Z</updated>
<author>
<name>Michael Pratt</name>
</author>
<published>2023-04-14T06:06:53Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/nbd/commit/?id=c52d938481651b6f9e0a4087652c99b805716ed8'/>
<id>urn:sha1:c52d938481651b6f9e0a4087652c99b805716ed8</id>
<content type='text'>
A list that can be used by some packages in order
to force the skipping of every execution of autoreconf.

Signed-off-by: Michael Pratt &lt;mcpratt@pm.me&gt;
</content>
</entry>
<entry>
<title>autotools: remove specialized version of libtool</title>
<updated>2023-03-26T22:41:50Z</updated>
<author>
<name>Michael Pratt</name>
</author>
<published>2023-03-16T01:22:37Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/nbd/commit/?id=83c1bf2cd43c89c6488cdae2891264593ee8c0c1'/>
<id>urn:sha1:83c1bf2cd43c89c6488cdae2891264593ee8c0c1</id>
<content type='text'>
Remove the specialized copy of libtool
which was used for linking to uClibc++, which is now removed.

Also remove references to the deprecated fixup targets
that invoked this specialized libtool, which no package uses.

Ref: 6b2ed6101 ("uclibc++: remove")
Ref: c10515db6 ("re-enable the libtool PKG_BUILD_DEPENDS for PKG_FIXUP")
Ref: 246a5b334 ("More libtool madness")
Signed-off-by: Michael Pratt &lt;mcpratt@pm.me&gt;
</content>
</entry>
<entry>
<title>include: autotools: Add dummy GTKDOCIZE</title>
<updated>2023-03-15T23:36:12Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2023-03-15T23:30:26Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/nbd/commit/?id=f08190e743cc92aaca9f280071aad71bbff83b37'/>
<id>urn:sha1:f08190e743cc92aaca9f280071aad71bbff83b37</id>
<content type='text'>
autoreconf wants to use the gtkdocize tool now if a configure.ac file
defines GTK_DOC_CHECk(). OpenWrt does not ship the gtkdocize tool, just
use true instead. This fixes the build of some applications like guntls.

Fixes: 030447b8f4c7 ("tools/autoconf: bump to 2.71")
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>libiconv-stub: remove</title>
<updated>2022-07-15T13:21:44Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2022-06-09T19:19:22Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/nbd/commit/?id=c0ba4201f8372eee579584b7f5900e073b207b0c'/>
<id>urn:sha1:c0ba4201f8372eee579584b7f5900e073b207b0c</id>
<content type='text'>
No longer used.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: autotools: fix cache path</title>
<updated>2022-03-27T23:15:52Z</updated>
<author>
<name>Huangbin Zhan</name>
</author>
<published>2021-10-30T07:28:28Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/nbd/commit/?id=044ca149f36a08f56fe827a20aa113837c58cb40'/>
<id>urn:sha1:044ca149f36a08f56fe827a20aa113837c58cb40</id>
<content type='text'>
the cache directory should be autom4te.cache in all $(PKG_AUTOMAKE_PATHS)
rather than $(PKG_BUILD_DIR)/autom4te.cache only

Signed-off-by: Huangbin Zhan &lt;zhanhb88@gmail.com&gt;
</content>
</entry>
<entry>
<title>gettext: remove package</title>
<updated>2021-11-20T20:08:25Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2021-09-17T03:21:35Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/nbd/commit/?id=e6f569406ffe1d9e35b9b9ea36f38cdd5837728d'/>
<id>urn:sha1:e6f569406ffe1d9e35b9b9ea36f38cdd5837728d</id>
<content type='text'>
This package was necessary when uClibc was in the tree. Now that uClibc
is gone, this can go too.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: prevent dupes in autotools.mk</title>
<updated>2021-03-01T16:16:32Z</updated>
<author>
<name>Sebastian Kemper</name>
</author>
<published>2021-03-01T16:13:07Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/nbd/commit/?id=b2adc7f18c8976b4aaf18a7575b81fe5d9e9a814'/>
<id>urn:sha1:b2adc7f18c8976b4aaf18a7575b81fe5d9e9a814</id>
<content type='text'>
autotools.mk does not have any protection currently that would prevent
it from being sourced multiple times. Note that both package.mk and
host-build.mk source autotools.mk. So any package Makefile that includes
both will cause hooks to be added twice (at least twice).

This is fixed by declaring a new variable, __autotools_inc, and only
continuing if this variable doesn't equal 1. The same is done by
rules.mk already.

Also, this commit does away with an ifneq that checks PKG_FIXUP (instead
of HOST_FIXUP) for patch-libtool before adding to the host pre-configure
hook. This does not make sense.

The second ifneq is amended. The current one manually does what the
define patch_libtool_host is already doing. It can just use the define.

Signed-off-by: Sebastian Kemper &lt;sebastian_ml@gmx.net&gt;
</content>
</entry>
<entry>
<title>autotools.mk: fix gettext fixup</title>
<updated>2021-02-23T20:10:56Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2021-02-17T10:51:10Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/nbd/commit/?id=90b1524f75023ad0f441e82773ca9e9b5d513e1a'/>
<id>urn:sha1:90b1524f75023ad0f441e82773ca9e9b5d513e1a</id>
<content type='text'>
The update to gettext 0.21 broke packages that use autotools and
gettext because the sed line was failing with the new version. Fix with
a better sed expression.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: add support for patching libtool to include ABI version in soname</title>
<updated>2021-02-15T17:47:19Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2021-02-15T17:46:11Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/nbd/commit/?id=f696cd3df3669a1a0a247623b549afeed718e207'/>
<id>urn:sha1:f696cd3df3669a1a0a247623b549afeed718e207</id>
<content type='text'>
Use the version from PKG_ABI_VERSION

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
</feed>
