Bug#400072: museek+: FTBFS: IOError: [Errno 2] No such file or directory: 'mucipher.i':
Package: museek+ Version: 0.1.12-1 Severity: serious Justification: FTBFS on i386, very likely to fail everywhere else Usertags: grid5000 Hi, During a rebuild of all packages in etch, I discovered that your package failed to build on i386. Relevant parts: Headers for Mucipher... IOError: [Errno 2] No such file or directory: 'mucipher.i': File "/build/root/museek+-0.1.12/SConstruct", line 381: SConscript(os.path.join(dir, 'SConscript'), build_dir = bd, duplicate = 1) File "/usr/lib/scons/SCons/Script/SConscript.py", line 579: return apply(method, args, kw) File "/usr/lib/scons/SCons/Script/SConscript.py", line 516: return apply(_SConscript, [self.fs,] + files, subst_kw) File "/usr/lib/scons/SCons/Script/SConscript.py", line 244: exec _file_ in call_stack[-1].globals File "/build/root/museek+-0.1.12/workdir/Mucipher/SConscript", line 17: SConscript(os.path.join('python', 'SConscript')) File "/usr/lib/scons/SCons/Script/SConscript.py", line 579: return apply(method, args, kw) File "/usr/lib/scons/SCons/Script/SConscript.py", line 516: return apply(_SConscript, [self.fs,] + files, subst_kw) File "/usr/lib/scons/SCons/Script/SConscript.py", line 244: exec _file_ in call_stack[-1].globals File "/build/root/museek+-0.1.12/workdir/Mucipher/python/SConscript", line 29: mucipherc = env_swigpy.SharedLibrary('_mucipherc', sources, SWIGFLAGS='-python') File "/usr/lib/scons/SCons/Environment.py", line 188: return apply(self.builder, (self.env, target, source) + args, kw) File "/usr/lib/scons/SCons/Builder.py", line 615: return self._execute(env, target, source, OverrideWarner(kw), ekw) File "/usr/lib/scons/SCons/Builder.py", line 784: tlist = bld._execute(env, None, [snode], overwarn) File "/usr/lib/scons/SCons/Builder.py", line 784: tlist = bld._execute(env, None, [snode], overwarn) File "/usr/lib/scons/SCons/Builder.py", line 567: tlist, slist = self._create_nodes(env, target, source) File "/usr/lib/scons/SCons/Builder.py", line 536: target, source = self.emitter(target=tlist, source=slist, env=env) File "/usr/lib/scons/SCons/Builder.py", line 204: target, source = emitter(target, source, env) File "/usr/lib/scons/SCons/Tool/swig.py", line 88: f = open(src) make: *** [build-stamp] Error 2 The full build log is available from http://ox.blop.info/bazaar/buildlogs/20061122/ About the archive rebuilt: The rebuilt was done on about 30 AMD64 nodes of the Grid'5000 platform, using a clean chroot containing an etch i386 environment (not unstable). Internet was not accessible from the build systems. The builds were processed as root. About Grid'5000: Grid'5000 is an highly reconfigurable experimental Grid platform gathering 9 sites and featuring a total of 5000 CPUs. It serves as a testbed for research in Grid Computing. See https://www.grid5000.fr/ -- | Lucas Nussbaum | [EMAIL PROTECTED] http://www.lucas-nussbaum.net/ | | jabber: [EMAIL PROTECTED] GPG: 1024D/023B3F4F | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#400072: museek+: FTBFS: IOError: [Errno 2] No such file or directory: 'mucipher.i':
tags 400072 patch thanks Hello, Please find attached a patch to fix the FTBFS. I removed mucipher.i from the sources list in Mucipher/python/SConscript. sources is used to make a SharedLibrary, and scons has no way to use it for inclusion in a library. This does not seems to be a source file. And the package builds cleanly without. In the same file, I changed the order of the arguments of file_copy to match the Environment.Command documentation. The change in Tools/SConscript is due to a bug in scons. I will file a bug against scons, but for the moment, I recommend to use it (otherwise, scons compile with "-D{'HAVE_VORBIS': 1}" instead of -DHAVE_VORBIS=1) This could be fixed in other ways (e.g. by using a tupple instead of a dictionnary: env_libmuscan.Append(CPPDEFINES = ("HAVE_VORBIS", 1)), but this behavior do not seems to be documented. Kind Regards, -- Nekral diff -rauN ../orig/museek+-0.1.12/Mucipher/python/SConscript ./museek+-0.1.12/Mucipher/python/SConscript --- ../orig/museek+-0.1.12/Mucipher/python/SConscript 2006-06-07 12:23:42.0 +0200 +++ ./museek+-0.1.12/Mucipher/python/SConscript 2006-11-29 23:51:44.0 +0100 @@ -4,11 +4,10 @@ import os sources = Split(""" - mucipher.i wraphelp.c """) -def file_copy(target, source, env): +def file_copy(env, target, source): open(str(target[0]), "w").write(open(str(source[0])).read()) py_ver = str(sys.version_info[0]) + "." + str(sys.version_info[1]) diff -rauN ../orig/museek+-0.1.12/Tools/SConscript ./museek+-0.1.12/Tools/SConscript --- ../orig/museek+-0.1.12/Tools/SConscript 2006-05-26 21:47:57.0 +0200 +++ ./museek+-0.1.12/Tools/SConscript 2006-11-29 23:51:44.0 +0100 @@ -16,7 +16,10 @@ if env['VORBIS']: env_libmuscan.ParseConfig('pkg-config --libs --cflags vorbisfile') if conf.CheckLibWithHeader('', 'vorbis/vorbisfile.h', 'C++', 'ov_clear(0);'): - env_libmuscan.Append(CPPDEFINES = {'HAVE_VORBIS': 1}) + if env_libmuscan['CPPDEFINES'] != []: + env_libmuscan.Append(CPPDEFINES = {"HAVE_VORBIS": 1}) + else: + env_libmuscan.Replace(CPPDEFINES = {"HAVE_VORBIS": 1}) print "OGG Vorbis found, compiling into muscan." else: print "OGG Vorbis NOT found, not compiled into muscan."
Bug#400072: museek+: FTBFS: IOError: [Errno 2] No such file or directory: 'mucipher.i':
Le jeudi 30 novembre 2006 00:42, Nicolas François a écrit : > tags 400072 patch > thanks > > Hello, > > Please find attached a patch to fix the FTBFS. > > I removed mucipher.i from the sources list in Mucipher/python/SConscript. > sources is used to make a SharedLibrary, and scons has no way to use it > for inclusion in a library. > This does not seems to be a source file. And the package builds cleanly > without. > > In the same file, I changed the order of the arguments of file_copy to > match the Environment.Command documentation. > > The change in Tools/SConscript is due to a bug in scons. I will file a bug > against scons, but for the moment, I recommend to use it (otherwise, scons > compile with "-D{'HAVE_VORBIS': 1}" instead of -DHAVE_VORBIS=1) > This could be fixed in other ways (e.g. by using a tupple instead of a > dictionnary: env_libmuscan.Append(CPPDEFINES = ("HAVE_VORBIS", 1)), but > this behavior do not seems to be documented. > > Kind Regards, Thanks for your patch. In fact your patch fix the FTBFS but there's a new problem. Python bindings do not works anymore : [EMAIL PROTECTED]:~$ python Python 2.4.4c0 (#2, Jul 30 2006, 18:20:12) [GCC 4.1.2 20060715 (prerelease) (Debian 4.1.1-9)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import mucipher Traceback (most recent call last): File "", line 1, in ? File "/var/lib/python-support/python2.4/mucipher.py", line 51, in ? class shaBlock: File "/var/lib/python-support/python2.4/mucipher.py", line 53, in shaBlock hasher = mucipherc.shaBlock AttributeError: 'module' object has no attribute 'shaBlock' >>> I'm still wainting the upstream author comes back (he emailed me a few days ago) but feel free to have a look if you think you can solve this problem. Regards.
Bug#400072: museek+: FTBFS: IOError: [Errno 2] No such file or directory: 'mucipher.i':
Hi, On Sat, Dec 02, 2006 at 06:45:27PM +0100, [EMAIL PROTECTED] wrote: > Le jeudi 30 novembre 2006 00:42, Nicolas François a écrit : Here is a second patch (I could import mucipher nicely with this one). It does not fix the museek+ build system directly, but fix it in debian/rules. As upstream seems to be willing to chnage the build system, it should not be an issue. Kind Regards, -- Nekral diff -rauN ../orig/museek+-0.1.12/debian/rules ./museek+-0.1.12/debian/rules --- ../orig/museek+-0.1.12/debian/rules 2006-12-04 19:20:33.0 +0100 +++ ./museek+-0.1.12/debian/rules 2006-12-04 19:25:59.0 +0100 @@ -25,6 +25,12 @@ build-stamp: patch-stamp dh_testdir # Run configure and build with scons + # for the SharedLibrary command, SCons needs the sources to be + # in place in advance + # (Command("mucipher.i", "../mucipher.i", file_copy) do not do + # the trick) + mkdir -p workdir/Mucipher/python/ + cp Mucipher/mucipher.i workdir/Mucipher/python/ scons CFLAGS="$(CFLAGS)" QTDIR=/usr/share/qt3/ BUILDDIR=0 touch build-stamp diff -rauN ../orig/museek+-0.1.12/Tools/SConscript ./museek+-0.1.12/Tools/SConscript --- ../orig/museek+-0.1.12/Tools/SConscript 2006-05-26 21:47:57.0 +0200 +++ ./museek+-0.1.12/Tools/SConscript 2006-12-04 19:03:46.0 +0100 @@ -16,7 +16,10 @@ if env['VORBIS']: env_libmuscan.ParseConfig('pkg-config --libs --cflags vorbisfile') if conf.CheckLibWithHeader('', 'vorbis/vorbisfile.h', 'C++', 'ov_clear(0);'): - env_libmuscan.Append(CPPDEFINES = {'HAVE_VORBIS': 1}) + if env_libmuscan['CPPDEFINES'] != []: + env_libmuscan.Append(CPPDEFINES = {"HAVE_VORBIS": 1}) + else: + env_libmuscan.Replace(CPPDEFINES = {"HAVE_VORBIS": 1}) print "OGG Vorbis found, compiling into muscan." else: print "OGG Vorbis NOT found, not compiled into muscan."
Processed: Re: Bug#400072: museek+: FTBFS: IOError: [Errno 2] No such file or directory: 'mucipher.i':
Processing commands for [EMAIL PROTECTED]: > tags 400072 patch Bug#400072: museek+: FTBFS: IOError: [Errno 2] No such file or directory: 'mucipher.i': There were no tags set. Tags added: patch > thanks Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]