Re: Updating Jansson in Rawhide

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 22, 2024 at 01:34:43PM +0200, Thomas Haller wrote:
> Hi,
> 
> 
> On Tue, 2024-10-22 at 12:06 +0100, Richard W.M. Jones wrote:
> > Jansson (a JSON library) in Rawhide is out of date compared to
> > upstream.  The latest version in Rawhide is jansson-2.13.1-10.fc42
> > and
> > the latest upstream is 2.14 (released 3 years ago).
> > 
> > I am planning to update this assuming no objections.  But the update
> > isn't completely straightforward as they introduced symbol versioning
> > upstream and I suspect this will break any existing users.
> 
> are you sure about this?
> 
> I think introducing symbol versioning to a library is backward
> compatible and does not require relinking.

I'm not sure, no.  However I think rebuilding the dependencies in a
side tag has another beneficial effect of revealing any changes or
incompatibilities in Jansson 2.14.

Rich.

> > 
> > [But also, the reason I want to update is _because_ of symbol
> > versioning.  We are modifying libguestfs to change from Jansson to
> > json-c, but they share a common symbol (json_object_get) and without
> > symbol versioning, if you mix programs using the two libraries it can
> > (always? randomly?) call the wrong function.  I think with both
> > libraries using symbol versioning this cannot happen.]
> 
> glib-json also has conflicting symbols with libjansson. Symbol
> versioning is long overdue. Thank you for working on this.
> 
> > 
> > I think the list of packages that need to be rebuilt is:
> > 
> > $ dnf repoquery --qf '%{NAME}' '--disablerepo=*' '--enablerepo=*-
> > source' --arch=src --whatrequires jansson-devel | sort -u
> > 
> > asterisk
> > binutils
> > certmonger
> > cjose
> > cptutils
> > ctags
> > cyrus-imapd
> > dmlite
> > emacs
> > freeipa
> > guestfs-tools
> > HandBrake
> > jose
> > libgamerzilla
> > libguestfs
> > libjwt
> > libnftnl
> > libteam
> > mod_auth_openidc
> > mod_md
> > mtr
> > NetworkManager
> > network-manager-applet
> > nftables
> > obs-studio
> > obs-studio-freeworld
> > opendnssec
> > plotnetcfg
> > proxmark3
> > rng-tools
> > samba
> > sssd
> > suricata
> > unrealircd
> > uwsgi
> > vdr-epg2vdr
> > vdr-epg-daemon
> > vdr-osd2web
> > vdr-tvscraper
> > vdr-weatherforecast
> > virt-v2v
> > yara
> > 
> > Some big hitters in there like binutils, emacs & samba.
> > 
> > I will attempt this in a side tag.
> > 
> > Let me know if any problems or objections here.
> > 
> > Rich.
> > 
> > -- 
> > Richard Jones, Virtualization Group, Red Hat
> > http://people.redhat.com/~rjones
> > Read my programming and virtualization blog:
> > http://rwmj.wordpress.com
> > Fedora Windows cross-compiler. Compile Windows programs, test, and
> > build Windows installers. Over 100 libraries supported.
> > http://fedoraproject.org/wiki/MinGW
> > 
> 



> -- 
> _______________________________________________
> devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
> Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue


-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html

-- 
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux