Package Details: lib32-fakechroot 2.20.1-1

Git Clone URL: https://aur.archlinux.org/lib32-fakechroot.git (read-only, click to copy)
Package Base: lib32-fakechroot
Description: Gives a fake chroot environment (32-bit)
Upstream URL: https://github.com/dex4er/fakechroot/wiki
Licenses: LGPL
Submitter: mickael9
Maintainer: mickael9 (danwood76)
Last Packager: mickael9
Votes: 7
Popularity: 0.000000
First Submitted: 2017-12-01 18:31
Last Updated: 2021-02-18 20:58

Latest Comments

yxgi5 commented on 2021-02-18 06:02

This patch seems ok


--- a/src/libfakechroot.h
+++ b/src/libfakechroot.h
@@ -224,4 +224,14 @@ int fakechroot_try_cmd_subst (char *, const char *, char *);
 int snprintf(char *, size_t, const char *, ...);
 #endif

+#ifndef _STAT_VER
+#if defined (__aarch64__)
+#define _STAT_VER 0
+#elif defined (__x86_64__)
+#define _STAT_VER 1
+#else
+#define _STAT_VER 3
+#endif
+#endif
+
 #endif

yxgi5 commented on 2021-02-18 04:35

Is there a patch for this build error?

chroot.c: In function ‘chroot’: chroot.c:38:45: error: ‘_STAT_VER’ undeclared (first use in this function) 38 | # define STAT(path, sb) nextcall(__xstat64)(_STAT_VER, path, sb) | ^~~~~~~~~ chroot.c:104:19: note: in expansion of macro ‘STAT’ 104 | if ((status = STAT(path, &sb)) != 0) { | ^~~~ chroot.c:38:45: note: each undeclared identifier is reported only once for each function it appears in 38 | # define STAT(path, sb) nextcall(__xstat64)(_STAT_VER, path, sb) | ^~~~~~~~~ chroot.c:104:19: note: in expansion of macro ‘STAT’ 104 | if ((status = STAT(path, &sb)) != 0) { | ^~~~ make[2]: [Makefile:805: chroot.lo] Error 1 make[2]: Leaving directory '/home/andy/.cache/yay/lib32-fakechroot/src/fakechroot-2.19/src' make[1]: [Makefile:437: all-recursive] Error 1 make[1]: Leaving directory '/home/andy/.cache/yay/lib32-fakechroot/src/fakechroot-2.19' make: *** [Makefile:367: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... error making: lib32-fakechroot

wilhe_jo commented on 2021-02-12 12:38

There's a build error

CC connect.lo chroot.c: In Funktion »chroot«: chroot.c:38:45: Fehler: »_STAT_VER« nicht deklariert (erste Verwendung in dieser Funktion) 38 | # define STAT(path, sb) nextcall(__xstat64)(_STAT_VER, path, sb) | ^~~~~~~~~ chroot.c:108:19: Anmerkung: bei Substitution des Makros »STAT« 108 | if ((status = STAT(path, &sb)) != 0) { | ^~~~ chroot.c:38:45: Anmerkung: jeder nicht deklarierte Bezeichner wird nur einmal für jede Funktion, in der er vorkommt, gemeldet 38 | # define STAT(path, sb) nextcall(__xstat64)(_STAT_VER, path, sb) | ^~~~~~~~~ chroot.c:108:19: Anmerkung: bei Substitution des Makros »STAT« 108 | if ((status = STAT(path, &sb)) != 0) { | ^~~~ make[2]: [Makefile:900: chroot.lo] Fehler 1 make[2]: Es wird auf noch nicht beendete Prozesse gewartet.... make[2]: Verzeichnis „/var/tmp/pamac-build-hans/lib32-fakechroot/src/fakechroot-2.20.1/src“ wird verlassen make[1]: [Makefile:445: all-recursive] Fehler 1 make[1]: Verzeichnis „/var/tmp/pamac-build-hans/lib32-fakechroot/src/fakechroot-2.20.1“ wird verlassen make: [Makefile:375: all] Fehler 2 ==> FEHLER: Ein Fehler geschah in build(). Breche ab...

sorry for the german locals...

This translate in STAT and _STAT_VER not beeing declared.

Fedora seems to have similar problems: https://bugzilla.redhat.com/show_bug.cgi?id=1901049&utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+rawhide-new-7days+%28Bugzilla+Bugs%29

Btw. I tried to go for version 2.20.1 as well... same result!

alaskanarcher commented on 2018-06-25 20:00

I also needed to add lib32-gcc-libs to the depends array for this to build. I am wondering if it belongs in depends or if it is just a makedepends.

EDIT According to namcap:

lib32-fakechroot W: Dependency lib32-glibc included but already satisfied
lib32-fakechroot W: Dependency included and not needed ('lib32-gcc-libs')

so it looks like it belongs in makedepends.

bab0 commented on 2018-03-01 13:23

Maybe I didn't understand your last comments correctly, but I needed core/lib32-gcc-libs to install.

mickael9 commented on 2017-12-14 13:24

@danwood76 that should fix it

danwood76 commented on 2017-12-14 13:04

@mickael

I just tried to build this on a new machine and realised that I needed 'multilib-devel' installed to build it.

Can you add it to the dependancies?

Cheers, Danny