XSF Discussion - 2024-01-23


  1. moparisthebest

    singpolyma, I CC'd this to standards but it didn't show up in standards, only council (and I can post to standards because I did a few minutes before to another thread and it showed up) thoughts? :/ https://mail.jabber.org/hyperkitty/list/council@xmpp.org/thread/K6HPH2DPTMMAZY54RD62KEU7HFOICQ6U/

  2. singpolyma

    Did it not get relayed or only missing from archive?

  3. moparisthebest

    neither I think, my client doesn't have it from [Standards] anyway

  4. singpolyma

    Well you're on both lists so that's probably normal

  5. singpolyma

    Maybe a cc processing issue, hmm

  6. deuill

    Hi friends, I'm trying to build XEPs from https://github.com/xsf/xeps into HTML and am running into issues with `xmllint` failing -- is there a specific version of `xmllint` required?

  7. deuill

    Specifically, I'm seeing two separate sets of failures, one which affects most XEPs (it seems): ``` $ make --trace xep-0001.html Makefile:110: update target 'build/xep-0001.html' due to: target does not exist xmllint --nonet --noout --noent --loaddtd --valid "xep-0001.xml" # Check for non-data URIs ! xmllint --nonet --noout --noent --loaddtd --xpath "//img/@src[not(starts-with(., 'data:'))]" xep-0001.xml 2>/dev/null && true make: *** [Makefile:112: build/xep-0001.html] Error 1 ```

  8. deuill

    That final call to `xmllint` fails because it return a zero status code, as there's no `img` tags in XEP-0001 at all. Returning stderr gives me the following warning, which is consistent: "XPath set is empty"

  9. deuill

    However it seems the Makefile has the result inverted, for some reason? I wonder if XMLLint has changed behaviour recently, where a warning will now return a zero status code.

  10. deuill

    I should probably just open a Github issue haha

  11. deuill

    I thought this was gonna be a quick one.

  12. Zash

    Worksforme, Debian 12. If you stash everything (or a clean clone) does it fail the same?

  13. deuill

    https://github.com/xsf/xeps/issues/1316

  14. deuill

    Lemme give it a try

  15. Zash

    I had soume issues at first due to a *ton* of uncommited random files and work and half-built stuff

  16. deuill

    Running on XMLlint 2.12.4 FWIW, I assume Debian is light-years behind

  17. deuill

    But also seems like a major behaviour change to make

  18. deuill

    Same issue on clean clone

  19. deuill

    I mean, based on the Makefile itself, it's clear *why* it's failing, but it's not clear why it *would start to fail* now.

  20. deuill

    Seems that there's at least one additional report: https://github.com/xsf/xeps/pull/1309

  21. deuill

    Issues with XEP-0484 seem to be valid though: https://github.com/xsf/xeps/blob/master/xep-0484.xml#L30-L34

  22. deuill

    I think this wasn't caught by CI since it was pushed straight to `master`