Skip to content

bug: package build fails on ubuntu 24.04 #2423

@safesintesi

Description

@safesintesi

steps to reproduce the issue from clean distro install:

apt-get update 
apt-get install -y --no-install-recommends \
        build-essential \
        cmake \
        curl \
        git \
        libsystemd-dev \
        make \
        openssl \
        pkgconf \
        python3-full \
        python3-pip
pip3 install --break-system-packages apkg 

git clone --branch v3.13.5 --depth 1 https://github.com/CESNET/libyang.git
cd libyang
apkg build -b

apkg returns with error 42 and the following log

root@455f78f13770:/src# apkg build -i
I building packages
I target distro: ubuntu 24.04
I installing build deps
I target distro: ubuntu 24.04
I build deps from template: distro/pkg/deb
I installing 5 build deps...
$ apt-get satisfy -y cmake 'debhelper (>= 10)' 'libcmocka-dev <!nocheck>' libpcre2-dev pkg-config
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  autoconf automake autopoint autotools-dev bsdextrautils cmocka-doc debhelper
  debugedit dh-autoreconf dh-strip-nondeterminism dwz file gettext
  gettext-base groff-base intltool-debian javascript-common
  libarchive-cpio-perl libarchive-zip-perl libcmocka-dev libcmocka0
  libdebhelper-perl libdw1t64 libelf1t64 libfile-stripnondeterminism-perl
  libjs-jquery libltdl-dev libltdl7 libmagic-mgc libmagic1t64
  libmail-sendmail-perl libpcre2-16-0 libpcre2-32-0 libpcre2-dev
  libpcre2-posix3 libpipeline1 libsub-override-perl libsys-hostname-long-perl
  libtool libuchardet0 m4 man-db po-debconf
0 upgraded, 43 newly installed, 0 to remove and 1 not upgraded.
...
I creating dev source package
I target distro: ubuntu 24.04
I creating dev archive
I running make_archive_script: distro/scripts/make-archive.sh
I archive created: pkg/archives/dev/libyang-.tar.gz
✓ made archive: pkg/archives/dev/libyang-.tar.gz
unable to parse version from archive file name: libyang-.tar.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    is:enhancementRequest for adding new feature or enahncing functionality.status:invalidIssue is not reproducible or the behavior is intended.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions