GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Peter Tribble (ptribble@mastodon.social)'s status on Sunday, 23-Jun-2024 01:11:05 JST Peter Tribble Peter Tribble

    I've been bothered a while by an annoying bug in Tribblix - Python applications couldn't open https connections in non-blocking mode. Which hindered access to S3 and Backblaze, for example.

    Finally worked it out yesterday. Openssl needed to be built with -D_REENTRANT in order to enable per-thread errno so it catches failures and handles them correctly. That ought to have been the case anyway, but something was dropping it, so I needed to be explicit.

    #tribblix

    In conversation Sunday, 23-Jun-2024 01:11:05 JST from mastodon.social permalink
    • Haelwenn /элвэн/ :triskell: likes this.
    • Embed this notice
      Alan Coopersmith (alanc@fosstodon.org)'s status on Sunday, 23-Jun-2024 01:19:10 JST Alan Coopersmith Alan Coopersmith
      in reply to
      • Jonathan Perkin

      @jperkin @ptribble yeah, you have to define __EXTENSIONS__ if you define _XOPEN_SOURCE to avoid breaking everything that depends on some function outside what the specified standard included. The change in the 11.4 headers to make the default the latest standard without specifying _XOPEN_SOURCE avoided that pitfall.

      In conversation Sunday, 23-Jun-2024 01:19:10 JST permalink
      Haelwenn /элвэн/ :triskell: likes this.
    • Embed this notice
      Alan Coopersmith (alanc@fosstodon.org)'s status on Sunday, 23-Jun-2024 01:19:11 JST Alan Coopersmith Alan Coopersmith
      in reply to
      • Jonathan Perkin

      @jperkin @ptribble fortunately, Solaris 11.4 has made both _REENTRANT & _XOPEN_SOURCE=700 the default, so you don't need to define them any more, given all the pain caused on older OS versions.

      In conversation Sunday, 23-Jun-2024 01:19:11 JST permalink
    • Embed this notice
      Jonathan Perkin (jperkin@federate.me.uk)'s status on Sunday, 23-Jun-2024 01:19:11 JST Jonathan Perkin Jonathan Perkin
      in reply to
      • Alan Coopersmith

      @alanc @ptribble unfortunately defining _XOPEN_SOURCE by default breaks a lot of third-party software, or at least did last time I tried it.

      I should probably do an updated bulk build to see what the current state is, I imagine it's better since we removed the strict feature_tests.h nonsense.

      In conversation Sunday, 23-Jun-2024 01:19:11 JST permalink
    • Embed this notice
      Jonathan Perkin (jperkin@federate.me.uk)'s status on Sunday, 23-Jun-2024 01:19:13 JST Jonathan Perkin Jonathan Perkin
      in reply to

      @ptribble I'll need to check that one, you may also need https://github.com/NetBSD/pkgsrc/commit/10cd0fa6440a21386e5033e43481c23363cfbfe9

      In conversation Sunday, 23-Jun-2024 01:19:13 JST permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: opengraph.githubassets.com
        openssl: Use consistent socket interfaces on SunOS. · NetBSD/pkgsrc@10cd0fa
        The OpenSSL codebase is a forest of preprocessor usage so it's hard to say exactly what's going wrong, but there's definitely inconsistent use across the codebase, resulting in socket f...

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.