[MacPorts] #15791: mod_python 3.3.1 build failure - compilation errors
#15791: mod_python 3.3.1 build failure - compilation errors ------------------------------------+--------------------------------------- Reporter: yue.nicholas@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | ------------------------------------+--------------------------------------- serverobject.c:387: warning: initialization from incompatible pointer type[[BR]] /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':[[BR]] connobject.c:142: error: request for member 'next' in something not a structure or union[[BR]] apxs:Error: Command failed with rc=65536[[BR]] .[[BR]] make[1]: *** [mod_python.so] Error 1[[BR]] make: *** [do_dso] Error 2[[BR]] [[BR]] Error: Status 1 encountered during processing.[[BR]] -- Ticket URL: <http://trac.macports.org/ticket/15791> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15791: mod_python 3.3.1 build failure - compilation errors -------------------------------------+-------------------------------------- Reporter: yue.nicholas@gmail.com | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: -------------------------------------+-------------------------------------- Changes (by jmr@macports.org): * owner: macports-tickets@lists.macosforge.org => mww@macports.org * milestone: => Port Bugs Comment: Assigning to maintainer. -- Ticket URL: <http://trac.macports.org/ticket/15791#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15791: mod_python 3.3.1 build failure - compilation errors -------------------------------------+-------------------------------------- Reporter: yue.nicholas@gmail.com | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: -------------------------------------+-------------------------------------- Comment (by mwilson@cpib.ac.uk): I've had this problem as well under OS X 10.5.4, with both macports 1.6 and a trunk build. It appears to be a problem with apr/apr-util 1.3.2 [http://marc.info/?t=121484641500004&r=1&w=2], i reverted to earlier portfiles r33831 and r33832 and all was good again. You might want to try getting portfiles r37364 and r37635 from the trunk and that should work around it while someone hopefully works out the problem with 1.3.2, i think there's a fix in the trunk for apr, but no sign of a 1.3.3 release yet. You may want to let the maintainer of apr and apr-util know about the problems too. -- Ticket URL: <http://trac.macports.org/ticket/15791#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15791: mod_python 3.3.1 build failure - compilation errors -------------------------------------+-------------------------------------- Reporter: yue.nicholas@gmail.com | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: -------------------------------------+-------------------------------------- Comment (by mwilson@cpib.ac.uk): Replying to [comment:2 mwilson@cpib.ac.uk]:
It appears to be a problem with apr/apr-util 1.3.2 [http://marc.info/?t=121484641500004&r=1&w=2]...You may want to let the maintainer of apr and apr-util know about the problems too.
On closer inspection, it seems it's a mod-python code problem after all and a change in apr has made it an issue, can't find any mention on mod_python mailing lists or much movement on the mod_python trunk so not sure when a fix will happen -- Ticket URL: <http://trac.macports.org/ticket/15791#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15791: mod_python 3.3.1 build failure - compilation errors -------------------------------------+-------------------------------------- Reporter: yue.nicholas@gmail.com | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: -------------------------------------+-------------------------------------- Comment (by robert@mchardy.net): Looks like changes have been made to fix this in mod_python - subversion repository trunk revision 676904: [http://modpython.org/pipermail/mod_python/2008-July/025444.html mod_python mailing list] and [https://issues.apache.org/jira/browse/MODPYTHON-249 apache jira] -- Ticket URL: <http://trac.macports.org/ticket/15791#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15791: mod_python 3.3.1 build failure - compilation errors -------------------------------------+-------------------------------------- Reporter: yue.nicholas@gmail.com | Owner: mww@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: mod_python 10.5 -------------------------------------+-------------------------------------- Changes (by mww@macports.org): * keywords: => mod_python 10.5 * status: new => closed * resolution: => fixed Comment: Thanks! Commit in 38757; I also had to add a {{{CC}}} variable to {{{dist/Makefile}}} to make it find the compiler. The revision was increased. -- Ticket URL: <http://trac.macports.org/ticket/15791#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts