Skip to content

Commit 547494f

Browse files
committed
Record e2fsprogs (1.47.1~rc1-1) in archive suite sid
2 parents 3fb3d18 + cd93ab6 commit 547494f

File tree

236 files changed

+15309
-3373
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

236 files changed

+15309
-3373
lines changed

.github/workflows/ci.yml

Lines changed: 82 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,22 @@ jobs:
88
name: Build and test with gcc
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v4
1212
- run: ./configure CC=gcc CFLAGS="$DEF_CFLAGS"
1313
- run: make -j8 check V=1 CFLAGS_WARN="-Werror"
1414
- run: make -j8 install V=1 DESTDIR=$PWD/installdir
1515
- run: make -j8 uninstall V=1 DESTDIR=$PWD/installdir
16+
- if: failure()
17+
uses: actions/upload-artifact@v4
18+
with:
19+
name: gcc-test-fail-logs
20+
path: tests/*.failed
1621

1722
clang-build-and-test:
1823
name: Build and test with clang
1924
runs-on: ubuntu-latest
2025
steps:
21-
- uses: actions/checkout@v3
26+
- uses: actions/checkout@v4
2227
- name: Install dependencies
2328
run: |
2429
sudo apt-get update
@@ -27,12 +32,21 @@ jobs:
2732
- run: make -j8 check V=1 CFLAGS_WARN="-Werror"
2833
- run: make -j8 install V=1 DESTDIR=$PWD/installdir
2934
- run: make -j8 uninstall V=1 DESTDIR=$PWD/installdir
35+
- uses: actions/upload-artifact@v4
36+
with:
37+
name: ubuntu-config.h
38+
path: lib/config.h
39+
- if: failure()
40+
uses: actions/upload-artifact@v4
41+
with:
42+
name: clang-test-fail-logs
43+
path: tests/*.failed
3044

3145
i386-build-and-test:
3246
name: Build and test with gcc -m32
3347
runs-on: ubuntu-latest
3448
steps:
35-
- uses: actions/checkout@v3
49+
- uses: actions/checkout@v4
3650
- name: Install dependencies
3751
run: |
3852
sudo apt-get update
@@ -41,44 +55,68 @@ jobs:
4155
- run: make -j8 check V=1 CFLAGS_WARN="-Werror"
4256
- run: make -j8 install V=1 DESTDIR=$PWD/installdir
4357
- run: make -j8 uninstall V=1 DESTDIR=$PWD/installdir
58+
- if: failure()
59+
uses: actions/upload-artifact@v4
60+
with:
61+
name: i386-test-fail-logs
62+
path: tests/*.failed
4463

4564
asan-build-and-test:
4665
name: Build and test with ASAN enabled
4766
runs-on: ubuntu-latest
4867
steps:
49-
- uses: actions/checkout@v3
68+
- uses: actions/checkout@v4
5069
- name: Install dependencies
5170
run: |
5271
sudo apt-get update
5372
sudo apt-get install -y clang
5473
- run: echo "ASAN_CFLAGS=$DEF_CFLAGS -fsanitize=address -fno-sanitize-recover=address" >> $GITHUB_ENV
5574
- run: ./configure CC=clang CFLAGS="$ASAN_CFLAGS" LDFLAGS="$ASAN_CFLAGS"
5675
- run: make -j8 check V=1 CFLAGS_WARN="-Werror"
76+
- if: failure()
77+
uses: actions/upload-artifact@v4
78+
with:
79+
name: asan-test-fail-logs
80+
path: tests/*.failed
5781

5882
ubsan-build-and-test:
5983
name: Build and test with UBSAN enabled
6084
runs-on: ubuntu-latest
6185
steps:
62-
- uses: actions/checkout@v3
86+
- uses: actions/checkout@v4
6387
- name: Install dependencies
6488
run: |
6589
sudo apt-get update
6690
sudo apt-get install -y clang
6791
- run: echo "UBSAN_CFLAGS=$DEF_CFLAGS -fsanitize=undefined -fno-sanitize-recover=undefined" >> $GITHUB_ENV
6892
- run: ./configure CC=clang CFLAGS="$UBSAN_CFLAGS" LDFLAGS="$UBSAN_CFLAGS"
6993
- run: make -j8 check V=1 CFLAGS_WARN="-Werror"
94+
- if: failure()
95+
uses: actions/upload-artifact@v4
96+
with:
97+
name: ubsan-test-fail-logs
98+
path: tests/*.failed
7099

71100
macos-build-and-test:
72101
name: Build and test on macOS
73102
runs-on: macos-latest
74103
steps:
75-
- uses: actions/checkout@v3
104+
- uses: actions/checkout@v4
76105
- run: ./configure CFLAGS="$DEF_CFLAGS"
77106
# -Wno-error=deprecated-declarations is needed to suppress known warnings
78107
# due to e2fsprogs' use of sbrk(0) and daemon().
79108
- run: make -j8 check V=1 CFLAGS_WARN="-Werror -Wno-error=deprecated-declarations"
109+
- if: failure()
110+
uses: actions/upload-artifact@v4
111+
with:
112+
name: macos-test-fail-logs
113+
path: tests/*.failed
80114
- run: make -j8 install DESTDIR=$PWD/installdir
81115
- run: make -j8 uninstall DESTDIR=$PWD/installdir
116+
- uses: actions/upload-artifact@v4
117+
with:
118+
name: macOS-config.h
119+
path: lib/config.h
82120

83121
windows-msys2-build:
84122
name: Build mke2fs on Windows with ${{matrix.sys}}
@@ -92,7 +130,7 @@ jobs:
92130
run:
93131
shell: msys2 {0}
94132
steps:
95-
- uses: actions/checkout@v3
133+
- uses: actions/checkout@v4
96134
- uses: msys2/setup-msys2@v2
97135
with:
98136
msystem: ${{matrix.sys}}
@@ -112,5 +150,41 @@ jobs:
112150
- run: make -j8 -C lib/support/ all V=1 CFLAGS_WARN="-Werror"
113151
- run: make -j8 -C lib/e2p/ all V=1 CFLAGS_WARN="-Werror"
114152
- run: make -j8 -C misc/ mke2fs V=1 CFLAGS_WARN="-Werror"
115-
- run: touch image.ext4
116153
- run: misc/mke2fs.exe -T ext4 image.ext4 128M
154+
- uses: actions/upload-artifact@v4
155+
with:
156+
name: windows-${{matrix.env}}-config.h
157+
path: lib/config.h
158+
159+
# Jobs that cross-compile e2fsprogs for Android using the Android NDK. Note
160+
# that these use the autotools-based build system, which makes them a bit
161+
# different from the actual Android builds from the Android source tree.
162+
cross-compile-for-android:
163+
name: Cross-compile for Android (${{matrix.arch}})
164+
strategy:
165+
matrix:
166+
include:
167+
- { arch: aarch64, target: aarch64-linux-android }
168+
- { arch: armv7a, target: armv7a-linux-androideabi }
169+
- { arch: i686, target: i686-linux-android }
170+
- { arch: x86_64, target: x86_64-linux-android }
171+
runs-on: ubuntu-latest
172+
steps:
173+
- uses: actions/checkout@v4
174+
# See https://developer.android.com/ndk/guides/other_build_systems#autoconf
175+
- name: configure
176+
run: |
177+
TOOLCHAIN=$ANDROID_NDK_LATEST_HOME/toolchains/llvm/prebuilt/linux-x86_64
178+
API_LEVEL=29 # Android 10
179+
export AR=$TOOLCHAIN/bin/llvm-ar
180+
export CC=$TOOLCHAIN/bin/${{matrix.target}}${API_LEVEL}-clang
181+
export AS=$CC
182+
export LD=$TOOLCHAIN/bin/ld
183+
export RANLIB=$TOOLCHAIN/bin/llvm-ranlib
184+
export STRIP=$TOOLCHAIN/bin/llvm-strip
185+
./configure --host=${{matrix.target}} CFLAGS="$DEF_CFLAGS"
186+
- run: make -j8 V=1 CFLAGS_WARN="-Werror"
187+
- uses: actions/upload-artifact@v4
188+
with:
189+
name: android-${{matrix.arch}}-config.h
190+
path: lib/config.h

MCONFIG.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ man8dir = $(mandir)/man8
3434
infodir = @infodir@
3535
datadir = @datadir@
3636
pkgconfigdir = $(libdir)/pkgconfig
37-
pkglibdir = $(libdir)/e2fsprogs
37+
pkglibexecdir = @libexecdir@/e2fsprogs
3838

3939
HAVE_UDEV = @have_udev@
4040
UDEV_RULES_DIR = @pkg_udev_rules_dir@
@@ -141,6 +141,7 @@ LIBFUSE = @FUSE_LIB@
141141
LIBSUPPORT = $(LIBINTL) $(LIB)/libsupport@STATIC_LIB_EXT@
142142
LIBBLKID = @LIBBLKID@ @PRIVATE_LIBS_CMT@ $(LIBUUID)
143143
LIBINTL = @LIBINTL@
144+
LIBARCHIVE = @ARCHIVE_LIB@
144145
SYSLIBS = @LIBS@ @PTHREAD_LIBS@
145146
DEPLIBSS = $(LIB)/libss@LIB_EXT@
146147
DEPLIBCOM_ERR = $(LIB)/libcom_err@LIB_EXT@

README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
This is the new version (1.47.0) of the second extended file
1+
This is the new version (1.47.1) of the second extended file
22
system management programs.
33

44
From time to time, I release new versions of e2fsprogs, to fix

config/config.guess

Lines changed: 50 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#! /bin/sh
22
# Attempt to guess a canonical system name.
3-
# Copyright 1992-2023 Free Software Foundation, Inc.
3+
# Copyright 1992-2024 Free Software Foundation, Inc.
44

55
# shellcheck disable=SC2006,SC2268 # see below for rationale
66

7-
timestamp='2023-01-01'
7+
timestamp='2024-01-01'
88

99
# This file is free software; you can redistribute it and/or modify it
1010
# under the terms of the GNU General Public License as published by
@@ -47,7 +47,7 @@ me=`echo "$0" | sed -e 's,.*/,,'`
4747
usage="\
4848
Usage: $0 [OPTION]
4949
50-
Output the configuration name of the system \`$me' is run on.
50+
Output the configuration name of the system '$me' is run on.
5151
5252
Options:
5353
-h, --help print this help, then exit
@@ -60,13 +60,13 @@ version="\
6060
GNU config.guess ($timestamp)
6161
6262
Originally written by Per Bothner.
63-
Copyright 1992-2023 Free Software Foundation, Inc.
63+
Copyright 1992-2024 Free Software Foundation, Inc.
6464
6565
This is free software; see the source for copying conditions. There is NO
6666
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
6767

6868
help="
69-
Try \`$me --help' for more information."
69+
Try '$me --help' for more information."
7070

7171
# Parse command line
7272
while test $# -gt 0 ; do
@@ -102,8 +102,8 @@ GUESS=
102102
# temporary files to be created and, as you can see below, it is a
103103
# headache to deal with in a portable fashion.
104104

105-
# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
106-
# use `HOST_CC' if defined, but it is deprecated.
105+
# Historically, 'CC_FOR_BUILD' used to be named 'HOST_CC'. We still
106+
# use 'HOST_CC' if defined, but it is deprecated.
107107

