<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/thess/tools/fakeroot, branch master</title>
<subtitle>Ted Hess staging tree</subtitle>
<id>https://git.openwrt.org/openwrt/staging/thess/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/thess/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/thess/'/>
<updated>2021-10-13T14:48:53Z</updated>
<entry>
<title>tools/fakeroot: explicitly pass CPP variable</title>
<updated>2021-10-13T14:48:53Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2021-10-13T14:36:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/thess/commit/?id=48e209e5c5a76dd0ce4a2a8b014416dc988269a3'/>
<id>urn:sha1:48e209e5c5a76dd0ce4a2a8b014416dc988269a3</id>
<content type='text'>
For some reason, the generated configure script fails to properly set up
the internal preprocessor command variable, causing the host OS check for
Darwin to fail after the last update.
Explicitly setting CPP fixes this issue

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>tools/fakeroot: fix build error on macOS</title>
<updated>2021-09-25T07:38:46Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2021-09-24T16:38:24Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/thess/commit/?id=ea44aebc27182a8130a9999b4415efa799f9b2ad'/>
<id>urn:sha1:ea44aebc27182a8130a9999b4415efa799f9b2ad</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>tools/fakeroot: update to 1.26</title>
<updated>2021-09-20T13:21:17Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2021-09-18T07:20:45Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/thess/commit/?id=22c30ed958296b756cef60b42200d668b145bf6b'/>
<id>urn:sha1:22c30ed958296b756cef60b42200d668b145bf6b</id>
<content type='text'>
Remove upstreamed patches. Refresh other.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>fakeroot: Alpine linux libc.musl build error fix</title>
<updated>2021-05-23T13:11:19Z</updated>
<author>
<name>Ruslan Isaev</name>
</author>
<published>2021-05-10T14:56:59Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/thess/commit/?id=7a70f78fb7da4dc3e8c58e7662f4dc623274a78b'/>
<id>urn:sha1:7a70f78fb7da4dc3e8c58e7662f4dc623274a78b</id>
<content type='text'>
Prevent build error on Alpine Linux host:
libfakeroot.c error: conflicting types for 'id_t'
Error relocating openwrt/staging_dir/host/lib/libfakeroot.so: SEND_GET_XATTR: symbol not found

Signed-off-by: Ruslan Isaev &lt;legale.legale@gmail.com&gt;
</content>
</entry>
<entry>
<title>download: add mirror alias for Debian</title>
<updated>2021-02-26T19:41:00Z</updated>
<author>
<name>David Bauer</name>
</author>
<published>2021-02-20T20:17:26Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/thess/commit/?id=9a9cf40dd968f409cf36c9537e79438d35322d95'/>
<id>urn:sha1:9a9cf40dd968f409cf36c9537e79438d35322d95</id>
<content type='text'>
Add an alias for Debian packages and download them from the Debian
mirror redirector.

Signed-off-by: David Bauer &lt;mail@david-bauer.net&gt;
</content>
</entry>
<entry>
<title>tools/fakeroot: fix build regression on macOS</title>
<updated>2021-02-15T18:58:54Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2021-02-15T18:58:54Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/thess/commit/?id=1da945b7602322142fc9a2d70edaf5592743bd6d'/>
<id>urn:sha1:1da945b7602322142fc9a2d70edaf5592743bd6d</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>fakeroot: fix to work with glibc 2.33</title>
<updated>2021-02-15T06:39:43Z</updated>
<author>
<name>Ilya Lipnitskiy</name>
</author>
<published>2021-02-14T04:41:03Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/thess/commit/?id=43dc26af6381f720adf4fe1dd2ea72ff0e45bb40'/>
<id>urn:sha1:43dc26af6381f720adf4fe1dd2ea72ff0e45bb40</id>
<content type='text'>
The following commit removed _STAT_VER definitions from glibc:
https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=8ed005daf0ab03e142500324a34087ce179ae78e

That subsequently broke fakeroot:
https://bugs.archlinux.org/task/69572
https://bugzilla.redhat.com/show_bug.cgi?id=1889862#c13
https://forum.openwrt.org/t/unable-to-build-toolchain-fakeroot-fails-perhaps-others-after-it/87966

Make the patch based on Jan Pazdziora's suggestion from here:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/SMQ3RYXEYTVZH6PLQMKNB3NM4XLPMNZO/

Add wrappers for newly exported symbols in glibc.

Apply patch from Debian to fix warnings in fts_read and fts_children:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676428
https://sources.debian.org/patches/fakeroot/1.25.3-1.1/eglibc-fts-without-LFS/

Fix __xmknod{,at} dev pointer argument. Switch default to assume * and
not the absence of *. On glibc 2.33+, there is no definition for these
functions in header files, so the compile test doesn't work. But, we
can default to using the pointer (as is the case with newer glibc), and
use the header file on older platforms to fail the test and use no pointer.

Tested on my x86_64 Arch Linux machine, fakeroot unit tests pass.
Also tested by building various .ipks and examining the tar contents, to
ensure that the owner uid/gid was 0/0.

Signed-off-by: Ilya Lipnitskiy &lt;ilya.lipnitskiy@gmail.com&gt;
</content>
</entry>
<entry>
<title>tools/fakeroot: fix build regression on macOS</title>
<updated>2021-01-14T13:01:57Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2021-01-11T17:03:29Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/thess/commit/?id=3fd070e089569b1f68f8baddf1a4373dd7c02cc8'/>
<id>urn:sha1:3fd070e089569b1f68f8baddf1a4373dd7c02cc8</id>
<content type='text'>
AT_EMPTY_PATH and AT_NO_AUTOMOUNT does not exist there

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>tools/fakeroot: update to 1.25.3</title>
<updated>2021-01-05T18:59:31Z</updated>
<author>
<name>Syrone Wong</name>
</author>
<published>2021-01-01T13:50:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/thess/commit/?id=f34f4a6665a91571866de38f476554ed986eccf2'/>
<id>urn:sha1:f34f4a6665a91571866de38f476554ed986eccf2</id>
<content type='text'>
use PKG_FIXUP:=autoreconf to generate configure
200-hide-dlsym-error.patch deleted due to fixed upstream in another way
other patches refreshed to reflect latest changes

Signed-off-by: Syrone Wong &lt;wong.syrone@gmail.com&gt;
</content>
</entry>
<entry>
<title>tools/fakeroot: remove undefined symbol messages</title>
<updated>2020-12-31T22:09:09Z</updated>
<author>
<name>Sven Wegener</name>
</author>
<published>2020-12-28T12:37:27Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/thess/commit/?id=c5d033a34d0050dad83567eccd36dc6c7827ffe3'/>
<id>urn:sha1:c5d033a34d0050dad83567eccd36dc6c7827ffe3</id>
<content type='text'>
glibc started to return errors from dlerror() for dlsym() lookup failures which
results in a lot of messages from fakeroot like

dlsym(acl_get_fd): staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_get_fd
dlsym(acl_get_file): staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_get_file
dlsym(acl_set_fd): staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_set_fd

when building OpenWrt using a recent glibc. Use the patch from the upstream
Debian package to silence these messages.

Link: https://bugs.debian.org/830912
Fixes: FS#3393
Signed-off-by: Sven Wegener &lt;sven.wegener@stealer.net&gt;
</content>
</entry>
</feed>
