RFH: strace FTBFS

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

RFH: strace FTBFS

Frederik Schueler-2
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

signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: RFH: strace FTBFS

Anatoly Pugachev-5

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



--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]
Archive: http://lists.debian.org/20100505150236.GC22500@...

Reply | Threaded
Open this post in threaded view
|

Re: RFH: strace FTBFS

Julien Cristau-6
In reply to this post by Frederik Schueler-2
On Wed, May  5, 2010 at 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'
Looks like a kernel bug, as uid16_t is not available in userspace.
Should be fixed by:

commit 7469a9acf919d36836f6c635099d8edc9be4528a
Author: Rob Landley <[hidden email]>
Date:   Sat Mar 27 08:36:18 2010 -0700

    sparc: Fix use of uid16_t and gid16_t in asm/stat.h
   
    Signed-off-by: Rob Landley <[hidden email]>
    Signed-off-by: David S. Miller <[hidden email]>

Cheers,
Julien

signature.asc (853 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: RFH: strace FTBFS

Frederik Schueler-2
Hi,

great, thanks.

Will add it to linux-2.6 in sid, and do some test-builds...

Best regards
Frederik Schüler

On Wednesday 05 May 2010 17:31:45 Julien Cristau wrote:

> Looks like a kernel bug, as uid16_t is not available in userspace.
> Should be fixed by:
>
> commit 7469a9acf919d36836f6c635099d8edc9be4528a
> Author: Rob Landley <[hidden email]>
> Date:   Sat Mar 27 08:36:18 2010 -0700
>
>     sparc: Fix use of uid16_t and gid16_t in asm/stat.h
>    
>     Signed-off-by: Rob Landley <[hidden email]>
>     Signed-off-by: David S. Miller <[hidden email]>
>
> Cheers,
> Julien
>
--
ENOSIG

signature.asc (205 bytes) Download Attachment