The officially official Devuan Forum!

You are not logged in.

#51 Re: DIY » easydeb deb packager » 2025-11-10 18:33:18

@exponentialmatrix

what about the -opt part?

Sorry, I do not follow what you mean.

If you are talking about avoiding package name collisions that is not going to work.
Two different providers who have no allegiance could both independently author a package and name it fred, appending -opt does not stop a collision (they both might append -opt).
If that's not what you meant, have another try at explaining.

#52 Re: DIY » easydeb deb packager » 2025-11-09 19:06:56

external packages are significant

Not in my back yard, on my workstation I have one.
This is *exactly* where Debian went wrong, this is Linux not Windows, respect the choice.
Dictating to system implementers tying their hands when they (Debian) have no idea what the system is going to be used for or how it is to be used.

-- snip --

I have deleted the rest of my response, the first section says all that needs to be said, going over old ground is non-productive use of my time.

#53 Re: DIY » easydeb deb packager » 2025-11-09 14:59:47

@exponentialmatrix, I can now build an easydeb deb package targetting '/opt' thanks to your latest commit and a couple of tweaks to DEBBUILD.
I will now work on spinning up another clean container, install the built easydeb package and play with https://gitea.com/DUR to test it.
DUR is new to me, so please bear with me if my reports are untimely.

Do you have a preferred <provider> name for the hierarchy

'/opt/exponentialmatrix/easydeb/' (useful if you author multiple packages, say against a common library)
'/opt/exponentialmatrix-easydeb/'

Or something else ?

#54 Re: DIY » easydeb deb packager » 2025-11-09 12:14:08

@exponentialmatrix, that last commit made a significant improvement.
So much so I threw away everything I had done and have spun up a clean container to start afresh.

document is 20 years old

and ?
There is 'code' you are using that predates those 'words'.

TL;DR; For the curious that don't already know...

Some significant issues with installing non-official packages (packages not from Devuan repos) are:

package name collisions
package conflicting dependencies (e.g different version of the same library)
file name collisions provided by the package (handled by 'alternatives' for official packages)
conflicting configuration files provided by the package

These issues could potentially break the OS, and/or system packaging database making recovery extremely difficult.
Using the following hierarchy tree goes a long way to avoiding collisions between unknown packages/contents.
Unfortunately, too many packagers think they know better and do not comply with this standard.

/opt/acme/calculator/bin
/opt/acme/spreadsheet/bin
/opt/acme/spreadsheet/lib
/opt/ms-calculator/bin

If the system administrator chooses (entirely their choice)
symbolically linking in /opt/bin and trivially adding /opt/bin to $USER's $PATH

/opt/bin/calc -> /opt/ms-calculator/bin/calc

#55 Re: DIY » easydeb deb packager » 2025-11-08 17:16:21

The convention for opt, is to put there applications that expect all their stuff in a single folder. You are just wrong here.

https://tldp.org/LDP/Linux-Filesystem-H … l/opt.html
Or if you like pictures
https://docs.redhat.com/en/documentatio … _hierarchy

It's not broken, what you are doing is not supported

Its not a bug, its a 'feature'. Where have I heard that before....

you can set FILESYSTEM_PREFIX and DESTDIR to /opt/easydeb ...
That should mostly work ...

Mostly isn't completely, it aborts building a deb package (on my setup), and does not put all the files under the correct hierarchy either.

I'm assuming you know how to symlink them in local.

Not in my back yard!
Either installation from source under '/usr/local' or installation from package under '/opt', definitely not mixed!

if you still have problems just ask.
the translations don't exist. ignore

OK thanks, willdo.
Relieved about the .po translation files, had a nightmare time once performing a trivial re-labelling of 'Wastebasket' to 'Rubbish' just to make it fit the desktop.

If I end up with anything half-useful I will let you know where, so you can pick over the bones.

#56 Re: DIY » easydeb deb packager » 2025-11-07 23:45:43

you weren't supposed to install it directly

Wouldn't build a deb until I did.

Plenty of non-distro packages install in /usr

Not in my back yard!
I will permit installations under ~user/ on the systems I manage, after I have made it abundantly clear that any issues will be resolved by 'rm -fr ~user'
Non-packages are built from source and installed under '/usr/local'.
Non-distro packages are also built from source and uploaded to the repository sever for installation by apt.

You are breaking convention

No I am maintaining it.

I'm assuming you found FILESYSTEM_PREFIX...

Yes, it's broken.

if it's not broken, don't fix it.

See above.

Not giving up yet, the peripheral source scripting is overly complex (any app should know where its own files are without relying on environment variables) but the actual meat looks good.

#57 Re: DIY » easydeb deb packager » 2025-11-07 21:33:08

@exponentialmatrix

you don't need to build easydeb, there's a deb in the releases.

Oh you really don't know me do you.
easydeb itself (once self-packaged) needs to go under /opt and so does anything I package with it

1) Non-package software should install under '/usr/local' not '/usr'
2) Non-official packages should install under '/opt/<package>/' not '/usr'

And that was just the first 20 minutes of building, I am sure more 'issues' will find me.
Like many mult-developer projects, there is a ton of inconsistencies in the source, not sure I have the skills to fix them.
Of course if this ends up in the official Devuan repo all that goes away and I can sleep again. B-)
Somebody ? LeePen ? Pretty Please ?

#58 Re: DIY » easydeb deb packager » 2025-11-07 17:16:41

@exponentialmatrix, thanks for that, I will 'git pull' and start again when time permits.

BUILDING is outdated and indeed confusing.

Yes, after 20min of battling I figured out what I was 'supposed' to do.
Chicken->Egg->Chicken building is always fun smile

#59 Re: DIY » easydeb deb packager » 2025-11-07 11:37:47

@exponentialmatrix just looked at this and found the contradictory documentation extremely confusing.
Even the obvious action of running 'make' after git clone does nothing except echo 'true' to the console.
Why are the files split across two git repos ('easydeb' 'easydeb-git')?
Delete or move anything irrelevant or plain misleading, you are using git, it is trivial to reinstate it later.

I get that no programmer likes writing documentation, but you could at least provide a 'build.sh' script to give the uninitiated (me) a clue as to what is supposed to be done to get started.

#60 Re: Desktop and Multimedia » A tale of two laptops » 2025-10-28 23:04:52

@rolfie
I bet paramtn didnt know that being a newbie to Linux

@fanderal I used your exact lines and rebooted

