PaulHowarth/Blog/2023-12-13

Wednesday 13th December 2023

Fedora Project

  • Updated bluefish (2.2.14) in Rawhide:

  • Updated perl-IO-AIO (4.8) in Rawhide to fix use of incompatible pointer type in configure test for fexecve():

  • Fix this error:
    
    conftest.c: In function 'main':
    conftest.c:61:27: error: passing argument 2 of 'fexecve' from incompatible pointer type
       61 |    int res = fexecve (-1, "argv", 0);
          |                           ^~~~~~
          |                           |
          |                           char *
    In file included from conftest.c:58:
    /usr/include/unistd.h:578:43: note: expected 'char * const*' but argument is of type 'char *'
      578 | extern int fexecve (int __fd, char *const __argv[], char *const __envp[])
          |
    
    The incompatible pointer type issue is traditionally a warning but is likely to be an
    error in GCC 14. See: https://fedoraproject.org/wiki/Changes/PortingToModernC
    
    The presence of the issue in the configure test would be likely to result in
    failure to detect fexecve() on some systems where it is actually available.
    
    diff -up ./configure.ac.orig ./configure.ac
    --- ./configure.ac.orig 2022-09-28 09:21:39.000000000 +0100
    +++ ./configure.ac      2023-12-13 09:22:12.070446241 +0000
    @@ -80,7 +80,8 @@ AC_CACHE_CHECK(for fexecve, ac_cv_fexecv
     #include <unistd.h>
     int main (void)
     {
    -   int res = fexecve (-1, "argv", 0);
    +   char *const argv[] = { "foo", "bar", 0 };
    +   int res = fexecve (-1, argv, 0);
        return 0;
     }
     ]])],ac_cv_fexecve=yes,ac_cv_fexecve=no)])
    diff -up ./configure.orig ./configure
    --- ./configure.orig    2022-09-28 09:23:23.000000000 +0100
    +++ ./configure 2023-12-13 09:22:43.887161250 +0000
    @@ -4762,7 +4762,8 @@ else $as_nop
     #include <unistd.h>
     int main (void)
     {
    -   int res = fexecve (-1, "argv", 0);
    +   char *const argv[] = { "foo", "bar", 0 };
    +   int res = fexecve (-1, argv, 0);
        return 0;
     }

Local Packages

  • Updated bluefish (2.2.14) as per the Fedora version

  • Updated libxml2 to 2.12.3:

  • Regressions:
    • parser: Fix namespaces redefined from default attributes
  • Build fixes:
    • include: Rename XML_EMPTY helper macro

    • include: Move declaration of xmlInitGlobals

    • include: Add missing includes
    • include: Move globals from xmlsave.h to parser.h

    • include: Re-add circular dependency between tree.h and parser.h

  • I also disabled Xpointer locations support as per the Fedora package; upstream says of this code:
    • This was based on a W3C specification which never got beyond Working Draft status. To my knowledge, there's no software supporting this spec that is still maintained. Be warned that this part of the code base is buggy and had many security issues in the past.
  • Updated perl-IO-AIO (4.8) as per the Fedora version

  • Rebuilt pptp (1.10.0) to sync with Rawhide

  • Updated proftpd (1.3.8a) with an additional C compatibility fix (GH#1754)


Recent