Re: [dev] libixp and wmii compile error

From: Davide Anchisi <danchisi_AT_gmail.com>
Date: Thu, 8 Jul 2010 10:00:03 +0200

hi Kris,

thanks for the work!

Two more things, now (I hope not to stress you, I just want to help
make wmii better):

 -1-
The installed wmii works, but I get the following error messages while
installing it (version hg-2759, as well some of the previous. To
install I am using 'dpkg -i wmii*.deb'):

Compiling /usr/lib/pymodules/python2.5/pygmi/fs.py ...
  File "/usr/lib/pymodules/python2.5/pygmi/fs.py", line 21
    class Toggle(utf8):
        ^
SyntaxError: invalid syntax

/usr/lib/pymodules/python2.5/pygmi/monitor.py:88: Warning: 'with' will
become a reserved keyword in Python 2.6
Compiling /usr/lib/pymodules/python2.5/pygmi/monitor.py ...
  File "/usr/lib/pymodules/python2.5/pygmi/monitor.py", line 88
    with self.lock:
            ^
SyntaxError: invalid syntax

Compiling /usr/lib/pymodules/python2.5/pygmi/util.py ...
  File "/usr/lib/pymodules/python2.5/pygmi/util.py", line 28
    call(*args, input=message)
                    ^
SyntaxError: invalid syntax

/usr/lib/pymodules/python2.5/pyxp/client.py:123: Warning: 'with' will
become a reserved keyword in Python 2.6
Compiling /usr/lib/pymodules/python2.5/pyxp/client.py ...
  File "/usr/lib/pymodules/python2.5/pyxp/client.py", line 123
    with self.lock:
            ^
SyntaxError: invalid syntax

/usr/lib/pymodules/python2.5/pyxp/mux.py:107: Warning: 'with' will
become a reserved keyword in Python 2.6
Compiling /usr/lib/pymodules/python2.5/pyxp/mux.py ...
  File "/usr/lib/pymodules/python2.5/pyxp/mux.py", line 107
    with self.lock:
            ^
SyntaxError: invalid syntax

 -2-
During the wmii compilation process (via make deb) there are these warnings:

dpkg-shlibdeps: warning: symbol XInternAtoms used by
debian/wmii-hg/usr/lib/libwmii_hack.so found in none of the libraries.
dpkg-shlibdeps: warning: symbol XInternAtom used by
debian/wmii-hg/usr/lib/libwmii_hack.so found in none of the libraries.
dpkg-shlibdeps: warning: symbol XChangeProperty used by
debian/wmii-hg/usr/lib/libwmii_hack.so found in none of the libraries.
dpkg-shlibdeps: warning: symbol XGetWindowProperty used by
debian/wmii-hg/usr/lib/libwmii_hack.so found in none of the libraries.
   dh_installdeb
   dh_gencontrol
dpkg-gencontrol: warning: package wmii-hg: unused substitution
variable ${python:Versions}
dpkg-gencontrol: warning: package wmii-hg: unused substitution
variable ${python:Depends}

 Best,

 Davide

2010/7/8 Kris Maglione <maglione.k_AT_gmail.com>:
> On Wed, Jul 07, 2010 at 04:45:45PM +0200, Davide Anchisi wrote:
>>
>> Hi Kris,
>>
>> thank for your response and for the deb rules in the libixp Makefile.
>>
>> Actually, I get the following error in compiling libixp both using
>> 'dpkg-buildpackage -rfakeroot -b' or 'make deb' (while the build
>> process gives no problem using just 'make'):
>>
>> dh_usrlocal: debian/libixp-hg/usr/local/share/man/man1/ixpc.1 is not a
>> directory
>> rmdir: failed removing "debian/libixp-hg/usr/local/share/man/man1":
>> the directory is not empty
>> dh_usrlocal: rmdir debian/libixp-hg/usr/local/share/man/man1 returned
>> exit code 1
>> make[1]: *** [binary] Error 1
>> dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit
>> status 2
>> make: *** [deb] Error 2
>
> I noticed that in the launchpad build log, but didn't have time to
> investigate. It should work now.
>
> --
> Kris Maglione
>
> If the code and the comments disagree, then both are probably wrong.
>        --attributed to Norm Schryer
>
>
>
Received on Thu Jul 08 2010 - 10:00:03 CEST

This archive was generated by hypermail 2.2.0 : Thu Jul 08 2010 - 10:12:02 CEST