Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 551624

Summary: =sys-app/sandbox-2.6-r1 fails to compile on armv7a-hardened-musl
Product: Gentoo Linux Reporter: Michael Jones <gentoo>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 430702    

Description Michael Jones 2015-06-09 22:59:22 UTC
This bug should be made a blocker of : https://bugs.gentoo.org/show_bug.cgi?id=430702

And assigned to blueness@gentoo.org


ymir sandbox-2.6-r1 # zcat temp/build.log.gz 
config.status: creating src/Makefile
config.status: creating tests/atlocal
config.status: creating tests/Makefile
config.status: creating tests/package.m4
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing tests/atconfig commands
 * Running sb_compile for ABI=default...
make -j10 
/usr/bin/make  all-recursive
Making all in scripts
make[2]: Nothing to be done for 'all'.
Making all in etc
Making all in sandbox.d
make[3]: Nothing to be done for 'all'.
make[3]: Nothing to be done for 'all-am'.
Making all in data
make[2]: Nothing to be done for 'all'.
Making all in libsbutil
  CC     get_sandbox_confd.lo  CC     get_sandbox_lib.lo  CC     get_sandbox_rc.lo
  CC     is_env_on.lo
  CC     get_sandbox_conf.lo  CC     get_sandbox_log.lo
  CC     get_tmp_dir.lo
  CC     is_env_off.lo
  CC     sb_backtrace.lo
  CC     sb_efuncs.lo
In file included from ../../sandbox-2.6/libsbutil/../headers.h:137:0,
                 from ../../sandbox-2.6/libsbutil/headers.h:1,
                 from ../../sandbox-2.6/libsbutil/is_env_on.c:10:
/usr/include/linux/ptrace.h:58:8: error: redefinition of ‘struct ptrace_peeksiginfo_args’
In file included from ../../sandbox-2.6/libsbutil/../headers.h:105:0,
                 from ../../sandbox-2.6/libsbutil/headers.h:1,
                 from ../../sandbox-2.6/libsbutil/is_env_on.c:10:
/usr/include/sys/ptrace.h:87:8: note: originally defined here
In file included from ../../sandbox-2.6/libsbutil/../headers.h:137:0,
                 from ../../sandbox-2.6/libsbutil/headers.h:1,
                 from ../../sandbox-2.6/libsbutil/get_sandbox_conf.c:10:
/usr/include/linux/ptrace.h:58:8: error: redefinition of ‘struct ptrace_peeksiginfo_args’
In file included from ../../sandbox-2.6/libsbutil/../headers.h:105:0,
                 from ../../sandbox-2.6/libsbutil/headers.h:1,
                 from ../../sandbox-2.6/libsbutil/get_sandbox_conf.c:10:
/usr/include/sys/ptrace.h:87:8: note: originally defined here
In file included from ../../sandbox-2.6/libsbutil/../headers.h:137:0,
                 from ../../sandbox-2.6/libsbutil/headers.h:1,
                 from ../../sandbox-2.6/libsbutil/sb_efuncs.c:10:
/usr/include/linux/ptrace.h:58:8: error: redefinition of ‘struct ptrace_peeksiginfo_args’
In file included from ../../sandbox-2.6/libsbutil/../headers.h:105:0,
                 from ../../sandbox-2.6/libsbutil/headers.h:1,
                 from ../../sandbox-2.6/libsbutil/sb_efuncs.c:10:
/usr/include/sys/ptrace.h:87:8: note: originally defined here
In file included from ../../sandbox-2.6/libsbutil/../headers.h:137:0,
                 from ../../sandbox-2.6/libsbutil/headers.h:1,
                 from ../../sandbox-2.6/libsbutil/get_sandbox_confd.c:10:
/usr/include/linux/ptrace.h:58:8: error: redefinition of ‘struct ptrace_peeksiginfo_args’In file included from ../../sandbox-2.6/libsbutil/../headers.h:137:0,
                 from ../../sandbox-2.6/libsbutil/headers.h:1,
                 from ../../sandbox-2.6/libsbutil/get_sandbox_rc.c:13:
/usr/include/linux/ptrace.h:58:8: error: redefinition of ‘struct ptrace_peeksiginfo_args’
In file included from ../../sandbox-2.6/libsbutil/../headers.h:105:0,
                 from ../../sandbox-2.6/libsbutil/headers.h:1,
                 from ../../sandbox-2.6/libsbutil/get_sandbox_confd.c:10:
/usr/include/sys/ptrace.h:87:8: note: originally defined here
In file included from ../../sandbox-2.6/libsbutil/../headers.h:105:0,
                 from ../../sandbox-2.6/libsbutil/headers.h:1,
                 from ../../sandbox-2.6/libsbutil/get_sandbox_rc.c:13:
/usr/include/sys/ptrace.h:87:8: note: originally defined here
In file included from ../../sandbox-2.6/libsbutil/../headers.h:137:0,
                 from ../../sandbox-2.6/libsbutil/headers.h:1,
                 from ../../sandbox-2.6/libsbutil/get_sandbox_log.c:13:
/usr/include/linux/ptrace.h:58:8: error: redefinition of ‘struct ptrace_peeksiginfo_args’
In file included from ../../sandbox-2.6/libsbutil/../headers.h:105:0,
                 from ../../sandbox-2.6/libsbutil/headers.h:1,
                 from ../../sandbox-2.6/libsbutil/get_sandbox_log.c:13:
/usr/include/sys/ptrace.h:87:8: note: originally defined here
Makefile:379: recipe for target 'is_env_on.lo' failed
make[2]: *** [is_env_on.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from ../../sandbox-2.6/libsbutil/../headers.h:137:0,
                 from ../../sandbox-2.6/libsbutil/headers.h:1,
                 from ../../sandbox-2.6/libsbutil/get_sandbox_lib.c:13:
/usr/include/linux/ptrace.h:58:8: error: redefinition of ‘struct ptrace_peeksiginfo_args’
In file included from ../../sandbox-2.6/libsbutil/../headers.h:105:0,
                 from ../../sandbox-2.6/libsbutil/headers.h:1,
                 from ../../sandbox-2.6/libsbutil/get_sandbox_lib.c:13:
/usr/include/sys/ptrace.h:87:8: note: originally defined here
In file included from ../../sandbox-2.6/libsbutil/../headers.h:137:0,
                 from ../../sandbox-2.6/libsbutil/headers.h:1,
                 from ../../sandbox-2.6/libsbutil/get_tmp_dir.c:13:
/usr/include/linux/ptrace.h:58:8: error: redefinition of ‘struct ptrace_peeksiginfo_args’
In file included from ../../sandbox-2.6/libsbutil/../headers.h:105:0,
                 from ../../sandbox-2.6/libsbutil/headers.h:1,
                 from ../../sandbox-2.6/libsbutil/get_tmp_dir.c:13:
/usr/include/sys/ptrace.h:87:8: note: originally defined here
In file included from ../../sandbox-2.6/libsbutil/../headers.h:137:0,
                 from ../../sandbox-2.6/libsbutil/headers.h:1,
                 from ../../sandbox-2.6/libsbutil/sb_backtrace.c:10:
/usr/include/linux/ptrace.h:58:8: error: redefinition of ‘struct ptrace_peeksiginfo_args’
In file included from ../../sandbox-2.6/libsbutil/../headers.h:105:0,
                 from ../../sandbox-2.6/libsbutil/headers.h:1,
                 from ../../sandbox-2.6/libsbutil/sb_backtrace.c:10:
/usr/include/sys/ptrace.h:87:8: note: originally defined here
In file included from ../../sandbox-2.6/libsbutil/../headers.h:137:0,
                 from ../../sandbox-2.6/libsbutil/headers.h:1,
                 from ../../sandbox-2.6/libsbutil/is_env_off.c:10:
/usr/include/linux/ptrace.h:58:8: error: redefinition of ‘struct ptrace_peeksiginfo_args’
In file included from ../../sandbox-2.6/libsbutil/../headers.h:105:0,
                 from ../../sandbox-2.6/libsbutil/headers.h:1,
                 from ../../sandbox-2.6/libsbutil/is_env_off.c:10:
/usr/include/sys/ptrace.h:87:8: note: originally defined here
Makefile:379: recipe for target 'get_sandbox_conf.lo' failed
make[2]: *** [get_sandbox_conf.lo] Error 1
Makefile:379: recipe for target 'get_sandbox_rc.lo' failed
make[2]: *** [get_sandbox_rc.lo] Error 1
Makefile:379: recipe for target 'sb_backtrace.lo' failed
make[2]: *** [sb_backtrace.lo] Error 1
Makefile:379: recipe for target 'get_sandbox_confd.lo' failed
make[2]: *** [get_sandbox_confd.lo] Error 1
Makefile:379: recipe for target 'get_sandbox_lib.lo' failed
make[2]: *** [get_sandbox_lib.lo] Error 1
Makefile:379: recipe for target 'get_sandbox_log.lo' failed
make[2]: *** [get_sandbox_log.lo] Error 1
Makefile:379: recipe for target 'get_tmp_dir.lo' failed
make[2]: *** [get_tmp_dir.lo] Error 1
Makefile:379: recipe for target 'is_env_off.lo' failed
make[2]: *** [is_env_off.lo] Error 1
Makefile:379: recipe for target 'sb_efuncs.lo' failed
make[2]: *** [sb_efuncs.lo] Error 1
Makefile:403: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
Makefile:317: recipe for target 'all' failed
make: *** [all] Error 2
emake failed
 * ERROR: sys-apps/sandbox-2.6-r1::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 2508:  Called sb_foreach_abi 'sb_compile'
 *   environment, line 2457:  Called sb_compile
 *   environment, line 2440:  Called die
 * The specific snippet of code:
 *       emake || die
 * 
 * If you need support, post the output of `emerge --info '=sys-apps/sandbox-2.6-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/sandbox-2.6-r1::gentoo'`.
 * If configure failed with a 'cannot run C compiled programs' error, try this:
 * FEATURES=-sandbox emerge sandbox
 * The complete build log is located at '/var/tmp/portage/sys-apps/sandbox-2.6-r1/temp/build.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/sandbox-2.6-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/sandbox-2.6-r1/work/build-default'
 * S: '/var/tmp/portage/sys-apps/sandbox-2.6-r1/work/sandbox-2.6'


Reproducible: Always
Comment 1 Michael Jones 2015-06-10 06:23:39 UTC
Probably a duplicate of: https://bugs.gentoo.org/show_bug.cgi?id=549108

Didn't see that bug when I searched for it until just now having gone through all of the musl porting bug's blockers to confirm.
Comment 2 Anthony Basile gentoo-dev 2015-06-10 10:41:14 UTC

*** This bug has been marked as a duplicate of bug 549108 ***
Comment 3 Anthony Basile gentoo-dev 2015-06-10 10:43:02 UTC
(In reply to Michael Jones from comment #1)
> Probably a duplicate of: https://bugs.gentoo.org/show_bug.cgi?id=549108
> 
> Didn't see that bug when I searched for it until just now having gone
> through all of the musl porting bug's blockers to confirm.

It is a partial dup since there are several issue going on with sandbox + musl so we'll track them in bug #549108.

Thanks again for your work on this :)