Bug#582864: uWSGI ITP: version 0.9.8-1 is available for review

2011-06-13 Thread Leonid Borisenko
  Hi Robert,

  Sorry for long absence.

  I've finally completed with all planned changes to uWSGI package and,
at the same time, update it to current upstream version (v0.9.8). Would
you like to review and sponsor package?

  The package can be found on mentors.debian.net:
  - URL: http://mentors.debian.net/debian/pool/main/u/uwsgi
  - Source repository: deb-src http://mentors.debian.net/debian unstable
main contrib non-free
  - dget
http://mentors.debian.net/debian/pool/main/u/uwsgi/uwsgi_0.9.8-1.dsc

  - Vcs-Git: git://git.debian.org/collab-maint/uwsgi.git (tag:
'debian/0.9.8-1')



-- 
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4df68060.1050...@gmail.com



Bug#582864: uWSGI ITP: version 0.9.8-1 is available for review

2011-06-13 Thread Robert Edmonds
Leonid Borisenko wrote:
   I've finally completed with all planned changes to uWSGI package and,
 at the same time, update it to current upstream version (v0.9.8). Would
 you like to review and sponsor package?

thanks, i'll look at this shortly.

-- 
Robert Edmonds
edmo...@debian.org


signature.asc
Description: Digital signature


Bug#582864: uWSGI ITP: version 0.9.8-1 is available for review

2011-06-13 Thread Leonid Borisenko
On 14.06.2011 01:50, Robert Edmonds wrote:
 Robert Edmonds wrote:
 Leonid Borisenko wrote:
   I've finally completed with all planned changes to uWSGI package and,
 at the same time, update it to current upstream version (v0.9.8). Would
 you like to review and sponsor package?

 thanks, i'll look at this shortly.
 
 hi, leonid:
 
 the package FTBFS:
 
 sbuild (Debian sbuild) 0.60.0 (23 Feb 2010) on zappa.mycre.ws
 
 ╔══╗
 ║ uwsgi 0.9.8-1 (amd64)  13 Jun 2011 
 22:40 ║
 ╚══╝
 
 Package: uwsgi
 Version: 0.9.8-1
 Architecture: amd64
 Chroot Build Dir: 
 /var/lib/schroot/mount/unstable-amd64-sbuild-0e3d4405-0c24-477c-96c2-ff83760b8979/build/edmonds-uwsgi_0.9.8-1-amd64-ewEYUh
 Start Time: 20110613-2240
 
 [...skipped...]
 
 UWSGICONFIG_JVM_INCPATH='/usr/lib/jvm/java-6-openjdk/include/ 
 -I/usr/lib/jvm/java-6-openjdk/include/linux' \
   
 UWSGICONFIG_JVM_LIBPATH='/usr/lib/jvm/java-6-openjdk/jre/lib/i386/server/' \
   /usr/bin/python 
 /build/edmonds-uwsgi_0.9.8-1-amd64-ewEYUh/uwsgi-0.9.8/uwsgiconfig.py \
   --plugin 
 /build/edmonds-uwsgi_0.9.8-1-amd64-ewEYUh/uwsgi-0.9.8/plugins/jvm \

 /build/edmonds-uwsgi_0.9.8-1-amd64-ewEYUh/uwsgi-0.9.8/debian/buildconf/uwsgi-plugin.ini
  \
