Your message dated Wed, 28 Aug 2024 01:28:00 +0200
with message-id <[email protected]>
and subject line Re: Bug#968158: libbsd-dev: <sys/queue.h> is broken in overlay 
mode
has caused the Debian Bug report #968158,
regarding libbsd-dev: <sys/queue.h> is broken in overlay mode
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.)


-- 
968158: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968158
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libbsd-dev
Version: 0.10.0-1
Severity: normal
Tags: upstream
X-Debbugs-Cc: [email protected]

Dear Maintainer,

``libbsd-overlay`` breaks ``<sys/queue.h>``

Concretely, it hides the header from the system, showing only the BSD version.  
If I don't compile with ``libbsd`` at all, I have ``CRICLEQ_*`` definitions 
from my system library, but if I compile with ``libbsd-overlay``, those 
definitions disappear.

Example code:

.. code-block:: c

        #include <sys/queue.h>

        struct Node {
                int data;
                CIRCLEQ_ENTRY(Node) circleq;
        };

        typedef int foo;

_______________________________________

Compilation command:

- Works:  gcc test.c -S -o test.s
- Breaks: gcc test.c -S -o test.s `pkg-config --cflags libbsd-overlay`

_______________________________________

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.6.0-2-amd64 (SMP w/4 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libbsd-dev depends on:
ii  libbsd0  0.10.0-1

libbsd-dev recommends no packages.

libbsd-dev suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Hi!

On Mon, 2020-08-10 at 01:26:54 +0200, Alejandro Colomar wrote:
> Package: libbsd-dev
> Version: 0.10.0-1
> Severity: normal
> Tags: upstream
> X-Debbugs-Cc: [email protected]

> ``libbsd-overlay`` breaks ``<sys/queue.h>``
> 
> Concretely, it hides the header from the system, showing only the BSD 
> version.  If I don't compile with ``libbsd`` at all, I have ``CRICLEQ_*`` 
> definitions from my system library, but if I compile with ``libbsd-overlay``, 
> those definitions disappear.
> 
> Example code:
> 
> .. code-block:: c
> 
>       #include <sys/queue.h>
> 
>       struct Node {
>               int data;
>               CIRCLEQ_ENTRY(Node) circleq;
>       };
> 
>       typedef int foo;
> 
> _______________________________________
> 
> Compilation command:
> 
> - Works:  gcc test.c -S -o test.s
> - Breaks: gcc test.c -S -o test.s `pkg-config --cflags libbsd-overlay`
> 
> _______________________________________

Given our conclusion in the upstream report, I'm closing this, as the
current state seems good and to be the intended behavior. The upstream
report is not closed yet, so that the manual pages can be updated.

Thanks,
Guillem

--- End Message ---

Reply via email to