The officially official Devuan Forum!

You are not logged in.

#1 Re: Other Issues » sudo apt-get build-dep APACKAGE , returns, unmet dependency » 2023-04-24 20:12:46

I tried to compile mariadb-server but i gave the following error,

main.multi_update_debug                  w1 [ skipped ]  debug_sync is not available
main.max_password_errors                 w2 [ pass ]   3011

Only  1150  of 1149 completed.
--------------------------------------------------------------------------
The servers were restarted 141 times
Spent 301.335 of 210 seconds executing testcases

Completed: Failed 2/820 tests, 99.76% were successful.

Failing test(s): main.flush_logs_not_windows

The log files in var/log may give you some hint of what went wrong.

If you want to report this error, please read first the documentation
at http://dev.mysql.com/doc/mysql/en/mysql-test-suite.html

130 tests were skipped, 50 by the test itself.

mysql-test-run: *** ERROR: there were failing test cases
make[1]: *** [debian/rules:118: override_dh_auto_test] Error 1
make[1]: Leaving directory '/root/src/mariadb-server'
make: *** [debian/rules:191: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui -b failed
root@devuan:~/src/mariadb-server# 

Someone should add a page to the devuan website how to correctly compile from source as it looks i'm doing something wrong.

#2 Re: Other Issues » sudo apt-get build-dep APACKAGE , returns, unmet dependency » 2023-04-24 19:32:20

93 contains the debhelper command sequencer

dh $@

194 contains some locale stuff

187 override_dh_auto_test-arch:
    188 ifeq (, $(findstring nocheck, $(DEB_BUILD_OPTIONS)))
    189         # when tests fail, print newest log files
    190         # initdb doesn't like LANG and LC_ALL to contradict, unset LANG and LC_CTYPE here
    191         # temp-install wants to be invoked from a top-level make, unset MAKELEVEL here
    192         # hurd doesn't implement semaphores shared between processes yet; succeed anyway so they at least have libpq5
    193         # plperl currently fails on kfreebsd-*
    194         unset LANG LC_CTYPE MAKELEVEL; ulimit -c unlimited; \
    195         if ! make -C build check-world \
    196           EXTRA_REGRESS_OPTS='--port=$(shell perl -le 'print 1024 + int(rand(64000))')' \
    197           TEMP_CONFIG=$(CURDIR)/debian/tests/postgresql.conf \
    198           PG_TEST_EXTRA='ssl' \
    199           PROVE_FLAGS="--verbose"; \
    200         then \

#3 Re: Other Issues » sudo apt-get build-dep APACKAGE , returns, unmet dependency » 2023-04-24 18:32:49

Great, this chroot seem to provide progress :

What i did:

mkdir chroot-debian
debootstrap chimaera ./chroot-debian http://deb.devuan.org/merged
chroot ./chroot-debian

edit /etc/apt/sources in this chroot

apt install locales
dpkg-reconfigure locales
locale -a
locale-gen

apt-get build-dep postgresql-13
apt-get install build-essential fakeroot devscripts
debcheckout postgresql-13
cd postgresql-13
debuild -b -uc -us

The last line starts the postgresql-13 compilation process.

But then :

make[1]: Leaving directory '/root/src/postgresql-13/build'
make[1]: *** [debian/rules:194: override_dh_auto_test-arch] Error 1
make[1]: Leaving directory '/root/src/postgresql-13'
make: *** [debian/rules:93: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui -b failed

#4 Re: Other Issues » sudo apt-get build-dep APACKAGE , returns, unmet dependency » 2023-04-24 10:09:24

libelogind0 is installed that is not the problem.
The problem in order to compile postgresql from source there is a build dependency,
libsystemd0

But this dependency conflicts with the already installed libelogind0.

#5 Other Issues » sudo apt-get build-dep APACKAGE , returns, unmet dependency » 2023-04-23 16:42:05

devosalain
Replies: 8

Trying to build e.g. postgresql from source:

sudo apt-get build-dep postgresql-13

returns,

unmet dependencies: libelogind0 : Conflicts: libsystemd0

How to fix this dependency in order to be able to build postgresql from source ?
Installing libsystemd0 would remove 140 of my installed packages ...

Board footer

Forum Software