New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #15791 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

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

  Changed 4 years ago by jmr@…

  • owner changed from macports-tickets@… to mww@…
  • milestone set to Port Bugs

Assigning to maintainer.

follow-up: ↓ 3   Changed 4 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.

in reply to: ↑ 2   Changed 4 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

  Changed 4 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

  Changed 4 years ago by mww@…

  • keywords mod_python 10.5 added
  • status changed from new to closed
  • resolution set to fixed

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.

  Changed 3 years ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.