<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/pepe2k/tools/fakeroot, branch v21.02.2</title>
<subtitle>Staging tree of Piotr Dymacz</subtitle>
<id>https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v21.02.2</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v21.02.2'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/'/>
<updated>2022-02-16T19:38:47Z</updated>
<entry>
<title>tools/fakeroot: fix unresolved symbols on arm64 macOS</title>
<updated>2022-02-16T19:38:47Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2022-01-27T12:20:15Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=5d553d8767b1f0fd61ac07d6fa98dde790d94bb1'/>
<id>urn:sha1:5d553d8767b1f0fd61ac07d6fa98dde790d94bb1</id>
<content type='text'>
The $INODE64 symbol variants are not present, since the base system
always uses 64-bit file offsets

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
(cherry-picked from commit 53ebacacf93278c6e71052eb5b3708c599129e55)
</content>
</entry>
<entry>
<title>tools/fakeroot: fix build on MacOS arm64</title>
<updated>2022-02-16T19:38:47Z</updated>
<author>
<name>Sergey V. Lobanov</name>
</author>
<published>2021-11-29T16:07:34Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=c8d6a7c84e81d415bad22dd381e7aed236ff6df2'/>
<id>urn:sha1:c8d6a7c84e81d415bad22dd381e7aed236ff6df2</id>
<content type='text'>
Added patch for MacOS without 32 bit inodes support
(__DARWIN_ONLY_64_BIT_INO_T is true)

This patch based on discussion https://github.com/archmac/bootstrap/issues/4

Signed-off-by: Sergey V. Lobanov &lt;sergey@lobanov.in&gt;
(cherry-picked from commit 8fedc17d01806c8a4bf4ed9e83a9523677d37bbd)
</content>
</entry>
<entry>
<title>tools/fakeroot: explicitly pass CPP variable</title>
<updated>2022-02-16T19:38:47Z</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/pepe2k/commit/?id=83bf22ba2e5853a5afc09585f76dc76c0d74ebea'/>
<id>urn:sha1:83bf22ba2e5853a5afc09585f76dc76c0d74ebea</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;
(cherry-picked from commit 48e209e5c5a76dd0ce4a2a8b014416dc988269a3)
</content>
</entry>
<entry>
<title>fakeroot: Alpine linux libc.musl build error fix</title>
<updated>2021-05-23T14:10:59Z</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/pepe2k/commit/?id=a162fe9a96fc83cb890944d40dadaf1091084f98'/>
<id>urn:sha1:a162fe9a96fc83cb890944d40dadaf1091084f98</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;
(cherry picked from commit 7a70f78fb7da4dc3e8c58e7662f4dc623274a78b)
</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/pepe2k/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/pepe2k/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/pepe2k/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/pepe2k/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/pepe2k/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>
<entry>
<title>tools/fakeroot: fix build on macOS with recent Xcode versions</title>
<updated>2020-11-14T13:48:30Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2020-11-14T10:57:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=0fd214d89fa970b967c1aaf5613f145c869db2b1'/>
<id>urn:sha1:0fd214d89fa970b967c1aaf5613f145c869db2b1</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
</feed>
