Re: [alpine-devel] Porting Alpine scripts
Please help me to review these patches.
On 02/01/2017 02:03 AM, Timo Teras wrote:
> On Wed, 1 Feb 2017 01:42:24 -0500
> "Tuan M. Hoang" <tmhoang_at_flatglobe.org> wrote:
>> On Mon, 30 Jan 2017 13:21:56 +0200
>> Timo Teras <timo.teras_at_iki.fi> wrote:
>>>> Cross-compiling strace and gdb requires 'linux-headers'
>>>> installed in $CBUILDROOT. strace is cool but gdb still fails
>>> Should fix strace APKBUILD to support cross-compilation using the
>>> makedepends_host as used in other cross-compile enabled packages.
>> Thanks, it's very neat.
>>>> elf_gregset_t and elf_fpregset_t were supposed to be defined in
>>>> and I think it should be built in 'linux-headers', but no trace of
>>> Strange. Sounds like a bug somewhere.
>> Indeed. It was a musl bug, and with some patches, gdb is good now.
> Ok. Good, perhaps you can submit them upstream to musl?
>> Looks like /usr/lib/libfakeroot.so is the one causes the segfault. Is
>> there any option in abuild to build package with out being stripped?
>> I would like to do so then debug fakeroot better. Adding -DDEBUG or
>> -g in CFLAGS and CXXFLAGS in APKBUILD doesn't help.
> DEBUG=yes abuild
> add "$pkgname-dbg" to subpackages, and a separate -dbg package is
> created with the debug information.
>>>> Here is the log of strace fakeroot :
>>> Could you retry with "strace -f -s 1024" ?
>> I am not sure the strace would be informative for you :
> Unfortunately, this does not immediately reveal anything additional.
> Getting gdb backtrace should help.
> Unsubscribe: alpine-devel+unsubscribe_at_lists.alpinelinux.org
> Help: alpine-devel+help_at_lists.alpinelinux.org
Received on Fri Feb 17 2017 - 12:27:36 UTC