Skip to contentSkip to conversation

New: azure-iot-sdk-c: Installed headers do not compile

Buildroot [email protected] 1 participant 3 messages Mar 4, 2022 – Mar 6, 2022

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=14636

            Bug ID: 14636
           Summary: azure-iot-sdk-c: Installed headers do not compile
           Product: buildroot
           Version: 2021.02.10
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Target Milestone: ---

After building azure-iot-sdk-c...

test.c contains:
#include <iothub_client.h>

Running this:

$ output/host/bin/aarch64-none-linux-gnu-gcc -c test.c

Gives:
In file included from test.c:1:
.../output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/iothub_client.h:22:10:
fatal error: umock_c/umock_c_prod.h: No such file or directory
22 | #include "umock_c/umock_c_prod.h"

      |          ^~~~~~~~~~~~~~~~~~~~~~~~

compilation terminated.

Most of the headers seem to depend on umock_c which isn't installed.

$ find output/staging/usr/include -name umock_c
$

This bug pretty much makes the package unusable.

----

It's only slightly related, but I also wonder why the headers are installed directly into "/usr/include" even though upstream installs them under "/usr/include/azureiot".

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

[Buildroot] [Bug 14636] azure-iot-sdk-c: Installed headers do not compile

https://bugs.busybox.net/show_bug.cgi?id=14636

--- Comment #1 from Fabrice Fontaine <[email protected]> --- Thanks for your bug report, can you confirm that the following patch fixes your issue:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

[Buildroot] [Bug 14636] azure-iot-sdk-c: Installed headers do not compile

In reply to [email protected]

https://bugs.busybox.net/show_bug.cgi?id=14636

Yann E. MORIN <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
                 CC|                            |[email protected]
             Status|NEW                         |RESOLVED

--- Comment #2 from Yann E. MORIN <[email protected]> --- James, All,

Thanks for the report.

We believe fis is now fixed with the patch from Fabrice applied to master:
d1debbb4c7eb package/azure-iot-sdk-c: drop custom install rules

Regards,
Yann E. MORIN.

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot