@twelveeighty Ah, thanks for the explanation. The -git package also seems to be broken with a different error. Left a comment there.
Search Criteria
Package Details: gftp 2.9.1b-6
Package Actions
| Git Clone URL: | https://aur.archlinux.org/gftp.git (read-only, click to copy) |
|---|---|
| Package Base: | gftp |
| Description: | A multithreaded ftp client for X Windows |
| Upstream URL: | https://www.gftp.org/ |
| Licenses: | MIT |
| Submitter: | twelveeighty |
| Maintainer: | twelveeighty |
| Last Packager: | twelveeighty |
| Votes: | 3 |
| Popularity: | 0.047180 |
| First Submitted: | 2023-03-17 15:24 (UTC) |
| Last Updated: | 2024-07-29 18:54 (UTC) |
Dependencies (4)
- gtk2AUR (gtk2-patched-filechooser-icon-viewAUR)
- openssl (openssl-gitAUR, openssl-aegisAUR, openssl-staticAUR)
- readline (readline-gitAUR)
- intltool (make)
Required by (0)
Sources (1)
Latest Comments
psudo commented on 2026-02-08 02:12 (UTC)
twelveeighty commented on 2026-02-07 18:10 (UTC)
Upstream switched from autoconf to meson, but they have not made a release since 2022. This package is therefore broken until a new release is made that fixes the GetText and "too many arguments to function ‘ddata->yesfunc’" errors. In the mean time, I recommend switching to the gftp-git package, which should have switched to meson as well.
psudo commented on 2026-02-07 14:26 (UTC) (edited on 2026-02-07 14:26 (UTC) by psudo)
Getting this error when building. There's an open github issue regarding it. Building from source works instead.
- Running autoconf --force
configure.ac:10: error: possibly undefined macro: AM_GNU_GETTEXT
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
==> ERROR: A failure occurred in build().
Aborting...
-> error making: gftp-exit status 4
-> Failed to install the following packages. Manual intervention is required:
gftp - exit status 4
PhotonX commented on 2024-07-29 19:22 (UTC)
Thanks, guys! I commented at php-yaml as well!
twelveeighty commented on 2024-07-29 18:55 (UTC)
Thanks @FabioLolix for the suggested fix.
FabioLolix commented on 2024-07-29 17:47 (UTC)
socket-connect.c:399:31: error: passing argument 3 of 'accept' from incompatible pointer type [-Wincompatible-pointer-types]
This is due to gcc14, need something like CFLAGS+=" -Wno-error=incompatible-pointer-types"
PhotonX commented on 2024-07-29 17:47 (UTC) (edited on 2024-07-29 17:47 (UTC) by PhotonX)
Similar issue in https://aur.archlinux.org/packages/php-yaml as well.
PhotonX commented on 2024-07-29 17:44 (UTC)
Hi, the package fails to build with:
CC socket-connect.o
CC sockutils.o
socket-connect.c: In function 'gftp_accept_connection':
socket-connect.c:399:31: error: passing argument 3 of 'accept' from incompatible pointer type [-Wincompatible-pointer-types]
399 | newfd = accept (*fd, saddr, &request->remote_addr_len);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| |
| size_t * {aka long unsigned int *}
In file included from gftp.h:53,
from socket-connect.c:24:
/usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long unsigned int *'}
307 | socklen_t *__restrict __addr_len);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
make[2]: *** [Makefile:441: socket-connect.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/photon/.cache/yay/gftp/src/gftp-2.9.1b/lib'
make[1]: *** [Makefile:421: all-recursive] Error 1
make[1]: Leaving directory '/home/photon/.cache/yay/gftp/src/gftp-2.9.1b'
make: *** [Makefile:360: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
-> error making: gftp-exit status 4
twelveeighty commented on 2023-06-12 16:13 (UTC)
Updated to 2.9.1b-5 to add the LICENSE to /usr/share/licenses/gftp
FabioLolix commented on 2023-05-01 09:32 (UTC)
Hello, a license like MIT which isn't part of the licenses package need to be installed in "${pkgdir}/usr/share/licenses/${pkgname}"
Pinned Comments
twelveeighty commented on 2026-02-07 18:10 (UTC)
Upstream switched from autoconf to meson, but they have not made a release since 2022. This package is therefore broken until a new release is made that fixes the GetText and "too many arguments to function ‘ddata->yesfunc’" errors. In the mean time, I recommend switching to the gftp-git package, which should have switched to meson as well.