Github messages for voidlinux
 help / color / mirror / Atom feed
From: sgn <sgn@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: splint: Fix cross-build
Date: Mon, 14 Dec 2020 02:07:02 +0100	[thread overview]
Message-ID: <20201214010702.NbssNp1tKOg4jv3dXJ6_Ne6Z3FmC2E7nmL0thg4N9mY@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27124@inbox.vuxu.org>

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/27124#issuecomment-744107600

Comment:
Without runnable splint, build system will pick the `lcd` files shipped by tarball.

Note that Debian puts those files in arch-dependent packages.

```diff
diff -Naur ./usr/share/splint/lib/posix.lcd /usr/share/splint/lib/posix.lcd
--- ./usr/share/splint/lib/posix.lcd	2020-12-14 07:57:30.000000000 +0700
+++ /usr/share/splint/lib/posix.lcd	2020-11-21 19:12:42.000000000 +0700
@@ -1223,7 +1223,7 @@
 ^13 13@c@-@0@0@0@0@61#__WCHAR_TYPE__
 *1 (Constant)
 ^14 23$#__USER_LABEL_PREFIX__#__REGISTER_PREFIX__#__TIME__
-^17 5$#__STDC__#S_SPLINT_S#__LCLINT__#__i686
+^17 5$#__STDC__#S_SPLINT_S#__LCLINT__#__x86_64
 *3 (Variable)
 ^21 380|@1|6@0@0@0@1#stdin#stdout
 *1 (Constant)
diff -Naur ./usr/share/splint/lib/posixstrict.lcd /usr/share/splint/lib/posixstrict.lcd
--- ./usr/share/splint/lib/posixstrict.lcd	2020-12-14 07:57:30.000000000 +0700
+++ /usr/share/splint/lib/posixstrict.lcd	2020-11-21 19:12:42.000000000 +0700
@@ -1185,7 +1185,7 @@
 ^13 13@c@-@0@0@0@0@61#__WCHAR_TYPE__
 *1 (Constant)
 ^14 23$#__USER_LABEL_PREFIX__#__REGISTER_PREFIX__#__TIME__
-^17 5$#__STDC__#S_SPLINT_S#__LCLINT__#__i686
+^17 5$#__STDC__#S_SPLINT_S#__LCLINT__#__x86_64
 *3 (Variable)
 ^21 359|@1|6@0@0@0@2#stdin#stdout
 *1 (Constant)
diff -Naur ./usr/share/splint/lib/standard.lcd /usr/share/splint/lib/standard.lcd
--- ./usr/share/splint/lib/standard.lcd	2020-12-14 07:57:30.000000000 +0700
+++ /usr/share/splint/lib/standard.lcd	2020-11-21 19:12:42.000000000 +0700
@@ -886,7 +886,7 @@
 ^13 13@c@-@0@0@0@0@61#__WCHAR_TYPE__
 *1 (Constant)
 ^14 23$#__USER_LABEL_PREFIX__#__REGISTER_PREFIX__#__TIME__
-^17 5$#__STDC__#S_SPLINT_S#__LCLINT__#__i686
+^17 5$#__STDC__#S_SPLINT_S#__LCLINT__#__x86_64
 *3 (Variable)
 ^21 380|@1|6@0@0@0@1#stdin#stdout
 *1 (Constant)
diff -Naur ./usr/share/splint/lib/standardstrict.lcd /usr/share/splint/lib/standardstrict.lcd
--- ./usr/share/splint/lib/standardstrict.lcd	2020-12-14 07:57:30.000000000 +0700
+++ /usr/share/splint/lib/standardstrict.lcd	2020-11-21 19:12:42.000000000 +0700
@@ -842,7 +842,7 @@
 ^13 13@c@-@0@0@0@0@61#__WCHAR_TYPE__
 *1 (Constant)
 ^14 23$#__USER_LABEL_PREFIX__#__REGISTER_PREFIX__#__TIME__
-^17 5$#__STDC__#S_SPLINT_S#__LCLINT__#__i686
+^17 5$#__STDC__#S_SPLINT_S#__LCLINT__#__x86_64
 *3 (Variable)
 ^21 359|@1|6@0@0@0@2#stdin#stdout
 *1 (Constant)
diff -Naur ./usr/share/splint/lib/unix.lcd /usr/share/splint/lib/unix.lcd
--- ./usr/share/splint/lib/unix.lcd	2020-12-14 07:57:30.000000000 +0700
+++ /usr/share/splint/lib/unix.lcd	2020-11-21 19:12:42.000000000 +0700
@@ -2218,7 +2218,7 @@
 ^13 13@c@-@0@0@0@0@61#__WCHAR_TYPE__
 *1 (Constant)
 ^14 23$#__USER_LABEL_PREFIX__#__REGISTER_PREFIX__#__TIME__
-^17 5$#__STDC__#S_SPLINT_S#__LCLINT__#__i686
+^17 5$#__STDC__#S_SPLINT_S#__LCLINT__#__x86_64
 *3 (Variable)
 ^21 380|@1|6@0@0@0@1#stdin#stdout
 *1 (Constant)
diff -Naur ./usr/share/splint/lib/unixstrict.lcd /usr/share/splint/lib/unixstrict.lcd
--- ./usr/share/splint/lib/unixstrict.lcd	2020-12-14 07:57:30.000000000 +0700
+++ /usr/share/splint/lib/unixstrict.lcd	2020-11-21 19:12:42.000000000 +0700
@@ -2171,7 +2171,7 @@
 ^13 13@c@-@0@0@0@0@61#__WCHAR_TYPE__
 *1 (Constant)
 ^14 23$#__USER_LABEL_PREFIX__#__REGISTER_PREFIX__#__TIME__
-^17 5$#__STDC__#S_SPLINT_S#__LCLINT__#__i686
+^17 5$#__STDC__#S_SPLINT_S#__LCLINT__#__x86_64
 *3 (Variable)
 ^21 359|@1|6@0@0@0@2#stdin#stdout
 *1 (Constant)
```

      parent reply	other threads:[~2020-12-14  1:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-13 18:56 [PR PATCH] " ndowens
2020-12-13 19:00 ` [PR PATCH] [Updated] " ndowens
2020-12-13 19:16 ` [PR REVIEW] " ericonr
2020-12-13 19:24 ` [PR PATCH] [Updated] " ndowens
2020-12-13 20:07 ` ericonr
2020-12-13 23:20 ` ndowens
2020-12-13 23:24 ` ndowens
2020-12-14  1:07 ` sgn [this message]

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=20201214010702.NbssNp1tKOg4jv3dXJ6_Ne6Z3FmC2E7nmL0thg4N9mY@z \
    --to=sgn@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).