Closed ghost closed 6 years ago
Can you disassemble your libparted, please (objdump -D) and look for providing of ped_assert()
? My guess is that it is compiled without DEBUG defined and this way it doesn't provide the required function.
At SUSE we compile the PED_ASSERTs. Parted is not a tool where performance matters. It rather matters not to corrupt data. Because of the tight dependencies we compile fatresize within the parted package.
Effectively, in ArchLinux libparted (part of parted) it is compiled without the DEBUG option.
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--sbindir=/usr/bin \
--disable-debug \
--disable-rpath
make
}
One solution would be to create a PKBUILD in the AUR repository to install libparted with this option enabled. This I have not tried yet.
But the funny thing that with version 1.0.3 of fatresize we managed to compile it without problems, and gparted did not have the option DEBUG active in its compilation.
I have solved it by creating a new version of libparted: https://aur.archlinux.org/packages/libparted/
Now fatresize 1.0.4 compiles without problems. https://aur.archlinux.org/packages/fatresize/
Thanks for the contribution.
I'm an ArchLinux user, when I try to compile version 1.0.4 the compilation process is interrupted with the following error:
Any idea or suggestion? Thanks