Diff of the two buildlogs: -- --- b1/build.log 2024-11-19 02:10:21.352405392 +0000 +++ b2/build.log 2024-11-19 02:12:07.535600295 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Nov 18 14:08:41 -12 2024 -I: pbuilder-time-stamp: 1731982121 +I: Current time: Mon Dec 22 22:33:22 +14 2025 +I: pbuilder-time-stamp: 1766392402 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -34,52 +34,84 @@ dpkg-source: info: applying fix.mt-erase.manpage.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2512506/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/12494/tmp/hooks/D01_modify_environment starting +debug: Running on codethink01-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Dec 22 08:33 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/12494/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/12494/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='25d1ab013d0d41fc83c0a0dad30101b5' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='2512506' - PS1='# ' - PS2='> ' + INVOCATION_ID=6bb39ae74ea14128ad21c874972d7848 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=12494 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.MuMfP5RG/pbuilderrc_76Pk --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.MuMfP5RG/b1 --logfile b1/build.log cpio_2.15+dfsg-2.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.MuMfP5RG/pbuilderrc_avuJ --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.MuMfP5RG/b2 --logfile b2/build.log cpio_2.15+dfsg-2.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink04-arm64 6.1.0-27-cloud-arm64 #1 SMP Debian 6.1.115-1 (2024-11-01) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-27-cloud-arm64 #1 SMP Debian 6.1.115-1 (2024-11-01) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2512506/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/12494/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -157,7 +189,7 @@ Get: 36 http://deb.debian.org/debian unstable/main arm64 tex-common all 6.18 [32.5 kB] Get: 37 http://deb.debian.org/debian unstable/main arm64 texinfo-lib arm64 7.1.1-1+b1 [220 kB] Get: 38 http://deb.debian.org/debian unstable/main arm64 texinfo all 7.1.1-1 [1753 kB] -Fetched 22.0 MB in 0s (145 MB/s) +Fetched 22.0 MB in 0s (113 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 20084 files and directories currently installed.) @@ -334,7 +366,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/cpio-2.15+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../cpio_2.15+dfsg-2_source.changes +I: user script /srv/workspace/pbuilder/12494/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/12494/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/cpio-2.15+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../cpio_2.15+dfsg-2_source.changes dpkg-buildpackage: info: source package cpio dpkg-buildpackage: info: source version 2.15+dfsg-2 dpkg-buildpackage: info: source distribution unstable @@ -378,8 +414,8 @@ checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes -checking whether UID '1111' is supported by ustar format... yes -checking whether GID '1111' is supported by ustar format... yes +checking whether UID '2222' is supported by ustar format... yes +checking whether GID '2222' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking whether make supports nested variables... (cached) yes checking for gcc... gcc @@ -1017,9 +1053,6 @@ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ ./dirent.in.h > dirent.h-t -mv alloca.h-t alloca.h -mv configmake.h-t configmake.h -mv ctype.h-t ctype.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_ERROR_H''@|1|g' \ @@ -1054,6 +1087,7 @@ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ ./fcntl.in.h > fcntl.h-t +mv alloca.h-t alloca.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_GETOPT_H''@|1|g' \ @@ -1066,7 +1100,7 @@ sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''HAVE_SYS_CDEFS_H''@|1|g' \ ./getopt-cdefs.in.h > getopt-cdefs.h-t -mv dirent.h-t dirent.h +mv configmake.h-t configmake.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's/@''HAVE_INTTYPES_H''@/1/g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ @@ -1096,7 +1130,11 @@ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ ./inttypes.in.h > inttypes.h-t +mv ctype.h-t ctype.h mv error.h-t error.h +mv getopt-cdefs.h-t getopt-cdefs.h +mv getopt.h-t getopt.h +mv fcntl.h-t fcntl.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ @@ -1104,9 +1142,6 @@ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_LIMITS_H''@||g' \ ./limits.in.h > limits.h-t -mv getopt-cdefs.h-t getopt-cdefs.h -mv fcntl.h-t fcntl.h -mv getopt.h-t getopt.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ @@ -1133,11 +1168,10 @@ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ ./locale.in.h > locale.h-t -mv inttypes.h-t inttypes.h -mv limits.h-t limits.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''REPLACE_OBSTACK''@|1|g' \ ./obstack.in.h > obstack.h-t +mv dirent.h-t dirent.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ @@ -1174,8 +1208,6 @@ -e 's|@''HAVE_WCHAR_T''@|1|g' \ -e 's|@''REPLACE_NULL''@|0|g' \ ./stddef.in.h > stddef.h-t -mv obstack.h-t obstack.h -mv locale.h-t locale.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ @@ -1301,6 +1333,7 @@ -e 's/@''GNULIB_MDA_MKTEMP''@/1/g' \ -e 's/@''GNULIB_MDA_PUTENV''@/1/g' \ < ./stdlib.in.h > stdlib.h-t1 +mv limits.h-t limits.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ @@ -1368,10 +1401,10 @@ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ ./strings.in.h > strings.h-t -mv signal.h-t signal.h mv stddef.h-t stddef.h /usr/bin/mkdir -p 'sys' -/usr/bin/mkdir -p 'sys' +mv locale.h-t locale.h +mv obstack.h-t obstack.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ @@ -1429,6 +1462,11 @@ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ ./sys_stat.in.h > sys/stat.h-t +/usr/bin/mkdir -p 'sys' +/usr/bin/mkdir -p 'sys' +mv inttypes.h-t inttypes.h +mv signal.h-t signal.h +mv strings.h-t strings.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's/@''HAVE_SYS_TIME_H''@/1/g' \ @@ -1446,60 +1484,16 @@ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ ./sys_time.in.h > sys/time.h-t -mv strings.h-t strings.h -/usr/bin/mkdir -p 'sys' -sed \ - -e 's|@''HAVE_EXPLICIT_BZERO''@|1|g' \ - -e 's|@''HAVE_FFSL''@|1|g' \ - -e 's|@''HAVE_FFSLL''@|1|g' \ - -e 's|@''HAVE_MBSLEN''@|0|g' \ - -e 's|@''HAVE_DECL_MEMMEM''@|1|g' \ - -e 's|@''HAVE_MEMPCPY''@|1|g' \ - -e 's|@''HAVE_DECL_MEMRCHR''@|1|g' \ - -e 's|@''HAVE_MEMSET_EXPLICIT''@|1|g' \ - -e 's|@''HAVE_RAWMEMCHR''@|1|g' \ - -e 's|@''HAVE_STPCPY''@|1|g' \ - -e 's|@''HAVE_STPNCPY''@|1|g' \ - -e 's|@''HAVE_STRCHRNUL''@|1|g' \ - -e 's|@''HAVE_DECL_STRDUP''@|1|g' \ - -e 's|@''HAVE_DECL_STRNDUP''@|1|g' \ - -e 's|@''HAVE_DECL_STRNLEN''@|1|g' \ - -e 's|@''HAVE_STRPBRK''@|1|g' \ - -e 's|@''HAVE_STRSEP''@|1|g' \ - -e 's|@''HAVE_STRCASESTR''@|1|g' \ - -e 's|@''HAVE_DECL_STRTOK_R''@|1|g' \ - -e 's|@''HAVE_DECL_STRERROR_R''@|1|g' \ - -e 's|@''HAVE_STRERRORNAME_NP''@|1|g' \ - -e 's|@''HAVE_SIGABBREV_NP''@|1|g' \ - -e 's|@''HAVE_SIGDESCR_NP''@|1|g' \ - -e 's|@''HAVE_DECL_STRSIGNAL''@|1|g' \ - -e 's|@''HAVE_STRVERSCMP''@|1|g' \ - -e 's|@''REPLACE_FFSLL''@|0|g' \ - -e 's|@''REPLACE_MEMCHR''@|0|g' \ - -e 's|@''REPLACE_MEMMEM''@|0|g' \ - -e 's|@''REPLACE_MEMPCPY''@|0|g' \ - -e 's|@''REPLACE_FREE''@|0|g' \ - -e 's|@''REPLACE_STPCPY''@|0|g' \ - -e 's|@''REPLACE_STPNCPY''@|0|g' \ - -e 's|@''REPLACE_STRCHRNUL''@|0|g' \ - -e 's|@''REPLACE_STRDUP''@|0|g' \ - -e 's|@''REPLACE_STRNCAT''@|0|g' \ - -e 's|@''REPLACE_STRNDUP''@|0|g' \ - -e 's|@''REPLACE_STRNLEN''@|0|g' \ - -e 's|@''REPLACE_STRSTR''@|0|g' \ - -e 's|@''REPLACE_STRCASESTR''@|0|g' \ - -e 's|@''REPLACE_STRTOK_R''@|0|g' \ - -e 's|@''REPLACE_STRERROR''@|0|g' \ - -e 's|@''REPLACE_STRERROR_R''@|0|g' \ - -e 's|@''REPLACE_STRERRORNAME_NP''@|0|g' \ - -e 's|@''REPLACE_STRSIGNAL''@|0|g' \ - -e 's|@''REPLACE_STRVERSCMP''@|0|g' \ - -e 's|@''UNDEFINE_STRTOK_R''@|0|g' \ - -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ - -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ - -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ - < string.h-t1 > string.h-t2 -mv sys/time.h-t sys/time.h +sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ + -e 's|@''GUARD_PREFIX''@|GL|g' \ + -e 's|@''INCLUDE_NEXT''@|include_next|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ + -e 's|@''PRAGMA_COLUMNS''@||g' \ + -e 's|@''NEXT_SYS_TYPES_H''@||g' \ + -e 's|@''WINDOWS_64_BIT_OFF_T''@|0|g' \ + -e 's|@''WINDOWS_STAT_INODES''@|0|g' \ + ./sys_types.in.h > sys/types.h-t +mv sys/stat.h-t sys/stat.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ @@ -1549,15 +1543,6 @@ ./time.in.h > time.h-t sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL|g' \ - -e 's|@''INCLUDE_NEXT''@|include_next|g' \ - -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ - -e 's|@''PRAGMA_COLUMNS''@||g' \ - -e 's|@''NEXT_SYS_TYPES_H''@||g' \ - -e 's|@''WINDOWS_64_BIT_OFF_T''@|0|g' \ - -e 's|@''WINDOWS_STAT_INODES''@|0|g' \ - ./sys_types.in.h > sys/types.h-t -sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ - -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's/@''HAVE_UCHAR_H''@/1/g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ @@ -1624,74 +1609,6 @@ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ ./uchar.in.h > uchar.h-t -sed \ - -e 's|@''HAVE_DECL_FCLOSEALL''@|1|g' \ - -e 's|@''HAVE_DECL_FPURGE''@|1|g' \ - -e 's|@''HAVE_DECL_FSEEKO''@|1|g' \ - -e 's|@''HAVE_DECL_FTELLO''@|1|g' \ - -e 's|@''HAVE_DECL_GETDELIM''@|1|g' \ - -e 's|@''HAVE_DECL_GETLINE''@|1|g' \ - -e 's|@''HAVE_DECL_GETW''@|1|g' \ - -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|1|g' \ - -e 's|@''HAVE_DECL_PUTW''@|1|g' \ - -e 's|@''HAVE_DECL_SNPRINTF''@|1|g' \ - -e 's|@''HAVE_DECL_VSNPRINTF''@|1|g' \ - -e 's|@''HAVE_DPRINTF''@|1|g' \ - -e 's|@''HAVE_FSEEKO''@|1|g' \ - -e 's|@''HAVE_FTELLO''@|1|g' \ - -e 's|@''HAVE_PCLOSE''@|1|g' \ - -e 's|@''HAVE_POPEN''@|1|g' \ - -e 's|@''HAVE_RENAMEAT''@|1|g' \ - -e 's|@''HAVE_VASPRINTF''@|1|g' \ - -e 's|@''HAVE_VDPRINTF''@|1|g' \ - < stdio.h-t1 > stdio.h-t2 -sed \ - -e 's|@''HAVE__EXIT''@|1|g' \ - -e 's|@''HAVE_ALIGNED_ALLOC''@|1|g' \ - -e 's|@''HAVE_ATOLL''@|1|g' \ - -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|1|g' \ - -e 's|@''HAVE_DECL_ECVT''@|1|g' \ - -e 's|@''HAVE_DECL_FCVT''@|1|g' \ - -e 's|@''HAVE_DECL_GCVT''@|1|g' \ - -e 's|@''HAVE_DECL_GETLOADAVG''@|1|g' \ - -e 's|@''HAVE_DECL_PROGRAM_INVOCATION_NAME''@|1|g' \ - -e 's|@''HAVE_GETPROGNAME''@|0|g' \ - -e 's|@''HAVE_GETSUBOPT''@|1|g' \ - -e 's|@''HAVE_GRANTPT''@|1|g' \ - -e 's|@''HAVE_INITSTATE''@|1|g' \ - -e 's|@''HAVE_DECL_INITSTATE''@|1|g' \ - -e 's|@''HAVE_MBTOWC''@|1|g' \ - -e 's|@''HAVE_MKDTEMP''@|1|g' \ - -e 's|@''HAVE_MKOSTEMP''@|1|g' \ - -e 's|@''HAVE_MKOSTEMPS''@|1|g' \ - -e 's|@''HAVE_MKSTEMP''@|1|g' \ - -e 's|@''HAVE_MKSTEMPS''@|1|g' \ - -e 's|@''HAVE_POSIX_MEMALIGN''@|1|g' \ - -e 's|@''HAVE_POSIX_OPENPT''@|1|g' \ - -e 's|@''HAVE_PTSNAME''@|1|g' \ - -e 's|@''HAVE_PTSNAME_R''@|1|g' \ - -e 's|@''HAVE_QSORT_R''@|1|g' \ - -e 's|@''HAVE_RANDOM''@|1|g' \ - -e 's|@''HAVE_RANDOM_H''@|1|g' \ - -e 's|@''HAVE_RANDOM_R''@|1|g' \ - -e 's|@''HAVE_REALLOCARRAY''@|1|g' \ - -e 's|@''HAVE_REALPATH''@|1|g' \ - -e 's|@''HAVE_RPMATCH''@|1|g' \ - -e 's|@''HAVE_SECURE_GETENV''@|1|g' \ - -e 's|@''HAVE_DECL_SETENV''@|1|g' \ - -e 's|@''HAVE_SETSTATE''@|1|g' \ - -e 's|@''HAVE_DECL_SETSTATE''@|1|g' \ - -e 's|@''HAVE_STRTOD''@|1|g' \ - -e 's|@''HAVE_STRTOL''@|1|g' \ - -e 's|@''HAVE_STRTOLD''@|1|g' \ - -e 's|@''HAVE_STRTOLL''@|1|g' \ - -e 's|@''HAVE_STRTOUL''@|1|g' \ - -e 's|@''HAVE_STRTOULL''@|1|g' \ - -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|1|g' \ - -e 's|@''HAVE_SYS_LOADAVG_H''@|0|g' \ - -e 's|@''HAVE_UNLOCKPT''@|1|g' \ - -e 's|@''HAVE_DECL_UNSETENV''@|1|g' \ - < stdlib.h-t1 > stdlib.h-t2 sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''HAVE_UNISTRING_WOE32DLL_H''@|0|g' \ -e 's/@''GNULIB_UNICASE_EMPTY_PREFIX_CONTEXT_DLL_VARIABLE''@/LIBUNISTRING_DLL_VARIABLE/g' \ @@ -1739,48 +1656,59 @@ -e 's/@''GNULIB_UNICTYPE_CATEGORY_CN_DLL_VARIABLE''@/LIBUNISTRING_DLL_VARIABLE/g' \ < ./unictype.in.h > unictype.h-t1 mv sys/types.h-t sys/types.h -mv sys/stat.h-t sys/stat.h -mv time.h-t time.h +mv sys/time.h-t sys/time.h +mv unicase.h-t unicase.h sed \ - -e 's|@''REPLACE_DPRINTF''@|0|g' \ - -e 's|@''REPLACE_FCLOSE''@|0|g' \ - -e 's|@''REPLACE_FDOPEN''@|0|g' \ - -e 's|@''REPLACE_FFLUSH''@|0|g' \ - -e 's|@''REPLACE_FOPEN''@|0|g' \ - -e 's|@''REPLACE_FOPEN_FOR_FOPEN_GNU''@|0|g' \ - -e 's|@''REPLACE_FPRINTF''@|0|g' \ - -e 's|@''REPLACE_FPURGE''@|0|g' \ - -e 's|@''REPLACE_FREOPEN''@|0|g' \ - -e 's|@''REPLACE_FSEEK''@|0|g' \ - -e 's|@''REPLACE_FSEEKO''@|0|g' \ - -e 's|@''REPLACE_FTELL''@|0|g' \ - -e 's|@''REPLACE_FTELLO''@|0|g' \ - -e 's|@''REPLACE_GETDELIM''@|0|g' \ - -e 's|@''REPLACE_GETLINE''@|0|g' \ - -e 's|@''REPLACE_OBSTACK_PRINTF''@|0|g' \ - -e 's|@''REPLACE_PERROR''@|0|g' \ - -e 's|@''REPLACE_POPEN''@|0|g' \ - -e 's|@''REPLACE_PRINTF''@|0|g' \ - -e 's|@''REPLACE_REMOVE''@|0|g' \ - -e 's|@''REPLACE_RENAME''@|0|g' \ - -e 's|@''REPLACE_RENAMEAT''@|0|g' \ - -e 's|@''REPLACE_SNPRINTF''@|0|g' \ - -e 's|@''REPLACE_SPRINTF''@|0|g' \ - -e 's|@''REPLACE_STDIO_READ_FUNCS''@|0|g' \ - -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|0|g' \ - -e 's|@''REPLACE_TMPFILE''@|0|g' \ - -e 's|@''REPLACE_VASPRINTF''@|0|g' \ - -e 's|@''REPLACE_VDPRINTF''@|0|g' \ - -e 's|@''REPLACE_VFPRINTF''@|0|g' \ - -e 's|@''REPLACE_VPRINTF''@|0|g' \ - -e 's|@''REPLACE_VSNPRINTF''@|0|g' \ - -e 's|@''REPLACE_VSPRINTF''@|0|g' \ - -e 's|@''ASM_SYMBOL_PREFIX''@||g' \ + -e 's|@''HAVE_EXPLICIT_BZERO''@|1|g' \ + -e 's|@''HAVE_FFSL''@|1|g' \ + -e 's|@''HAVE_FFSLL''@|1|g' \ + -e 's|@''HAVE_MBSLEN''@|0|g' \ + -e 's|@''HAVE_DECL_MEMMEM''@|1|g' \ + -e 's|@''HAVE_MEMPCPY''@|1|g' \ + -e 's|@''HAVE_DECL_MEMRCHR''@|1|g' \ + -e 's|@''HAVE_MEMSET_EXPLICIT''@|1|g' \ + -e 's|@''HAVE_RAWMEMCHR''@|1|g' \ + -e 's|@''HAVE_STPCPY''@|1|g' \ + -e 's|@''HAVE_STPNCPY''@|1|g' \ + -e 's|@''HAVE_STRCHRNUL''@|1|g' \ + -e 's|@''HAVE_DECL_STRDUP''@|1|g' \ + -e 's|@''HAVE_DECL_STRNDUP''@|1|g' \ + -e 's|@''HAVE_DECL_STRNLEN''@|1|g' \ + -e 's|@''HAVE_STRPBRK''@|1|g' \ + -e 's|@''HAVE_STRSEP''@|1|g' \ + -e 's|@''HAVE_STRCASESTR''@|1|g' \ + -e 's|@''HAVE_DECL_STRTOK_R''@|1|g' \ + -e 's|@''HAVE_DECL_STRERROR_R''@|1|g' \ + -e 's|@''HAVE_STRERRORNAME_NP''@|1|g' \ + -e 's|@''HAVE_SIGABBREV_NP''@|1|g' \ + -e 's|@''HAVE_SIGDESCR_NP''@|1|g' \ + -e 's|@''HAVE_DECL_STRSIGNAL''@|1|g' \ + -e 's|@''HAVE_STRVERSCMP''@|1|g' \ + -e 's|@''REPLACE_FFSLL''@|0|g' \ + -e 's|@''REPLACE_MEMCHR''@|0|g' \ + -e 's|@''REPLACE_MEMMEM''@|0|g' \ + -e 's|@''REPLACE_MEMPCPY''@|0|g' \ + -e 's|@''REPLACE_FREE''@|0|g' \ + -e 's|@''REPLACE_STPCPY''@|0|g' \ + -e 's|@''REPLACE_STPNCPY''@|0|g' \ + -e 's|@''REPLACE_STRCHRNUL''@|0|g' \ + -e 's|@''REPLACE_STRDUP''@|0|g' \ + -e 's|@''REPLACE_STRNCAT''@|0|g' \ + -e 's|@''REPLACE_STRNDUP''@|0|g' \ + -e 's|@''REPLACE_STRNLEN''@|0|g' \ + -e 's|@''REPLACE_STRSTR''@|0|g' \ + -e 's|@''REPLACE_STRCASESTR''@|0|g' \ + -e 's|@''REPLACE_STRTOK_R''@|0|g' \ + -e 's|@''REPLACE_STRERROR''@|0|g' \ + -e 's|@''REPLACE_STRERROR_R''@|0|g' \ + -e 's|@''REPLACE_STRERRORNAME_NP''@|0|g' \ + -e 's|@''REPLACE_STRSIGNAL''@|0|g' \ + -e 's|@''REPLACE_STRVERSCMP''@|0|g' \ + -e 's|@''UNDEFINE_STRTOK_R''@|0|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ - < stdio.h-t2 > stdio.h-t3 -mv unicase.h-t unicase.h + < string.h-t1 > string.h-t2 sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''HAVE_UNISTRING_WOE32DLL_H''@|0|g' \ -e 's/@''GNULIB_UNINORM_NFD_DLL_VARIABLE''@/LIBUNISTRING_DLL_VARIABLE/g' \ @@ -1788,58 +1716,6 @@ -e 's/@''GNULIB_UNINORM_NFKD_DLL_VARIABLE''@/LIBUNISTRING_DLL_VARIABLE/g' \ -e 's/@''GNULIB_UNINORM_NFKC_DLL_VARIABLE''@/LIBUNISTRING_DLL_VARIABLE/g' \ ./uninorm.in.h > uninorm.h-t -rm -f string.h-t1 -mv uchar.h-t uchar.h -sed \ - -e 's|@''REPLACE__EXIT''@|0|g' \ - -e 's|@''REPLACE_ALIGNED_ALLOC''@|0|g' \ - -e 's|@''REPLACE_CALLOC_FOR_CALLOC_GNU''@|0|g' \ - -e 's|@''REPLACE_CALLOC_FOR_CALLOC_POSIX''@|0|g' \ - -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|0|g' \ - -e 's|@''REPLACE_FREE''@|0|g' \ - -e 's|@''REPLACE_GETLOADAVG''@|0|g' \ - -e 's|@''REPLACE_GETPROGNAME''@|0|g' \ - -e 's|@''REPLACE_GETSUBOPT''@|0|g' \ - -e 's|@''REPLACE_INITSTATE''@|0|g' \ - -e 's|@''REPLACE_MALLOC_FOR_MALLOC_GNU''@|0|g' \ - -e 's|@''REPLACE_MALLOC_FOR_MALLOC_POSIX''@|0|g' \ - -e 's|@''REPLACE_MB_CUR_MAX''@|0|g' \ - -e 's|@''REPLACE_MBSTOWCS''@|0|g' \ - -e 's|@''REPLACE_MBTOWC''@|0|g' \ - -e 's|@''REPLACE_MKOSTEMP''@|0|g' \ - -e 's|@''REPLACE_MKOSTEMPS''@|0|g' \ - -e 's|@''REPLACE_MKSTEMP''@|0|g' \ - -e 's|@''REPLACE_POSIX_MEMALIGN''@|0|g' \ - -e 's|@''REPLACE_POSIX_OPENPT''@|0|g' \ - -e 's|@''REPLACE_PTSNAME''@|0|g' \ - -e 's|@''REPLACE_PTSNAME_R''@|0|g' \ - -e 's|@''REPLACE_PUTENV''@|0|g' \ - -e 's|@''REPLACE_QSORT_R''@|0|g' \ - -e 's|@''REPLACE_RAND''@|0|g' \ - -e 's|@''REPLACE_RANDOM''@|0|g' \ - -e 's|@''REPLACE_RANDOM_R''@|0|g' \ - -e 's|@''REPLACE_REALLOC_FOR_REALLOC_GNU''@|0|g' \ - -e 's|@''REPLACE_REALLOC_FOR_REALLOC_POSIX''@|0|g' \ - -e 's|@''REPLACE_REALLOCARRAY''@|0|g' \ - -e 's|@''REPLACE_REALPATH''@|0|g' \ - -e 's|@''REPLACE_SETENV''@|0|g' \ - -e 's|@''REPLACE_SETSTATE''@|0|g' \ - -e 's|@''REPLACE_STRTOD''@|0|g' \ - -e 's|@''REPLACE_STRTOL''@|0|g' \ - -e 's|@''REPLACE_STRTOLD''@|0|g' \ - -e 's|@''REPLACE_STRTOLL''@|0|g' \ - -e 's|@''REPLACE_STRTOUL''@|0|g' \ - -e 's|@''REPLACE_STRTOULL''@|0|g' \ - -e 's|@''REPLACE_UNSETENV''@|0|g' \ - -e 's|@''REPLACE_WCTOMB''@|0|g' \ - -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ - -e '/definition of _Noreturn/r ./_Noreturn.h' \ - -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ - -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ - < stdlib.h-t2 > stdlib.h-t3 -rm -f stdio.h-t1 stdio.h-t2 -mv string.h-t2 string.h -mv stdio.h-t3 stdio.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_UNISTD_H''@|1|g' \ @@ -1889,6 +1765,29 @@ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ ./utime.in.h > utime.h-t +mv unistr.h-t unistr.h +mv unitypes.h-t unitypes.h +sed \ + -e 's|@''HAVE_DECL_FCLOSEALL''@|1|g' \ + -e 's|@''HAVE_DECL_FPURGE''@|1|g' \ + -e 's|@''HAVE_DECL_FSEEKO''@|1|g' \ + -e 's|@''HAVE_DECL_FTELLO''@|1|g' \ + -e 's|@''HAVE_DECL_GETDELIM''@|1|g' \ + -e 's|@''HAVE_DECL_GETLINE''@|1|g' \ + -e 's|@''HAVE_DECL_GETW''@|1|g' \ + -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|1|g' \ + -e 's|@''HAVE_DECL_PUTW''@|1|g' \ + -e 's|@''HAVE_DECL_SNPRINTF''@|1|g' \ + -e 's|@''HAVE_DECL_VSNPRINTF''@|1|g' \ + -e 's|@''HAVE_DPRINTF''@|1|g' \ + -e 's|@''HAVE_FSEEKO''@|1|g' \ + -e 's|@''HAVE_FTELLO''@|1|g' \ + -e 's|@''HAVE_PCLOSE''@|1|g' \ + -e 's|@''HAVE_POPEN''@|1|g' \ + -e 's|@''HAVE_RENAMEAT''@|1|g' \ + -e 's|@''HAVE_VASPRINTF''@|1|g' \ + -e 's|@''HAVE_VDPRINTF''@|1|g' \ + < stdio.h-t1 > stdio.h-t2 sed \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_WHITE_SPACE_DLL_VARIABLE''@/LIBUNISTRING_DLL_VARIABLE/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_ALPHABETIC_DLL_VARIABLE''@/LIBUNISTRING_DLL_VARIABLE/g' \ @@ -1915,12 +1814,159 @@ -e 's/@''GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEMAPPED_DLL_VARIABLE''@/LIBUNISTRING_DLL_VARIABLE/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_SOFT_DOTTED_DLL_VARIABLE''@/LIBUNISTRING_DLL_VARIABLE/g' \ < unictype.h-t1 > unictype.h-t2 +sed \ + -e 's|@''HAVE__EXIT''@|1|g' \ + -e 's|@''HAVE_ALIGNED_ALLOC''@|1|g' \ + -e 's|@''HAVE_ATOLL''@|1|g' \ + -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|1|g' \ + -e 's|@''HAVE_DECL_ECVT''@|1|g' \ + -e 's|@''HAVE_DECL_FCVT''@|1|g' \ + -e 's|@''HAVE_DECL_GCVT''@|1|g' \ + -e 's|@''HAVE_DECL_GETLOADAVG''@|1|g' \ + -e 's|@''HAVE_DECL_PROGRAM_INVOCATION_NAME''@|1|g' \ + -e 's|@''HAVE_GETPROGNAME''@|0|g' \ + -e 's|@''HAVE_GETSUBOPT''@|1|g' \ + -e 's|@''HAVE_GRANTPT''@|1|g' \ + -e 's|@''HAVE_INITSTATE''@|1|g' \ + -e 's|@''HAVE_DECL_INITSTATE''@|1|g' \ + -e 's|@''HAVE_MBTOWC''@|1|g' \ + -e 's|@''HAVE_MKDTEMP''@|1|g' \ + -e 's|@''HAVE_MKOSTEMP''@|1|g' \ + -e 's|@''HAVE_MKOSTEMPS''@|1|g' \ + -e 's|@''HAVE_MKSTEMP''@|1|g' \ + -e 's|@''HAVE_MKSTEMPS''@|1|g' \ + -e 's|@''HAVE_POSIX_MEMALIGN''@|1|g' \ + -e 's|@''HAVE_POSIX_OPENPT''@|1|g' \ + -e 's|@''HAVE_PTSNAME''@|1|g' \ + -e 's|@''HAVE_PTSNAME_R''@|1|g' \ + -e 's|@''HAVE_QSORT_R''@|1|g' \ + -e 's|@''HAVE_RANDOM''@|1|g' \ + -e 's|@''HAVE_RANDOM_H''@|1|g' \ + -e 's|@''HAVE_RANDOM_R''@|1|g' \ + -e 's|@''HAVE_REALLOCARRAY''@|1|g' \ + -e 's|@''HAVE_REALPATH''@|1|g' \ + -e 's|@''HAVE_RPMATCH''@|1|g' \ + -e 's|@''HAVE_SECURE_GETENV''@|1|g' \ + -e 's|@''HAVE_DECL_SETENV''@|1|g' \ + -e 's|@''HAVE_SETSTATE''@|1|g' \ + -e 's|@''HAVE_DECL_SETSTATE''@|1|g' \ + -e 's|@''HAVE_STRTOD''@|1|g' \ + -e 's|@''HAVE_STRTOL''@|1|g' \ + -e 's|@''HAVE_STRTOLD''@|1|g' \ + -e 's|@''HAVE_STRTOLL''@|1|g' \ + -e 's|@''HAVE_STRTOUL''@|1|g' \ + -e 's|@''HAVE_STRTOULL''@|1|g' \ + -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|1|g' \ + -e 's|@''HAVE_SYS_LOADAVG_H''@|0|g' \ + -e 's|@''HAVE_UNLOCKPT''@|1|g' \ + -e 's|@''HAVE_DECL_UNSETENV''@|1|g' \ + < stdlib.h-t1 > stdlib.h-t2 +mv time.h-t time.h +mv uchar.h-t uchar.h mv uninorm.h-t uninorm.h -mv unistr.h-t unistr.h -rm -f stdlib.h-t1 stdlib.h-t2 -mv unitypes.h-t unitypes.h +sed \ + -e 's/@''GNULIB_GETCWD''@/1/g' \ + -e 's/@''GNULIB_GETDOMAINNAME''@/0/g' \ + -e 's/@''GNULIB_GETDTABLESIZE''@/1/g' \ + -e 's/@''GNULIB_GETENTROPY''@/0/g' \ + -e 's/@''GNULIB_GETGROUPS''@/0/g' \ + -e 's/@''GNULIB_GETHOSTNAME''@/0/g' \ + -e 's/@''GNULIB_GETLOGIN''@/0/g' \ + -e 's/@''GNULIB_GETLOGIN_R''@/0/g' \ + -e 's/@''GNULIB_GETOPT_POSIX''@/1/g' \ + -e 's/@''GNULIB_GETPAGESIZE''@/0/g' \ + -e 's/@''GNULIB_GETPASS''@/0/g' \ + -e 's/@''GNULIB_GETPASS_GNU''@/0/g' \ + -e 's/@''GNULIB_GETUSERSHELL''@/0/g' \ + -e 's/@''GNULIB_GROUP_MEMBER''@/0/g' \ + -e 's/@''GNULIB_ISATTY''@/0/g' \ + -e 's/@''GNULIB_LCHOWN''@/1/g' \ + -e 's/@''GNULIB_LINK''@/0/g' \ + -e 's/@''GNULIB_LINKAT''@/0/g' \ + -e 's/@''GNULIB_LSEEK''@/1/g' \ + -e 's/@''GNULIB_PIPE''@/1/g' \ + -e 's/@''GNULIB_PIPE2''@/0/g' \ + -e 's/@''GNULIB_PREAD''@/0/g' \ + -e 's/@''GNULIB_PWRITE''@/0/g' \ + -e 's/@''GNULIB_READ''@/1/g' \ + -e 's/@''GNULIB_READLINK''@/1/g' \ + -e 's/@''GNULIB_READLINKAT''@/0/g' \ + -e 's/@''GNULIB_RMDIR''@/0/g' \ + -e 's/@''GNULIB_SETHOSTNAME''@/0/g' \ + -e 's/@''GNULIB_SLEEP''@/1/g' \ + -e 's/@''GNULIB_SYMLINK''@/0/g' \ + -e 's/@''GNULIB_SYMLINKAT''@/0/g' \ + -e 's/@''GNULIB_TRUNCATE''@/0/g' \ + -e 's/@''GNULIB_TTYNAME_R''@/0/g' \ + -e 's/@''GNULIB_UNISTD_H_GETOPT''@/01/g' \ + -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/0/g' \ + -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/0/g' \ + -e 's/@''GNULIB_UNLINK''@/0/g' \ + -e 's/@''GNULIB_UNLINKAT''@/0/g' \ + -e 's/@''GNULIB_USLEEP''@/0/g' \ + -e 's/@''GNULIB_WRITE''@/1/g' \ + -e 's/@''GNULIB_MDA_ACCESS''@/1/g' \ + -e 's/@''GNULIB_MDA_CHDIR''@/1/g' \ + -e 's/@''GNULIB_MDA_CLOSE''@/1/g' \ + -e 's/@''GNULIB_MDA_DUP''@/1/g' \ + -e 's/@''GNULIB_MDA_DUP2''@/1/g' \ + -e 's/@''GNULIB_MDA_EXECL''@/1/g' \ + -e 's/@''GNULIB_MDA_EXECLE''@/1/g' \ + -e 's/@''GNULIB_MDA_EXECLP''@/1/g' \ + -e 's/@''GNULIB_MDA_EXECV''@/1/g' \ + -e 's/@''GNULIB_MDA_EXECVE''@/1/g' \ + -e 's/@''GNULIB_MDA_EXECVP''@/1/g' \ + -e 's/@''GNULIB_MDA_EXECVPE''@/1/g' \ + -e 's/@''GNULIB_MDA_GETCWD''@/1/g' \ + -e 's/@''GNULIB_MDA_GETPID''@/1/g' \ + -e 's/@''GNULIB_MDA_ISATTY''@/1/g' \ + -e 's/@''GNULIB_MDA_LSEEK''@/1/g' \ + -e 's/@''GNULIB_MDA_READ''@/1/g' \ + -e 's/@''GNULIB_MDA_RMDIR''@/1/g' \ + -e 's/@''GNULIB_MDA_SWAB''@/1/g' \ + -e 's/@''GNULIB_MDA_UNLINK''@/1/g' \ + -e 's/@''GNULIB_MDA_WRITE''@/1/g' \ + < unistd.h-t1 > unistd.h-t2 mv utime.h-t utime.h -mv stdlib.h-t3 stdlib.h +sed \ + -e 's|@''REPLACE_DPRINTF''@|0|g' \ + -e 's|@''REPLACE_FCLOSE''@|0|g' \ + -e 's|@''REPLACE_FDOPEN''@|0|g' \ + -e 's|@''REPLACE_FFLUSH''@|0|g' \ + -e 's|@''REPLACE_FOPEN''@|0|g' \ + -e 's|@''REPLACE_FOPEN_FOR_FOPEN_GNU''@|0|g' \ + -e 's|@''REPLACE_FPRINTF''@|0|g' \ + -e 's|@''REPLACE_FPURGE''@|0|g' \ + -e 's|@''REPLACE_FREOPEN''@|0|g' \ + -e 's|@''REPLACE_FSEEK''@|0|g' \ + -e 's|@''REPLACE_FSEEKO''@|0|g' \ + -e 's|@''REPLACE_FTELL''@|0|g' \ + -e 's|@''REPLACE_FTELLO''@|0|g' \ + -e 's|@''REPLACE_GETDELIM''@|0|g' \ + -e 's|@''REPLACE_GETLINE''@|0|g' \ + -e 's|@''REPLACE_OBSTACK_PRINTF''@|0|g' \ + -e 's|@''REPLACE_PERROR''@|0|g' \ + -e 's|@''REPLACE_POPEN''@|0|g' \ + -e 's|@''REPLACE_PRINTF''@|0|g' \ + -e 's|@''REPLACE_REMOVE''@|0|g' \ + -e 's|@''REPLACE_RENAME''@|0|g' \ + -e 's|@''REPLACE_RENAMEAT''@|0|g' \ + -e 's|@''REPLACE_SNPRINTF''@|0|g' \ + -e 's|@''REPLACE_SPRINTF''@|0|g' \ + -e 's|@''REPLACE_STDIO_READ_FUNCS''@|0|g' \ + -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|0|g' \ + -e 's|@''REPLACE_TMPFILE''@|0|g' \ + -e 's|@''REPLACE_VASPRINTF''@|0|g' \ + -e 's|@''REPLACE_VDPRINTF''@|0|g' \ + -e 's|@''REPLACE_VFPRINTF''@|0|g' \ + -e 's|@''REPLACE_VPRINTF''@|0|g' \ + -e 's|@''REPLACE_VSNPRINTF''@|0|g' \ + -e 's|@''REPLACE_VSPRINTF''@|0|g' \ + -e 's|@''ASM_SYMBOL_PREFIX''@||g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ + -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ + -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ + < stdio.h-t2 > stdio.h-t3 sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ @@ -1977,6 +2023,7 @@ -e 's/@''GNULIB_MDA_WCSDUP''@/1/g' \ -e 's/@''GNULIB_FREE_POSIX''@/1/g' \ < ./wchar.in.h > wchar.h-t1 +rm -f string.h-t1 sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's/@''HAVE_WCTYPE_H''@/1/g' \ @@ -2011,69 +2058,7 @@ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ ./wctype.in.h > wctype.h-t -sed \ - -e 's/@''GNULIB_GETCWD''@/1/g' \ - -e 's/@''GNULIB_GETDOMAINNAME''@/0/g' \ - -e 's/@''GNULIB_GETDTABLESIZE''@/1/g' \ - -e 's/@''GNULIB_GETENTROPY''@/0/g' \ - -e 's/@''GNULIB_GETGROUPS''@/0/g' \ - -e 's/@''GNULIB_GETHOSTNAME''@/0/g' \ - -e 's/@''GNULIB_GETLOGIN''@/0/g' \ - -e 's/@''GNULIB_GETLOGIN_R''@/0/g' \ - -e 's/@''GNULIB_GETOPT_POSIX''@/1/g' \ - -e 's/@''GNULIB_GETPAGESIZE''@/0/g' \ - -e 's/@''GNULIB_GETPASS''@/0/g' \ - -e 's/@''GNULIB_GETPASS_GNU''@/0/g' \ - -e 's/@''GNULIB_GETUSERSHELL''@/0/g' \ - -e 's/@''GNULIB_GROUP_MEMBER''@/0/g' \ - -e 's/@''GNULIB_ISATTY''@/0/g' \ - -e 's/@''GNULIB_LCHOWN''@/1/g' \ - -e 's/@''GNULIB_LINK''@/0/g' \ - -e 's/@''GNULIB_LINKAT''@/0/g' \ - -e 's/@''GNULIB_LSEEK''@/1/g' \ - -e 's/@''GNULIB_PIPE''@/1/g' \ - -e 's/@''GNULIB_PIPE2''@/0/g' \ - -e 's/@''GNULIB_PREAD''@/0/g' \ - -e 's/@''GNULIB_PWRITE''@/0/g' \ - -e 's/@''GNULIB_READ''@/1/g' \ - -e 's/@''GNULIB_READLINK''@/1/g' \ - -e 's/@''GNULIB_READLINKAT''@/0/g' \ - -e 's/@''GNULIB_RMDIR''@/0/g' \ - -e 's/@''GNULIB_SETHOSTNAME''@/0/g' \ - -e 's/@''GNULIB_SLEEP''@/1/g' \ - -e 's/@''GNULIB_SYMLINK''@/0/g' \ - -e 's/@''GNULIB_SYMLINKAT''@/0/g' \ - -e 's/@''GNULIB_TRUNCATE''@/0/g' \ - -e 's/@''GNULIB_TTYNAME_R''@/0/g' \ - -e 's/@''GNULIB_UNISTD_H_GETOPT''@/01/g' \ - -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/0/g' \ - -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/0/g' \ - -e 's/@''GNULIB_UNLINK''@/0/g' \ - -e 's/@''GNULIB_UNLINKAT''@/0/g' \ - -e 's/@''GNULIB_USLEEP''@/0/g' \ - -e 's/@''GNULIB_WRITE''@/1/g' \ - -e 's/@''GNULIB_MDA_ACCESS''@/1/g' \ - -e 's/@''GNULIB_MDA_CHDIR''@/1/g' \ - -e 's/@''GNULIB_MDA_CLOSE''@/1/g' \ - -e 's/@''GNULIB_MDA_DUP''@/1/g' \ - -e 's/@''GNULIB_MDA_DUP2''@/1/g' \ - -e 's/@''GNULIB_MDA_EXECL''@/1/g' \ - -e 's/@''GNULIB_MDA_EXECLE''@/1/g' \ - -e 's/@''GNULIB_MDA_EXECLP''@/1/g' \ - -e 's/@''GNULIB_MDA_EXECV''@/1/g' \ - -e 's/@''GNULIB_MDA_EXECVE''@/1/g' \ - -e 's/@''GNULIB_MDA_EXECVP''@/1/g' \ - -e 's/@''GNULIB_MDA_EXECVPE''@/1/g' \ - -e 's/@''GNULIB_MDA_GETCWD''@/1/g' \ - -e 's/@''GNULIB_MDA_GETPID''@/1/g' \ - -e 's/@''GNULIB_MDA_ISATTY''@/1/g' \ - -e 's/@''GNULIB_MDA_LSEEK''@/1/g' \ - -e 's/@''GNULIB_MDA_READ''@/1/g' \ - -e 's/@''GNULIB_MDA_RMDIR''@/1/g' \ - -e 's/@''GNULIB_MDA_SWAB''@/1/g' \ - -e 's/@''GNULIB_MDA_UNLINK''@/1/g' \ - -e 's/@''GNULIB_MDA_WRITE''@/1/g' \ - < unistd.h-t1 > unistd.h-t2 +mv string.h-t2 string.h sed \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_ID_START_DLL_VARIABLE''@/LIBUNISTRING_DLL_VARIABLE/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_OTHER_ID_START_DLL_VARIABLE''@/LIBUNISTRING_DLL_VARIABLE/g' \ @@ -2106,7 +2091,56 @@ -e 's/@''GNULIB_UNICTYPE_PROPERTY_BIDI_EMBEDDING_OR_OVERRIDE_DLL_VARIABLE''@/LIBUNISTRING_DLL_VARIABLE/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_BIDI_OTHER_NEUTRAL_DLL_VARIABLE''@/LIBUNISTRING_DLL_VARIABLE/g' \ < unictype.h-t2 > unictype.h-t3 +sed \ + -e 's|@''REPLACE__EXIT''@|0|g' \ + -e 's|@''REPLACE_ALIGNED_ALLOC''@|0|g' \ + -e 's|@''REPLACE_CALLOC_FOR_CALLOC_GNU''@|0|g' \ + -e 's|@''REPLACE_CALLOC_FOR_CALLOC_POSIX''@|0|g' \ + -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|0|g' \ + -e 's|@''REPLACE_FREE''@|0|g' \ + -e 's|@''REPLACE_GETLOADAVG''@|0|g' \ + -e 's|@''REPLACE_GETPROGNAME''@|0|g' \ + -e 's|@''REPLACE_GETSUBOPT''@|0|g' \ + -e 's|@''REPLACE_INITSTATE''@|0|g' \ + -e 's|@''REPLACE_MALLOC_FOR_MALLOC_GNU''@|0|g' \ + -e 's|@''REPLACE_MALLOC_FOR_MALLOC_POSIX''@|0|g' \ + -e 's|@''REPLACE_MB_CUR_MAX''@|0|g' \ + -e 's|@''REPLACE_MBSTOWCS''@|0|g' \ + -e 's|@''REPLACE_MBTOWC''@|0|g' \ + -e 's|@''REPLACE_MKOSTEMP''@|0|g' \ + -e 's|@''REPLACE_MKOSTEMPS''@|0|g' \ + -e 's|@''REPLACE_MKSTEMP''@|0|g' \ + -e 's|@''REPLACE_POSIX_MEMALIGN''@|0|g' \ + -e 's|@''REPLACE_POSIX_OPENPT''@|0|g' \ + -e 's|@''REPLACE_PTSNAME''@|0|g' \ + -e 's|@''REPLACE_PTSNAME_R''@|0|g' \ + -e 's|@''REPLACE_PUTENV''@|0|g' \ + -e 's|@''REPLACE_QSORT_R''@|0|g' \ + -e 's|@''REPLACE_RAND''@|0|g' \ + -e 's|@''REPLACE_RANDOM''@|0|g' \ + -e 's|@''REPLACE_RANDOM_R''@|0|g' \ + -e 's|@''REPLACE_REALLOC_FOR_REALLOC_GNU''@|0|g' \ + -e 's|@''REPLACE_REALLOC_FOR_REALLOC_POSIX''@|0|g' \ + -e 's|@''REPLACE_REALLOCARRAY''@|0|g' \ + -e 's|@''REPLACE_REALPATH''@|0|g' \ + -e 's|@''REPLACE_SETENV''@|0|g' \ + -e 's|@''REPLACE_SETSTATE''@|0|g' \ + -e 's|@''REPLACE_STRTOD''@|0|g' \ + -e 's|@''REPLACE_STRTOL''@|0|g' \ + -e 's|@''REPLACE_STRTOLD''@|0|g' \ + -e 's|@''REPLACE_STRTOLL''@|0|g' \ + -e 's|@''REPLACE_STRTOUL''@|0|g' \ + -e 's|@''REPLACE_STRTOULL''@|0|g' \ + -e 's|@''REPLACE_UNSETENV''@|0|g' \ + -e 's|@''REPLACE_WCTOMB''@|0|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ + -e '/definition of _Noreturn/r ./_Noreturn.h' \ + -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ + -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ + < stdlib.h-t2 > stdlib.h-t3 mv wctype.h-t wctype.h +rm -f stdio.h-t1 stdio.h-t2 +mv stdio.h-t3 stdio.h sed \ -e 's|@''HAVE_WINT_T''@|1|g' \ -e 's|@''HAVE_BTOWC''@|1|g' \ @@ -2242,6 +2276,8 @@ -e 's|@''HAVE_OS_H''@|0|g' \ -e 's|@''HAVE_SYS_PARAM_H''@|0|g' \ < unistd.h-t2 > unistd.h-t3 +rm -f stdlib.h-t1 stdlib.h-t2 +mv stdlib.h-t3 stdlib.h sed \ -e 's|@''REPLACE_MBSTATE_T''@|0|g' \ -e 's|@''REPLACE_BTOWC''@|1|g' \ @@ -2268,9 +2304,10 @@ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ < wchar.h-t2 > wchar.h-t3 +rm -f wchar.h-t1 wchar.h-t2 +mv wchar.h-t3 wchar.h rm -f unictype.h-t1 unictype.h-t2 unictype.h-t3 mv unictype.h-t4 unictype.h -rm -f wchar.h-t1 wchar.h-t2 sed \ -e 's|@''REPLACE_ACCESS''@|0|g' \ -e 's|@''REPLACE_CHOWN''@|0|g' \ @@ -2329,7 +2366,6 @@ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ < unistd.h-t3 > unistd.h-t4 -mv wchar.h-t3 wchar.h rm -f unistd.h-t1 unistd.h-t2 unistd.h-t3 mv unistd.h-t4 unistd.h make all-recursive @@ -2570,7 +2606,7 @@ make[3]: Leaving directory '/build/reproducible-path/cpio-2.15+dfsg/tests' make check-local make[3]: Entering directory '/build/reproducible-path/cpio-2.15+dfsg/tests' -/bin/bash ./testsuite -j12 --verbose +/bin/sh ./testsuite -j12 --verbose ## ------------------------- ## ## GNU cpio 2.15 test suite. ## ## ------------------------- ## @@ -2588,16 +2624,49 @@ 1. version.at:19: testing cpio version ... ./version.at:21: cpio --version | sed 1q -6. symlink-to-stdout.at:23: testing symlink --to-stdout ... -3. symlink.at:22: testing symlink ... 2. inout.at:19: testing basic functionality: copyin/copyout ... -./symlink-to-stdout.at:30: -genfile --file file -ln -s file symlink || exit 77 -cpio --quiet -o < filelist > archive || exit -cpio --quiet --to-stdout -i < archive > output || exit -cmp file output -./symlink.at:29: +3. symlink.at:22: testing symlink ... +./inout.at:32: +while read NAME LENGTH +do + genfile --length $LENGTH > $NAME + echo $NAME +done < filelist > filelist_raw + +for format in bin odc newc crc tar ustar hpbin hpodc +do + cpio --format=$format --quiet -o < filelist_raw > archive.$format + rm -rf output + mkdir output && cd output + cpio -i --quiet < ../archive.$format + + while read file + do + test -f $file || echo "$file not found" + done < ../filelist_raw + + cd .. +done + +============================================================== +WARNING: Not using the proper version, *all* checks dubious... +============================================================== +7. interdir.at:24: testing interdir ... +./interdir.at:31: +umask 022 +mkdir dir +chmod 700 dir +genfile --file dir/file +echo Copying the hierarchy +cpio -pdvm en/to/tre < filelist 2>&1 +echo Results +genfile --stat=name,mode.777 en +genfile --stat=name,mode.777 en/to +genfile --stat=name,mode.777 en/to/tre +genfile --stat=name,mode.777 en/to/tre/dir +genfile --stat=name,mode.777 en/to/tre/dir/file + +1. version.at:19: ./symlink.at:29: genfile --file file ln -s file symlink || exit 77 echo Creating the archive @@ -2608,7 +2677,19 @@ cpio --quiet -i < ../archive find . | sort -4. symlink-bad-length.at:23: testing symlink-bad-length ... + ok +5. symlink-long.at:23: testing symlink-long ... +./symlink-long.at:29: + +# len(dirname) > READBUFSIZE +dirname=xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/ +as_dir=$dirname; as_fn_mkdir_p +ln -s "$dirname" x || exit 77 + +echo x | cpio -o > ar +list=`cpio -tv < ar | sed 's|.*-> ||'` +test "$list" = "$dirname" && echo success || echo fail + 12. setstat05.at:17: testing delayed setstat (umask, copy-pass) ... ./setstat05.at:32: umask 022 @@ -2633,60 +2714,21 @@ cpio -i --quiet < archive genfile --stat=mode.777 dir -============================================================== -WARNING: Not using the proper version, *all* checks dubious... -============================================================== -./inout.at:32: -while read NAME LENGTH -do - genfile --length $LENGTH > $NAME - echo $NAME -done < filelist > filelist_raw - -for format in bin odc newc crc tar ustar hpbin hpodc -do - cpio --format=$format --quiet -o < filelist_raw > archive.$format - rm -rf output - mkdir output && cd output - cpio -i --quiet < ../archive.$format - - while read file - do - test -f $file || echo "$file not found" - done < ../filelist_raw - - cd .. -done - -11. setstat04.at:17: testing delayed setstat (umask) ... -./setstat04.at:32: -umask 022 +6. symlink-to-stdout.at:23: testing symlink --to-stdout ... +9. setstat02.at:17: testing delayed setstat (with -depth) ... +./setstat02.at:30: mkdir dir echo "test file" > dir/file -mkdir newdir +chmod 500 dir + find dir -depth | cpio -o --quiet > archive +# Darwin cannot rename a directory whose permissions disallow writing. +chmod 700 dir mv dir old -umask 077 cpio -id --quiet < archive genfile --stat=mode.777 dir -1. version.at:19: ok -7. interdir.at:24: testing interdir ... -./interdir.at:31: -umask 022 -mkdir dir -chmod 700 dir -genfile --file dir/file -echo Copying the hierarchy -cpio -pdvm en/to/tre < filelist 2>&1 -echo Results -genfile --stat=name,mode.777 en -genfile --stat=name,mode.777 en/to -genfile --stat=name,mode.777 en/to/tre -genfile --stat=name,mode.777 en/to/tre/dir -genfile --stat=name,mode.777 en/to/tre/dir/file - 10. setstat03.at:17: testing delayed setstat (copy-pass) ... ./setstat03.at:31: mkdir dir @@ -2697,6 +2739,7 @@ find dir -depth | cpio -pmaud --quiet newdir genfile --stat=mode.777 newdir/dir +4. symlink-bad-length.at:23: testing symlink-bad-length ... ./symlink-bad-length.at:46: base64 -d ARCHIVE.base64 > ARCHIVE || exit 77 TZ=UTC cpio -ntv < ARCHIVE 2>stderr @@ -2710,52 +2753,46 @@ >&2 echo >&2 STDERR -5. symlink-long.at:23: testing symlink-long ... -./symlink-long.at:29: - -# len(dirname) > READBUFSIZE -dirname=xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx/ -as_dir=$dirname; as_fn_mkdir_p -ln -s "$dirname" x || exit 77 - -echo x | cpio -o > ar -list=`cpio -tv < ar | sed 's|.*-> ||'` -test "$list" = "$dirname" && echo success || echo fail - -9. setstat02.at:17: testing delayed setstat (with -depth) ... -./setstat02.at:30: +./symlink-to-stdout.at:30: +genfile --file file +ln -s file symlink || exit 77 +cpio --quiet -o < filelist > archive || exit +cpio --quiet --to-stdout -i < archive > output || exit +cmp file output +11. setstat04.at:17: testing delayed setstat (umask) ... +./setstat04.at:32: +umask 022 mkdir dir echo "test file" > dir/file -chmod 500 dir - +mkdir newdir find dir -depth | cpio -o --quiet > archive -# Darwin cannot rename a directory whose permissions disallow writing. -chmod 700 dir mv dir old +umask 077 cpio -id --quiet < archive genfile --stat=mode.777 dir -12. setstat05.at:17: ok - -11. setstat04.at:17: ok 6. symlink-to-stdout.at:23: ok -8. setstat01.at:17: ok -5. symlink-long.at:23: ok -10. setstat03.at:17: ok - -7. interdir.at:24: ok -3. symlink.at:22: ok +12. setstat05.at:17: ok +4. symlink-bad-length.at:23: ok +10. setstat03.at:17: ok +8. setstat01.at:17: ok 13. big-block-size.at:17: testing big block size ... ./big-block-size.at:24: echo "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" > file echo file | cpio -o > a cpio -i --block-size=20971520 -F a -4. symlink-bad-length.at:23: ok +5. symlink-long.at:23: ok +3. symlink.at:22: ok + +13. big-block-size.at:17: ok +9. setstat02.at:17: ok +11. setstat04.at:17: ok +7. interdir.at:24: ok 15. CVE-2019-14866.at:17: testing CVE-2019-14866 (tar header size overflow) ... ./CVE-2019-14866.at:18: # Use -s (seek) instead of -l (size) to speed up file creation. @@ -2769,7 +2806,7 @@ exit 77 fi -9. setstat02.at:17: ok + 14. CVE-2015-1197.at:17: testing CVE-2015-1197 (--no-absolute-filenames for symlinks) ... ./CVE-2015-1197.at:18: tempdir=$(pwd)/tmp @@ -2785,13 +2822,8 @@ rm -rf dir $tempdir cpio --no-absolute-filenames -iv < test.cpio +15. CVE-2019-14866.at:17: ok 16. linktime.at:17: testing restoring symlink times ... -17. linktime01.at:17: testing restoring delayed symlink times ... -./linktime01.at:20: mkdir dir -genfile --file dir/file1 -ln -s dir dirlink || exit 77 -genfile -th --date '2 days ago' dirlink || exit 77 - ./linktime.at:28: mkdir dir cd dir genfile --file file @@ -2799,16 +2831,13 @@ genfile -th --date '2 days ago' symlink || exit 77 cd .. -13. big-block-size.at:17: ok -15. CVE-2019-14866.at:17: ok -./linktime.at:37: time_orig=$(genfile -h -Smtime dir/symlink) -rm -f file symlink -cpio -D dir --quiet -o < filelist > arc.cpio -cpio -m --quiet -i < arc.cpio -time=$(genfile -h -Smtime symlink) -test "$time" -eq "$time_orig" - 14. CVE-2015-1197.at:17: ok +17. linktime01.at:17: testing restoring delayed symlink times ... +./linktime01.at:20: mkdir dir +genfile --file dir/file1 +ln -s dir dirlink || exit 77 +genfile -th --date '2 days ago' dirlink || exit 77 + ./linktime01.at:33: time_orig=$(genfile -h -Smtime dirlink) cpio --quiet -o < filelist > arc.cpio mkdir extr @@ -2817,6 +2846,14 @@ time=$(genfile -h -Smtime extr/dirlink) test "$time" -eq "$time_orig" +17. linktime01.at:17: ok +./linktime.at:37: time_orig=$(genfile -h -Smtime dir/symlink) +rm -f file symlink +cpio -D dir --quiet -o < filelist > arc.cpio +cpio -m --quiet -i < arc.cpio +time=$(genfile -h -Smtime symlink) +test "$time" -eq "$time_orig" + ./linktime.at:46: time_orig=$(genfile -h -Smtime dir/symlink) rm -f file symlink cpio -D dir --quiet -o < filelist_rev > arc.cpio @@ -2824,7 +2861,7 @@ time=$(genfile -h -Smtime symlink) test "$time" -eq "$time_orig" -17. linktime01.at:17: ok +2. inout.at:19: ok ./linktime.at:55: time_orig=$(genfile -h -Smtime dir/symlink) rm -f file symlink cpio -D dir -m --quiet -p . < filelist @@ -2832,7 +2869,6 @@ test "$time" -eq "$time_orig" 16. linktime.at:17: ok -2. inout.at:19: ok ## ------------- ## ## Test results. ## @@ -2974,34 +3010,34 @@ dh_perl dh_link dh_strip_nondeterminism - Normalized debian/cpio/usr/share/locale/zh_CN/LC_MESSAGES/cpio.mo - Normalized debian/cpio/usr/share/locale/vi/LC_MESSAGES/cpio.mo - Normalized debian/cpio/usr/share/locale/uk/LC_MESSAGES/cpio.mo - Normalized debian/cpio/usr/share/locale/tr/LC_MESSAGES/cpio.mo - Normalized debian/cpio/usr/share/locale/sv/LC_MESSAGES/cpio.mo - Normalized debian/cpio/usr/share/locale/sr/LC_MESSAGES/cpio.mo - Normalized debian/cpio/usr/share/locale/ru/LC_MESSAGES/cpio.mo - Normalized debian/cpio/usr/share/locale/ro/LC_MESSAGES/cpio.mo - Normalized debian/cpio/usr/share/locale/pt_BR/LC_MESSAGES/cpio.mo - Normalized debian/cpio/usr/share/locale/zh_TW/LC_MESSAGES/cpio.mo - Normalized debian/cpio/usr/share/locale/pt/LC_MESSAGES/cpio.mo - Normalized debian/cpio/usr/share/locale/pl/LC_MESSAGES/cpio.mo - Normalized debian/cpio/usr/share/locale/nl/LC_MESSAGES/cpio.mo Normalized debian/cpio/usr/share/locale/it/LC_MESSAGES/cpio.mo Normalized debian/cpio/usr/share/locale/id/LC_MESSAGES/cpio.mo Normalized debian/cpio/usr/share/locale/hu/LC_MESSAGES/cpio.mo + Normalized debian/cpio/usr/share/locale/zh_CN/LC_MESSAGES/cpio.mo + Normalized debian/cpio/usr/share/locale/vi/LC_MESSAGES/cpio.mo + Normalized debian/cpio/usr/share/locale/uk/LC_MESSAGES/cpio.mo Normalized debian/cpio/usr/share/locale/hr/LC_MESSAGES/cpio.mo Normalized debian/cpio/usr/share/locale/gl/LC_MESSAGES/cpio.mo Normalized debian/cpio/usr/share/locale/ga/LC_MESSAGES/cpio.mo Normalized debian/cpio/usr/share/locale/ko/LC_MESSAGES/cpio.mo Normalized debian/cpio/usr/share/locale/ka/LC_MESSAGES/cpio.mo Normalized debian/cpio/usr/share/locale/ja/LC_MESSAGES/cpio.mo + Normalized debian/cpio/usr/share/locale/zh_TW/LC_MESSAGES/cpio.mo Normalized debian/cpio/usr/share/locale/fr/LC_MESSAGES/cpio.mo Normalized debian/cpio/usr/share/locale/fi/LC_MESSAGES/cpio.mo Normalized debian/cpio/usr/share/locale/es/LC_MESSAGES/cpio.mo + Normalized debian/cpio/usr/share/locale/ru/LC_MESSAGES/cpio.mo + Normalized debian/cpio/usr/share/locale/ro/LC_MESSAGES/cpio.mo + Normalized debian/cpio/usr/share/locale/pt_BR/LC_MESSAGES/cpio.mo + Normalized debian/cpio/usr/share/locale/tr/LC_MESSAGES/cpio.mo + Normalized debian/cpio/usr/share/locale/sv/LC_MESSAGES/cpio.mo + Normalized debian/cpio/usr/share/locale/sr/LC_MESSAGES/cpio.mo Normalized debian/cpio/usr/share/locale/de/LC_MESSAGES/cpio.mo Normalized debian/cpio/usr/share/locale/da/LC_MESSAGES/cpio.mo Normalized debian/cpio/usr/share/locale/bg/LC_MESSAGES/cpio.mo + Normalized debian/cpio/usr/share/locale/pt/LC_MESSAGES/cpio.mo + Normalized debian/cpio/usr/share/locale/pl/LC_MESSAGES/cpio.mo + Normalized debian/cpio/usr/share/locale/nl/LC_MESSAGES/cpio.mo dh_compress dh_fixperms dh_missing @@ -3017,8 +3053,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'cpio' in '../cpio_2.15+dfsg-2_arm64.deb'. dpkg-deb: building package 'cpio-dbgsym' in '../cpio-dbgsym_2.15+dfsg-2_arm64.deb'. +dpkg-deb: building package 'cpio' in '../cpio_2.15+dfsg-2_arm64.deb'. dpkg-genbuildinfo --build=binary -O../cpio_2.15+dfsg-2_arm64.buildinfo dpkg-genchanges --build=binary -O../cpio_2.15+dfsg-2_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -3026,12 +3062,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/12494/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/12494/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/2512506 and its subdirectories -I: Current time: Mon Nov 18 14:10:20 -12 2024 -I: pbuilder-time-stamp: 1731982220 +I: removing directory /srv/workspace/pbuilder/12494 and its subdirectories +I: Current time: Mon Dec 22 22:35:05 +14 2025 +I: pbuilder-time-stamp: 1766392505