Bug#367882: FTBFS: 'VERSION' was not declared in this scope

2006-06-03 Thread Mark Brown
On Sat, Jun 03, 2006 at 01:03:54AM +0200, Steinar H. Gunderson wrote:

 Downgrading to scons in stable seems to fix the problem, so this sounds very
 much like a scons bug to me.

Changing Add_define in bysys/libscim.py to append a list rather than a
string appears to resolve the build failure.  Patch below.

I'm trying to remember if this is a deliberate thing or a bug: I seem to
remember the former and do note that the examples in the manual tend to
add spaces as one would expect given this being deliberate (eg, in
the Appending to End Values in a Construction Environment section).

--- bksys/libscim.py.orig   2006-06-03 10:35:47.0 +0100
+++ bksys/libscim.py2006-06-03 10:36:02.0 +0100
@@ -68,7 +68,7 @@
 
def Add_define(env, name):
if env.has_key(name):
-   env.AppendUnique(CCFLAGS = '-D' + name + '=\\' 
+ env[name] + '\\' )
+   env.AppendUnique(CCFLAGS = ['-D' + name + 
'=\\' + env[name] + '\\'] )
return
 
# these are our options

  Cc-ing [EMAIL PROTECTED]

I have no idea how that reached me but it did...  Should be [EMAIL PROTECTED]

-- 
You grabbed my hand and we fell into it, like a daydream - or a fever.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#367882: FTBFS: 'VERSION' was not declared in this scope

2006-06-03 Thread Steinar H. Gunderson
On Sat, Jun 03, 2006 at 10:36:50AM +0100, Mark Brown wrote:
 Changing Add_define in bysys/libscim.py to append a list rather than a
 string appears to resolve the build failure.  Patch below.

Interesting; I'll give it a go.

  Cc-ing [EMAIL PROTECTED]
 I have no idea how that reached me but it did...  Should be [EMAIL PROTECTED]

I noticed the typo and bounced it to the right address. :-)

/* Steinar */
-- 
Homepage: http://www.sesse.net/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#367882: FTBFS: 'VERSION' was not declared in this scope

2006-06-02 Thread Steinar H. Gunderson
On Thu, May 18, 2006 at 05:31:53PM +0200, Martin Michlmayr wrote:
 g++ -o src/socketserverthread.os -c 
 -DNO_CONFIG_H-DVERSION=\1.4.4\-DPACKAGE=\skim\-DSCIM_VERSION=\1.4.4\ 
 -I/usr/include/scim-1.0 -DSCIM_BINARY_VERSION=\1.4.0\ 
 -DSCIM_LIBDIR=\/usr/lib\ -I/usr/include/kde -I/usr/include/qt3 
 -DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O2 -DNDEBUG 
 -DNO_DEBUG -DQT_NO_TRANSLATION -I. -Isrc -Isrc src/socketserverthread.cpp

Note the
-DNO_CONFIG_H-DVERSION=\1.4.4\-DPACKAGE=\skim\-DSCIM_VERSION=\1.4.4\
here; something seems to be cutting off the last character of every argument.
(I actually tried adding an extra space at the end of the -DNO_CONFIG_H
argument in the script; it added an extra  in the front and an extra space
in the end, but no extra  in the end, so it looks like it's actually eating
a character off every parameter!)

Downgrading to scons in stable seems to fix the problem, so this sounds very
much like a scons bug to me. Cc-ing [EMAIL PROTECTED]

/* Steinar */
-- 
Homepage: http://www.sesse.net/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#367882: FTBFS: 'VERSION' was not declared in this scope

2006-05-18 Thread Martin Michlmayr
Package: skim
Version: 1.4.4-1
Severity: serious

This package no longer builds in unstable:

 Automatic build of skim_1.4.4-1 on bilbao by sbuild/sparc 85
...
 Install file: scim/config/kconfig.la as 
 debian/tmp/usr/lib/scim-1.0/1.4.0/Config/kconfig.la
 g++ -o src/socketserverthread.os -c 
 -DNO_CONFIG_H-DVERSION=\1.4.4\-DPACKAGE=\skim\-DSCIM_VERSION=\1.4.4\ 
 -I/usr/include/scim-1.0 -DSCIM_BINARY_VERSION=\1.4.0\ 
 -DSCIM_LIBDIR=\/usr/lib\ -I/usr/include/kde -I/usr/include/qt3 
 -DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O2 -DNDEBUG 
 -DNO_DEBUG -DQT_NO_TRANSLATION -I. -Isrc -Isrc src/socketserverthread.cpp
 command line:1:12: warning: missing whitespace after the macro name
 src/socketserverthread.cpp: In member function 'void 
 scim::SocketServerThread::getHelp()':
 src/socketserverthread.cpp:391: error: 'VERSION' was not declared in this 
 scope
 scons: *** [src/socketserverthread.os] Error 1
 make: [install-stamp] Error 2 (ignored)
 # Prepare files for different packages to seperate directories.
 dh_install --sourcedir=debian/tmp --fail-missing
 cp: cannot stat `debian/tmp/usr/bin/skim': No such file or directory
 dh_install: command returned error code 256
 make: *** [install-stamp] Error 1

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]