and I personally use the convention of 'sudo' (instead of '$') to make it obvious.
I use hash for in-between command comments (because that's what they are in bash).

do something...
# have a coffee
do something else
# now you are done

#61 Re: Desktop and Multimedia » A tale of two laptops » 2025-10-28 21:43:31

@fanderal

# update-grub

will do nothing with that hash at the front

#62 Re: Devuan Derivatives » why peppermintos? » 2025-10-18 13:55:40

The devs have made it as simple and versatile as it needs to be.
Use a netinstall iso, unselect the default selected packages, complete the install and reboot, log in on the command line and 'apt install' only what you want.

#64 Re: Installation » Installating Excalibur (init, luks, cinnamon, zoom, nvidia, steam etc) » 2025-10-10 17:01:36

@zaubberer23, Informative and useful post, I appreciate the detail and the time you must have spent drafting it.
NB. I use dkms nvidia-current/535.247.01 straight from the repo without issue and as a package it plays nice with the rest of Devuan. It's not the latest and greatest version, but it is years newer than my GPU which consequentially is fully supported.

#65 Re: Hardware & System Configuration » "Partial ACPI Installation" on MacBook5,2 » 2025-10-09 14:14:01

So I assume I will have to just reconfigure and build the kernel?

No idea. Hit the MacBook forums...to determine that this is a MacBook ACPI Kernel specific issue.
If it is and you are lucky and someone has posted which driver module you need..just add it to your default Debian kernel config and re-compile.

#66 Re: Hardware & System Configuration » "Partial ACPI Installation" on MacBook5,2 » 2025-10-08 16:43:01

rebuild your kernel

Been bit by this before on an Intel (not mac) laptop, the kernel did not have the correct ACPI motherboard support.
Hit the MacBook forums...

#67 Re: Installation » actuallization from Ceres impossible » 2025-10-08 16:33:01

who knows why they changed it

The current sources.list is not particularly friendly [with multiple bracketed differing options on one line] to being parsed and edited programmatically, hence the new format. Read into that what you want ~ SystemD control is where my money is.

#68 Re: Desktop and Multimedia » sayonara: undefined symbol in libsqlite.so » 2025-10-03 20:29:22

System's Excalibur and fresh, untainted

As excalibur is not released and still in testing...
when it breaks you get to keep all the pieces

I tried with devuan's package

And that is the *only* source of packages you should install from if you don't want system wide breakage (whats wrong with vlc ?)

#69 Re: Other Issues » [SOLVED] difficulty compiling openssl » 2025-10-03 20:16:01

Just done a quick google, as of Jan 2024 brotli is an external module and not part of nginx (so will unlikely be in daedelus sources).
You build brotli on its own, no need to build OpenSSL or nginx

I googled for a solution and hit this, there may be better options out there...
https://thelinuxcode.com/enable-brotli- … ion-nginx/

#70 Re: Other Issues » [SOLVED] difficulty compiling openssl » 2025-10-03 18:54:00

Ha, just tried it for fun and even that fails

#71 Re: Other Issues » [SOLVED] difficulty compiling openssl » 2025-10-03 17:54:30

This is absolutely, mindboggingly complicated for no reason

One reason it is absolutely mindboggingly complicated is that you are compiling outside of the packaging system.
I would not even attempt it this way, my approach would be to

apt-get source openssl
apt-get source nginx

*Build them both without modification*
Once that works, for each package modify the compilation options (most likely debian/rules) to achieve the desired result.

#72 Re: Other Issues » [SOLVED] difficulty compiling openssl » 2025-10-03 17:07:59

nginx is still trying to compile OpenSSL (which looks like it requires 'cmake' not 'make' anyway).
Where did these come from, they look suspicious to me ?

--with-cc-opt="-I /home/drm/openssl-3.5.1/include" \
  --with-ld-opt="-L /home/drm/openssl-3.5.1/lib"

Shoudn't the paths be

/home/drm/openssl-3.5.1/install/include
/home/drm/openssl-3.5.1/install/lib64

Your guide is

./configure --help

#73 Re: Other Issues » [SOLVED] difficulty compiling openssl » 2025-10-03 15:39:16

As it is unclear to me why you are compiling OpenSSL (my fault TL;DR;)

g4sra@localhost:# apt-file search libssl.a
libssl-dev: /usr/lib/x86_64-linux-gnu/libssl.a
g4sra@localhost:# apt-file search libcrypto.a
libssl-dev: /usr/lib/x86_64-linux-gnu/libcrypto.a

So installing the libssl-dev package would satisfy both those previously mentioned libraries (for me)

#74 Re: Other Issues » [SOLVED] difficulty compiling openssl » 2025-10-03 15:32:04

That error is caused by a missing system header file.
Ensure you have installed the package corresponding to your compiler version,

gcc -v 2>&1 | tail -1
gcc version 12.2.0 (Debian 12.2.0-14+deb12u1)

for me that is

apt install libgcc-12-dev

#75 Re: Installation » Also UEFI install problems » 2025-10-01 21:24:42

I have never had any different issues booting\installing between 5.0.0 and 5.0.1 installation media.
Just use 5.0.0 and dist-upgrade or full-upgrade to 5.0.1

Sorry, can't help further.

Board footer

Forum Software