jvm_openjdk6
 /usr/bin/ld: cannot find -ljvm
 collect2: ld returned 1 exit status
 using profile: 
 /build/edmonds-uwsgi_0.9.8-1-amd64-ewEYUh/uwsgi-0.9.8/debian/buildconf/uwsgi-plugin.ini
 gcc -pthread -fPIC -shared -o 
 /build/edmonds-uwsgi_0.9.8-1-amd64-ewEYUh/uwsgi-0.9.8/jvm_openjdk6_plugin.so 
 -I. -O2 -Wall -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 
 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers 
 -DUWSGI_BUILD_DATE=\13 June 2011 22:44:04\ -DUWSGI_HAS_IFADDRS 
 -DUWSGI_LOCK_USE_MUTEX -DUWSGI_EVENT_USE_EPOLL 
 -DUWSGI_EVENT_TIMER_USE_TIMERFD -DUWSGI_EVENT_FILEMONITOR_USE_INOTIFY 
 -DUWSGI_EMBEDDED -DUWSGI_UDP -DUWSGI_UUID -DUWSGI_VERSION=\0.9.8-debian\ 
 -DUWSGI_VERSION_BASE=0 -DUWSGI_VERSION_MAJOR=9 -DUWSGI_VERSION_MINOR=8 
 -DUWSGI_VERSION_REVISION=0 -DUWSGI_VERSION_CUSTOM=\debian\ 
 -DUWSGI_ASYNC -DUWSGI_MULTICAST -DUWSGI_MINTERPRETERS -DUWSGI_INI 
 -DUWSGI_YAML -DUWSGI_LIBYAML -DUWSGI_JSON -DUWSGI_LDAP -DUWSGI_ZEROMQ 
 -DUWSGI_SNMP -DUWSGI_THREADING -DUWSGI_SENDFILE -I/usr/include/libxml2 
 -DUWSGI_XML -DUWSGI_XML_LIBXML2 -DUWSGI_SQLITE3 
 -DUWSGI_PLUGIN_DIR=\/build/edmonds-uwsgi_0.9.8-1-amd64-ewEYUh/uwsgi-0.9.8\ 
 -DUWSGI_SPOO
LER -I/usr/lib/jvm/java-6-openjdk/include/ 
-I/usr/lib/jvm/java-6-openjdk/include/linux -Djvm_plugin=jvm_openjdk6_plugin 
-L/usr/lib/jvm/java-6-openjdk/jre/lib/i386/server/ 
/build/edmonds-uwsgi_0.9.8-1-amd64-ewEYUh/uwsgi-0.9.8/plugins/jvm/jvm_plugin.c 
-ljvm
 *** unable to build jvm_openjdk6 plugin ***
 make: *** [debian/stamp-plugin-jvm-openjdk-6] Error 1
 dpkg-buildpackage: error: debian/rules build gave error exit status 2
 
 Build finished at 20110613-2244
 FAILED [dpkg-buildpackage died]
 
 [...skipped...]

  Oh, I see. I've shouldn't hardcode 'i386' in UWSGICONFIG_JVM_LIBPATH,
but choose approrpriate subdirectory, basing on current architecture.

  I've found helper /usr/share/javahelper/java-arch.sh from package
'javahelper', which can detect current Java architecture. I'll try to
use it and provide you with updated package soon. Unfortunately, I have
only i386 system, so I can't check building of updated package on amd64
and/or other architectures.



-- 
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4df69d71.2020...@gmail.com



Bug#582864: uWSGI ITP: version 0.9.8-1 is available for review

2011-06-13 Thread Leonid Borisenko
Hi Robert,

On 14.06.2011 02:29, Leonid Borisenko wrote:
 On 14.06.2011 01:50, Robert Edmonds wrote:
 Robert Edmonds wrote:
 Leonid Borisenko wrote:
   I've finally completed with all planned changes to uWSGI package and,
 at the same time, update it to current upstream version (v0.9.8). Would
 you like to review and sponsor package?

 thanks, i'll look at this shortly.

 hi, leonid:

 the package FTBFS:

 [...skipped...]
 
   Oh, I see. I've shouldn't hardcode 'i386' in UWSGICONFIG_JVM_LIBPATH,
 but choose approrpriate subdirectory, basing on current architecture.
 
   I've found helper /usr/share/javahelper/java-arch.sh from package
 'javahelper', which can detect current Java architecture. I'll try to
 use it and provide you with updated package soon. Unfortunately, I have
 only i386 system, so I can't check building of updated package on amd64
 and/or other architectures.

  I've uploaded updated package on mentors.d.n (version/URLs is still
the same) and to Git repository.

  I've made use of java-arch.sh and package has been built fine in
pbuilder on i386 system. Hope, it'll builds on amd64 and other.



-- 
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4df6a809.8070...@gmail.com



Bug#582864: uWSGI ITP: version 0.9.8-1 is available for review

