[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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.



Reply to: