I keep forgetting that MacOS X Python build does not set -Wall so I
never see all these warnings and get a completely clean build. Once
mod_wsgi 3.0 is released I'll have to go look at them more closely.
:-(

Thanks.

Graham

2009/11/18 Jason Garber <[email protected]>:
> Hi Graham,
> It's looking good so far.  This is on RHEL 5 x86_64 with Python 3.1.1
> --enable-shared.
> Here is the RPMBUILD output, in case you wanted to see the warnings that are
> being printed out:
> Thanks!
> Jason Garber
> ----------------------------------------------------------------------------------------------------
> [bu...@base SPECS]$ rpmbuild -ba acn-python3-mod_wsgi-3.0c6.spec
> Executing(%prep): /bin/sh -e /home/build/RPMBUILD/TEMP/rpm-tmp.53277
> + umask 022
> + cd /home/build/RPMBUILD/BUILD
> + LANG=C
> + export LANG
> + unset DISPLAY
> + cd /home/build/RPMBUILD/BUILD
> + rm -rf mod_wsgi-3.0c6
> + /usr/bin/gzip -dc /home/build/RPMBUILD/SOURCES/mod_wsgi-3.0c6.tar.gz
> + tar -xvvf -
> drwxr-xr-x grahamd/staff     0 2009-11-14 22:49:46 mod_wsgi-3.0c6/
> -rwxr-xr-x grahamd/staff 80031 2009-11-01 05:26:24 mod_wsgi-3.0c6/configure
> -rw-r--r-- grahamd/staff  5810 2009-11-01 05:26:24
> mod_wsgi-3.0c6/configure.ac
> -rw-r--r-- grahamd/staff 11358 2007-06-23 00:05:48 mod_wsgi-3.0c6/LICENCE
> -rw-r--r-- grahamd/staff 454590 2009-11-14 22:42:46
> mod_wsgi-3.0c6/mod_wsgi.c
> -rw-r--r-- grahamd/staff   1195 2009-06-21 00:00:30
> mod_wsgi-3.0c6/posix-ap1X.mk.in
> -rw-r--r-- grahamd/staff   1247 2009-06-21 00:00:30
> mod_wsgi-3.0c6/posix-ap2X.mk.in
> -rw-r--r-- grahamd/staff  17209 2009-06-22 02:53:43 mod_wsgi-3.0c6/README
> tar: Read 8192 bytes from -
> -rw-r--r-- grahamd/staff    914 2009-06-21 00:06:21
> mod_wsgi-3.0c6/win32-ap22py26.mk
> -rw-r--r-- grahamd/staff    914 2009-07-17 02:53:58
> mod_wsgi-3.0c6/win32-ap22py31.mk
> + STATUS=0
> + '[' 0 -ne 0 ']'
> + cd mod_wsgi-3.0c6
> ++ /usr/bin/id -u
> + '[' 504 = 0 ']'
> ++ /usr/bin/id -u
> + '[' 504 = 0 ']'
> + /bin/chmod -Rf a+rX,u+w,g-w,o-w .
> + exit 0
> Executing(%build): /bin/sh -e /home/build/RPMBUILD/TEMP/rpm-tmp.53277
> + umask 022
> + cd /home/build/RPMBUILD/BUILD
> + cd mod_wsgi-3.0c6
> + LANG=C
> + export LANG
> + unset DISPLAY
> + ./configure --with-python=/usr/local/bin/python3
> checking for apxs2... no
> checking for apxs... /usr/sbin/apxs
> checking Apache version... 2.2.3
> configure: creating ./config.status
> config.status: creating Makefile
> + make
> /usr/sbin/apxs -c -I/usr/local/include/python3.1 -DNDEBUG   mod_wsgi.c
> -L/usr/local/lib -L/usr/local/lib/python3.1/config  -lpython3.1 -lpthread
> -ldl  -lutil -lm
> /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2
> -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing
>  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd
>  -I/usr/include/apr-1   -I/usr/include/apr-1  -I/usr/local/include/python3.1
> -DNDEBUG  -c -o mod_wsgi.lo mod_wsgi.c && touch mod_wsgi.slo
> mod_wsgi.c: In function 'wsgi_server_group':
> mod_wsgi.c:940: warning: unused variable 'value'
> mod_wsgi.c: In function 'Log_writelines':
> mod_wsgi.c:1722: warning: unused variable 'msg'
> mod_wsgi.c: In function 'Adapter_output':
> mod_wsgi.c:3000: warning: unused variable 'n'
> mod_wsgi.c: In function 'Adapter_file_wrapper':
> mod_wsgi.c:4014: warning: unused variable 'result'
> mod_wsgi.c: In function 'wsgi_python_term':
> mod_wsgi.c:5621: warning: unused variable 'tstate'
> mod_wsgi.c:5620: warning: unused variable 'interp'
> mod_wsgi.c: In function 'wsgi_python_child_init':
> mod_wsgi.c:6750: warning: unused variable 'l'
> mod_wsgi.c:6648: warning: unused variable 'interp'
> mod_wsgi.c: In function 'wsgi_add_import_script':
> mod_wsgi.c:7401: warning: unused variable 'error'
> mod_wsgi.c: In function 'wsgi_add_handler_script':
> mod_wsgi.c:7849: warning: unused variable 'dconfig'
> mod_wsgi.c:7848: warning: unused variable 'sconfig'
> mod_wsgi.c: In function 'wsgi_hook_handler':
> mod_wsgi.c:8895: warning: suggest parentheses around assignment used as
> truth value
> mod_wsgi.c:8897: warning: suggest parentheses around assignment used as
> truth value
> mod_wsgi.c:8899: warning: suggest parentheses around assignment used as
> truth value
> mod_wsgi.c:8903: warning: suggest parentheses around assignment used as
> truth value
> mod_wsgi.c:8923: warning: suggest parentheses around assignment used as
> truth value
> mod_wsgi.c:8925: warning: suggest parentheses around assignment used as
> truth value
> mod_wsgi.c:8928: warning: suggest parentheses around assignment used as
> truth value
> mod_wsgi.c: In function 'wsgi_daemon_worker':
> mod_wsgi.c:10189: warning: unused variable 'duration'
> mod_wsgi.c:10188: warning: unused variable 'start'
> mod_wsgi.c: In function 'wsgi_hook_daemon_handler':
> mod_wsgi.c:12371: warning: unused variable 'i'
> mod_wsgi.c:12369: warning: unused variable 'elts'
> mod_wsgi.c:12368: warning: unused variable 'head'
> mod_wsgi.c: At top level:
> mod_wsgi.c:7112: warning: 'wsgi_set_py3k_warning_flag' defined but not used
> mod_wsgi.c:7814: warning: 'wsgi_set_user_authoritative' defined but not used
> mod_wsgi.c:14286: warning: 'wsgi_hook_check_user_id' defined but not used
> /usr/lib64/apr-1/build/libtool --silent --mode=link gcc -o mod_wsgi.la
>  -rpath /usr/lib64/httpd/modules -module -avoid-version    mod_wsgi.lo
> -L/usr/local/lib -L/usr/local/lib/python3.1/config -lpython3.1 -lpthread
> -ldl -lutil -lm
> + exit 0
> Executing(%install): /bin/sh -e /home/build/RPMBUILD/TEMP/rpm-tmp.67858
> + umask 022
> + cd /home/build/RPMBUILD/BUILD
> + cd mod_wsgi-3.0c6
> + LANG=C
> + export LANG
> + unset DISPLAY
> + make install DESTDIR=/home/build/RPMBUILD/TEMP/acn-python3-mod_wsgi-root
> mkdir -p
> /home/build/RPMBUILD/TEMP/acn-python3-mod_wsgi-root/usr/lib64/httpd/modules
> /usr/sbin/apxs -i -S
> LIBEXECDIR=/home/build/RPMBUILD/TEMP/acn-python3-mod_wsgi-root/usr/lib64/httpd/modules
> -n 'mod_wsgi' mod_wsgi.la
> /usr/lib64/httpd/build/instdso.sh
> SH_LIBTOOL='/usr/lib64/apr-1/build/libtool' mod_wsgi.la
> /home/build/RPMBUILD/TEMP/acn-python3-mod_wsgi-root/usr/lib64/httpd/modules
> /usr/lib64/apr-1/build/libtool --mode=install cp mod_wsgi.la
> /home/build/RPMBUILD/TEMP/acn-python3-mod_wsgi-root/usr/lib64/httpd/modules/
> cp .libs/mod_wsgi.so
> /home/build/RPMBUILD/TEMP/acn-python3-mod_wsgi-root/usr/lib64/httpd/modules/mod_wsgi.so
> cp .libs/mod_wsgi.lai
> /home/build/RPMBUILD/TEMP/acn-python3-mod_wsgi-root/usr/lib64/httpd/modules/mod_wsgi.la
> cp .libs/mod_wsgi.a
> /home/build/RPMBUILD/TEMP/acn-python3-mod_wsgi-root/usr/lib64/httpd/modules/mod_wsgi.a
> chmod 644
> /home/build/RPMBUILD/TEMP/acn-python3-mod_wsgi-root/usr/lib64/httpd/modules/mod_wsgi.a
> ranlib
> /home/build/RPMBUILD/TEMP/acn-python3-mod_wsgi-root/usr/lib64/httpd/modules/mod_wsgi.a
> libtool: install: warning: remember to run `libtool --finish
> /usr/lib64/httpd/modules'
> chmod 755
> /home/build/RPMBUILD/TEMP/acn-python3-mod_wsgi-root/usr/lib64/httpd/modules/mod_wsgi.so
> + /usr/lib/rpm/find-debuginfo.sh /home/build/RPMBUILD/BUILD/mod_wsgi-3.0c6
> extracting debug info from
> /home/build/RPMBUILD/TEMP/acn-python3-mod_wsgi-root/usr/lib64/httpd/modules/mod_wsgi.so
> 888 blocks
> + /usr/lib/rpm/redhat/brp-compress
> + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
> + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
> + /usr/lib/rpm/brp-python-bytecompile
> + /usr/lib/rpm/redhat/brp-java-repack-jars
> Processing files: acn-python3-mod_wsgi-3.0c6-0.rhel5
> Provides: mod_wsgi mod_wsgi.so()(64bit) mod_wsgi.so.debug()(64bit)
> Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
> rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> Requires: acn-python3 libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit)
> libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit)
> libc.so.6(GLIBC_2.4)(64bit) libdl.so.2()(64bit) libm.so.6()(64bit)
> libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit)
> libpython3.1.so.1.0()(64bit) libutil.so.1()(64bit) rtld(GNU_HASH)
> Processing files: acn-python3-mod_wsgi-debuginfo-3.0c6-0.rhel5
> Provides: mod_wsgi.so.debug()(64bit)
> Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
> rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> Checking for unpackaged file(s): /usr/lib/rpm/check-files
> /home/build/RPMBUILD/TEMP/acn-python3-mod_wsgi-root
> Wrote: /home/build/RPMBUILD/SRPMS/acn-python3-mod_wsgi-3.0c6-0.rhel5.src.rpm
> Wrote:
> /home/build/RPMBUILD/RPMS/x86_64/acn-python3-mod_wsgi-3.0c6-0.rhel5.x86_64.rpm
> Wrote:
> /home/build/RPMBUILD/RPMS/x86_64/acn-python3-mod_wsgi-debuginfo-3.0c6-0.rhel5.x86_64.rpm
> Executing(%clean): /bin/sh -e /home/build/RPMBUILD/TEMP/rpm-tmp.80747
> + umask 022
> + cd /home/build/RPMBUILD/BUILD
> + cd mod_wsgi-3.0c6
> + rm -rf /home/build/RPMBUILD/TEMP/acn-python3-mod_wsgi-root
> + exit 0
>
> On Tue, Nov 17, 2009 at 1:25 AM, Graham Dumpleton
> <[email protected]> wrote:
>>
>> 2009/11/15 Graham Dumpleton <[email protected]>:
>> > Sixth release candidate for mod_wsgi 3.0 now available.
>> >
>> > Unless there are show stopper bugs which are bought to my attention in
>> > the next few days, this will be released as mod_wsgi 3.0.
>> >
>> > The changes in mod_wsgi 3.0 are detailed in:
>> >
>> >  http://code.google.com/p/modwsgi/wiki/ChangesInVersion0300
>> >
>> > You can down the source code tarball and precompiled binaries for
>> > Windows from:
>> >
>> >  http://code.google.com/p/modwsgi/downloads/list
>>
>> No comment from anyone, good or bad?
>>
>> Downloads so far are only at:
>>
>> mod_wsgi-win32-ap22py26-3.0c6.so                 26
>> mod_wsgi-win32-ap22py31-3.0c6.so                 12
>> mod_wsgi-3.0c6.tar.gz            29
>>
>> but I'll quite happily release this than wait for the whole week I
>> intended to originally.
>>
>> Just want to get this over and done with.
>>
>> Graham
>>
>> --
>>
>> You received this message because you are subscribed to the Google Groups
>> "modwsgi" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/modwsgi?hl=.
>>
>>
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "modwsgi" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/modwsgi?hl=.
>

--

You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=.


Reply via email to