108108
# Portable tmp directory creation inspired by the Autoconf team.
109109

@@ -155,20 +155,26 @@ Linux|GNU|GNU/*)
155155

156156
set_cc_for_build
157157
cat <<-EOF > "$dummy.c"
158+
#if defined(__ANDROID__)
159+
LIBC=android
160+
#else
158161
#include <features.h>
159162
#if defined(__UCLIBC__)
160163
LIBC=uclibc
161164
#elif defined(__dietlibc__)
162165
LIBC=dietlibc
163166
#elif defined(__GLIBC__)
164167
LIBC=gnu
168+
#elif defined(__LLVM_LIBC__)
169+
LIBC=llvm
165170
#else
166171
#include <stdarg.h>
167172
/* First heuristic to detect musl libc. */
168173
#ifdef __DEFINED_va_list
169174
LIBC=musl
170175
#endif
171176
#endif
177+
#endif
172178
EOF
173179
cc_set_libc=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
174180
eval "$cc_set_libc"
@@ -459,7 +465,7 @@ case $UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION in
459465
UNAME_RELEASE=`uname -v`
460466
;;
461467
esac
462-
# Japanese Language versions have a version number like `4.1.3-JL'.
468+
# Japanese Language versions have a version number like '4.1.3-JL'.
463469
SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/-/_/'`
464470
GUESS=sparc-sun-sunos$SUN_REL
465471
;;
@@ -904,7 +910,7 @@ EOF
904910
fi
905911
;;
906912
*:FreeBSD:*:*)
907-
UNAME_PROCESSOR=`/usr/bin/uname -p`
913+
UNAME_PROCESSOR=`uname -p`
908914
case $UNAME_PROCESSOR in
909915
amd64)
910916
UNAME_PROCESSOR=x86_64 ;;
@@ -976,7 +982,27 @@ EOF
976982
GUESS=$UNAME_MACHINE-unknown-minix
977983
;;
978984
aarch64:Linux:*:*)
979-
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
985+
set_cc_for_build
986+
CPU=$UNAME_MACHINE
987+
LIBCABI=$LIBC
988+
if test "$CC_FOR_BUILD" != no_compiler_found; then
989+
ABI=64
990+
sed 's/^ //' << EOF > "$dummy.c"
991+
#ifdef __ARM_EABI__
992+
#ifdef __ARM_PCS_VFP
993+
ABI=eabihf
994+
#else
995+
ABI=eabi
996+
#endif
997+
#endif
998+
EOF
999+
cc_set_abi=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^ABI' | sed 's, ,,g'`
1000+
eval "$cc_set_abi"
1001+
case $ABI in
1002+
eabi | eabihf) CPU=armv8l; LIBCABI=$LIBC$ABI ;;
1003+
esac
1004+
fi
1005+
GUESS=$CPU-unknown-linux-$LIBCABI
9801006
;;
9811007
aarch64_be:Linux:*:*)
9821008
UNAME_MACHINE=aarch64_be
@@ -1042,6 +1068,15 @@ EOF
10421068
k1om:Linux:*:*)
10431069
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
10441070
;;
1071+
kvx:Linux:*:*)
1072+
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1073+
;;
1074+
kvx:cos:*:*)
1075+
GUESS=$UNAME_MACHINE-unknown-cos
1076+
;;
1077+
kvx:mbr:*:*)
1078+
GUESS=$UNAME_MACHINE-unknown-mbr
1079+
;;
10451080
loongarch32:Linux:*:* | loongarch64:Linux:*:*)
10461081
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
10471082
;;
@@ -1197,7 +1232,7 @@ EOF
11971232
GUESS=$UNAME_MACHINE-pc-sysv4.2uw$UNAME_VERSION
11981233
;;
11991234
i*86:OS/2:*:*)
1200-
# If we were able to find `uname', then EMX Unix compatibility
1235+
# If we were able to find 'uname', then EMX Unix compatibility
12011236
# is probably installed.
12021237
GUESS=$UNAME_MACHINE-pc-os2-emx
12031238
;;
@@ -1338,7 +1373,7 @@ EOF
13381373
GUESS=ns32k-sni-sysv
13391374
fi
13401375
;;
1341-
PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
1376+
PENTIUM:*:4.0*:*) # Unisys 'ClearPath HMP IX 4000' SVR4/MP effort
13421377
# says <Richard.M.Bartel@ccMail.Census.GOV>
13431378
GUESS=i586-unisys-sysv4
13441379
;;
@@ -1560,6 +1595,9 @@ EOF
15601595
*:Unleashed:*:*)
15611596
GUESS=$UNAME_MACHINE-unknown-unleashed$UNAME_RELEASE
15621597
;;
1598+
*:Ironclad:*:*)
1599+
GUESS=$UNAME_MACHINE-unknown-ironclad
1600+
;;
15631601
esac
15641602

15651603
# Do we have a guess based on uname results?

0 commit comments

Comments
 (0)