So, I've been having some major issues trying to migrate from CentOS 7
to either AlmaLinux 8, Rocky Linux 8, or even more preferred at this stage, Debian 11, with trying to get the Husky Tools project to even compile, let alone compile into preferred native packages for these distributions.
I've tried the method of init_rpm_build on AlmaLinux/Rocky Linux, and
even openSUSE 15.3 (to no availability of mock at all) and it always fails, specifically on systemd-nspawn part of mock.
The debian/* structure is so outdated it's not even funny.
debian/compat is non-existant, and setup as DH_COMPAT in debian/rules,
to a long since unsupported version 4, to make things difficult on Debian's side of things.
I'm trying to ultimately move away from CentOS 7 before it becomes unsupported in 2024. I'm prefering the Debian way of things, even
though for decades, I've never liked the .deb package format, but I
have always appreciated the rest of the setup for servers, the modular design it's always had. And I finally FINALLY figured out how to
create a debian repository. ;)
Hello Eric,
Saturday February 12 2022, Eric Renfro wrote to All:
So, I've been having some major issues trying to migrate from CentOS
7 to either AlmaLinux 8, Rocky Linux 8, or even more preferred at
this stage, Debian 11, with trying to get the Husky Tools project to
even compile, let alone compile into preferred native packages for
these distributions.
I've tried the method of init_rpm_build on AlmaLinux/Rocky Linux,
and even openSUSE 15.3 (to no availability of mock at all) and it
always fails, specifically on systemd-nspawn part of mock.
Please send me your huskymak.cfg and build log on Rocky Linux to my email in the tagline.
So, I've been having some major issues trying to migrate from
CentOS 7 to either AlmaLinux 8, Rocky Linux 8
Building target platforms: x86_64
Building for target x86_64
error: Macro %huskylib_ver_major has empty body
error: line 33: %global huskylib_ver_major
On that note, I've actually been trying the init_build and build.sh scripts, and those, on Debian 11, actually are working, when
everything is installed that's needed.
Hello Eric,
Saturday February 12 2022, Eric Renfro wrote to Michael Dukelsky:
So, I've been having some major issues trying to migrate from
CentOS 7 to either AlmaLinux 8, Rocky Linux 8
Building target platforms: x86_64
Building for target x86_64
error: Macro %huskylib_ver_major has empty body
error: line 33: %global huskylib_ver_major
Fixed.
And indeed, it was in the spec_configure. As I was trying to rpm-build manually I'd noticed this. Next up, is with msged specifically being unable to find libhusky.so, and this is with DYNLIBS=0, though I'd
prefer packaged, to use DYNLIBS=1.
Yes, actually! In this that list seems complete enough at first look.
The CentOS one was actually more trialing because texinfo is not in base/core, not in epel, but in powertools repo in AlmaLinux 8 and RockyLinux 8, and in completely different repo that you have to, of course, Subscribe to in RHEL 8 actual (I don't use RHEL, just saying.
;)
Hello Eric,
Sunday February 13 2022, Eric Renfro wrote to Michael Dukelsky:
And indeed, it was in the spec_configure. As I was trying to
rpm-build manually I'd noticed this. Next up, is with msged
specifically being unable to find libhusky.so, and this is with
DYNLIBS=0, though I'd prefer packaged, to use DYNLIBS=1.
Sorry, I don't understand. Do you encounter this issue now? On what OS? I don't see it on CentOS 7, Rocky Linux 8 and Fedora 34.
on a clean system it fails to build msged because it somehow
cannot find libhusky.so.1.9.20220208 specifically during the linker process of building.
on a clean system it fails to build msged because it somehow
cannot find libhusky.so.1.9.20220208 specifically during the linker
process of building.
Fixed.
on a clean system it fails to build msged because it somehow
cannot find libhusky.so.1.9.20220208 specifically during the
linker process of building.
Fixed.
I am still seeing it. It's in the %install portion of the spec when
it's preparing installation.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 368 |
Nodes: | 16 (2 / 14) |
Uptime: | 86:55:55 |
Calls: | 7,895 |
Calls today: | 1 |
Files: | 12,968 |
Messages: | 5,792,152 |