Bug#598152: clisp: FTBFS on ARM EABI (armel)

2011-11-23 Thread Michael Terry

Hi, Peter!

On Wed 23 Nov 2011 01:03:54 EST, Peter Van Eynde wrote:

Could you try if disabling address space randomization helps? Do:

sudo sysctl -w kernel.randomize_va_space=0


Unfortunately, I don't have access to an armel machine with 
unrestricted sudo.  I can build on Canonical porter machines, but I 
don't have full root.

-mt



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#598152: clisp: FTBFS on ARM EABI (armel)

2011-11-22 Thread Peter Van Eynde
Hello Michael,

On 17/11/11 18:43, Michael Terry wrote:
> I get pretty far these days.  I was looking into why it was failing in
> Ubuntu and it gets to this point:
> 
> ./lisp.run -B . -N locale -E UTF-8 -Epathname 1:1 -Emisc 1:1 -norc -m
> 2MW -lp /home/mterry/clisp-2.49/src/ -x '(and (load
> "/home/mterry/clisp-2.49/src/init.lisp") (sys::%saveinitmem)
> (ext::exit)) (ext::exit t)'
> C_CODE_ALIGNMENT is wrong. &EVAL-WHEN = 0x36729.
> Add -falign-functions=4 to CFLAGS in the Makefile.
> make[1]: *** [interpreted.mem] Aborted
> 
> But everything appears to be compiled with -falign-functions=4 already...

Could you try if disabling address space randomization helps? Do:

sudo sysctl -w kernel.randomize_va_space=0

and retry.

Best regards, Peter

-- 
signature -at- pvaneynd.mailworks.org
http://pvaneynd.dreamwidth.org/
God, root, what is difference?-Pitr|God is more forgiving.-Dave Aronson|



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#598152: clisp: FTBFS on ARM EABI (armel)

2011-11-17 Thread Michael Terry
I get pretty far these days.  I was looking into why it was failing in 
Ubuntu and it gets to this point:


./lisp.run -B . -N locale -E UTF-8 -Epathname 1:1 -Emisc 1:1 -norc -m 
2MW -lp /home/mterry/clisp-2.49/src/ -x '(and (load 
"/home/mterry/clisp-2.49/src/init.lisp") (sys::%saveinitmem) 
(ext::exit)) (ext::exit t)'

C_CODE_ALIGNMENT is wrong. &EVAL-WHEN = 0x36729.
Add -falign-functions=4 to CFLAGS in the Makefile.
make[1]: *** [interpreted.mem] Aborted

But everything appears to be compiled with -falign-functions=4 already...

-mt



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#598152: clisp: FTBFS on ARM EABI (armel)

2010-09-28 Thread Hector Oron
Hello,

2010/9/28 Hector Oron :
> Hello Peter,
>
>  Thanks to upstream, we also have a fix for 2.48

You might want to follow the comments at:
https://sourceforge.net/tracker/?func=detail&atid=101355&aid=3076163&group_id=1355

Cheers,
-- 
 Héctor Orón

"Our Sun unleashes tremendous flares expelling hot gas into the Solar
System, which one day will disconnect us."

-- Day DVB-T stop working nicely
Video flare: http://antwrp.gsfc.nasa.gov/apod/ap100510.html



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#598152: clisp: FTBFS on ARM EABI (armel)

2010-09-28 Thread Hector Oron
Hello Peter,

  Thanks to upstream, we also have a fix for 2.48
[...]
dpkg-deb: building package `clisp' in `../clisp_2.48-3_armel.deb'.
dpkg-deb: building package `clisp-dev' in `../clisp-dev_2.48-3_armel.deb'.
 dpkg-genchanges  >../clisp_2.48-3_armel.changes

The fix would be:

diff -Naur clisp-2.48/modules/syscalls/calls.c
clisp-2.48.fixed//modules/syscalls/calls.c
--- clisp-2.48/modules/syscalls/calls.c 2010-06-25 17:51:28.0 +
+++ clisp-2.48.fixed//modules/syscalls/calls.c  2010-09-28
17:00:23.0 +
@@ -43,6 +43,7 @@
 # include 
 #endif
 #if defined(HAVE_SYS_WAIT_H)
+#undef unused
 # include/* always present on unix, but not elsewhere */
 #endif
 #if defined(HAVE_SYS_STATVFS_H)

Would it be possible to enable armel build with this fix?

Best regards,
  -- Héctor Orón



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#598152: clisp: FTBFS on ARM EABI (armel)

2010-09-27 Thread Hector Oron
Hello Peter,

> 2010/9/27 Peter Van Eynde :
>> In the 'pvaneynd' branch of the git repository there is a reworked
>> version that, for me, worked.

I can confirm it also worked for me.
Would it be possible to include this version (armel enabled) into 'squeeze'.

Best regards,
- Hector