2011-06-13 Thread Leonid Borisenko
On 14.06.2011 03:46, Robert Edmonds wrote:
 Leonid Borisenko wrote:
   I've uploaded updated package on mentors.d.n (version/URLs is still
 the same) and to Git repository.

   I've made use of java-arch.sh and package has been built fine in
 pbuilder on i386 system. Hope, it'll builds on amd64 and other.
 
 ok, i've got it to build on amd64 now.
 
 can you comment on these lintian diagnostics?
 
 
 edmonds@chase{0}:~/debian/build/uwsgi/0.9.8-1$ lintian -iIv *amd64.changes
 N: Setting up lab in /tmp/PbCZzxDIC3 ...
 N: 
 N: Processing binary package uwsgi-plugin-jwsgi-openjdk-6 (version 0.9.8-1) 
 ...
 E: uwsgi-plugin-jwsgi-openjdk-6: binary-or-shlib-defines-rpath 
 usr/lib/uwsgi/plugins/jwsgi_openjdk6_plugin.so 
 /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/server
 I: uwsgi-plugin-jwsgi-openjdk-6: unused-override 
 binary-or-shlib-defines-rpath usr/lib/uwsgi/plugins/jwsgi_openjdk6_plugin.so 
 /usr/lib/jvm/java-6-openjdk/jre/lib/i386/server
 N: 
 N: Processing binary package uwsgi-plugin-jvm-openjdk-6 (version 0.9.8-1) ...
 E: uwsgi-plugin-jvm-openjdk-6: binary-or-shlib-defines-rpath 
 usr/lib/uwsgi/plugins/jvm_openjdk6_plugin.so 
 /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/server
 I: uwsgi-plugin-jvm-openjdk-6: unused-override binary-or-shlib-defines-rpath 
 usr/lib/uwsgi/plugins/jvm_openjdk6_plugin.so 
 /usr/lib/jvm/java-6-openjdk/jre/lib/i386/server
 N: 

  JVM/JWSGI plugins are linked with libjvm.so, but this shared library
is placed at non-standard location, so the only way to statisfy link
dependency is defining RPATH. See related Debian bug [1].

  As defining RPATH is intentional and not errorneous, I've placed
Lintian override for JVM/JWSGI plugin packages into source package. But
I've again hardcoded 'i386' architecture in path in override files; and
forgot to change this hardcoded string. So Lintian shows E: tag (because
RPATH to libjvm.so didn't overrided in architectures other than i386)
and I: tag (because override with hardcoded 'i386' is unused on amd64).

  Override files are fixed now and updated package is uploaded on
mentors.d.n.

[1] http://bugs.debian.org/562622



-- 
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4df6b546@gmail.com



Bug#582864: uWSGI ITP: version 0.9.8-1 is available for review

2011-06-13 Thread Robert Edmonds
Leonid Borisenko wrote:
   I've uploaded updated package on mentors.d.n (version/URLs is still
 the same) and to Git repository.
 
   I've made use of java-arch.sh and package has been built fine in
 pbuilder on i386 system. Hope, it'll builds on amd64 and other.

ok, i've got it to build on amd64 now.

can you comment on these lintian diagnostics?


edmonds@chase{0}:~/debian/build/uwsgi/0.9.8-1$ lintian -iIv *amd64.changes
N: Setting up lab in /tmp/PbCZzxDIC3 ...
N: 
N: Processing changes file uwsgi_0.9.8-1_amd64 (version 0.9.8-1) ...
N: 
N: Processing binary package libapache2-mod-uwsgi (version 0.9.8-1) ...
N: 
N: Processing binary package uwsgi-plugin-psgi (version 0.9.8-1) ...
N: 
N: Processing binary package uwsgi (version 0.9.8-1) ...
N: 
N: Processing binary package uwsgi-plugin-nagios (version 0.9.8-1) ...
N: 
N: Processing binary package uwsgi-plugin-http (version 0.9.8-1) ...
N: 
N: Processing binary package uwsgi-plugin-rpc (version 0.9.8-1) ...
N: 
N: Processing binary package uwsgi-plugin-ping (version 0.9.8-1) ...
N: 
N: Processing binary package uwsgi-plugin-lua5.1 (version 0.9.8-1) ...
N: 
N: Processing binary package uwsgi-core (version 0.9.8-1) ...
N: 
N: Processing binary package libapache2-mod-ruwsgi-dbg (version 0.9.8-1) ...
N: 
N: Processing binary package uwsgi-plugin-cache (version 0.9.8-1) ...
N: 
N: Processing binary package uwsgi-app-integration-plugins (version 0.9.8-1) ...
N: 
N: Processing binary package uwsgi-plugin-admin (version 0.9.8-1) ...
N: 
N: Processing binary package uwsgi-plugin-jwsgi-openjdk-6 (version 0.9.8-1) ...
E: uwsgi-plugin-jwsgi-openjdk-6: binary-or-shlib-defines-rpath 
usr/lib/uwsgi/plugins/jwsgi_openjdk6_plugin.so 
/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/server
N: 
N:The binary or shared library sets RPATH. This overrides the normal
N:library search path, possibly interfering with local policy and causing
N:problems for multilib, among other issues.
N:
N:The only time a binary or shared library in a Debian package should set
N:RPATH is if it is linked to private shared libraries in the same
N:package. In that case, place those private shared libraries in
N:/usr/lib/package. Libraries used by binaries in other packages should
N:be placed in /lib or /usr/lib as appropriate, with a proper SONAME, in
N:which case RPATH is unnecessary.
N:
N:To fix this problem, look for link lines like:
N:gcc test.o -o test -Wl,--rpath,/usr/local/lib
N:or
N:gcc test.o -o test -R/usr/local/lib
N:and remove the -Wl,--rpath or -R argument. You can also use the chrpath
N:utility to remove the RPATH.
N:
N:Refer to http://wiki.debian.org/RpathIssue for details.
N:
N:Severity: serious, Certainty: possible
N: 
I: uwsgi-plugin-jwsgi-openjdk-6: unused-override binary-or-shlib-defines-rpath 
usr/lib/uwsgi/plugins/jwsgi_openjdk6_plugin.so 
/usr/lib/jvm/java-6-openjdk/jre/lib/i386/server
N: 
N:Lintian discovered an unused override entry in its database. Please
N:remove it from the overrides file if it is not needed anymore.
N:
N:Severity: wishlist, Certainty: certain
N: 
N: 
N: Processing binary package uwsgi-plugin-ugreen (version 0.9.8-1) ...
N: 
N: Processing binary package uwsgi-plugin-rack-ruby1.8 (version 0.9.8-1) ...
N: 
N: Processing binary package uwsgi-plugin-pyerl-python (version 0.9.8-1) ...
N: 
N: Processing binary package uwsgi-plugin-fastrouter (version 0.9.8-1) ...
N: 
N: Processing binary package python-django-uwsgi-admin (version 0.9.8-1) ...
N: 
N: Processing binary package uwsgi-plugin-python3 (version 0.9.8-1) ...
N: 
N: Processing binary package python-uwsgicc (version 0.9.8-1) ...
N: 
N: Processing binary package uwsgi-extra (version 0.9.8-1) ...
N: 
N: Processing binary package uwsgi-infrastructure-plugins (version 0.9.8-1) ...
N: 
N: Processing binary package uwsgi-plugin-cgi (version 0.9.8-1) ...
N: 
N: Processing binary package uwsgi-plugin-fiber (version 0.9.8-1) ...
N: 
N: Processing binary package libapache2-mod-ruwsgi (version 0.9.8-1) ...
N: 
N: Processing binary package uwsgi-plugin-pyerl-python3 (version 0.9.8-1) ...
N: 
N: Processing binary package libapache2-mod-uwsgi-dbg (version 0.9.8-1) ...
N: 
N: Processing binary package uwsgi-plugin-rack-ruby1.9.1 (version 0.9.8-1) ...
N: 
N: Processing binary package uwsgi-plugin-luajit (version 0.9.8-1) ...
N: 
N: Processing binary package uwsgi-plugin-python (version 0.9.8-1) ...
N: 
N: Processing binary package uwsgi-plugin-jvm-openjdk-6 (version 0.9.8-1) ...
E: uwsgi-plugin-jvm-openjdk-6: binary-or-shlib-defines-rpath 
usr/lib/uwsgi/plugins/jvm_openjdk6_plugin.so 
/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/server
I: uwsgi-plugin-jvm-openjdk-6: unused-override binary-or-shlib-defines-rpath 
usr/lib/uwsgi/plugins/jvm_openjdk6_plugin.so