[Touch-packages] [Bug 1919186] Re: rsync: [generator] failed to set permissions on "/media/ziomario/isoarm/aosp/vendor-rw/bin/expand": Operation not supported (95)

2021-03-16 Thread Marietto
luckily copying the repo in my desktop instead of a different disk make
disappeared the rsync errors.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to rsync in Ubuntu.
https://bugs.launchpad.net/bugs/1919186

Title:
  rsync: [generator] failed to set permissions on
  "/media/ziomario/isoarm/aosp/vendor-rw/bin/expand": Operation not
  supported (95)

Status in rsync package in Ubuntu:
  New

Bug description:

  Hello.

  I'm trying to create an AOSP image that I want to virtualize on the
  Nvidia Jetson Nano with qemu-kvm. To to this,I have tried to clone the
  repo from this page :

  https://github.com/antmicro/kvm-aosp-jetson-nano

  According with the tutorial,these are the commands that I have issued
  before to get the error :

  root@ziomario-Z390-AORUS-PRO:/media/ziomario/isoarm/aosp# make clean
  20:05:41 Entire build directory removed.

  root@ziomario-Z390-AORUS-PRO:/media/ziomario/isoarm/aosp# source
  build/envsetup.sh

  root@ziomario-Z390-AORUS-PRO:/media/ziomario/isoarm/aosp# lunch
  aosp_arm64-eng

  [W][2021-03-13T20:07:13+0100][8990] void cmdline::logParams(nsjconf_t 
*)():250 Process will be UID/EUID=0 in the global user namespace, and will have 
user root-level access to files
  [W][2021-03-13T20:07:13+0100][8990] void cmdline::logParams(nsjconf_t 
*)():260 Process will be GID/EGID=0 in the global user namespace, and will have 
group root-level access to files

  
  PLATFORM_VERSION_CODENAME=REL
  PLATFORM_VERSION=10
  TARGET_PRODUCT=aosp_arm64
  TARGET_BUILD_VARIANT=eng
  TARGET_BUILD_TYPE=release
  TARGET_ARCH=arm64
  TARGET_ARCH_VARIANT=armv8-a
  TARGET_CPU_VARIANT=generic
  TARGET_2ND_ARCH=arm
  TARGET_2ND_ARCH_VARIANT=armv8-a
  TARGET_2ND_CPU_VARIANT=generic
  HOST_ARCH=x86_64
  HOST_2ND_ARCH=x86
  HOST_OS=linux
  HOST_OS_EXTRA=Linux-5.8.0-44-generic-x86_64-Ubuntu-20.10
  HOST_CROSS_OS=windows
  HOST_CROSS_ARCH=x86
  HOST_CROSS_2ND_ARCH=x86_64
  HOST_BUILD_TYPE=release
  BUILD_ID=QQ3A.200605.002.A1
  OUT_DIR=out
  PRODUCT_SOONG_NAMESPACES=external/mesa3d
  

  

  [ 99% 108863/109867] R8: 
out/target/common/obj/APPS/Shell_intermediates/dex/classes.dex
  Warning: Library class android.os.BugreportManager$DumpstateListener extends 
program class android.os.IDumpstateListener$Stub
  Warning: Library class android.os.BugreportManager$DumpstateListener extends 
program class android.os.IDumpstateListener$Stub
  [ 99% 109639/109867] //frameworks/base/packages/SystemUI:SystemUI-core 
kotlinc [common]
  
frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/PulseExpansionHandler.kt:121:38:
 warning: 'get(Class!): T!' is deprecated. Deprecated in Java
  mFalsingManager = Dependency.get(FalsingManager::class.java)
   ^
  [ 99% 109808/109867] Target Java: 
out/target/common/obj/APPS/Dialer_intermediates/classes-full-debug.jar
  Note: Generating a Provider for 
com.android.dialer.glidephotomanager.impl.GlidePhotoManagerImpl. Prefer to run 
the dagger processor over that class instead.
  Note: [1] Wrote GeneratedAppGlideModule with: []
  [ 99% 109824/109867] //art/build/apex:art-check-debug-apex-gen generate 
art-check-debug-apex-gen.dummy
  --bitness=auto, trying to autodetect. This may be incorrect!
Detected multilib
  [ 99% 109863/109867] build check-all-partition-sizes
  The sum of sizes of [system vendor] is within BOARD_SUPER_PARTITION_SIZE:
  1314865152+34615296 == 1349480448 <= 3229614080 == 3229614080
  The sum of sizes of [system vendor] is within 
BOARD_EMULATOR_DYNAMIC_PARTITIONS_SIZE:
  1314865152+34615296 == 1349480448 <= 3221225472 == 3221225472
  The sum of sizes of [emulator_dynamic_partitions] is within 
BOARD_SUPER_PARTITION_SIZE:
  3221225472 == 3221225472 <= 3229614080 == 3229614080
  [ 99% 109864/109867] Creating 
out/target/product/generic_arm64/VerifiedBootParams.textproto
  digest is bf855b60e10e311542852c09bdf3bbdf2f343a66c133c6bf15c2e1463abde60d
  output is Algorithm: SHA256_RSA4096
  "Algorithm: SHA256_RSA4096"
  hash algorithm is sha256
  vbmeta size 4352
  [ 99% 109865/109867] Target super fs image for debug: 
out/target/product/generic_arm64/super.img
  2021-03-13 22:17:20 - build_super_image.py - INFO : Building super image from 
info dict...
  2021-03-13 22:17:20 - common.py - INFO : Running: "lpmake --metadata-size 
65536 --super-name super --metadata-slots 2 --device super:3229614080 --group 
emulator_dynamic_partitions:3221225472 --partition 
system:readonly:1314865152:emulator_dynamic_partitions --image 
system=out/target/product/generic_arm64/system.img --partition 
vendor:readonly:34615296:emulator_dynamic_partitions --image 
vendor=out/target/product/generic_arm64/vendor.img --output 
out/target/product/generic_arm64/super.img"
  2021-03-13 22:17:21 - common.py - INFO : lpmake I 03-13 22:17:20 585863 
585863 builder.

[Touch-packages] [Bug 1919186] Re: remove me.

2021-03-15 Thread Marietto
this is not a bug. It was a file permission problem.

** Description changed:

