Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New package: tcl-Ffidl-0.9 #49850

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Eloitor
Copy link
Contributor

@Eloitor Eloitor commented Apr 15, 2024

Testing the changes

  • I tested the changes in this PR: YES

New package

Local build testing

  • I built this PR locally for my native architecture, (x86_64-glibc)

This can be tested with: qsort_ffidl.tcl.txt

@Eloitor Eloitor force-pushed the tcl-Ffidl branch 3 times, most recently from c8c9f9c to e11ebfd Compare April 15, 2024 14:34
@Eloitor
Copy link
Contributor Author

Eloitor commented Apr 15, 2024

I don't know how to make it cross compile...

checking for Tcl private include files... configure: error: Cannot find private header tclInt.h in /builddir/tcl-8.6.13

@classabbyamp classabbyamp added the new-package This PR adds a new package label Apr 15, 2024
@iFoundSilentHouse
Copy link
Contributor

  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
  1. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-package This PR adds a new package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants