Package: cln
Severity: important
Tags: patch
User: debian-...@lists.debian.org
Usertag: arm64

cln ftbfs on arm64 with the following error

/bin/bash ../libtool  --tag=CXX   --mode=compile aarch64-linux-gnu-g++ 
-DHAVE_CONFIG_H -I. -I../autoconf  -I../include -I../src -I../include -I../src 
-D_FORTIFY_SOURCE=2 -DNO_ASM  -g -O2 -Wformat -Werror=format-security -MT 
cl_as_exception.lo -MD -MP -MF .deps/cl_as_exception.Tpo -c -o 
cl_as_exception.lo `test -f 'base/cl_as_exception.cc' || echo 
'./'`base/cl_as_exception.cc
libtool: compile:  aarch64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../autoconf 
-I../include -I../src -I../include -I../src -D_FORTIFY_SOURCE=2 -DNO_ASM -g -O2 
-Wformat -Werror=format-security -MT cl_as_exception.lo -MD -MP -MF 
.deps/cl_as_exception.Tpo -c base/cl_as_exception.cc  -fPIC -DPIC -o 
.libs/cl_as_exception.o
In file included from ../include/cln/number.h:8:0,
                from ./base/cl_N.h:6,
                from base/cl_as_exception.cc:13:
../include/cln/object.h:32:4: error: #error "Define cl_word_alignment for your 
CPU!"
  #error "Define cl_word_alignment for your CPU!"
   ^
../include/cln/object.h: In function 'bool cln::cl_pointer_p(cln::cl_uint)':
../include/cln/object.h:76:18: error: 'cl_word_alignment' was not declared in 
this scope
 return (word & (cl_word_alignment-1)) == 0;
                 ^
../include/cln/object.h: In function 'bool cln::cl_immediate_p(cln::cl_uint)':
../include/cln/object.h:80:18: error: 'cl_word_alignment' was not declared in 
this scope
 return (word & (cl_word_alignment-1)) != 0;
                 ^
make[2]: *** [cl_as_exception.lo] Error 1

ubuntu already have a fix for this which can be found at http://launchpadlibrarian.net/153813998/cln_1.3.3-1_1.3.3-1ubuntu1.diff.gz. I've just uploaded the same fix (with a modified changelog entry) to debian-ports arm64 unreleased.

The arm64 porters are trying to push arm64 into the main debian archive at the moment and so would appreciate getting the fix into debian debian sid soonish. I haven't uploaded a NMU to debian at this point but if there is no response to this bug report either myself or another porter may well do so. If you have any objections to this patch please raise them now.


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

Reply via email to