Discussion:
[Sisuite-devel] systemimager-debian, patch for control.in
Geoffroy Vallée
2007-05-18 13:34:40 UTC
Permalink
Hi,

If python2.4-dev is not installed, it is not possible to create the Debian
packages. Therefore i added a build dependence with python2.4-dev. The patch
is also available in my branch (r76).

--- debian/control.in (revision 75)
+++ debian/control.in (revision 76)
@@ -2,7 +2,7 @@
Section: admin
Priority: optional
Maintainer: dann frazier <***@debian.org>
-Build-Depends: bc, bin86 [i386], bison, bzip2, cramfsprogs (>= 1.1-4), debhelper (>= 4.0.0), flex, gettext, groff-base, libdevmapper-dev, libpopt-dev, libtool, libreadline5-dev, libssl-dev, module-init-tools, rsync, tofrodos | sysutils (<= 2.0.0-1), texinfo, uuid-dev, zlib1g-dev
+Build-Depends: bc, bin86 [i386], bison, bzip2, cramfsprogs (>= 1.1-4), debhelper (>= 4.0.0), flex, gettext, groff-base, libdevmapper-dev, libpopt-dev, libtool, libreadline5-dev, libssl-dev, module-init-tools, rsync, tofrodos | sysutils (<= 2.0.0-1), texinfo, uuid-dev, zlib1g-dev, python2.4-dev
Build-Conflicts: libc-pic
Build-Depends-Indep: bc, bzip2, debhelper (>= 4.0.0), docbook-to-man, docbook-utils, jadetex, sgmltools-lite
Standards-Version: 3.7.2
--
Geoffroy
dann frazier
2007-05-25 04:01:00 UTC
Permalink
Post by Geoffroy Vallée
Hi,
If python2.4-dev is not installed, it is not possible to create the Debian
packages. Therefore i added a build dependence with python2.4-dev. The patch
is also available in my branch (r76).
If python2.4-dev is not installed, where does the build fail?
--
dann frazier
Geoffroy VALLEE
2007-05-25 05:00:11 UTC
Permalink
Post by dann frazier
Post by Geoffroy Vallée
Hi,
If python2.4-dev is not installed, it is not possible to create the
Debian packages. Therefore i added a build dependence with python2.4-dev.
The patch is also available in my branch (r76).
If python2.4-dev is not installed, where does the build fail?
Sorry i forgot to put the error message in my previous email:

