Your message dated Fri, 11 Apr 2025 13:24:45 +0000
with message-id <[email protected]>
and subject line Bug#1100901: Removed package(s) from unstable
has caused the Debian Bug report #1070763,
regarding libyang2-dev needs move of header file for multi-arch compatibility
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1070763: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1070763
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libyang2-dev
Version: 2.1.148-0.1
Severity: wishlist
Tags: patch

Hi all,


the libyang2-dev package currently can't be installed in parallel for
multi-arch build environments with mixed 32-bit and 64-bit
architectures.  The reason for this is that the content of
/usr/include/libyang/config.h depends on the sizes of some types.

Attached is a patch to move that file to /usr/include/<arch>/libyang.
This enables cross-compiling setups where libyang is needed on both
build and host architectures.

Cheers,


equi
diff -ur libyang2-2.1.148/debian/libyang2-dev.install 
libyang2-2.1.148/debian/libyang2-dev.install
--- libyang2-2.1.148/debian/libyang2-dev.install        2023-02-01 
10:12:00.000000000 +0100
+++ libyang2-2.1.148/debian/libyang2-dev.install        2024-05-08 
17:25:49.081859201 +0200
@@ -1,3 +1,4 @@
 usr/include/libyang/*.h
+usr/include/*/libyang/*.h
 usr/lib/*/*.so
 usr/lib/*/pkgconfig/*.pc
diff -ur libyang2-2.1.148/debian/rules libyang2-2.1.148.new/debian/rules
--- libyang2-2.1.148/debian/rules       2023-02-01 10:12:00.000000000 +0100
+++ libyang2-2.1.148/debian/rules       2024-05-08 17:44:20.504783204 +0200
@@ -11,3 +11,11 @@
        dh_auto_configure -- \
                -DCMAKE_BUILD_TYPE:String="Release" \
                -DENABLE_TESTS=ON
+
+override_dh_auto_install:
+       dh_auto_install
+       mkdir -p debian/tmp/usr/include/$(DEB_HOST_MULTIARCH)/libyang
+       mv      debian/tmp/usr/include/libyang/config.h \
+               debian/tmp/usr/include/$(DEB_HOST_MULTIARCH)/libyang
+       sed -e 's%#include "config\.h"%#include <libyang/config.h>%' -i \
+               debian/tmp/usr/include/libyang/*.h

--- End Message ---
--- Begin Message ---
Version: 2.1.148-0.2+rm

Dear submitter,

as the package libyang2 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1100901

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Paul Tagliamonte (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to