Package Details: tinyfugue-git r155.72a5c32-1

Git Clone URL: https://aur.archlinux.org/tinyfugue-git.git (read-only, click to copy)
Package Base: tinyfugue-git
Description: TinyFugue, aka "tf", is a flexible, screen-oriented MUD client, for use with any type of text MUD. Git version with support for ATCP, GMCP and telnet option 102.
Upstream URL: https://github.com/ingwarsw/tinyfugue
Licenses: GPL
Conflicts: tinyfugue
Provides: tinyfugue
Submitter: Feirlane
Maintainer: Feirlane
Last Packager: Feirlane
Votes: 4
Popularity: 0.000000
First Submitted: 2016-07-28 08:10 (UTC)
Last Updated: 2022-10-25 17:49 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

SammyPoot commented on 2024-07-13 00:07 (UTC)

Hi! For anyone having difficulties with this package, I've done some digging for a solution.

I hit some compilation errors - strcasecmp and strdup being undefined, then an issue with integer size in the python extension.

These two lines post-configure pre-make will fix both:

sed -i 's/-std=c11/-std=gnu11/g' "src/Makefile"
sed -i 's|int len; // Py_ssize_t len;|Py_ssize_t len;|g' "src/tfpython.c"

I'm going to keep looking into whether there's a cleaner solution, or whether an upstream patch is needed.

Feirlane commented on 2022-10-25 17:50 (UTC)

Thanks for the out of date notification kantras.

You're right, the patches are no longer needed, I've removed them and the package now builds the vanilla git version of tinyfugue.

kantras commented on 2021-10-25 15:20 (UTC)

Both of the patches no longer appear to be needed

<deleted-account> commented on 2020-05-23 15:30 (UTC)

I'm encountering a build failure during makepkg. I've also tried pulling the source directly, same problem. The same also occurs with the "tinyfugue" package.

It looks like the include guard within socket.h is not being respected.

Log here: http://ix.io/2n8k

<deleted-account> commented on 2020-05-15 11:45 (UTC)

I'm encountering a build failure during makepkg. I've also tried pulling the source directly, same problem. The same also occurs with the "tinyfugue" package.

cyveris@polaris:~/aur/tinyfugue-git$ makepkg -rsc
==> Making package: tinyfugue-git r78.5314fe1-1 (Fri 15 May 2020 07:42:26 AM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning tinyfugue git repo...
Cloning into bare repository '/home/cyveris/aur/tinyfugue-git/tinyfugue'...
remote: Enumerating objects: 980, done.                                                                                                                      remote: Total 980 (delta 0), reused 0 (delta 0), pack-reused 980
Receiving objects: 100% (980/980), 1.79 MiB | 16.99 MiB/s, done.                                                                                             Resolving deltas: 100% (357/357), done.
==> Validating source files with md5sums...                                                                                                                      tinyfugue ... Skipped
==> Extracting sources...                                                                                                                                      -> Creating working copy of tinyfugue git repo...
Cloning into 'tinyfugue'...
done.
==> Starting prepare()...
patching file configure
patching file src/command.c                                                                                                                                  patching file src/globals.h
patching file src/output.c
patching file src/signals.c
patching file src/varlist.h
==> Starting pkgver()...
==> Starting build()...
configure: Configuring TinyFugue version 5.0 beta 9
configure:
configure: Core dumps disabled.
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes                                                                                                                       checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether gcc needs -traditional... no
checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes                                                                                                                               checking for stdlib.h... yes
checking for string.h... yes                                                                                                                                 checking for memory.h... yes
checking for strings.h... yes                                                                                                                                checking for inttypes.h... yes
checking for stdint.h... yes                                                                                                                                 checking for unistd.h... yes
checking size of short... 2                                                                                                                                  checking size of int... 4
checking size of long... 8
checking for inline... yes
checking for library containing select... none required
checking for library containing gethostbyname... none required
checking for main in -linet... no
checking for main in -lnet... no
checking for library containing connect... none required
checking for library containing setlocale... none required
checking for libcrypto and libssl... yes
checking for ssl kerberos dependency... no
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes                                                                                                                            checking for python build information...                                                                                                                     checking for python3.9... no
checking for python3.8... python3.8
checking for python3.8-config... python3.8-config
  results of the Python check:
    Binary:      python3.8
    Library:      -L/usr/lib -lpython3.8 -lcrypt -lpthread -ldl  -lutil -lm -lm
    Include Dir: -I/usr/include/python3.8 -I/usr/include/python3.8
checking for library containing tgetent... -lncurses
checking for library containing sqrt... -lm
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for inflate in -lz... yes
checking for pcre_compile in -lpcre... yes
checking for ANSI C header files... (cached) yes
checking for unistd.h... (cached) yes
checking for memory.h... (cached) yes                                                                                                                        checking sys/select.h usability... yes
checking sys/select.h presence... yes                                                                                                                        checking for sys/select.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes                                                                                                    checking locale.h usability... yes
checking locale.h presence... yes                                                                                                                            checking for locale.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes                                                                                                                              checking for zlib.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking whether struct sockaddr has sa_len... no
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking return type of signal handlers... void
checking for pid_t... yes
checking for size_t... yes                                                                                                                                   checking for time_t... yes
checking for socklen_t... yes
checking for strftime... yes
checking for h_errno... no
checking for strstr... yes
checking for strtol... yes
checking for bcopy... yes
checking for bzero... yes
checking for connect... yes
checking for fileno... yes                                                                                                                                   checking for getcwd... yes
checking for gethostname... yes                                                                                                                              checking for gethostbyname... yes
checking for getipnodebyname... no                                                                                                                           checking for getpwnam... yes
checking for gettimeofday... yes                                                                                                                             checking for getwd... yes
checking for hstrerror... yes                                                                                                                                checking for index... yes
checking for inet_aton... yes
checking for getaddrinfo... yes
checking for gai_strerror... yes
checking for kill... yes
checking for memcpy... yes
checking for memset... yes
checking for raise... yes
checking for setlocale... yes
checking for setrlimit... yes
checking for sigaction... yes
checking for srand... yes
checking for srandom... yes
checking for strcasecmp... yes                                                                                                                               checking for strchr... yes                                                                                                                                   checking for strcmpi... no
checking for strcspn... yes
checking for strerror... yes
checking for stricmp... no
checking for strtod... yes
checking for tzset... yes
checking for waitpid... yes
checking for IPv6 address structure... in6_addr
checking location of mail directory... /var/spool/mail
configure: LUA scripting disabled.
configure: creating ./config.status
config.status: creating Makefile
config.status: creating unix/vars.mak
config.status: WARNING:  'unix/vars.mak.in' seems to ignore the --datarootdir setting
config.status: creating src/tfdefs.h
config.status: creating src/tfconfig.h
config.status: executing default commands
configure:
#####################################################
## prefix: /usr                                                                                                                                              ## exec_prefix: ${prefix}
## bindir: ${exec_prefix}/bin                                                                                                                                ## datadir: ${datarootdir}
## executable: ${bindir}/tf                                                                                                                                  ## library: ${datadir}/tf-lib
##                                                                                                                                                           ## TinyFugue configuration successful.
## Use "make" to build.

make[1]: Entering directory '/home/cyveris/aur/tinyfugue-git/src/tinyfugue/src'
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DTFPYTHON -D_FORTIFY_SOURCE=2 -DDATADIR=/usr/share   -I/usr/include/python3.8 -I/usr/include/python3.8 -
D_FORTIFY_SOURCE=2  -c -o attr.o attr.c                                                                                                                      gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DTFPYTHON -D_FORTIFY_SOURCE=2 -DDATADIR=/usr/share   -I/usr/include/python3.8 -I/usr/include/python3.8 -
D_FORTIFY_SOURCE=2  -c -o command.o command.c
command.c: In function ‘do_file_load’:
command.c:528:18: warning: passing argument 1 of ‘tf_wprintf’ from incompatible pointer type [-Wincompatible-pointer-types]
  528 |       tf_wprintf((const wchar_t *)"invalid directory in TFPATH: %S", libfile);
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                  |
      |                  const wchar_t * {aka const int *}
In file included from command.c:21:
tfio.h:156:38: note: expected ‘const char *’ but argument is of type ‘const wchar_t *’ {aka ‘const int *’}
  156 | extern void   tf_wprintf(const char *fmt, ...) format_printf(1, 2);
      |                          ~~~~~~~~~~~~^~~
command.c:536:14: warning: passing argument 1 of ‘tf_wprintf’ from incompatible pointer type [-Wincompatible-pointer-types]
  536 |   tf_wprintf((const wchar_t *)"invalid TFLIBDIR: %s", TFLIBDIR);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |              |
      |              const wchar_t * {aka const int *}                                                                                                       In file included from command.c:21:
tfio.h:156:38: note: expected ‘const char *’ but argument is of type ‘const wchar_t *’ {aka ‘const int *’}
  156 | extern void   tf_wprintf(const char *fmt, ...) format_printf(1, 2);
      |                          ~~~~~~~~~~~~^~~
command.c:595:32: warning: passing argument 1 of ‘tf_wprintf’ from incompatible pointer type [-Wincompatible-pointer-types]
  595 |                     tf_wprintf((const wchar_t *)"whitespace following final '\\'");
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                |
      |                                const wchar_t * {aka const int *}
In file included from command.c:21:                                                                                                                          tfio.h:156:38: note: expected ‘const char *’ but argument is of type ‘const wchar_t *’ {aka ‘const int *’}
  156 | extern void   tf_wprintf(const char *fmt, ...) format_printf(1, 2);                                                                                        |                          ~~~~~~~~~~~~^~~
command.c: In function ‘handle_echo_func’:                                                                                                                   command.c:365:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  365 |         write(STDOUT_FILENO, src->data, src->len);                                                                                                         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DTFPYTHON -D_FORTIFY_SOURCE=2 -DDATADIR=/usr/share   -I/usr/include/python3.8 -I/usr/include/python3.8 -D_FORTIFY_SOURCE=2  -c -o dstring.o dstring.c
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DTFPYTHON -D_FORTIFY_SOURCE=2 -DDATADIR=/usr/share   -I/usr/include/python3.8 -I/usr/include/python3.8 -
D_FORTIFY_SOURCE=2  -c -o expand.o expand.c
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DTFPYTHON -D_FORTIFY_SOURCE=2 -DDATADIR=/usr/share   -I/usr/include/python3.8 -I/usr/include/python3.8 -
D_FORTIFY_SOURCE=2  -c -o expr.o expr.c
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DTFPYTHON -D_FORTIFY_SOURCE=2 -DDATADIR=/usr/share   -I/usr/include/python3.8 -I/usr/include/python3.8 -
D_FORTIFY_SOURCE=2  -c -o help.o help.c
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DTFPYTHON -D_FORTIFY_SOURCE=2 -DDATADIR=/usr/share   -I/usr/include/python3.8 -I/usr/include/python3.8 -
D_FORTIFY_SOURCE=2  -c -o history.o history.c
In file included from tf.h:47,
                 from history.c:21:
history.c: In function ‘save_to_log’:
history.c:151:32: warning: passing argument 2 of ‘dSSoncat’ from incompatible pointer type [-Wincompatible-pointer-types]
  151 |         SStringcat(log_buffer, encode_ansi(str, 0));                                                                                                 dstring.h:144:19: note: in definition of macro ‘SStringcat’                                                                                                    144 |  dSSoncat((dst), (src), 0, -1, __FILE__, __LINE__)
      |                   ^~~
dstring.h:164:56: note: expected ‘const conString *’ but argument is of type ‘String *’
  164 | extern String *dSSoncat(String *dest, const conString *src, int start, int len, FL);
      |                                       ~~~~~~~~~~~~~~~~~^~~
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DTFPYTHON -D_FORTIFY_SOURCE=2 -DDATADIR=/usr/share   -I/usr/include/python3.8 -I/usr/include/python3.8 -
D_FORTIFY_SOURCE=2  -c -o keyboard.o keyboard.c
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DTFPYTHON -D_FORTIFY_SOURCE=2 -DDATADIR=/usr/share   -I/usr/include/python3.8 -I/usr/include/python3.8 -
D_FORTIFY_SOURCE=2  -c -o macro.o macro.c
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DTFPYTHON -D_FORTIFY_SOURCE=2 -DDATADIR=/usr/share   -I/usr/include/python3.8 -I/usr/include/python3.8 -
D_FORTIFY_SOURCE=2  -c -o main.o main.c
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DTFPYTHON -D_FORTIFY_SOURCE=2 -DDATADIR=/usr/share   -I/usr/include/python3.8 -I/usr/include/python3.8 -
D_FORTIFY_SOURCE=2  -c -o malloc.o malloc.c
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DTFPYTHON -D_FORTIFY_SOURCE=2 -DDATADIR=/usr/share   -I/usr/include/python3.8 -I/usr/include/python3.8 -
D_FORTIFY_SOURCE=2  -c -o output.o output.c
output.c: In function ‘wraplen’:
output.c:3119:14: warning: implicit declaration of function ‘wcwidth’ [-Wimplicit-function-declaration]
 3119 |   visible += wcwidth(wc);
      |              ^~~~~~~
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DTFPYTHON -D_FORTIFY_SOURCE=2 -DDATADIR=/usr/share   -I/usr/include/python3.8 -I/usr/include/python3.8 -D_FORTIFY_SOURCE=2  -c -o pattern.o pattern.c
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DTFPYTHON -D_FORTIFY_SOURCE=2 -DDATADIR=/usr/share   -I/usr/include/python3.8 -I/usr/include/python3.8 -D_FORTIFY_SOURCE=2  -c -o process.o process.c
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DTFPYTHON -D_FORTIFY_SOURCE=2 -DDATADIR=/usr/share   -I/usr/include/python3.8 -I/usr/include/python3.8 -D_FORTIFY_SOURCE=2  -c -o search.o search.c
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DTFPYTHON -D_FORTIFY_SOURCE=2 -DDATADIR=/usr/share   -I/usr/include/python3.8 -I/usr/include/python3.8 -D_FORTIFY_SOURCE=2  -c -o signals.o signals.c
signals.c: In function ‘init_exename’:
signals.c:437:5: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  437 |     getcwd(initial_dir, PATH_MAX);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DTFPYTHON -D_FORTIFY_SOURCE=2 -DDATADIR=/usr/share   -I/usr/include/python3.8 -I/usr/include/python3.8 -D_FORTIFY_SOURCE=2  -c -o socket.o socket.c
socket.c: In function ‘handle_socket_lines’:
socket.c:2797:20: warning: assignment to ‘String *’ from incompatible pointer type ‘conString *’ [-Wincompatible-pointer-types]
 2797 |      incoming_text = line;
      |                    ^
socket.c: In function ‘openconn’:
socket.c:1599:6: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1599 |      read(xsock->fd, (char*)xsock->addrs, info.size);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
socket.c: In function ‘waitforhostname’:
socket.c:1925:2: warning: ignoring return value of ‘writev’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1925 |  writev(fd, iov, niov);
      |  ^~~~~~~~~~~~~~~~~~~~~
socket.c:1929:2: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1929 |  write(fd, &hdr, sizeof(hdr));
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DTFPYTHON -D_FORTIFY_SOURCE=2 -DDATADIR=/usr/share   -I/usr/include/python3.8 -I/usr/include/python3.8 -D_FORTIFY_SOURCE=2  -c -o tfio.o tfio.c
tfio.c: In function ‘tfgetS’:
tfio.c:834:9: warning: implicit declaration of function ‘main_loop’ [-Wimplicit-function-declaration]
  834 |         main_loop();
      |         ^~~~~~~~~
tfio.c: In function ‘igetchar’:
tfio.c:773:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  773 |     read(STDIN_FILENO, &c, 1);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DTFPYTHON -D_FORTIFY_SOURCE=2 -DDATADIR=/usr/share   -I/usr/include/python3.8 -I/usr/include/python3.8 -D_FORTIFY_SOURCE=2  -c -o tty.o tty.c
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DTFPYTHON -D_FORTIFY_SOURCE=2 -DDATADIR=/usr/share   -I/usr/include/python3.8 -I/usr/include/python3.8 -D_FORTIFY_SOURCE=2  -c -o util.o util.c
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DTFPYTHON -D_FORTIFY_SOURCE=2 -DDATADIR=/usr/share   -I/usr/include/python3.8 -I/usr/include/python3.8 -D_FORTIFY_SOURCE=2  -c -o variable.o variable.c
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DTFPYTHON -D_FORTIFY_SOURCE=2 -DDATADIR=/usr/share   -I/usr/include/python3.8 -I/usr/include/python3.8 -D_FORTIFY_SOURCE=2  -c -o world.o world.c
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DTFPYTHON -D_FORTIFY_SOURCE=2 -DDATADIR=/usr/share   -I/usr/include/python3.8 -I/usr/include/python3.8 -D_FORTIFY_SOURCE=2  -c -o tfpython.o tfpython.c
tfpython.c: In function ‘pyvar_to_tfvar’:
tfpython.c:219:69: warning: passing argument 3 of ‘PyBytes_AsStringAndSize’ from incompatible pointer type [-Wincompatible-pointer-types]
  219 |  if( PyBytes_Check( pRc ) && ( PyBytes_AsStringAndSize( pRc, &cstr, &len ) != -1 ) ) {
      |                                                                     ^~~~
      |                                                                     |
      |                                                                     int *
In file included from /usr/include/python3.8/Python.h:96,
                 from tfpython.h:6,
                 from tfpython.c:10:
/usr/include/python3.8/bytesobject.h:106:17: note: expected ‘Py_ssize_t *’ {aka ‘long int *’} but argument is of type ‘int *’
  106 |     Py_ssize_t *len     /* pointer to length variable or NULL
      |     ~~~~~~~~~~~~^~~
gcc -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now   -o tf attr.o command.o dstring.o expand.o expr.o help.o history.o keyboard.o macro.o main.o malloc.o output.o pattern.o process.o search.o signals.o socket.o tfio.o tty.o util.o variable.o world.o  tfpython.o  -lz -lm -lncurses  -lssl -lcrypto   -L/usr/lib -lpython3.8 -lcrypt -lpthread -ldl  -lutil -lm -lm  -lpcre
/usr/bin/ld: expand.o:(.bss+0x50): multiple definition of `world_decl'; command.o:(.bss+0x8): first defined here
/usr/bin/ld: expr.o:(.bss+0x1008): multiple definition of `world_decl'; command.o:(.bss+0x8): first defined here
/usr/bin/ld: history.o:(.bss+0x98): multiple definition of `world_decl'; command.o:(.bss+0x8): first defined here
/usr/bin/ld: macro.o:(.bss+0x8): multiple definition of `world_decl'; command.o:(.bss+0x8): first defined here
/usr/bin/ld: main.o:(.bss+0x10): multiple definition of `world_decl'; command.o:(.bss+0x8): first defined here
/usr/bin/ld: output.o:(.bss+0x48): multiple definition of `world_decl'; command.o:(.bss+0x8): first defined here
/usr/bin/ld: process.o:(.bss+0x10): multiple definition of `world_decl'; command.o:(.bss+0x8): first defined here
/usr/bin/ld: socket.o:(.bss+0x30): multiple definition of `world_decl'; command.o:(.bss+0x8): first defined here
/usr/bin/ld: variable.o:(.bss+0x38): multiple definition of `world_decl'; command.o:(.bss+0x8): first defined here
/usr/bin/ld: world.o:(.bss+0x8): multiple definition of `world_decl'; command.o:(.bss+0x8): first defined here
/usr/bin/ld: tfpython.o:(.bss+0x0): multiple definition of `world_decl'; command.o:(.bss+0x8): first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:159: tf] Error 1
make[1]: Leaving directory '/home/cyveris/aur/tinyfugue-git/src/tinyfugue/src'
make: *** [Makefile:18: files] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Feirlane commented on 2019-12-24 19:12 (UTC)

No worries, apologies for the long delay to get this updated, your previous message got lost in my global arch-related folder with all of the mailing list emails and I missed it.

I've also just updated the PKGBUILD with a couple of patches to make it build with python again.

Happy Christmas!

senjin commented on 2019-12-23 18:46 (UTC)

Wow, it seems you got me an Christmas gift ;) Thanks!

Feirlane commented on 2019-12-23 16:02 (UTC)

Disabling python in the PKGBUILD (delete line 35) allows you to build it again. If you're not using any custom scripts relying on python support you should be fine.

It looks like recent python versions have a conflict with some macros defined in this package, and even renaming the macros does not fix the issue. I'll see if I have some time to dig deeper into this and maybe get a patch out.

senjin commented on 2019-12-12 22:42 (UTC) (edited on 2019-12-12 22:43 (UTC) by senjin)

I had to recompile the package recently and I get errors (see below). I guess it's related to some system updates, unfortunately I don't know how to solve it. (I'm also sorry for messy look of the log below, I don't know how to paste it nicely in AUR).

make[1]: Entering directory '/tmp/tinyfugue-git/src/tinyfugue/src' gcc -march=native -mtune=generic -O2 -pipe -fno-plt -fstack-protector-strong -DTFPYTHON -D_FORTIFY_SOURCE=2 -DDATADIR=/usr/share -I/usr/include/python3.8 -I/usr/include/python3.8 -D_FORTIFY_SOURCE=2 -c -o attr.o attr.c gcc -march=native -mtune=generic -O2 -pipe -fno-plt -fstack-protector-strong -DTFPYTHON -D_FORTIFY_SOURCE=2 -DDATADIR=/usr/share -I/usr/include/python3.8 -I/usr/include/python3.8 -D_FORTIFY_SOURCE=2 -c -o command.o command.c In file included from tf.h:48, from command.c:17: globals.h:150:25: error: expected identifier or ‘(’ before ‘long’ 150 | #define getintvar(id) ((long) intvar(id)) | ^~~~ globals.h:194:21: note: in expansion of macro ‘getintvar’ 194 | #define interactive getintvar(VAR_interactive) | ^~~~~~~~~ /usr/include/python3.8/cpython/initconfig.h:253:9: note: in expansion of macro ‘interactive’ 253 | int interactive; | ^~~~~~~~~~~ globals.h:144:20: error: expected ‘)’ before ‘(’ token 144 | #define intvar(id) (get_special_var(id)->val.u.ival) | ^ globals.h:150:40: note: in expansion of macro ‘intvar’ 150 | #define getintvar(id) ((long) intvar(id)) | ^~~~~~ globals.h:194:21: note: in expansion of macro ‘getintvar’ 194 | #define interactive getintvar(VAR_interactive) | ^~~~~~~~~ /usr/include/python3.8/cpython/initconfig.h:253:9: note: in expansion of macro ‘interactive’ 253 | int interactive; | ^~~~~~~~~~~ command.c: In function ‘do_file_load’: command.c:528:18: warning: passing argument 1 of ‘tf_wprintf’ from incompatible pointer type [-Wincompatible-pointer-types] 528 | tf_wprintf((const wchar_t )"invalid directory in TFPATH: %S", libfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const wchar_t * {aka const int } In file included from command.c:21: tfio.h:156:38: note: expected ‘const char ’ but argument is of type ‘const wchar_t ’ {aka ‘const int ’} 156 | extern void tf_wprintf(const char fmt, ...) format_printf(1, 2); | ~~~~~~~~~~~~^~~ command.c:536:14: warning: passing argument 1 of ‘tf_wprintf’ from incompatible pointer type [-Wincompatible-pointer-types] 536 | tf_wprintf((const wchar_t )"invalid TFLIBDIR: %s", TFLIBDIR); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const wchar_t * {aka const int } In file included from command.c:21: tfio.h:156:38: note: expected ‘const char ’ but argument is of type ‘const wchar_t ’ {aka ‘const int ’} 156 | extern void tf_wprintf(const char fmt, ...) format_printf(1, 2); | ~~~~~~~~~~~~^~~ command.c:595:32: warning: passing argument 1 of ‘tf_wprintf’ from incompatible pointer type [-Wincompatible-pointer-types] 595 | tf_wprintf((const wchar_t )"whitespace following final '\'"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const wchar_t * {aka const int } In file included from command.c:21: tfio.h:156:38: note: expected ‘const char ’ but argument is of type ‘const wchar_t ’ {aka ‘const int ’} 156 | extern void tf_wprintf(const char fmt, ...) format_printf(1, 2); | ~~~~~~~~~~~~^~~ command.c: In function ‘handle_echo_func’: command.c:365:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 365 | write(STDOUT_FILENO, src->data, src->len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: [<builtin>: command.o] Error 1 make[1]: Leaving directory '/tmp/tinyfugue-git/src/tinyfugue/src' make: [Makefile:18: files] Error 2 ==> ERROR: A failure occurred in build(). Aborting... Error making: tinyfugue-git