[...]
dpkg-deb: building package `clisp' in `../clisp_2.49-1_armel.deb'.
dpkg-deb --build debian/clisp-dev ..
dpkg-deb: building package `clisp-dev' in `../clisp-dev_2.49-1_armel.deb'.
dpkg-deb --build debian/clisp-module-berkeley-db ..
dpkg-deb: building package `clisp-module-berkeley-db' in
`../clisp-module-berkeley-db_2.49-1_armel.deb'.
dpkg-deb --build debian/clisp-module-pcre ..
dpkg-deb: building package `clisp-module-pcre' in
`../clisp-module-pcre_2.49-1_armel.deb'.
dpkg-deb --build debian/clisp-module-clx ..
dpkg-deb: building package `clisp-module-clx' in
`../clisp-module-clx_2.49-1_armel.deb'.
dpkg-deb --build debian/clisp-module-rawsock ..
dpkg-deb: building package `clisp-module-rawsock' in
`../clisp-module-rawsock_2.49-1_armel.deb'.
dpkg-deb --build debian/clisp-module-gdbm ..
dpkg-deb: building package `clisp-module-gdbm' in
`../clisp-module-gdbm_2.49-1_armel.deb'.
 dpkg-genchanges  >../clisp_2.49-1_armel.changes
dpkg-genchanges: including full source code in upload
 dpkg-source --after-build clisp-3d631ec



>>
>> Could you try that?
>
> I am trying it, but I am getting, also by-passing:
>  dpkg-checkbuilddeps: Unmet build dependencies: libsigsegv-dev (>= 2.8)
>  dpkg-checkbuilddeps: Build conflicts: libsigsegv-dev (<= 2.8)
> which is not in the archive.
>
> Best regards,
> --
>  Héctor Orón
>
> "Our Sun unleashes tremendous flares expelling hot gas into the Solar
> System, which one day will disconnect us."
>
> -- Day DVB-T stop working nicely
> Video flare: http://antwrp.gsfc.nasa.gov/apod/ap100510.html
>



-- 
 Héctor Orón

"Our Sun unleashes tremendous flares expelling hot gas into the Solar
System, which one day will disconnect us."

-- Day DVB-T stop working nicely
Video flare: http://antwrp.gsfc.nasa.gov/apod/ap100510.html



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#598152: clisp: FTBFS on ARM EABI (armel)

2010-09-27 Thread Hector Oron
Hello,

2010/9/27 Peter Van Eynde :
> In the 'pvaneynd' branch of the git repository there is a reworked
> version that, for me, worked.
>
> Could you try that?

I am trying it, but I am getting, also by-passing:
  dpkg-checkbuilddeps: Unmet build dependencies: libsigsegv-dev (>= 2.8)
  dpkg-checkbuilddeps: Build conflicts: libsigsegv-dev (<= 2.8)
which is not in the archive.

Best regards,
-- 
 Héctor Orón

"Our Sun unleashes tremendous flares expelling hot gas into the Solar
System, which one day will disconnect us."

-- Day DVB-T stop working nicely
Video flare: http://antwrp.gsfc.nasa.gov/apod/ap100510.html



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#598152: clisp: FTBFS on ARM EABI (armel)

2010-09-27 Thread Peter Van Eynde
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hello Hector,

On 27/09/10 00:58, Hector Oron wrote:
>   For 2.49 (latest upstream release), it also fails but on another part, when 
> building i18n (also reported to upstream) [2]
> 
> configure: loading cache ../config.cache
> configure: error: `build_alias' was set to `arm-linux-gnueabi' in the 
> previous run
> configure: error: in `/home/zumbi/clisp-2.49/debian/build/i18n':
> configure: error: changes in the environment can compromise the build
> configure: error: run `make distclean' and/or `rm ../config.cache' and start 
> over

This is because the --host and --target system used by the configure of
clisp simply is something completely different from what the normal
configure does.

In the 'pvaneynd' branch of the git repository there is a reworked
version that, for me, worked.

Could you try that?

Best regards, Peter
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJMoOArAAoJEB4VNT76eIlauKwP/iY4hX26eWlWdkoTlWfKFop8
w3Pw2dkKwB5fHpgHoYn1mg0UfKNH3thsKlxCTozklo0YW229gXblFrnNbrXB5XRQ
2HtDueROpi5NlyRxZFJavcmOPSmxPT8pT3XTA4knNRW3IlY8wk2Y6O3v9pw1+2mE
Sc1+DgB30uALn7GtlhVEm19Q26YkClFkIXwYFWrGkQmZQ0NGZ+i4lkT0Ws28q4U/
ukpqCBm/jL4CkV7A0wEGhdO29D0dFr48LxuGKFvnBgRpL/yCnQaE7ZC/6Q6Ex1lh
Qj48dL6D/7G1htmmq1FwHo6sOJXvUKT5sfhp3fzmteEkTsb6IWnwEXzKJ1uJgswq
P4R6K5W9Y2vtiQwHPfxFSRi0g8oKAYKRyz6LTZC5PVv1Ib5t1YPj+VnzlKr5CIOB
c/yJG4zMJB9wKCUxdKT748SAgGBaRKFnau4EeGq9fy+UqYOwdG6FweJ+dLIo42kc
iGnBrfrdYGOyefXytp9dFHOF1ggwBn2wp3t15k+V1NbLEWxo7ul08ft6yKuEXOMP
4ORc+YxVgGZrISp7Ii2/JYUkBoLCPDBvom4w9E5wL7wTJHnjmbUqJjZS4dMZNI+D
qyuly10md7iQectECAcMMN3/jWBL1E4DLBEQKod0iPJWmDvLcU6W57xAVzN0YXOG
RNukdR6fJ32wWSvKEr5J
=uUo8
-END PGP SIGNATURE-



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#598152: clisp: FTBFS on ARM EABI (armel)

2010-09-26 Thread Hector Oron
Package: clisp
Version: 2.48/2.49
Severity: normal


Hello,

  I have been trying to build `clisp' on armel without success.

  For 2.48 (current source in sid):

  I get the following bug: (reported to upstream) [1]
  
CLISP="/home/zumbi/clisp-2.48/debian/build/clisp -K boot -B 
/home/zumbi/clisp-2.48/debian/build -N 
/home/zumbi/clisp-2.48/debian/build/locale -E UTF-8 -Epathname 1:1 -Emisc 1:1 
-norc" ; cd syscalls ; /usr/bin/make clisp-module CC="arm-linux-gnueabi-gcc" 
CPPFLAGS="-I/home/zumbi/clisp-2.48/debian/build/gllib" CFLAGS="-g -O2 -W 
-Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type 
-Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral -O2 
-falign-functions=4 -DUNICODE -I." CLFLAGS="" LIBS="/usr/lib/libreadline.so 
-lncurses -ldl /usr/lib/libavcall.so /usr/lib/libcallback.so -L/usr/lib 
-lsigsegv" RANLIB="ranlib" CLISP="$CLISP -q" SHREXT=.so
make[2]: Entering directory `/home/zumbi/clisp-2.48/debian/build/syscalls'
arm-linux-gnueabi-gcc -I/home/zumbi/clisp-2.48/debian/build/gllib -g -O2 -W 
-Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type 
-Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral -O2 
-falign-functions=4 -DUNICODE -I. -I$(/home/zumbi/clisp-2.48/debian/build/clisp 
-K boot -B /home/zumbi/clisp-2.48/debian/build -N 
/home/zumbi/clisp-2.48/debian/build/locale -E UTF-8 -Epathname 1:1 -Emisc 1:1 
-norc -q -b)/linkkit -c calls.m.c -o calls.o
In file included from /usr/include/sys/procfs.h:34,
from /usr/include/sys/ucontext.h:26,
from /usr/include/signal.h:359,
from /usr/include/sys/wait.h:31,
from calls.c:46:
/usr/include/sys/user.h:31: error: expected identifier or ‘(’ before ‘void’
/usr/include/sys/user.h:32: error: expected ‘;’ before ‘unsigned’
make[2]: *** [calls.o] Error 1
make[2]: Leaving directory `/home/zumbi/clisp-2.48/debian/build/syscalls'
make[1]: *** [syscalls] Error 2
make[1]: Leaving directory `/home/zumbi/clisp-2.48/debian/build'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

  For 2.49 (latest upstream release), it also fails but on another part, when 
building i18n (also reported to upstream) [2]

configure: loading cache ../config.cache
configure: error: `build_alias' was set to `arm-linux-gnueabi' in the previous 
run
configure: error: in `/home/zumbi/clisp-2.49/debian/build/i18n':
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm ../config.cache' and start 
over

  after removing config.cache file:

test -f $m/Makefile -a $m/Makefile -nt i18n/Makefile && sed
"s,srcdir = .,srcdir = $m," "$m/Makefile" > i18n/Makefile ; \
CLISP="/home/zumbi/clisp-2.49/debian/build/clisp -K boot -E UTF-8
-Epathname 1:1 -Emisc 1:1 -norc" ; \
cd i18n ; /usr/bin/make clisp-module CC="arm-linux-gnueabi-gcc"
CPPFLAGS="-I/home/zumbi/clisp-2.49/debian/build/gllib
-I/home/zumbi/clisp-2.49/debian/build" CFLAGS="-g -O2 -W -Wswitch -Wcomment
-Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations
-Wno-sign-compare -Wno-format-nonliteral -O2 -falign-functions=4
-DENABLE_UNICODE -DDYNAMIC_MODULES -I. -fPIC" CLFLAGS="
-Wl,--export-dynamic" LIBS="/usr/lib/libreadline.so -lncurses -ldl
/usr/lib/libavcall.so /usr/lib/libcallback.so -L/usr/lib -lsigsegv
libgnu_cl.a" RANLIB="ranlib" CLISP="$CLISP -q" SHREXT=.so
configure: ** I18N (Common)
checking how to remove colons from paths... echo $x
checking for clisp... no
checking for CLISP... no
configure: error: CLISP not found


[1] 
https://sourceforge.net/tracker/?func=detail&aid=3076163&group_id=1355&atid=101355
[2] 
https://sourceforge.net/tracker/?func=detail&aid=3076160&group_id=1355&atid=101355

-- System Information:
Debian Release: 5.0.6
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: armel (armv5tel)

Kernel: Linux 2.6.32
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org