- it is not a bug. remove me.
+ 
+ Hello.
+ 
+ I'm trying to create an AOSP image that I want to virtualize on the
+ Nvidia Jetson Nano with qemu-kvm. To to this,I have tried to clone the
+ repo from this page :
+ 
+ https://github.com/antmicro/kvm-aosp-jetson-nano
+ 
+ According with the tutorial,these are the commands that I have issued
+ before to get the error :
+ 
+ root@ziomario-Z390-AORUS-PRO:/media/ziomario/isoarm/aosp# make clean
+ 20:05:41 Entire build directory removed.
+ 
+ root@ziomario-Z390-AORUS-PRO:/media/ziomario/isoarm/aosp# source
+ build/envsetup.sh
+ 
+ root@ziomario-Z390-AORUS-PRO:/media/ziomario/isoarm/aosp# lunch
+ aosp_arm64-eng
+ 
+ [W][2021-03-13T20:07:13+0100][8990] void cmdline::logParams(nsjconf_t 
*)():250 Process will be UID/EUID=0 in the global user namespace, and will have 
user root-level access to files
+ [W][2021-03-13T20:07:13+0100][8990] void cmdline::logParams(nsjconf_t 
*)():260 Process will be GID/EGID=0 in the global user namespace, and will have 
group root-level access to files
+ 
+ 
+ PLATFORM_VERSION_CODENAME=REL
+ PLATFORM_VERSION=10
+ TARGET_PRODUCT=aosp_arm64
+ TARGET_BUILD_VARIANT=eng
+ TARGET_BUILD_TYPE=release
+ TARGET_ARCH=arm64
+ TARGET_ARCH_VARIANT=armv8-a
+ TARGET_CPU_VARIANT=generic
+ TARGET_2ND_ARCH=arm
+ TARGET_2ND_ARCH_VARIANT=armv8-a
+ TARGET_2ND_CPU_VARIANT=generic
+ HOST_ARCH=x86_64
+ HOST_2ND_ARCH=x86
+ HOST_OS=linux
+ HOST_OS_EXTRA=Linux-5.8.0-44-generic-x86_64-Ubuntu-20.10
+ HOST_CROSS_OS=windows
+ HOST_CROSS_ARCH=x86
+ HOST_CROSS_2ND_ARCH=x86_64
+ HOST_BUILD_TYPE=release
+ BUILD_ID=QQ3A.200605.002.A1
+ OUT_DIR=out
+ PRODUCT_SOONG_NAMESPACES=external/mesa3d
+ 
+ 
+ 
+ 
+ [ 99% 108863/109867] R8: 
out/target/common/obj/APPS/Shell_intermediates/dex/classes.dex
+ Warning: Library class android.os.BugreportManager$DumpstateListener extends 
program class android.os.IDumpstateListener$Stub
+ Warning: Library class android.os.BugreportManager$DumpstateListener extends 
program class android.os.IDumpstateListener$Stub
+ [ 99% 109639/109867] //frameworks/base/packages/SystemUI:SystemUI-core 
kotlinc [common]
+ 
frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/PulseExpansionHandler.kt:121:38:
 warning: 'get(Class!): T!' is deprecated. Deprecated in Java
+ mFalsingManager = Dependency.get(FalsingManager::class.java)
+  ^
+ [ 99% 109808/109867] Target Java: 
out/target/common/obj/APPS/Dialer_intermediates/classes-full-debug.jar
+ Note: Generating a Provider for 
com.android.dialer.glidephotomanager.impl.GlidePhotoManagerImpl. Prefer to run 
the dagger processor over that class instead.
+ Note: [1] Wrote GeneratedAppGlideModule with: []
+ [ 99% 109824/109867] //art/build/apex:art-check-debug-apex-gen generate 
art-check-debug-apex-gen.dummy
+ --bitness=auto, trying to autodetect. This may be incorrect!
+   Detected multilib
+ [ 99% 109863/109867] build check-all-partition-sizes
+ The sum of sizes of [system vendor] is within BOARD_SUPER_PARTITION_SIZE:
+ 1314865152+34615296 == 1349480448 <= 3229614080 == 3229614080
+ The sum of sizes of [system vendor] is within 
BOARD_EMULATOR_DYNAMIC_PARTITIONS_SIZE:
+ 1314865152+34615296 == 1349480448 <= 3221225472 == 3221225472
+ The sum of sizes of [emulator_dynamic_partitions] is within 
BOARD_SUPER_PARTITION_SIZE:
+ 3221225472 == 3221225472 <= 3229614080 == 3229614080
+ [ 99% 109864/109867] Creating 
out/target/product/generic_arm64/VerifiedBootParams.textproto
+ digest is bf855b60e10e311542852c09bdf3bbdf2f343a66c133c6bf15c2e1463abde60d
+ output is Algorithm: SHA256_RSA4096
+ "Algorithm: SHA256_RSA4096"
+ hash algorithm is sha256
+ vbmeta size 4352
+ [ 99% 109865/109867] Target super fs image for debug: 
out/target/product/generic_arm64/super.img
+ 2021-03-13 22:17:20 - build_super_image.py - INFO : Building super image from 
info dict...
+ 2021-03-13 22:17:20 - common.py - INFO : Running: "lpmake --metadata-size 
65536 --super-name super --metadata-slots 2 --device super:3229614080 --group 
emulator_dynamic_partitions:3221225472 --partition 
system:readonly:1314865152:emulator_dynamic_partitions --image 
system=out/target/product/generic_arm64/system.img --partition 
vendor:readonly:34615296:emulator_dynamic_partitions --image 
vendor=out/target/product/generic_arm64/vendor.img --output 
out/target/product/generic_arm64/super.img"
+ 2021-03-13 22:17:21 - common.py - INFO : lpmake I 03-13 22:17:20 585863 
585863 builder.cpp:937] [liblp]Partition system will resize from 0 bytes to 
1314865152 bytes
+ lpmake I 03-13 22:17:20 585863 585863 builder.cpp:937] [liblp]Partition 
vendor will resize from 0 bytes to 34615296 bytes
+ Invalid sparse file format at header magic
+ Invalid sparse file format at header magic
+ 2021-03-13 22:17:21 - build_super_image.py - INFO : Done

[Touch-packages] [Bug 1919186] Re: rsync: [generator] failed to set permissions : Operation not supported (95)

2021-03-15 Thread Marietto
** Description changed:

