Github messages for voidlinux
 help / color / mirror / Atom feed
From: codingHahn <codingHahn@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: NetworkManager: update to 1.28.0.
Date: Fri, 05 Feb 2021 11:58:02 +0100	[thread overview]
Message-ID: <20210205105802.TRvUJ9UCmPaqyV2g2nCX6C2j5wBDU37iRqP8DzTTqU8@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27502@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 3425 bytes --]

New comment by codingHahn on void-packages repository

https://github.com/void-linux/void-packages/pull/27502#issuecomment-773960617

Comment:
It seems that all -musl packages fail with this error:
```
[463/709] Compiling C object src/libNetworkManagerBase.a.p/NetworkManagerUtils.c.o
FAILED: src/libNetworkManagerBase.a.p/NetworkManagerUtils.c.o 
arm-linux-musleabihf-gcc -Isrc/libNetworkManagerBase.a.p -Isrc -I../src -Ilibnm-core -I../libnm-core -I. -I.. -Ishared -I../shared -I../shared/systemd/sd-adapt-shared -I../shared/systemd/src/basic -I../shared/systemd/src/shared -I/usr/arm-linux-musleabihf/usr/include/gio-unix-2.0 -I/usr/arm-linux-musleabihf/usr/include/libmount -I/usr/arm-linux-musleabihf/usr/include/blkid -I/usr/arm-linux-musleabihf/usr/include/glib-2.0 -I/usr/arm-linux-musleabihf/usr/lib/glib-2.0/include -I/usr/arm-linux-musleabihf/usr/include/elogind -I/usr/arm-linux-musleabihf/usr/include -flto -fdiagnostics-color=always -DNDEBUG -pipe -D_FILE_OFFSET_BITS=64 -std=gnu11 -fdata-sections -ffunction-sections -flto-partition=none -Wall -Wextra -Wdeclaration-after-statement -Wfloat-equal -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wpointer-arith -Wshadow -Wshift-negative-value -Wstrict-prototypes -Wundef -Wvla -Wno-duplicate-decl-specifier -Wno-format-truncation -Wno-format-y2k -Wno-missing-field-initializers -Wno-pragmas -Wno-sign-compare -Wno-unknown-pragmas -Wno-unused-parameter -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -fno-strict-aliasing -Wimplicit-fallthrough -fstack-clash-protection -D_FORTIFY_SOURCE=2 -O2 -march=armv6 -mfpu=vfp -mfloat-abi=hard -DRTLD_DEEPBIND=0 -fPIC -pthread -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40 -DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_DAEMON -MD -MQ src/libNetworkManagerBase.a.p/NetworkManagerUtils.c.o -MF src/libNetworkManagerBase.a.p/NetworkManagerUtils.c.o.d -o src/libNetworkManagerBase.a.p/NetworkManagerUtils.c.o -c ../src/NetworkManagerUtils.c
In file included from ../src/NetworkManagerUtils.c:12:
../src/NetworkManagerUtils.c: In function 'nm_utils_tfilters_from_tc_setting':
../src/NetworkManagerUtils.c:1222:51: error: 'ETH_P_ALL' undeclared (first use in this function)
 1222 |         tfilter->info        = TC_H_MAKE(0, htons(ETH_P_ALL));
      |                                                   ^~~~~~~~~
../src/NetworkManagerUtils.c:1222:51: note: each undeclared identifier is reported only once for each function it appears in
```
After a quick search it seems that this constant is either from the linux kernel or glibc.

And all non-musl ones fail here:
```
[456/841] Generating nm-settings-docs-gir.xml with a custom command
FAILED: libnm/nm-settings-docs-gir.xml 
env GI_TYPELIB_PATH=/builddir/NetworkManager-1.28.0/build/libnm LD_LIBRARY_PATH=/builddir/NetworkManager-1.28.0/build/libnm sh -c '/usr/bin/qemu-aarch64-static -L /usr/aarch64-linux-gnu /usr/aarch64-linux-gnu/bin/python3' /builddir/NetworkManager-1.28.0/tools/generate-docs-nm-settings-docs-gir.py --lib-path /builddir/NetworkManager-1.28.0/build/libnm --gir libnm/NM-1.0.gir --output libnm/nm-settings-docs-gir.xml
```
I'll have to look at the patch again that was supposed to fix that (fix-cross-gir.patch)

I will fix the lint error this weekend.

  parent reply	other threads:[~2021-02-05 10:58 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-28 15:53 [PR PATCH] NetworkManager: update to 1.26.2 codingHahn
2020-12-29  3:04 ` [PR PATCH] [Updated] " codingHahn
2020-12-29  7:32 ` [PR REVIEW] NetworkManager: update to 1.26.6 fosslinux
2021-01-21 17:36 ` ericonr
2021-01-25 15:46 ` codingHahn
2021-01-26 15:01 ` pullmoll
2021-01-26 15:03 ` ericonr
2021-01-26 15:04 ` ericonr
2021-01-27 13:09 ` codingHahn
2021-01-28  3:51 ` ericonr
2021-01-30 11:07 ` [PR PATCH] [Updated] " codingHahn
2021-01-30 11:10 ` codingHahn
2021-02-05 10:58 ` codingHahn [this message]
2021-02-05 13:28 ` NetworkManager: update to 1.28.0 ericonr
2021-02-05 13:28 ` [PR REVIEW] " ericonr
2021-02-09  9:54 ` codingHahn
2021-03-21 20:39 ` codingHahn
2021-03-21 20:39 ` [PR PATCH] [Closed]: " codingHahn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210205105802.TRvUJ9UCmPaqyV2g2nCX6C2j5wBDU37iRqP8DzTTqU8@z \
    --to=codinghahn@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).