Github messages for voidlinux
 help / color / mirror / Atom feed
From: iFoundSilentHouse <iFoundSilentHouse@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: New package: tcl-Ffidl-0.9
Date: Tue, 16 Apr 2024 00:46:12 +0200	[thread overview]
Message-ID: <20240415224612.39020212C7@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49850@inbox.vuxu.org>

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

New comment by iFoundSilentHouse on void-packages repository

https://github.com/void-linux/void-packages/pull/49850#issuecomment-2057937876

Comment:
1) add all of dependencies in hostmakedepends
2) Fix patch that makes compiler think it's windows
```
checking platform... checking for cygpath... echo
windows
```
The easiest option (it should be enough for void):
```
diff --git a/configure b/configure
index 1970ae6..8607443 100755
--- a/configure
+++ b/configure
@@ -3758,7 +3758,7 @@ if ac_fn_c_try_compile "$LINENO"; then :

 else

-           TEA_PLATFORM="windows"
+           TEA_PLATFORM="unix"
            # Extract the first word of "cygpath", so it can be a program name with args.
 set dummy cygpath; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
```
3) Fix another error:
```
aarch64-linux-gnu-gcc -fstack-clash-protection -D_FORTIFY_SOURCE=2 -O2 -pipe -march=armv8-a   -I/usr/aarch64-linux-gnu/usr/include -ffile-prefix-map=/builddir/tcl-Ffidl-0.9=. -pipe -O2 -fomit-frame-pointer -DNDEBUG -Wall -fPIC    -Wl,-z,relro -Wl,-z,now -Wl,--as-needed    -L/usr/aarch64-linux-gnu/usr/lib -Wl,--export-dynamic  -shared -o libFfidl0.9.so ffidl.o ffidl_test.o  /usr/lib/libffi.a  -L/usr/lib64 -ltclstub8.6
[cc-wrapper] ignoring -L/usr/lib64
/usr/lib/gcc/aarch64-linux-gnu/13.2.0/../../../../aarch64-linux-gnu/bin/ld: /usr/lib/libffi.a(prep_cif.o): Relocations
in generic ELF (EM: 62)
/usr/lib/gcc/aarch64-linux-gnu/13.2.0/../../../../aarch64-linux-gnu/bin/ld: /usr/lib/libffi.a(prep_cif.o): Relocations
in generic ELF (EM: 62)
/usr/lib/gcc/aarch64-linux-gnu/13.2.0/../../../../aarch64-linux-gnu/bin/ld: /usr/lib/libffi.a: error adding symbols: file in wrong format
```
I don't even know now

  parent reply	other threads:[~2024-04-15 22:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-15 14:27 [PR PATCH] " Eloitor
2024-04-15 14:28 ` [PR PATCH] [Updated] " Eloitor
2024-04-15 14:31 ` Eloitor
2024-04-15 14:34 ` Eloitor
2024-04-15 14:37 ` Eloitor
2024-04-15 22:46 ` iFoundSilentHouse [this message]
2024-04-16  7:45 ` [PR PATCH] [Updated] " Eloitor

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=20240415224612.39020212C7@inbox.vuxu.org \
    --to=ifoundsilenthouse@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).