Package Details: gftp 2.9.1b-6

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.002412
First Submitted: 2023-03-17 15:24 (UTC)
Last Updated: 2024-07-29 18:54 (UTC)

Latest Comments

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}"