Package Details: httpdirfs 1.3.3-1

Git Clone URL: https://aur.archlinux.org/httpdirfs.git (read-only, click to copy)
Package Base: httpdirfs
Description: A filesystem which allows you to mount HTTP directory listings
Upstream URL: https://github.com/fangfufu/httpdirfs
Licenses: GPL
Submitter: owentrigueros
Maintainer: owentrigueros
Last Packager: owentrigueros
Votes: 41
Popularity: 1.03
First Submitted: 2019-10-25 07:21 (UTC)
Last Updated: 2026-06-12 15:09 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

mkurz commented on 2025-06-03 06:55 (UTC)

It does not build anymore because GCC was bumped to version 15, which switches the default language version to gnu23. You can find more information here: https://gcc.gnu.org/gcc-15/porting_to.html

GCC 15 changes the default language version for C compilation from -std=gnu17 to -std=gnu23. If your code relies on older versions of the C standard, you will need to either add -std= to your build flags, or port your code to C23.

To fix the build we can just switch back to gnu17. In line 16 of the PKGBUILD you need to add -std=gnu17 to c_args:

-  arch-meson "$pkgname-$pkgver" build
+  arch-meson "$pkgname-$pkgver" build -Dc_args="-std=gnu17"

Aznorth commented on 2025-06-02 20:13 (UTC)

httpsdirfs dependency expects of gumbo-parser to provide libgumbo.so.2, but the latter only provides libgumbo.so, libgumbo.so.3, and libgumbo.so.3.0.0, as what pacman -Ql gumbo-parser reveals.

Here’s the log when building ttf-ms-win11-auto :

==> Starting prepare()...
- Examining locally available fonts
- Fonts are missing
- Mount filesystems as a non-privileged user: allowed
- Downloading fonts directly
  - Mounting HTTP file
httpdirfs: error while loading shared libraries: libgumbo.so.2: cannot open shared object file: No such file or directory
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> error making: ttf-ms-win11-auto-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
ttf-ms-win11-auto - exit status 4

adv commented on 2025-06-02 16:07 (UTC) (edited on 2025-06-03 15:42 (UTC) by adv)

Trying to install this package as it is a dependency for ttf-ms-win11-auto and I get the following error:

Found ninja-1.12.1 at /usr/bin/ninja
INFO: autodetecting backend as ninja                                                                                              
INFO: calculating backend command to run: /usr/bin/ninja -C /home/markos/.cache/paru/clone/httpdirfs/src/build
ninja: Entering directory `/home/markos/.cache/paru/clone/httpdirfs/src/build'
[10/12] Compiling C object httpdirfs.p/src_link.c.o
FAILED: httpdirfs.p/src_link.c.o 
cc -Ihttpdirfs.p -I. -I../httpdirfs-1.2.7 -I/usr/include/fuse3 -I/usr/include/uuid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wstrict-prototypes -pthread -D_GNU_SOURCE '-DVERSION="1.2.7"' -MD -MQ httpdirfs.p/src_link.c.o -MF httpdirfs.p/src_link.c.o.d -o httpdirfs.p/src_link.c.o -c ../httpdirfs-1.2.7/src/link.c
In file included from ../httpdirfs-1.2.7/src/network.h:13,
                 from ../httpdirfs-1.2.7/src/cache.h:15,
                 from ../httpdirfs-1.2.7/src/link.h:12,
                 from ../httpdirfs-1.2.7/src/link.c:1:
In function ‘Link_req_file_stat’,
    inlined from ‘LinkTable_uninitialised_fill’ at ../httpdirfs-1.2.7/src/link.c:242:17:
../httpdirfs-1.2.7/src/link.c:200:20: error: call to ‘_curl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument [-Werror=attribute-warning]
  200 |     CURLcode ret = curl_easy_setopt(curl, CURLOPT_NOBODY, 1);
      |                    ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'httpdirfs-1.2.7-1': 
error: packages failed to build: httpdirfs-1.2.7-1

I hope the above error text is helpful.

Cheers.

owentrigueros commented on 2025-01-14 08:14 (UTC)

Hi @TheBill2001,

I've just tried to compile the package appending -fuse-ld=mold to LDFLAGS in /etc/makepkg.conf, and it works.

Have you installed mold?

TheBill2001 commented on 2025-01-14 05:29 (UTC)

Build failed if using mold linker.

collect2: fatal error: cannot find ‘ld’

peregrinus commented on 2024-02-19 06:53 (UTC)

Hi @owentrigueros.

Thank you, that seems to have done the trick. Package was successfully built just now.

Cheers!

owentrigueros commented on 2024-02-18 12:41 (UTC) (edited on 2024-02-18 12:42 (UTC) by owentrigueros)

Hi @elod, thanks for the help. I have tried to compile the package in different machines, even on a docker container, and everything went fine.

I have added graphviz to makedepends as it was needed to correctly generate the documentation, but I think it has nothing to do with the problem you are describing.

I have updated the git version of this package, httpdirfs-git. Could you try with that one?

Thanks in advance!

peregrinus commented on 2024-02-14 11:42 (UTC)

Happy to help debug this. Not sure where to look.

$ pacman -Qs perl
local/perl 5.38.2-1
A highly capable, feature-rich programming language

Arch is fully up to date.

owentrigueros commented on 2024-02-14 09:30 (UTC)

Hi @elod, I have not been able to reproduce the error. What version of perl do you have installed?