I installed pbuilder and tried:
pbuilder create --distribution daedalus
pbuilder build --buildresult bluez_build ./bluez_5.66-1+deb12u2.dsc
(after creating the bluez_build directory and installing the bluetooth
source package)
However, this didn't get me any further, as the build still wibbled
about the need for systemd.
However - I found that the way forward was staring me in the face, to
the point that I'm kicking myself for not digging a bit deeper. After
installing the bluetooth source and then within the bluez-5.66
directory running the ./bootstrap script (which runs autoconf and other
build preparation utilities), the configure script is created. Running
"./configure --help" lists the available options - and one is "--
disable-systemd". So I ran configure with this option: it completed
without a problem. I then ran "make", which also completed
successfully, and the resulting bluetoothd executable seems to work as
expected.
So hopefully I'm ready to embark on the investigation of my bluetooth
problem. I'm grateful for the introduction to pbuilder, which I hadn't
used before: it will definitely be useful in other contexts.
On Sat, 2026-04-18 at 13:00 +0100, Peter Duffy wrote:
> Hi Mark,
>
> Many thanks - will follow that up.
>
> Best regards,
> Peter
>
>
> On Fri, 2026-04-17 at 13:08 +0100, Mark Hindley wrote:
> > Peter,
> >
> > On Fri, Apr 17, 2026 at 11:36:55AM +0100, Peter Duffy wrote:
> > > Sorry for the verbosity of my original note. Just to restate the
> > > main
> > > reason for posting it here. Within a box running daedalus, I
> > > installed
> > > the bluetooth source code using "apt source bluetooth", and then
> > > tried
> > > to do a local build. I immediately encountered systemd
> > > dependencies.
> >
> > If you have libelogind0 installed on the box, you need to build in
> > a
> > build
> > chroot so the dependencies can be installed. Various solutions
> > exist
> > including
> > pbuilder, sbuild and qemubuilder.
> >
> > See README.Debian in the libelgoind-compat package.
> >
> > Mark
>
> _______________________________________________
> Dng mailing list
> Dng@???
> Manage your subscription:
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
> Archive: https://lists.dyne.org/lurker/list/dng.en.html