The officially official Devuan Forum!

You are not logged in.

#1 2020-05-10 14:17:38

fsmithred
Administrator
Registered: 2016-11-25
Posts: 1,503  

Making your own packages - Toxic build deps.

This thread is about building packages for yourself. If you're building official packages for devuan, this won't be an issue on the actual build hosts, but you might have problems building locally. For official packaging guidelines, see https://git.devuan.org/devuan-doc/docum … aintainers or see the discussion in the Documentation section of this forum - https://dev1galaxy.org/viewtopic.php?pid=21606#p21606

If you're building packages for yourself, you may have run across a situation where you need to install libsystemd-dev to build your package. That won't work if elogind is installed.

https://bugs.devuan.org/435

As you have discovered, building directly on the host system does not
work if the system uses elogind and the package has a build dependency
on libsystemd-dev.  However, it will work fine in a build chroot. Try
using pbuilder and the pbdebuild  command and/or cowbuilder.
There are also other options that should work, but I have not used
myself, like qemu-builder and sbuild.

Offline

#2 2020-05-10 14:38:04

HevyDevy
Member
Registered: 2019-09-06
Posts: 194  

Re: Making your own packages - Toxic build deps.

I had issues with my hardware not being compatible with trousers. It was dependant on tss2 but debian stable is only tss1?

https://packages.debian.org/buster/trousers

I dont know much about this as it might not pertain to building every package but this seems to be a hurdle in regards to crypto.

More info.

Tried building this against devuan beowulf and failed.

https://github.com/tpm2-software/tpm2-tss

Last edited by HevyDevy (2020-05-10 14:50:22)

Offline

#3 2020-05-10 15:31:38

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 669  
Website

Re: Making your own packages - Toxic build deps.

HevyDevy wrote:

I had issues with my hardware not being compatible with trousers. It was dependant on tss2 but debian stable is only tss1?

Try https://pkginfo.devuan.org/stage/beowul … 1.3-2.html instead, trousers is now obsolete.


"Il semble que la perfection soit atteinte non quand il n'y a plus rien à ajouter, mais quand il n'y a plus rien à retrancher." — Antoine de Saint-Exupéry

Offline

#4 2020-05-11 11:43:52

HevyDevy
Member
Registered: 2019-09-06
Posts: 194  

Re: Making your own packages - Toxic build deps.

Head_on_a_Stick wrote:
HevyDevy wrote:

I had issues with my hardware not being compatible with trousers. It was dependant on tss2 but debian stable is only tss1?

Try https://pkginfo.devuan.org/stage/beowul … 1.3-2.html instead, trousers is now obsolete.

There is also https://pkginfo.devuan.org/stage/beowul … _11-2.html which is strange to find on pkg search as i did an apt search this particular package did not show up.

Might have to give this a try again and see if i can build ecryptfs.

Last edited by HevyDevy (2020-05-11 11:46:48)

Offline

#5 2020-05-11 14:14:25

GNUser
Member
Registered: 2017-03-16
Posts: 519  

Re: Making your own packages - Toxic build deps.

Until I discovered fpm, creating my own packages was always a hassle. With fpm it becomes quite trivial.
In case you'd like to check it out: https://github.com/jordansissel/fpm

Offline

Board footer