cd /home/gvallee/src/systemimager/systemimager-debian.trunk/systemimager-3.8.0/initrd_source/src
&& tar -xvzf cx_Freeze-3.0.2-source.tgz
cx_Freeze-3.0.2/Common.c
cx_Freeze-3.0.2/Console.c
cx_Freeze-3.0.2/ConsoleKeepPath.c
cx_Freeze-3.0.2/ModuleFinder.py
cx_Freeze-3.0.2/FreezePython.py
cx_Freeze-3.0.2/Freezer.py
cx_Freeze-3.0.2/HISTORY.txt
cx_Freeze-3.0.2/LICENSE.txt
cx_Freeze-3.0.2/MakeFrozenBases.py
cx_Freeze-3.0.2/README.txt
cx_Freeze-3.0.2/Win32GUI.c
cx_Freeze-3.0.2/initscripts/Console.py
cx_Freeze-3.0.2/initscripts/ConsoleKeepPath.py
cx_Freeze-3.0.2/initscripts/ConsoleSetLibPath.py
cx_Freeze-3.0.2/initscripts/SharedLib.py
cx_Freeze-3.0.2/initscripts/SharedLibSource.py
cd /home/gvallee/src/systemimager/systemimager-debian.trunk/systemimager-3.8.0/initrd_source/src/cx_Freeze-3.0.2
&& cat < /dev/null | patch -p1
touch /home/gvallee/src/systemimager/systemimager-debian.trunk/systemimager-3.8.0/initrd_source/src/cx_Freeze-3.0.2.unpack
cd /home/gvallee/src/systemimager/systemimager-debian.trunk/systemimager-3.8.0/initrd_source/src/cx_Freeze-3.0.2
&& /usr/bin/python MakeFrozenBases.py
gcc -c -I. -I/usr/include/python2.4 -I/usr/include/python2.4 -o Console.o
Console.c
Console.c:6:20: error: Python.h: Aucun fichier ou répertoire de ce type
In file included from Console.c:35:
Common.c:6:21: error: compile.h: Aucun fichier ou répertoire de ce type
Common.c:7:18: error: eval.h: Aucun fichier ou répertoire de ce type
Common.c:8:20: error: osdefs.h: Aucun fichier ou répertoire de ce type
In file included from Console.c:35:
Common.c: In function 'ExecuteScript':
Common.c:17: error: 'PyObject' undeclared (first use in this function)
Common.c:17: error: (Each undeclared identifier is reported only once
Common.c:17: error: for each function it appears in.)
Common.c:17: error: 'module' undeclared (first use in this function)
Common.c:17: error: 'importer' undeclared (first use in this function)
Common.c:17: error: 'code' undeclared (first use in this function)
Common.c:17: error: 'dict' undeclared (first use in this function)
Common.c:17: error: 'pathList' undeclared (first use in this function)
Common.c:17: error: 'temp' undeclared (first use in this function)
Common.c:18: error: 'PATH_MAX' undeclared (first use in this function)
Common.c:20: error: 'size_t' undeclared (first use in this function)
Common.c:20: error: expected ';' before 'i'
Common.c:48: warning: incompatible implicit declaration of built-in
function 'strcpy'
Common.c:49: error: 'i' undeclared (first use in this function)
Common.c:49: warning: incompatible implicit declaration of built-in
function 'strlen'
Common.c:49: error: 'SEP' undeclared (first use in this function)
Common.c:88: error: 'PyCodeObject' undeclared (first use in this function)
Common.c:88: error: expected expression before ')' token
Console.c: In function 'main':
Console.c:47: error: 'Py_NoSiteFlag' undeclared (first use in this function)
Console.c:48: error: 'Py_FrozenFlag' undeclared (first use in this function)
Console.c:49: error: 'Py_IgnoreEnvironmentFlag' undeclared (first use in this
function)
Console.c:52: warning: assignment makes pointer from integer without a cast
Traceback (most recent call last):
File "MakeFrozenBases.py", line 57, in ?
BuildBase("Console")
File "MakeFrozenBases.py", line 44, in BuildBase
raise "Failed to compile %s" % sourceName
Failed to compile Console.c
make[1]: ***
[/home/gvallee/src/systemimager/systemimager-debian.trunk/systemimager-3.8.0/initrd_source/src/cx_Freeze-3.0.2.build]
Erreur 1
make[1]: quittant le
répertoire « /home/gvallee/src/systemimager/systemimager-debian.trunk/systemimager-3.8.0 »
make: *** [build-arch-stamp] Erreur 2
--
Geoff
dann frazier
2007-05-25 05:03:57 UTC
Permalink
Post by dann frazier
Post by Geoffroy Vallée
Hi,
If python2.4-dev is not installed, it is not possible to create the
Debian packages. Therefore i added a build dependence with python2.4-dev.
The patch is also available in my branch (r76).
If python2.4-dev is not installed, where does the build fail?
ah - thx. committed a slightly modified version (keep build-deps in
alphabetical order)
--
dann frazier
Geoffroy VALLEE
2007-05-25 05:12:06 UTC
Permalink
Post by dann frazier
Post by dann frazier
Post by Geoffroy Vallée
Hi,
If python2.4-dev is not installed, it is not possible to create the
Debian packages. Therefore i added a build dependence with
python2.4-dev. The patch is also available in my branch (r76).
If python2.4-dev is not installed, where does the build fail?
ah - thx. committed a slightly modified version (keep build-deps in
alphabetical order)
Thanks for everything! :-)
--
Geoff
Loading...