<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/rmilecki/tools/fakeroot, branch master</title>
<subtitle>Rafal Mileckis staging tree</subtitle>
<id>https://git.openwrt.org/openwrt/staging/rmilecki/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/rmilecki/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/rmilecki/'/>
<updated>2021-02-26T19:41:00Z</updated>
<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/rmilecki/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/rmilecki/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/rmilecki/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/rmilecki/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/rmilecki/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/rmilecki/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/rmilecki/commit/?id=0fd214d89fa970b967c1aaf5613f145c869db2b1'/>
<id>urn:sha1:0fd214d89fa970b967c1aaf5613f145c869db2b1</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>tools: fakeroot: rework relocatable patch to avoid LD_LIBRARY_PATH usage</title>
<updated>2020-11-10T07:31:10Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2020-11-09T20:46:01Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/rmilecki/commit/?id=d4521fb132266fd6c94796e19d3d1e925847338d'/>
<id>urn:sha1:d4521fb132266fd6c94796e19d3d1e925847338d</id>
<content type='text'>
Due to the use of LD_LIBRARY_PATH, the programs running in the fakeroot
environment may end up loading bundled SDK libraries using the system
ld.so.

Rework the relocatability patch to avoid meddling with LD_LIBRARY_PATH
and construct the paths to faked and libfakeroot.so directly.

Fixes: f93cb5c2c8 ("fakeroot: make fakeroot script relocatable")
Reviewed-by: Petr Štetiar &lt;ynezz@true.cz&gt;
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>fakeroot: make fakeroot script relocatable</title>
<updated>2020-10-30T00:39:09Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2020-09-10T12:52:31Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/rmilecki/commit/?id=f93cb5c2c8dcffae6f7bc80b9c7807de30d67371'/>
<id>urn:sha1:f93cb5c2c8dcffae6f7bc80b9c7807de30d67371</id>
<content type='text'>
Patch the fakeroot script template to discover faked and libfakeroot.so
relative to the STAGING_DIR_HOST environment variable, similar to how it
is done for automake, libtool, quilt and autoconf already.

This avoids the need for passing the paths to faked and libfakeroot.so
manually every time we invoke fakeroot and subsequently allows us to
drop OS X specific logic.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>tools: fakeroot: use TCP as IPC transport</title>
<updated>2020-09-09T11:33:50Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2020-09-08T11:52:10Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/rmilecki/commit/?id=6485f521c9bb4a898cad6d73d7b27196921b89bb'/>
<id>urn:sha1:6485f521c9bb4a898cad6d73d7b27196921b89bb</id>
<content type='text'>
Some environments, e.g. first gen WSL, do not support SysV IPC.
Enforce the use of TCP transport instead which should be universally
available.

Fixes: FS#3317
Ref: https://github.com/microsoft/WSL/issues/4067
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
</feed>
