[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFH: strace FTBFS



I'm was unable to simply build strace ...

$ uname -a
Linux squat 2.6.26-2-sparc64-smp #1 SMP Sun Jun 21 05:58:06 UTC 2009 sparc64 GNU/Linux

$ dpkg -l | grep linux-ima
ii  linux-image-2.6-sparc64-smp               2.6.26+17+lenny1         Linux 2.6 image on multiprocessor 64-bit Ult
ii  linux-image-2.6.26-2-sparc64-smp          2.6.26-21lenny4          Linux 2.6.26 image on multiprocessor 64-bit

14:31:33 mator@squat:~/code/strace-4.5.20$ ./configure && make
...
make  all-am
make[1]: Entering directory `/home/mator/code/strace-4.5.20'
gcc -DHAVE_CONFIG_H -I. -I./linux/sparc64 -I./linux   -Wall -g -O2 -MT strace.o -MD -MP -MF .deps/strace.Tpo -c -o strace.o strace.c
In file included from defs.h:226,
                 from strace.c:33:
/usr/include/asm/psrcompat.h:7:4: error: #error asm-sparc/psrcompat.h does not exist in the sparc architecture
make[1]: *** [strace.o] Error 1
make[1]: Leaving directory `/home/mator/code/strace-4.5.20'
make: *** [all] Error 2



On 05.05.2010 / 15:31:37 +0200, Frederik Schüler wrote:
> Hello,
> 
> currently, the 32bit binary build of strace fails on sparc (the 64bit one 
> succeeds):
> 
> https://buildd.debian.org/fetch.cgi?&pkg=strace&ver=4.5.20-2&arch=sparc&stamp=1273064636&file=log
> 
> gcc -DHAVE_CONFIG_H -I. -I.. -I../linux/sparc -I../linux   -Wall -Wall -g -O2 
> -MT file.o -MD -MP -MF .deps/file.Tpo -c -o file.o ../file.c
> In file included from ../file.c:88:
> /usr/include/asm/stat.h:56: error: expected specifier-qualifier-list before 
> 'uid16_t'
> ../file.c: In function 'realprintstat':
> ../file.c:943: warning: format '%lu' expects type 'long unsigned int', but 
> argument 2 has type 'unsigned int'
> make[2]: *** [file.o] Error 1
> make[1]: *** [all] Error 2
> make[2]: Leaving directory `/build/buildd-strace_4.5.20-2-
> sparc-1lSZrO/strace-4.5.20/build'
> make[1]: Leaving directory `/build/buildd-strace_4.5.20-2-
> sparc-1lSZrO/strace-4.5.20/build'
> make: *** [build-stamp] Error 2
> 
> I already forwarded this issue to upstream.
> 
> Maybe somebody can help me getting this fixed?
> 
> Best regards
> Frederik Schüler
> 
> PS: Please CC me, I am not subscribed.
> 
> -- 
> ENOSIG



Reply to: