[Build-common-hackers] Bug#373997: closed by Peter Eisentraut <petere@debian.org> (Bug#373997: fixed in cdbs 0.4.42)

Gustavo Noronha Silva kov at debian.org
Sat Jun 24 20:56:01 UTC 2006


reopen 373997
thanks

Em Sex, 2006-06-16 às 11:35 -0700, Debian Bug Tracking System escreveu:
> >    * Corrected automatic cdbs dependency version (python-distutils.mk)
> >      (closes: #373653, #373997)

Dependency is not the only problem. Gazpacho, for example, requires
python2.4, even for building (because the build system requires stuff
that's only available to python2.4 and above).

So this doesn't work right for it:

# build stage
common-build-arch common-build-indep:: $(addprefix python-build-stamp-, $(cdbs_python_build_versions))
python-build-stamp-%:
ifeq (all, $(cdbs_python_module_arch))
	cd $(DEB_SRCDIR) && python $(DEB_PYTHON_SETUP_CMD) build $(DEB_PYTHON_BUILD_ARGS)
else
	cd $(DEB_SRCDIR) && python$* $(DEB_PYTHON_SETUP_CMD) build $(DEB_PYTHON_BUILD_ARGS)
endif # archall detection
	touch $@

The output:

make[1]: Saindo do diretório `/home/kov/debian/pkg-gnome/packages/unstable/build-area/gazpacho-0.6.6'
cd . && python setup.py build --build-base="/home/kov/debian/pkg-gnome/packages/unstable/build-area/gazpacho-0.6.6/./build"
Traceback (most recent call last):
  File "setup.py", line 5, in ?
    from kiwi.dist import setup, listfiles, listpackages
ImportError: No module named kiwi.dist
make: ** [python-build-stamp-2.3] Erro 1

Gapacho really wants 'python2.4' there instead of 'python'. I believe
we'll have this problem with other packages. I have patched some
packages to simply build with python2.3, but that doesn't scale well,
and is simply not possible for gazpacho.

See you,

-- 
Gustavo Noronha Silva <kov at debian.org>
http://people.debian.org/~kov/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Esta =?ISO-8859-1?Q?=E9?= uma parte de mensagem
	assinada digitalmente
Url : http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20060624/2180aa24/attachment-0001.pgp


More information about the Build-common-hackers mailing list