Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716346 - dev-libs/OpenNI2-2.2_beta2-r1 : Linux/XnLinuxDebug.cpp: fatal error: execinfo.h: No such file or directory
Summary: dev-libs/OpenNI2-2.2_beta2-r1 : Linux/XnLinuxDebug.cpp: fatal error: execinfo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
: 712756 (view as bug list)
Depends on:
Blocks: missing-musl-includes 716422 856418
  Show dependency tree
 
Reported: 2020-04-05 16:03 UTC by Toralf Förster
Modified: 2023-01-15 21:54 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.91 KB, text/plain)
2020-04-05 16:03 UTC, Toralf Förster
Details
dev-libs:OpenNI2-2.2_beta2:20200405-155923.log (dev-libs:OpenNI2-2.2_beta2:20200405-155923.log,10.10 KB, text/plain)
2020-04-05 16:03 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,313.77 KB, text/plain)
2020-04-05 16:03 UTC, Toralf Förster
Details
environment (environment,156.51 KB, text/plain)
2020-04-05 16:03 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,25.48 KB, application/x-bzip)
2020-04-05 16:03 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,34.95 KB, application/x-bzip)
2020-04-05 16:03 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-04-05 16:03:18 UTC
x86_64-gentoo-linux-musl-g++ -MD -MP -MT ./../Bin/Intermediate/x64-Release/libXnLib.a/XnLinuxCriticalSections.d ../Bin/Intermediate/x64-Release/libXnLib.a/XnLinuxCriticalSections.o -c -O2 -pipe -march=native -Wall -O2 -DNDEBUG -I../Include  -fPIC -fvisibility=hidden -o ../Bin/Intermediate/x64-Release/libXnLib.a/XnLinuxCriticalSections.o Linux/XnLinuxCriticalSections.cpp
x86_64-gentoo-linux-musl-g++ -MD -MP -MT ./../Bin/Intermediate/x64-Release/libXnLib.a/XnLinuxDebug.d ../Bin/Intermediate/x64-Release/libXnLib.a/XnLinuxDebug.o -c -O2 -pipe -march=native -Wall -O2 -DNDEBUG -I../Include  -fPIC -fvisibility=hidden -o ../Bin/Intermediate/x64-Release/libXnLib.a/XnLinuxDebug.o Linux/XnLinuxDebug.cpp
Linux/XnLinuxDebug.cpp:27:10: fatal error: execinfo.h: No such file or directory
   27 | #include <execinfo.h>
      |          ^~~~~~~~~~~~
compilation terminated.

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-20200328-201618

  -------------------------------------------------------------------

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.42.0 *
Available Java Virtual Machines:
  (none found)


timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sun Apr  5 14:37:52 UTC 2020
/var/db/repos/musl	Sat Apr  4 03:02:24 UTC 2020

emerge -qpvO dev-libs/OpenNI2
[ebuild  N    ] dev-libs/OpenNI2-2.2_beta2  USE="-doc -java (-neon) -opengl -static-libs"
Comment 1 Toralf Förster gentoo-dev 2020-04-05 16:03:21 UTC
Created attachment 630512 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-05 16:03:24 UTC
Created attachment 630514 [details]
dev-libs:OpenNI2-2.2_beta2:20200405-155923.log
Comment 3 Toralf Förster gentoo-dev 2020-04-05 16:03:27 UTC
Created attachment 630516 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-04-05 16:03:30 UTC
Created attachment 630518 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-04-05 16:03:33 UTC
Created attachment 630520 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-05 16:03:36 UTC
Created attachment 630522 [details]
temp.tbz2
Comment 7 Agostino Sarubbo gentoo-dev 2022-01-08 21:28:19 UTC
tinderbox_musl has reproduced this issue with version 2.2_beta2-r1 - Updating summary.
Comment 8 Larry the Git Cow gentoo-dev 2023-01-15 21:50:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7713d3db8cfaf20ad059849f859785bb91e2584

commit a7713d3db8cfaf20ad059849f859785bb91e2584
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-01-15 21:47:00 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-01-15 21:49:57 +0000

    dev-libs/OpenNI2: fix build w/ musl
    
    Upstream don't do any sort of configure-time detection for functionality,
    but conveniently, they do provide macros to let us disable use of <execinfo.h>
    and glibc internals like __sched_param (ew).
    
    (Use append-flags rather than cppflags because OpenNI2 is already on life-support
    in my view and I don't really want to have to add even more patches to fix
    the build system...)
    
    Closes: https://bugs.gentoo.org/716346
    Thanks-to: Waiting for the Rain
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/OpenNI2/OpenNI2-2.2_beta2-r1.ebuild | 10 ++++++++--
 dev-libs/OpenNI2/OpenNI2-9999.ebuild         |  8 +++++++-
 2 files changed, 15 insertions(+), 3 deletions(-)
Comment 9 Larry the Git Cow gentoo-dev 2023-01-15 21:51:09 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4284176d4423a366a93ba7b381384f5eae561565

commit 4284176d4423a366a93ba7b381384f5eae561565
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-01-15 21:50:53 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-01-15 21:50:59 +0000

    dev-libs/OpenNI2: invert debugging hack
    
    Bug: https://bugs.gentoo.org/716346
    Fixes: a7713d3db8cfaf20ad059849f859785bb91e2584
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/OpenNI2/OpenNI2-2.2_beta2-r1.ebuild | 2 +-
 dev-libs/OpenNI2/OpenNI2-9999.ebuild         | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-15 21:53:58 UTC
*** Bug 712756 has been marked as a duplicate of this bug. ***