- Hello.
- 
- I'm trying to create an AOSP image that I want to virtualize on the
- Nvidia Jetson Nano with qemu-kvm. To to this,I have tried to clone the
- repo from this page :
- 
- https://github.com/antmicro/kvm-aosp-jetson-nano
- 
- According with the tutorial,these are the commands that I have issued
- before to get the error :
- 
- root@ziomario-Z390-AORUS-PRO:/media/ziomario/isoarm/aosp# make clean
- 20:05:41 Entire build directory removed.
- 
- root@ziomario-Z390-AORUS-PRO:/media/ziomario/isoarm/aosp# source
- build/envsetup.sh
- 
- root@ziomario-Z390-AORUS-PRO:/media/ziomario/isoarm/aosp# lunch
- aosp_arm64-eng
- 
- [W][2021-03-13T20:07:13+0100][8990] void cmdline::logParams(nsjconf_t 
*)():250 Process will be UID/EUID=0 in the global user namespace, and will have 
user root-level access to files
- [W][2021-03-13T20:07:13+0100][8990] void cmdline::logParams(nsjconf_t 
*)():260 Process will be GID/EGID=0 in the global user namespace, and will have 
group root-level access to files
- 
- 
- PLATFORM_VERSION_CODENAME=REL
- PLATFORM_VERSION=10
- TARGET_PRODUCT=aosp_arm64
- TARGET_BUILD_VARIANT=eng
- TARGET_BUILD_TYPE=release
- TARGET_ARCH=arm64
- TARGET_ARCH_VARIANT=armv8-a
- TARGET_CPU_VARIANT=generic
- TARGET_2ND_ARCH=arm
- TARGET_2ND_ARCH_VARIANT=armv8-a
- TARGET_2ND_CPU_VARIANT=generic
- HOST_ARCH=x86_64
- HOST_2ND_ARCH=x86
- HOST_OS=linux
- HOST_OS_EXTRA=Linux-5.8.0-44-generic-x86_64-Ubuntu-20.10
- HOST_CROSS_OS=windows
- HOST_CROSS_ARCH=x86
- HOST_CROSS_2ND_ARCH=x86_64
- HOST_BUILD_TYPE=release
- BUILD_ID=QQ3A.200605.002.A1
- OUT_DIR=out
- PRODUCT_SOONG_NAMESPACES=external/mesa3d
- 
- 
- 
- 
- [ 99% 108863/109867] R8: 
out/target/common/obj/APPS/Shell_intermediates/dex/classes.dex
- Warning: Library class android.os.BugreportManager$DumpstateListener extends 
program class android.os.IDumpstateListener$Stub
- Warning: Library class android.os.BugreportManager$DumpstateListener extends 
program class android.os.IDumpstateListener$Stub
- [ 99% 109639/109867] //frameworks/base/packages/SystemUI:SystemUI-core 
kotlinc [common]
- 
frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/PulseExpansionHandler.kt:121:38:
 warning: 'get(Class!): T!' is deprecated. Deprecated in Java
- mFalsingManager = Dependency.get(FalsingManager::class.java)
-  ^
- [ 99% 109808/109867] Target Java: 
out/target/common/obj/APPS/Dialer_intermediates/classes-full-debug.jar
- Note: Generating a Provider for 
com.android.dialer.glidephotomanager.impl.GlidePhotoManagerImpl. Prefer to run 
the dagger processor over that class instead.
- Note: [1] Wrote GeneratedAppGlideModule with: []
- [ 99% 109824/109867] //art/build/apex:art-check-debug-apex-gen generate 
art-check-debug-apex-gen.dummy
- --bitness=auto, trying to autodetect. This may be incorrect!
-   Detected multilib
- [ 99% 109863/109867] build check-all-partition-sizes
- The sum of sizes of [system vendor] is within BOARD_SUPER_PARTITION_SIZE:
- 1314865152+34615296 == 1349480448 <= 3229614080 == 3229614080
- The sum of sizes of [system vendor] is within 
BOARD_EMULATOR_DYNAMIC_PARTITIONS_SIZE:
- 1314865152+34615296 == 1349480448 <= 3221225472 == 3221225472
- The sum of sizes of [emulator_dynamic_partitions] is within 
BOARD_SUPER_PARTITION_SIZE:
- 3221225472 == 3221225472 <= 3229614080 == 3229614080
- [ 99% 109864/109867] Creating 
out/target/product/generic_arm64/VerifiedBootParams.textproto
- digest is bf855b60e10e311542852c09bdf3bbdf2f343a66c133c6bf15c2e1463abde60d
- output is Algorithm: SHA256_RSA4096
- "Algorithm: SHA256_RSA4096"
- hash algorithm is sha256
- vbmeta size 4352
- [ 99% 109865/109867] Target super fs image for debug: 
out/target/product/generic_arm64/super.img
- 2021-03-13 22:17:20 - build_super_image.py - INFO : Building super image from 
info dict...
- 2021-03-13 22:17:20 - common.py - INFO : Running: "lpmake --metadata-size 
65536 --super-name super --metadata-slots 2 --device super:3229614080 --group 
emulator_dynamic_partitions:3221225472 --partition 
system:readonly:1314865152:emulator_dynamic_partitions --image 
system=out/target/product/generic_arm64/system.img --partition 
vendor:readonly:34615296:emulator_dynamic_partitions --image 
vendor=out/target/product/generic_arm64/vendor.img --output 
out/target/product/generic_arm64/super.img"
- 2021-03-13 22:17:21 - common.py - INFO : lpmake I 03-13 22:17:20 585863 
585863 builder.cpp:937] [liblp]Partition system will resize from 0 bytes to 
1314865152 bytes
- lpmake I 03-13 22:17:20 585863 585863 builder.cpp:937] [liblp]Partition 
vendor will resize from 0 bytes to 34615296 bytes
- Invalid sparse file format at header magic
- Invalid sparse file format at header magic
- 2021-03-13 22:17:21 - build_super_image.py - INFO : Done writing image 
out/target/product/generic_arm64/super.img
- [100% 109867/109867] Creat

[Touch-packages] [Bug 1919186] [NEW] rsync: [generator] failed to set permissions : Operation not supported (95)

2021-03-15 Thread Marietto
Public bug reported:

Hello.

I'm trying to create an AOSP image that I want to virtualize on the
Nvidia Jetson Nano with qemu-kvm. To to this,I have tried to clone the
repo from this page :

https://github.com/antmicro/kvm-aosp-jetson-nano

According with the tutorial,these are the commands that I have issued
before to get the error :

root@ziomario-Z390-AORUS-PRO:/media/ziomario/isoarm/aosp# make clean
20:05:41 Entire build directory removed.

root@ziomario-Z390-AORUS-PRO:/media/ziomario/isoarm/aosp# source
build/envsetup.sh

root@ziomario-Z390-AORUS-PRO:/media/ziomario/isoarm/aosp# lunch
aosp_arm64-eng

[W][2021-03-13T20:07:13+0100][8990] void cmdline::logParams(nsjconf_t *)():250 
Process will be UID/EUID=0 in the global user namespace, and will have user 
root-level access to files
[W][2021-03-13T20:07:13+0100][8990] void cmdline::logParams(nsjconf_t *)():260 
Process will be GID/EGID=0 in the global user namespace, and will have group 
root-level access to files


PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
TARGET_PRODUCT=aosp_arm64
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.8.0-44-generic-x86_64-Ubuntu-20.10
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QQ3A.200605.002.A1
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=external/mesa3d




[ 99% 108863/109867] R8: 
out/target/common/obj/APPS/Shell_intermediates/dex/classes.dex
Warning: Library class android.os.BugreportManager$DumpstateListener extends 
program class android.os.IDumpstateListener$Stub
Warning: Library class android.os.BugreportManager$DumpstateListener extends 
program class android.os.IDumpstateListener$Stub
[ 99% 109639/109867] //frameworks/base/packages/SystemUI:SystemUI-core kotlinc 
[common]
frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/PulseExpansionHandler.kt:121:38:
 warning: 'get(Class!): T!' is deprecated. Deprecated in Java
