Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 241168 - Stabilize dev-util/strace-4.5.18
Summary: Stabilize dev-util/strace-4.5.18
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on: 250631 258987
Blocks:
  Show dependency tree
 
Reported: 2008-10-10 20:35 UTC by SpanKY
Modified: 2009-10-27 13:15 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ARM-EABI Patch (strace-4.5.18-arm-syscallent.patch,3.96 KB, patch)
2009-02-13 21:36 UTC, solar (RETIRED)
Details | Diff
arm syscall fixes from mainline (strace-4.5.18-arm-syscalls.patch,6.72 KB, patch)
2009-02-14 00:33 UTC, SpanKY
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2008-10-10 20:35:58 UTC
doit
Comment 1 Friedrich Oslage (RETIRED) gentoo-dev 2008-10-11 11:55:08 UTC
sparc stable
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-10-11 15:55:52 UTC
Stable for HPPA.
Comment 3 Richard Freeman gentoo-dev 2008-10-11 18:51:50 UTC
amd64 stable
Comment 4 nixnut (RETIRED) gentoo-dev 2008-10-12 14:08:30 UTC
ppc stable
Comment 5 Raúl Porcel (RETIRED) gentoo-dev 2008-10-13 09:26:24 UTC
alpha/ia64/x86 stable
Comment 6 Brent Baude (RETIRED) gentoo-dev 2008-10-14 20:32:39 UTC
ppc64 stable
Comment 7 Raúl Porcel (RETIRED) gentoo-dev 2008-11-10 11:38:33 UTC
All done
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2009-01-22 17:19:01 UTC
Still puzzling over bug #250631, so reverting for HPPA too and readding ARM and SH because of:

# ChangeLog for dev-util/strace
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/strace/ChangeLog,v 1.129 2008/11/11 20:41:04 armin76 Exp $

  11 Nov 2008; Raúl Porcel <armin76@gentoo.org> strace-4.5.18.ebuild:
  Revert, since it seems to fail
Comment 9 SpanKY gentoo-dev 2009-01-22 19:01:13 UTC
your changelog "revert, seems to fail" is useless as it contains no real info.  istr strace-4.5.18 working for me (and checking again, it does indeed work for `strace ls`).
Comment 10 Raúl Porcel (RETIRED) gentoo-dev 2009-02-13 17:42:51 UTC
Some user told me and solar that it failed. Will have a look, sorry about that.

We're talking about arm, btw.
Comment 11 Robert Piasek (RETIRED) gentoo-dev 2009-02-13 17:47:44 UTC
Fails on arm:

make -j2                                                                                                                                                                                                       
make  all-am                                                                                                                                                                                                   
make[1]: Entering directory `/var/tmp/paludis/dev-util-strace-4.5.18/work/strace-4.5.18'                                                                                                                       
armv4tl-softfloat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -Ilinux/arm -I./linux/arm -Ilinux -I./linux   -Wall -Os -pipe -march=armv4t -mtune=arm920t -fomit-frame-pointer -I/usr/armv4tl-softfloat-linux-gnueabi/usr/include/ -I/usr/armv4tl-softfloat-linux-gnueabi/include/ -MT strace.o -MD -MP -MF .deps/strace.Tpo -c -o strace.o strace.c                                                                                 
armv4tl-softfloat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -Ilinux/arm -I./linux/arm -Ilinux -I./linux   -Wall -Os -pipe -march=armv4t -mtune=arm920t -fomit-frame-pointer -I/usr/armv4tl-softfloat-linux-gnueabi/usr/include/ -I/usr/armv4tl-softfloat-linux-gnueabi/include/ -MT syscall.o -MD -MP -MF .deps/syscall.Tpo -c -o syscall.o syscall.c                                                                             
In file included from syscall.c:129:
linux/arm/syscallent.h:435:3: error: #error fix me
linux/arm/syscallent.h:457:3: error: #error fix me
syscall.c: In function 'get_scno':
syscall.c:1001: warning: passing argument 4 of 'ptrace' makes integer from pointer without a cast
syscall.c:1038: warning: passing argument 4 of 'ptrace' makes integer from pointer without a cast
syscall.c: In function 'syscall_fixup':
syscall.c:1346: warning: unused variable 'pid'
syscall.c: In function 'syscall_enter':
syscall.c:1942: warning: unused variable 'pid'
make[1]: *** [syscall.o] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/strace.Tpo .deps/strace.Po
make[1]: Leaving directory `/var/tmp/paludis/dev-util-strace-4.5.18/work/strace-4.5.18'
make: *** [all] Error 2
/usr/libexec/paludis/utils/emake: emake returned error 2

!!! ERROR in dev-util/strace-4.5.18:
!!! In src_compile at line 3600
!!! (no message provided)

!!! Call stack:
!!!    * src_compile (/var/tmp/paludis/dev-util-strace-4.5.18/temp/loadsaveenv:3600)
!!!    * ebuild_f_compile (/usr/libexec/paludis/0/src_compile.bash:49)
!!!    * ebuild_main (/usr/libexec/paludis/ebuild.bash:482)
!!!    * main (/usr/libexec/paludis/ebuild.bash:498)

diefunc: making ebuild PID 856 exit with error
die trap: exiting with error.
Comment 12 SpanKY gentoo-dev 2009-02-13 18:23:29 UTC
that is an eabi-specific build failure.  there are patches floating around somewhere for it (try looking at crosstool-ng).  i'm also pretty sure that failure has been there for the last few versions and isnt new to 4.5.18.

if someone finds a working patch that doesnt suck, we can add it.  you might also want to check upstream strace in case they've already merged the fix.
Comment 14 solar (RETIRED) gentoo-dev 2009-02-13 21:36:18 UTC
Created attachment 181907 [details, diff]
ARM-EABI Patch

(In reply to comment #13)
> http://www.mail-archive.com/fedora-arm@redhat.com/msg00040.html 

Confirmed FC patch allows strace-4.5.18 to compile on arm*eabi
Last working version was 4.5.16-r1
Comment 15 Robert Piasek (RETIRED) gentoo-dev 2009-02-13 21:41:59 UTC
tested. I can confirm it works fine!

Comment 16 SpanKY gentoo-dev 2009-02-14 00:29:18 UTC
yeah but i'm pretty sure that breaks OABI, so that's no good
Comment 17 SpanKY gentoo-dev 2009-02-14 00:33:57 UTC
Created attachment 181917 [details, diff]
arm syscall fixes from mainline

try this instead
Comment 18 Raúl Porcel (RETIRED) gentoo-dev 2009-02-14 10:57:37 UTC
(In reply to comment #17)
> Created an attachment (id=181917) [edit]
> arm syscall fixes from mainline
> 
> try this instead
> 

It works
Comment 19 Robert Piasek (RETIRED) gentoo-dev 2009-02-14 11:58:45 UTC
(In reply to comment #18)
> (In reply to comment #17)
> > Created an attachment (id=181917) [edit]
> > arm syscall fixes from mainline
> > 
> > try this instead
> > 
> 
> It works
> 

works here as well
Comment 20 Jeroen Roovers (RETIRED) gentoo-dev 2009-02-14 17:08:33 UTC
Please continue the ARM porting effort in bug #258987. This is the stabilisation bug for both ARM and HPPA.
Comment 21 SpanKY gentoo-dev 2009-10-27 13:15:21 UTC
hppa wont be going stable with 4.5.18, so punt this bug