Details

    • Type: Bug
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.3.1
    • Fix Version/s: 3.3.x
    • Component/s: None
    • Labels:
      None
    • Environment:
      Discovered in OSX 10.5.4 (Intel) using macports.org, also reported in Gentoo

      Description

      Fails to build with the following error from macports:

      /opt/local/share/apr-1/build/libtool --silent --mode=compile /usr/bin/gcc-4.0 -prefer-pic -O2 -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I/opt/local/include -I/opt/local/apache2/include -I/opt/local/include/apr-1 -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mod_python/work/mod_python-3.3.1/src/include -I/opt/local/apache2/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -c -o connobject.lo connobject.c && touch connobject.slo connobject.c: In function '_conn_read':
      connobject.c:142: error: request for member 'next' in something not a structure or union
      apxs:Error: Command failed with rc=65536
      .
      make[1]: *** [mod_python.so] Error 1
      make: *** [do_dso] Error 2

      Error: Status 1 encountered during processing.

      Bug reported at:
      http://trac.macports.org/ticket/15791
      http://bugs.gentoo.org/show_bug.cgi?id=230211

      Recommended fix:

      You can download the source and implement a suggested fix - on line 142 of
      connobject.c you can replace

      !(b == APR_BRIGADE_SENTINEL(b) ||

      with

      !(b == APR_BRIGADE_SENTINEL(bb) ||

      suggested here:
      http://www.mail-archive.com/dev@apr.apache.org/msg20588.html

      However this is obviously untested, though it compiles fine.

      (From response #6 from Gentoo bug report)

        Activity

        Hide
        grahamd Graham Dumpleton added a comment -

        Fix committed in revision 676904 of trunk.

        Show
        grahamd Graham Dumpleton added a comment - Fix committed in revision 676904 of trunk.

          People

          • Assignee:
            grahamd Graham Dumpleton
            Reporter:
            james4765 Jim Nelson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development