Spec URL: https://sgallagh.fedorapeople.org/packagereview/libicu64/libicu64.spec SRPM URL: https://sgallagh.fedorapeople.org/packagereview/libicu64/libicu64-64.2-0.fc32.1.src.rpm Description: ICU Library version 64 Fedora Account System Username: sgallagh
Needed to have i18n support in Node.js 12.x
Scratch build at https://koji.fedoraproject.org/koji/taskinfo?taskID=38650383 is failing on s390x (big endian problems, it seems). I'll see if I can debug that. It's building fine on little-endian platforms.
Spec URL: https://sgallagh.fedorapeople.org/packagereview/libicu64/libicu64.spec SRPM URL: https://sgallagh.fedorapeople.org/packagereview/libicu64/libicu64-64.2-0.fc32.2.src.rpm Scratch Build: https://koji.fedoraproject.org/koji/taskinfo?taskID=38661704 Turns out that it wasn't an endianness issue. The s390x build for some reason didn't create a source/data/out directory before trying to write files into it. I couldn't figure out the origin of the problem in the complicated Makefile environment, so I just pre-created the missing directories in the specfile to work around it. Seems to be building successfully now.
BuildRequires: python2 :scream:
(In reply to Miro Hrončok from comment #4) > BuildRequires: python2 > > :scream: Oops, I actually didn't notice that. I copied the spec originally from https://src.fedoraproject.org/rpms/compat-libicu62/blob/f30/f/compat-libicu62.spec and didn't notice the python2 BR. I'm checking to see whether it's actually required or if it can work with py3 right now.
Spec URL: https://sgallagh.fedorapeople.org/packagereview/libicu64/libicu64.spec SRPM URL: https://sgallagh.fedorapeople.org/packagereview/libicu64/libicu64-64.2-0.fc32.3.src.rpm OK, good news. It does not in fact actually need Python 2. The build tools work with python3 just fine.
Thanks!
Hi Stephen, Does nodejs need exactly libicu 64, or does it work with newer libicu 65 that just landed in rawhide? If it needs exactly libicu 64, maybe a better solution would be to bundle it in nodejs? Thanks, Pete
(In reply to Pete Walter from comment #8) > Hi Stephen, > > Does nodejs need exactly libicu 64, or does it work with newer libicu 65 > that just landed in rawhide? > > If it needs exactly libicu 64, maybe a better solution would be to bundle it > in nodejs? > > Thanks, > Pete It might work with libicu 65, but I still need to have i18n support for F30 and F31, so I'd still like to carry this package on at least those releases.
OK, but can you bundle libicu 64 in nodejs and install it to a private dir under /usr/lib64 that is only available for nodejs? This seems like a perfect opportunity for bundling. I'd rather not have two libicu versions available in Fedora that packages can link to (there is no symbol versioning in libicu so you can't load two different versions at runtime into the same process afaik). Adding Eike to CC as well.
I *can* bundle it privately (fairly easily, in fact; the Node.js build-system can statically link it in). However, libicu is *large*. I figured it made more sense to provide the compat library on the system in case there are any other packages out there that need something newer that 62 to run and were therefore unavailable on Fedora. Having each package that needs it bundle an extra 70MiB of unicode data seems pretty excessive.
Right, but that's exactly what I want to avoid -- I do not want to provide another version of libicu for other packages to link against as that can lead to symbol conflicts. Please just do the private bundling here.
Abandoning this package.