[ITP] libbacktrace
Hamish McIntyre-Bhatty
cygwin@hamishmb.com
Fri Jul 24 13:29:34 GMT 2026
Hi there,
Recently, I've managed to build a test package for wxWidgets 3.2, and
one of the things preventing me from testing it properly at the moment,
seeing as the test suite won't compile, is not being able to build
wxPython, where I could use the wxPython demo to test manually. As such,
I decided to start work on packaging libbacktrace, which is a dependency
of wxStackWalker, which newer versions of wxPython require.
I've successfully created a cygport file and built test packages, but
there's something wrong: even though I've explicitely disabled building
the static library and enabled the shared one, only the static library
seems to be being built (the file with the .a extension is a static
library right?). Also, I can't seem to run the tests, as they fail with
a compile error, which I have yet to dig into further. I also heard
somewhere, I think from Debian 13's packages, that the tests are broken
on shared library builds anyway.
I have attached the cygport file, and there has been a successful CI
build (ID 12144 on playground) of the packages, so perhaps with some
help we can get this buttoned up soon? I'm keen to get newer versions of
wxPython working.
Best,
Hamish
-------------- next part --------------
NAME="libbacktrace"
VERSION=1.0
RELEASE=1
CATEGORY="Libs"
SUMMARY="A C library that may be linked into a C/C++ program to produce symbolic backtraces"
DESCRIPTION="The libbacktrace library may be linked into a program or library and used to produce symbolic backtraces. Sample uses would be to print a detailed backtrace when an error occurs or to gather detailed profiling information."
HOMEPAGE="https://github.com/ianlancetaylor/libbacktrace"
LICENSE="BSD-3-clause"
SRC_URI="https://github.com/ianlancetaylor/libbacktrace/archive/refs/heads/master.zip"
SRC_DIR="libbacktrace-master"
#Just for building:
BUILD_REQUIRES="make gcc-core"
PKG_NAMES="libbacktrace1.0 libbacktrace-devel ${NAME}-doc"
libbacktrace1_0_SUMMARY="${SUMMARY} (libraries)"
libbacktrace1_0_CONTENTS="
usr/lib/libbacktrace.a
"
libbacktrace_devel_SUMMARY="${SUMMARY} (development files)"
libbacktrace_devel_REQUIRES="libbacktrace1.0"
libbacktrace_devel_CONTENTS="
usr/include
"
libbacktrace_doc_SUMMARY="${SUMMARY} (documentation)"
libbacktrace_doc_CONTENTS="
usr/share/doc/libbacktrace
"
src_compile() {
pushd ${S}
cygconf --disable-static --enable-shared
cygmake
popd
}
#TODO tests don't work.
src_install() {
pushd ${S}
cygmake DESTDIR=${D} install
popd
}
More information about the Cygwin-apps
mailing list