Tiny Core Base > Corepure64
xfsprogs is very old
ajschorr:
Hi, I'm using Core Pure 64 for system rescue. My server wedged a few weeks ago,
and I had to hard power cycle it, and an XFS filesystem got corrupted. I thought
I could boot into Tinycore to run xfs_repair, but it seems that the version in Tinycore
is way too old. Inside Tinycore 15.0, I'm seeing xfsprogs 4.5.0, whereas in RHEL 9,
xfsprogs is at version 6.4.0. Is there any way of getting Tinycore xfsprogs brought
up to date? 4.5.0 seems very stale. Am I doing something wrong?
Thanks,
Andy
Juanito:
I won’t be able to update the extension before 7-10 days, if you need it before then you could try building it yourself?
ajschorr:
Hi, thanks for responding. It is not super urgent, but I did think of trying to build a newer version
myself. The problem is that I don't have the slightest idea how to do this. Is there a wiki page
that explains the process? I'd be happy to give it a shot.
Thanks,
Andy
Rich:
Hi ajschorr
These are the most recent build notes for x86_64:
http://tinycorelinux.net/8.x/x86_64/tcz/src/xfsprogs
The build notes here are more recent and more detailed:
http://tinycorelinux.net/13.x/aarch64/tcz/src/xfsprogs
They are for 64 bit ARM, so you need to change CFLAGS
and CXXFLAGS to something like this:
--- Code: ---CFLAGS='-mtune=generic -Os -pipe -flto -fuse-linker-plugin -fno-exceptions'
CXXFLAGS='-mtune=generic -Os -pipe -flto -fuse-linker-plugin -fno-exceptions -fno-rtti'
--- End code ---
You also need to load the dependencies:
--- Code: ---tce-load -wil compiletc docbook-xsl gettext gzip llvm-bin
--- End code ---
inih-dev doesn't exist in Tinycore 15 x86_64.
urcu-dev doesn't exist either, but userspace-rcu-dev might suffice.
It's possible you might not need those 2 if you skip running:
--- Code: ---make DESTDIR=/tmp/packing-xfsprogs-dev install-dev
--- End code ---
ajschorr:
Hi, thanks. I'm trying to build in tinycore 15.0 running inside
qemu-kvm, and clearly I'm pretty clueless about this process. I did the
following:
tce-load -wil compiletc docbook-xsl gettext gzip llvm-bin
That mostly worked, but for this error:
Downloading: docbook-xsl.tcz
Connecting to repo.tinycorelinux.net (128.127.66.77:80)
wget: server returned error: HTTP/1.1 404 Not Found
md5sum: docbook-xsl.tcz.md5.txt: No such file or directory
Error on docbook-xsl.tcz
I then set CFLAGS & CXXFLAGS as per your suggestion:
CFLAGS='-mtune=generic -Os -pipe -flto -fuse-linker-plugin -fno-exceptions'
CXXFLAGS='-mtune=generic -Os -pipe -flto -fuse-linker-plugin -fno-exceptions -fno-rtti'
export CFLAGS CXXFLAGS
And I threw in LDFLAGS from the ARM example:
LDFLAGS='-Wl,-O1'
export LDFLAGS
But configure is crapping out:
checking for msgfmt... /usr/local/bin/msgfmt
checking for msgmerge... /usr/local/bin/msgmerge
checking for xgettext... /usr/local/bin/xgettext
checking for rpm... /bin/rpm
/bin/rpm: invalid option -- '-'
BusyBox v1.36.1 (2024-01-28 10:23:59 UTC) multi-call binary.
Usage: rpm -i PACKAGE.rpm; rpm -qp[ildc] PACKAGE.rpm
Manipulate RPM packages
Commands:
-i Install package
-qp Query package
-qpi Show information
-qpl List contents
-qpd List documents
-qpc List config files
./configure: line 15534: test: -ge: unary operator expected
checking for ini.h... no
FATAL ERROR: could not find a valid ini.h header.
Install the libinih development package.
Which seems to get back to the lack of inih-devel.
I tried this as well:
tce-load -wil rpm
That fixed the rpm complaint, but configure still craps out with:
checking for rpm... /usr/local/bin/rpm
checking for rpmbuild... /usr/local/bin/rpmbuild
checking for ini.h... no
FATAL ERROR: could not find a valid ini.h header.
Install the libinih development package.
Any pointers on how it might be possible to move forward? Do I need
to attempt to build that package as a prerequisite?
Thanks,
Andy
Navigation
[0] Message Index
[#] Next page
Go to full version