mFalsingManager = Dependency.get(FalsingManager::class.java)
 ^
[ 99% 109808/109867] Target Java: 
out/target/common/obj/APPS/Dialer_intermediates/classes-full-debug.jar
Note: Generating a Provider for 
com.android.dialer.glidephotomanager.impl.GlidePhotoManagerImpl. Prefer to run 
the dagger processor over that class instead.
Note: [1] Wrote GeneratedAppGlideModule with: []
[ 99% 109824/109867] //art/build/apex:art-check-debug-apex-gen generate 
art-check-debug-apex-gen.dummy
--bitness=auto, trying to autodetect. This may be incorrect!
  Detected multilib
[ 99% 109863/109867] build check-all-partition-sizes
The sum of sizes of [system vendor] is within BOARD_SUPER_PARTITION_SIZE:
1314865152+34615296 == 1349480448 <= 3229614080 == 3229614080
The sum of sizes of [system vendor] is within 
BOARD_EMULATOR_DYNAMIC_PARTITIONS_SIZE:
1314865152+34615296 == 1349480448 <= 3221225472 == 3221225472
The sum of sizes of [emulator_dynamic_partitions] is within 
BOARD_SUPER_PARTITION_SIZE:
3221225472 == 3221225472 <= 3229614080 == 3229614080
[ 99% 109864/109867] Creating 
out/target/product/generic_arm64/VerifiedBootParams.textproto
digest is bf855b60e10e311542852c09bdf3bbdf2f343a66c133c6bf15c2e1463abde60d
output is Algorithm: SHA256_RSA4096
"Algorithm: SHA256_RSA4096"
hash algorithm is sha256
vbmeta size 4352
[ 99% 109865/109867] Target super fs image for debug: 
out/target/product/generic_arm64/super.img
2021-03-13 22:17:20 - build_super_image.py - INFO : Building super image from 
info dict...
2021-03-13 22:17:20 - common.py - INFO : Running: "lpmake --metadata-size 65536 
--super-name super --metadata-slots 2 --device super:3229614080 --group 
emulator_dynamic_partitions:3221225472 --partition 
system:readonly:1314865152:emulator_dynamic_partitions --image 
system=out/target/product/generic_arm64/system.img --partition 
vendor:readonly:34615296:emulator_dynamic_partitions --image 
vendor=out/target/product/generic_arm64/vendor.img --output 
out/target/product/generic_arm64/super.img"
2021-03-13 22:17:21 - common.py - INFO : lpmake I 03-13 22:17:20 585863 585863 
builder.cpp:937] [liblp]Partition system will resize from 0 bytes to 1314865152 
bytes
lpmake I 03-13 22:17:20 585863 585863 builder.cpp:937] [liblp]Partition vendor 
will resize from 0 bytes to 34615296 bytes
Invalid sparse file format at header magic
Invalid sparse file format at header magic
2021-03-13 22:17:21 - build_super_image.py - INFO : Done writing image 
out/target/product/generic_arm64/super.img
[100% 109867/109867] Create system-qemu.img now
1+0 records in
2048+0 records out
1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00183724 s, 571 MB/s
0+1 records in
1+0 records out
1048576 bytes (1.0 MB, 1

[Touch-packages] [Bug 1913629] Re: adduser: \/usr/bin/chfn -f systemd Time Synchronization systemd-timesync' returned error code 1. Exiting.`

2021-02-02 Thread Marietto
the first thing that I did has been installing these new packages :

fakechroot_2.19-3_all.deb and libfakechroot_2.19-3_arm64.deb

on ubuntu 18.04 but they didn't fix the problem. Having installed the
packages that u have suggested have fixed the PAM problem,but now there
is another bug,as u can see.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pam in Ubuntu.
https://bugs.launchpad.net/bugs/1913629

Title:
  adduser: \/usr/bin/chfn -f systemd Time Synchronization systemd-
  timesync' returned error code 1. Exiting.`

Status in pam package in Ubuntu:
  New

Bug description:
  Hello to everyone.

  Actually I'm trying to run X86 applications on my Jetson Nano using
  qemu and debootstrapping debian 9 on ubuntu 18.04 for arm64,but it
  seems that an old bug that it seems to be fixed here but it's not :

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=745082

  This is what I did to achieve my goal :

  sudo apt-get update
  apt-get install qemu qemu-user qemu-user-static binfmt-support debootstrap 
binutils
  debootstrap --foreign --arch i386 stretch ./chroot-stretch-i386/

  and this is what happens :

  http://ftp.us.debian.org/debian
  W: Cannot check Release signature; keyring file not available 
/usr/share/keyrings/debian-archive-keyring.gpg
  I: Retrieving InRelease
  I: Retrieving Release
  I: Retrieving Packages
  I: Validating Packages
  I: Resolving dependencies of required packages...
  I: Resolving dependencies of base packages...
  I: Found additional required dependencies: libaudit-common libaudit1 
libbz2-1.0 libcap-ng0 libdb5.3 libdebconfclient0 libgcrypt20 libgpg-error0 
liblz4-1 libncursesw5 libsemanage-common libsemanage1 libsystemd0 libudev1 
libustr-1.0-1
  I: Found additional base dependencies: dmsetup gnupg-agent libapparmor1 
libassuan0 libbsd0 libcap2 libcryptsetup4 libdevmapper1.02.1 libdns-export162 
libelf1 libfastjson4 libffi6 libgmp10 libgnutls30 libhogweed4 libidn11 
libidn2-0 libip4tc0 libip6tc0 libiptc0 libisc-export160 libksba8 
liblocale-gettext-perl liblognorm5 libmnl0 libncurses5 libnetfilter-conntrack3 
libnettle6 libnfnetlink0 libnpth0 libp11-kit0 libpsl5 libseccomp2 libsqlite3-0 
libtasn1-6 libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl 
libunistring0 libxtables12 pinentry-curses xxd
  I: Checking component main on http://ftp.us.debian.org/debian...
  I: Retrieving libacl1 2.2.52-3+b1
  .
  I: Extracting zlib1g...

  At this point I've mounted the partitions :

  sudo mount -t sysfs /sys/ ./chroot-stretch-i386/sys/
  sudo mount -t proc /proc/ ./chroot-stretch-i386/proc/
  sudo mount --bind /dev ./chroot-stretch-i386/dev/
  sudo mount --bind /dev/pts ./chroot-stretch-i386/dev/pts/
  sudo mount --bind /dev/shm ./chroot-stretch-i386/dev/shm/

  
  and I've copied the qemu static on the chrooted debian i386 folder :

  
  cp /usr/bin/qemu-i386-static ./chroot-stretch-i386/usr/bin

  
  and I've started the second stage of debootstrap :

  
  root@ziomario-desktop:~/Scrivania/qemu-x86# sudo chroot 
./chroot-stretch-i386/ /debootstrap/debootstrap --second-stage

  at some point this is what happens :

  libc6 is not installed ; libdebconfclient0 is not installed ; awk is not 
installed ; libbz2-1.0 is not installed ; libc6 is not installed ; liblzma5 is 
not installed ;
  libselinux1 is not installed ; zlib1g is not installed ; tar is not installed 
; libgcc1 is not installed ; dash is not installed ; libtinfo5 is not installed 
; libblkid1 is not installed ; libcomerr2 is not installed ; libss2 is not 
installed ; libuuid1 is not installed ; util-linux is not installed ; libpcre3 
is not installed ; libpam0g is not installed ; libpam-modules-bin is not 
installed.

  Adding group \systemd-journal' (GID 101) ...`

  Done.

  at this point I saw the error that should have been fixed :

  chfn: PAM: System error

  adduser: \/usr/bin/chfn -f systemd Time Synchronization systemd-
  timesync' returned error code 1. Exiting.`

  dpkg: error processing package systemd (--install):

  subprocess installed post-installation script returned error exit
  status 1

  Processing triggers for libc-bin (2.24-11+deb9u4) ...

  Errors were encountered while processing:

  systemd

  
  W: Failure trying to run: dpkg --force-overwrite --force-confold 
--skip-same-version --install /var/cache/apt/archives/adduser_3.115_all.deb 
/var/cache/apt/archives/libapparmor1_2.11.0-3+deb9u2_i386.deb 
/var/cache/apt/archives/libcryptsetup4_2%3a1.7.3-4_i386.deb 
/var/cache/apt/archives/libip4tc0_1.6.0+snapshot20161117-6_i386.deb 
/var/cache/apt/archives/libkmod2_23-2_i386.deb 
/var/cache/apt/archives/libcap2_1%3a2.25-1_i386.deb 
/var/cache/apt/archives/libidn11_1.33-1+deb9u1_i386.deb 
/var/cache/apt/archives/libseccomp2_2.3.1-2.1+deb9u1_i386.deb 
/var/cache/apt/archives/dmsetup_2%3a1.02.137-2_i386.deb 
/var/cache/apt/archives/libdevmapper1.02.1_2%3a1.02.137-2_i386.deb 
/var/cache/apt/archives/libncurses5_6.

[Touch-packages] [Bug 1913629] Re: adduser: \/usr/bin/chfn -f systemd Time Synchronization systemd-timesync' returned error code 1. Exiting.`

2021-02-02 Thread Marietto
also focal does not work. debootstrap (for arm64) seem to be fully
bugged.

root@ziomario-desktop:~/Scrivania/Work/qemu-chroot-nano# sudo chroot 
./chroot-focal-i386/ /debootstrap/debootstrap --second-stage
I: Keyring file not available at 
/usr/share/keyrings/ubuntu-archive-keyring.gpg; switching to https mirror 
https://deb.debian.org/debian
I: Installing core packages...
I: Unpacking required packages...
I: Unpacking base-files...
I: Unpacking base-passwd...
I: Unpacking bash...
I: Unpacking bsdutils...
I: Unpacking coreutils...
I: Unpacking dash...
I: Unpacking debconf...
I: Unpacking debianutils...
I: Unpacking diffutils...
I: Unpacking dpkg...
I: Unpacking e2fsprogs...
I: Unpacking fdisk...
I: Unpacking findutils...
I: Unpacking gcc-10-base:i386...
I: Unpacking grep...
I: Unpacking gzip...
I: Unpacking hostname...
I: Unpacking init-system-helpers...
I: Unpacking libacl1:i386...
I: Unpacking libattr1:i386...
I: Unpacking libaudit-common...
I: Unpacking libaudit1:i386...
I: Unpacking libblkid1:i386...
I: Unpacking libbz2-1.0:i386...
I: Unpacking libc-bin...
I: Unpacking libc6:i386...
I: Unpacking libcap-ng0:i386...
I: Unpacking libcom-err2:i386...
I: Unpacking libcrypt1:i386...
I: Unpacking libdb5.3:i386...
I: Unpacking libdebconfclient0:i386...
I: Unpacking libext2fs2:i386...
I: Unpacking libfdisk1:i386...
I: Unpacking libgcc-s1:i386...
I: Unpacking libgcrypt20:i386...
I: Unpacking libgpg-error0:i386...
I: Unpacking liblz4-1:i386...
I: Unpacking liblzma5:i386...
I: Unpacking libmount1:i386...
I: Unpacking libncurses6:i386...
I: Unpacking libncursesw6:i386...
I: Unpacking libpam-modules:i386...
I: Unpacking libpam-modules-bin...
I: Unpacking libpam-runtime...
I: Unpacking libpam0g:i386...
I: Unpacking libpcre2-8-0:i386...
I: Unpacking libpcre3:i386...
I: Unpacking libprocps8:i386...
I: Unpacking libselinux1:i386...
I: Unpacking libsemanage-common...
I: Unpacking libsemanage1:i386...
I: Unpacking libsepol1:i386...
I: Unpacking libsmartcols1:i386...
I: Unpacking libss2:i386...
I: Unpacking libsystemd0:i386...
I: Unpacking libtinfo6:i386...
I: Unpacking libudev1:i386...
I: Unpacking libuuid1:i386...
I: Unpacking libzstd1:i386...
I: Unpacking login...
I: Unpacking logsave...
I: Unpacking lsb-base...
I: Unpacking mawk...
I: Unpacking mount...
I: Unpacking ncurses-base...
I: Unpacking ncurses-bin...
I: Unpacking passwd...
I: Unpacking perl-base...
I: Unpacking procps...
I: Unpacking sed...
I: Unpacking sensible-utils...
I: Unpacking sysvinit-utils...
I: Unpacking tar...
I: Unpacking util-linux...
I: Unpacking zlib1g:i386...
I: Configuring required packages...
I: Configuring lsb-base...
I: Configuring libaudit-common...
I: Configuring libsemanage-common...
I: Configuring gcc-10-base:i386...
I: Configuring ncurses-base...
I: Configuring sensible-utils...
I: Configuring libcrypt1:i386...
I: Configuring libgcc-s1:i386...
I: Configuring libc6:i386...
I: Configuring libudev1:i386...
I: Configuring libsepol1:i386...
I: Configuring libattr1:i386...
I: Configuring debianutils...
I: Configuring mawk...
I: Configuring libdebconfclient0:i386...
I: Configuring base-files...
I: Configuring libbz2-1.0:i386...
I: Configuring base-passwd...
I: Configuring libdb5.3:i386...
I: Configuring libblkid1:i386...
I: Configuring libtinfo6:i386...
I: Configuring bash...
I: Configuring libzstd1:i386...
I: Configuring liblzma5:i386...
I: Configuring libgpg-error0:i386...
I: Configuring liblz4-1:i386...
I: Configuring libc-bin...
I: Configuring ncurses-bin...
I: Configuring libacl1:i386...
I: Configuring libsmartcols1:i386...
I: Configuring libgcrypt20:i386...
I: Configuring zlib1g:i386...
I: Configuring libcom-err2:i386...
I: Configuring diffutils...
I: Configuring libsystemd0:i386...
I: Configuring hostname...
I: Configuring libpcre3:i386...
I: Configuring libcap-ng0:i386...
I: Configuring libext2fs2:i386...
I: Configuring libncurses6:i386...
I: Configuring libaudit1:i386...
I: Configuring libuuid1:i386...
I: Configuring libss2:i386...
I: Configuring libpcre2-8-0:i386...
I: Configuring libncursesw6:i386...
I: Configuring logsave...
I: Configuring libfdisk1:i386...
I: Configuring libprocps8:i386...
I: Configuring bsdutils...
I: Configuring e2fsprogs...
I: Configuring libselinux1:i386...
I: Configuring sed...
I: Configuring findutils...
I: Configuring libmount1:i386...
I: Configuring libsemanage1:i386...
I: Configuring tar...
I: Configuring coreutils...
I: Configuring fdisk...
I: Configuring dpkg...
I: Configuring grep...
I: Configuring perl-base...
I: Configuring init-system-helpers...
I: Configuring gzip...
I: Configuring procps...
I: Configuring debconf...
I: Configuring libpam0g:i386...
I: Configuring dash...
I: Configuring libpam-modules-bin...
I: Configuring libpam-modules:i386...
I: Configuring passwd...
I: Configuring libpam-runtime...
I: Configuring login...
I: Configuring util-linux...
I: Configuring mount...
I: Configuring sysvinit-utils...
I: Configuring libc-bin...
I: Unpacking the base system...
I: Unpacking apt...
I: Unpack

[Touch-packages] [Bug 1913629] Re: adduser: \/usr/bin/chfn -f systemd Time Synchronization systemd-timesync' returned error code 1. Exiting.`

2021-02-02 Thread Marietto
you can read the full log here : https://pastebin.com/722TuaBs

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pam in Ubuntu.
https://bugs.launchpad.net/bugs/1913629

Title:
  adduser: \/usr/bin/chfn -f systemd Time Synchronization systemd-
  timesync' returned error code 1. Exiting.`

Status in pam package in Ubuntu:
  New

Bug description:
  Hello to everyone.

  Actually I'm trying to run X86 applications on my Jetson Nano using
  qemu and debootstrapping debian 9 on ubuntu 18.04 for arm64,but it
  seems that an old bug that it seems to be fixed here but it's not :

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=745082

  This is what I did to achieve my goal :

  sudo apt-get update
  apt-get install qemu qemu-user qemu-user-static binfmt-support debootstrap 
binutils
  debootstrap --foreign --arch i386 stretch ./chroot-stretch-i386/

  and this is what happens :

  http://ftp.us.debian.org/debian
  W: Cannot check Release signature; keyring file not available 
/usr/share/keyrings/debian-archive-keyring.gpg
  I: Retrieving InRelease
  I: Retrieving Release
  I: Retrieving Packages
  I: Validating Packages
  I: Resolving dependencies of required packages...
  I: Resolving dependencies of base packages...
  I: Found additional required dependencies: libaudit-common libaudit1 
libbz2-1.0 libcap-ng0 libdb5.3 libdebconfclient0 libgcrypt20 libgpg-error0 
liblz4-1 libncursesw5 libsemanage-common libsemanage1 libsystemd0 libudev1 
libustr-1.0-1
  I: Found additional base dependencies: dmsetup gnupg-agent libapparmor1 
libassuan0 libbsd0 libcap2 libcryptsetup4 libdevmapper1.02.1 libdns-export162 
libelf1 libfastjson4 libffi6 libgmp10 libgnutls30 libhogweed4 libidn11 
libidn2-0 libip4tc0 libip6tc0 libiptc0 libisc-export160 libksba8 
liblocale-gettext-perl liblognorm5 libmnl0 libncurses5 libnetfilter-conntrack3 
libnettle6 libnfnetlink0 libnpth0 libp11-kit0 libpsl5 libseccomp2 libsqlite3-0 
libtasn1-6 libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl 
libunistring0 libxtables12 pinentry-curses xxd
  I: Checking component main on http://ftp.us.debian.org/debian...
  I: Retrieving libacl1 2.2.52-3+b1
  .
  I: Extracting zlib1g...

  At this point I've mounted the partitions :

  sudo mount -t sysfs /sys/ ./chroot-stretch-i386/sys/
  sudo mount -t proc /proc/ ./chroot-stretch-i386/proc/
  sudo mount --bind /dev ./chroot-stretch-i386/dev/
  sudo mount --bind /dev/pts ./chroot-stretch-i386/dev/pts/
  sudo mount --bind /dev/shm ./chroot-stretch-i386/dev/shm/

  
  and I've copied the qemu static on the chrooted debian i386 folder :

  
  cp /usr/bin/qemu-i386-static ./chroot-stretch-i386/usr/bin

  
  and I've started the second stage of debootstrap :

  
  root@ziomario-desktop:~/Scrivania/qemu-x86# sudo chroot 
./chroot-stretch-i386/ /debootstrap/debootstrap --second-stage

  at some point this is what happens :

  libc6 is not installed ; libdebconfclient0 is not installed ; awk is not 
installed ; libbz2-1.0 is not installed ; libc6 is not installed ; liblzma5 is 
not installed ;
  libselinux1 is not installed ; zlib1g is not installed ; tar is not installed 
; libgcc1 is not installed ; dash is not installed ; libtinfo5 is not installed 
; libblkid1 is not installed ; libcomerr2 is not installed ; libss2 is not 
installed ; libuuid1 is not installed ; util-linux is not installed ; libpcre3 
is not installed ; libpam0g is not installed ; libpam-modules-bin is not 
installed.

  Adding group \systemd-journal' (GID 101) ...`

  Done.

  at this point I saw the error that should have been fixed :

  chfn: PAM: System error

  adduser: \/usr/bin/chfn -f systemd Time Synchronization systemd-
  timesync' returned error code 1. Exiting.`

  dpkg: error processing package systemd (--install):

  subprocess installed post-installation script returned error exit
  status 1

  Processing triggers for libc-bin (2.24-11+deb9u4) ...

  Errors were encountered while processing:

  systemd

  
  W: Failure trying to run: dpkg --force-overwrite --force-confold 
--skip-same-version --install /var/cache/apt/archives/adduser_3.115_all.deb 
/var/cache/apt/archives/libapparmor1_2.11.0-3+deb9u2_i386.deb 
/var/cache/apt/archives/libcryptsetup4_2%3a1.7.3-4_i386.deb 
/var/cache/apt/archives/libip4tc0_1.6.0+snapshot20161117-6_i386.deb 
/var/cache/apt/archives/libkmod2_23-2_i386.deb 
/var/cache/apt/archives/libcap2_1%3a2.25-1_i386.deb 
/var/cache/apt/archives/libidn11_1.33-1+deb9u1_i386.deb 
/var/cache/apt/archives/libseccomp2_2.3.1-2.1+deb9u1_i386.deb 
/var/cache/apt/archives/dmsetup_2%3a1.02.137-2_i386.deb 
/var/cache/apt/archives/libdevmapper1.02.1_2%3a1.02.137-2_i386.deb 
/var/cache/apt/archives/libncurses5_6.0+20161126-1+deb9u2_i386.deb 
/var/cache/apt/archives/libprocps6_2%3a3.3.12-3+deb9u1_i386.deb 
/var/cache/apt/archives/procps_2%3a3.3.12-3+deb9u1_i386.deb 
/var/cache/apt/archives/systemd_232-25+deb9u12_i386.deb

  W: See //debootstrap/deb

[Touch-packages] [Bug 1913629] Re: adduser: \/usr/bin/chfn -f systemd Time Synchronization systemd-timesync' returned error code 1. Exiting.`

2021-02-02 Thread Marietto
Hello. I have installed these packages on the arm64 / jetson nano /
ubuntu 18.04 because the older ones were bugged :

dpkg -i /root/Scaricati/arm64/libpam0g_1.3.1-5ubuntu4.1_arm64.deb
dpkg -i /root/Scaricati/arm64/libpam-modules-bin_1.3.1-5ubuntu4_arm64.deb
dpkg -i /root/Scaricati/arm64/libpam-modules_1.3.1-5ubuntu4_arm64.deb

and then I have tried to make a new chroot with ubuntu groovy i386 and
this is what happened :

root@ziomario-desktop:~/Scrivania/Work/qemu-chroot-nano# sudo chroot 
./chroot-groovy-i386/ /debootstrap/debootstrap --second-stage
I: Keyring file not available at 
/usr/share/keyrings/ubuntu-archive-keyring.gpg; switching to https mirror 
https://deb.debian.org/debian
I: Installing core packages...
I: Unpacking required packages...
I: Unpacking base-files...
I: Unpacking base-passwd...
I: Unpacking bash...
I: Unpacking bsdutils...
I: Unpacking coreutils...
I: Unpacking dash...
I: Unpacking debconf...
I: Unpacking debianutils...
I: Unpacking diffutils...
I: Unpacking dpkg...
I: Unpacking e2fsprogs...
I: Unpacking findutils...
I: Unpacking gcc-10-base:i386...
I: Unpacking grep...
I: Unpacking gzip...
I: Unpacking hostname...
I: Unpacking init-system-helpers...
I: Unpacking libacl1:i386...
I: Unpacking libattr1:i386...
I: Unpacking libaudit-common...
I: Unpacking libaudit1:i386...
I: Unpacking libblkid1:i386...
I: Unpacking libbz2-1.0:i386...
I: Unpacking libc-bin...
I: Unpacking libc6:i386...
I: Unpacking libcap-ng0:i386...
I: Unpacking libcom-err2:i386...
I: Unpacking libcrypt1:i386...
I: Unpacking libdb5.3:i386...
I: Unpacking libdebconfclient0:i386...
I: Unpacking libext2fs2:i386...
I: Unpacking libgcc-s1:i386...
I: Unpacking libgcrypt20:i386...
I: Unpacking libgmp10:i386...
I: Unpacking libgpg-error0:i386...
I: Unpacking libgssapi-krb5-2:i386...
I: Unpacking libk5crypto3:i386...
I: Unpacking libkeyutils1:i386...
I: Unpacking libkrb5-3:i386...
I: Unpacking libkrb5support0:i386...
I: Unpacking liblz4-1:i386...
I: Unpacking liblzma5:i386...
I: Unpacking libmount1:i386...
I: Unpacking libncurses6:i386...
I: Unpacking libncursesw6:i386...
I: Unpacking libnsl2:i386...
I: Unpacking libnss-nis:i386...
I: Unpacking libnss-nisplus:i386...
I: Unpacking libpam-modules:i386...
I: Unpacking libpam-modules-bin...
I: Unpacking libpam-runtime...
I: Unpacking libpam0g:i386...
I: Unpacking libpcre2-8-0:i386...
I: Unpacking libpcre3:i386...
I: Unpacking libprocps8:i386...
I: Unpacking libselinux1:i386...
I: Unpacking libsemanage-common...
I: Unpacking libsemanage1:i386...
I: Unpacking libsepol1:i386...
I: Unpacking libsmartcols1:i386...
I: Unpacking libss2:i386...
I: Unpacking libssl1.1:i386...
I: Unpacking libsystemd0:i386...
I: Unpacking libtinfo6:i386...
I: Unpacking libtirpc-common...
I: Unpacking libtirpc3:i386...
I: Unpacking libudev1:i386...
I: Unpacking libuuid1:i386...
I: Unpacking libzstd1:i386...
I: Unpacking login...
I: Unpacking logsave...
I: Unpacking lsb-base...
I: Unpacking mawk...
I: Unpacking mount...
I: Unpacking ncurses-base...
I: Unpacking ncurses-bin...
I: Unpacking passwd...
I: Unpacking perl-base...
I: Unpacking procps...
I: Unpacking sed...
I: Unpacking sensible-utils...
I: Unpacking sysvinit-utils...
I: Unpacking tar...
I: Unpacking util-linux...
I: Unpacking zlib1g:i386...
I: Configuring required packages...
I: Configuring lsb-base...
I: Configuring libtirpc-common...
I: Configuring libaudit-common...
I: Configuring libsemanage-common...
I: Configuring gcc-10-base:i386...
I: Configuring ncurses-base...
I: Configuring sensible-utils...
I: Configuring libtirpc3:i386...
I: Configuring libcrypt1:i386...
I: Configuring libgcc-s1:i386...
I: Configuring libnss-nis:i386...
I: Configuring libnsl2:i386...
I: Configuring libnss-nisplus:i386...
I: Configuring libc6:i386...
I: Configuring libudev1:i386...
I: Configuring libsepol1:i386...
I: Configuring libattr1:i386...
I: Configuring debianutils...
I: Configuring mawk...
I: Configuring libdebconfclient0:i386...
I: Configuring base-files...
I: Configuring libbz2-1.0:i386...
I: Configuring base-passwd...
I: Configuring libdb5.3:i386...
I: Configuring libblkid1:i386...
I: Configuring libtinfo6:i386...
I: Configuring bash...
I: Configuring libzstd1:i386...
I: Configuring libkeyutils1:i386...
I: Configuring liblzma5:i386...
I: Configuring libgpg-error0:i386...
I: Configuring liblz4-1:i386...
I: Configuring libc-bin...
I: Configuring ncurses-bin...
I: Configuring libacl1:i386...
I: Configuring libsmartcols1:i386...
I: Configuring libgcrypt20:i386...
I: Configuring zlib1g:i386...
I: Configuring libcom-err2:i386...
I: Configuring diffutils...
I: Configuring libsystemd0:i386...
I: Configuring libkrb5support0:i386...
I: Configuring hostname...
I: Configuring libpcre3:i386...
I: Configuring libcap-ng0:i386...
I: Configuring libext2fs2:i386...
I: Configuring libgmp10:i386...
I: Configuring libncurses6:i386...
I: Configuring libaudit1:i386...
I: Configuring libuuid1:i386...
I: Configuring libss2:i386...
I: Configuring libpcre2-8-0:i386...
I: Configuring

[Touch-packages] [Bug 1913629] [NEW] adduser: \/usr/bin/chfn -f systemd Time Synchronization systemd-timesync' returned error code 1. Exiting.`

2021-01-28 Thread Marietto
Public bug reported:

Hello to everyone.

Actually I'm trying to run X86 applications on my Jetson Nano using qemu
and debootstrapping debian 9 on ubuntu 18.04 for arm64,but it seems that
an old bug that it seems to be fixed here but it's not :

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=745082

This is what I did to achieve my goal :

sudo apt-get update
apt-get install qemu qemu-user qemu-user-static binfmt-support debootstrap 
binutils
debootstrap --foreign --arch i386 stretch ./chroot-stretch-i386/

and this is what happens :

http://ftp.us.debian.org/debian
W: Cannot check Release signature; keyring file not available 
/usr/share/keyrings/debian-archive-keyring.gpg
I: Retrieving InRelease
I: Retrieving Release
I: Retrieving Packages
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Found additional required dependencies: libaudit-common libaudit1 libbz2-1.0 
libcap-ng0 libdb5.3 libdebconfclient0 libgcrypt20 libgpg-error0 liblz4-1 
libncursesw5 libsemanage-common libsemanage1 libsystemd0 libudev1 libustr-1.0-1
I: Found additional base dependencies: dmsetup gnupg-agent libapparmor1 
libassuan0 libbsd0 libcap2 libcryptsetup4 libdevmapper1.02.1 libdns-export162 
libelf1 libfastjson4 libffi6 libgmp10 libgnutls30 libhogweed4 libidn11 
libidn2-0 libip4tc0 libip6tc0 libiptc0 libisc-export160 libksba8 
liblocale-gettext-perl liblognorm5 libmnl0 libncurses5 libnetfilter-conntrack3 
libnettle6 libnfnetlink0 libnpth0 libp11-kit0 libpsl5 libseccomp2 libsqlite3-0 
libtasn1-6 libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl 
libunistring0 libxtables12 pinentry-curses xxd
I: Checking component main on http://ftp.us.debian.org/debian...
I: Retrieving libacl1 2.2.52-3+b1
.
I: Extracting zlib1g...

At this point I've mounted the partitions :

sudo mount -t sysfs /sys/ ./chroot-stretch-i386/sys/
sudo mount -t proc /proc/ ./chroot-stretch-i386/proc/
sudo mount --bind /dev ./chroot-stretch-i386/dev/
sudo mount --bind /dev/pts ./chroot-stretch-i386/dev/pts/
sudo mount --bind /dev/shm ./chroot-stretch-i386/dev/shm/


and I've copied the qemu static on the chrooted debian i386 folder :


cp /usr/bin/qemu-i386-static ./chroot-stretch-i386/usr/bin


and I've started the second stage of debootstrap :


root@ziomario-desktop:~/Scrivania/qemu-x86# sudo chroot ./chroot-stretch-i386/ 
/debootstrap/debootstrap --second-stage

at some point this is what happens :

libc6 is not installed ; libdebconfclient0 is not installed ; awk is not 
installed ; libbz2-1.0 is not installed ; libc6 is not installed ; liblzma5 is 
not installed ;
libselinux1 is not installed ; zlib1g is not installed ; tar is not installed ; 
libgcc1 is not installed ; dash is not installed ; libtinfo5 is not installed ; 
libblkid1 is not installed ; libcomerr2 is not installed ; libss2 is not 
installed ; libuuid1 is not installed ; util-linux is not installed ; libpcre3 
is not installed ; libpam0g is not installed ; libpam-modules-bin is not 
installed.

Adding group \systemd-journal' (GID 101) ...`

Done.

at this point I saw the error that should have been fixed :

chfn: PAM: System error

adduser: \/usr/bin/chfn -f systemd Time Synchronization systemd-
timesync' returned error code 1. Exiting.`

dpkg: error processing package systemd (--install):

subprocess installed post-installation script returned error exit status
1

Processing triggers for libc-bin (2.24-11+deb9u4) ...

Errors were encountered while processing:

systemd


W: Failure trying to run: dpkg --force-overwrite --force-confold 
--skip-same-version --install /var/cache/apt/archives/adduser_3.115_all.deb 
/var/cache/apt/archives/libapparmor1_2.11.0-3+deb9u2_i386.deb 
/var/cache/apt/archives/libcryptsetup4_2%3a1.7.3-4_i386.deb 
/var/cache/apt/archives/libip4tc0_1.6.0+snapshot20161117-6_i386.deb 
/var/cache/apt/archives/libkmod2_23-2_i386.deb 
/var/cache/apt/archives/libcap2_1%3a2.25-1_i386.deb 
/var/cache/apt/archives/libidn11_1.33-1+deb9u1_i386.deb 
/var/cache/apt/archives/libseccomp2_2.3.1-2.1+deb9u1_i386.deb 
/var/cache/apt/archives/dmsetup_2%3a1.02.137-2_i386.deb 
/var/cache/apt/archives/libdevmapper1.02.1_2%3a1.02.137-2_i386.deb 
/var/cache/apt/archives/libncurses5_6.0+20161126-1+deb9u2_i386.deb 
/var/cache/apt/archives/libprocps6_2%3a3.3.12-3+deb9u1_i386.deb 
/var/cache/apt/archives/procps_2%3a3.3.12-3+deb9u1_i386.deb 
/var/cache/apt/archives/systemd_232-25+deb9u12_i386.deb

W: See //debootstrap/debootstrap.log for details (possibly the package
systemd is at fault)

u can find the full log here : https://pastebin.com/XwkQp91Y

what to do ?

** Affects: systemd (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1913629

Title:
  adduser: \/usr/bin/chfn -f systemd Time Synchronization systemd-
  timesync' returned error code