#15791 closed defect (fixed)
mod_python 3.3.1 build failure - compilation errors
Reported by: | yue.nicholas@… | Owned by: | mww@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | mod_python 10.5 | Cc: | |
Port: |
Description
serverobject.c:387: warning: initialization from incompatible pointer type
/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.
Change History (6)
comment:1 Changed 16 years ago by jmroot (Joshua Root)
Milestone: | → Port Bugs |
---|---|
Owner: | changed from macports-tickets@… to mww@… |
comment:2 follow-up: 3 Changed 16 years ago by mwilson@…
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.
comment:3 Changed 16 years ago by mwilson@…
Replying to 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
comment:4 Changed 16 years ago by robert@…
Looks like changes have been made to fix this in mod_python - subversion repository trunk revision 676904: mod_python mailing list and apache jira
comment:5 Changed 16 years ago by mww@…
Keywords: | mod_python 10.5 added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
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.
Assigning to maintainer.