After current update I see:
| configure.ac:51: error: undefined or overquoted macro: AC_DEFINE
| If this token and others are legitimate, please use m4_pattern_allow.
| See the Autoconf documentation.
inherit pkgconfig to resolve dependency issues leading to this
This uncovered a missing dependency on blkid:
| checking pkg-config is at least version 0.9.0... yes
| checking for blkid >= 2.20... no
| checking for blkid... no
| configure: error: Package requirements (blkid) were not met:
|
| Package 'blkid' not found
|
| Consider adjusting the PKG_CONFIG_PATH environment variable if you
| installed software in a non-standard prefix.
|
| Alternatively, you may set the environment variables EXT2_BLKID_CFLAGS
| and EXT2_BLKID_LIBS to avoid the need to call pkg-config.
Add util-linux dependency
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
It takes about a second to execute the suite.
Sample output (the "ERRORs" are coming from negative tests):
root@qemux86-64:~# ptest-runner
START: ptest-runner
2025-12-26T20:19
BEGIN: /usr/lib/exfatprogs/ptest
Running ./bad_file_size
-----------------------------------
exfatprogs version : 1.2.6
ERROR: /dir_01/bad_child_01: less clusters are allocated. truncates to 8192 bytes at 0x206060. Truncate (y/N)? y
ERROR: /dir_02/bad_child_02: more clusters are allocated. truncate to 8192 bytes at 0x209060. Truncate (y/N)? y
exfat.img: clean. directories 3, files 9
exfat.img: files corrupted 0, files fixed 1
exfatprogs version : 1.2.6
exfat.img: clean. directories 4, files 10
PASS: ./bad_file_size
[...many lines...]
PASS: ./bad_num_chain
Running ./loop_chain
-----------------------------------
exfatprogs version : 1.2.6
ERROR: /dir_01/bad_child_01: more clusters are allocated. truncate to 16384 bytes at 0x206060. Truncate (y/N)? y
ERROR: /dir_02/bad_child_02: cluster is already allocated for the other file. truncated to 8192 bytes at 0x209060. Truncate (y/N)? y
exfat.img: clean. directories 3, files 9
exfat.img: files corrupted 0, files fixed 1
exfatprogs version : 1.2.6
exfat.img: clean. directories 4, files 10
PASS: ./loop_chain
PASS: 17 of 17
DURATION: 1
END: /usr/lib/exfatprogs/ptest
2025-12-26T20:21
STOP: ptest-runner
TOTAL: 1 FAIL: 0
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
CHANGES :
* exfatprogs: replace obsolete autoconf and libtool
macros.
* mkfs.exfat: prefer the physical block size over
the logical block size for the exFAT sector size.
* mkfs.exfat: add notes about the format of the volume
GUID to the man page.
* mkfs.exfat: fix an incorrect calculation of the number
of used clusters.
BUG FIXES :
* exfatlabel: fix an user input error when setting
a volume serial or label.
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>