Opened 4 months ago

Closed 4 months ago

#69997 closed defect (fixed)

ext2fuse @0.8.1_3 configure failure

Reported by: 66Ton99 (Ton Sharp) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: Cc:
Port: ext2fuse

Description

Can't install ext2fuse

sudo port install ext2fuse
--->  Computing dependencies for ext2fuse
--->  Fetching archive for ext2fuse
--->  Attempting to fetch ext2fuse-0.8.1_3.darwin_23.x86_64.tbz2 from https://cph.dk.packages.macports.org/ext2fuse
--->  Attempting to fetch ext2fuse-0.8.1_3.darwin_23.x86_64.tbz2 from https://nue.de.packages.macports.org/ext2fuse
--->  Attempting to fetch ext2fuse-0.8.1_3.darwin_23.x86_64.tbz2 from https://fra.de.packages.macports.org/ext2fuse
--->  Fetching distfiles for ext2fuse
--->  Verifying checksums for ext2fuse
--->  Extracting ext2fuse
--->  Configuring ext2fuse
Error: Failed to configure ext2fuse: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fuse_ext2fuse/ext2fuse/work/ext2fuse-src-0.8.1/config.log
Error: Failed to configure ext2fuse: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fuse_ext2fuse/ext2fuse/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port ext2fuse failed

Attachments (1)

main.log (38.0 KB) - added by 66Ton99 (Ton Sharp) 4 months ago.

Download all attachments as: .zip

Change History (4)

Changed 4 months ago by 66Ton99 (Ton Sharp)

Attachment: main.log added

comment:1 Changed 4 months ago by jmroot (Joshua Root)

Keywords: ext2fuse removed
Summary: ext2fuse @0.8.1_3.darwin_23.x86_64: Processing of port ext2fuse failedext2fuse @0.8.1_3 configure failure

Please attach the config.log as well.

comment:2 Changed 4 months ago by ryandesign (Ryan Carsten Schmidt)

Now that #66391 is fixed we see the same error on the buildbot (on OS versions that use macfuse rather than osxfuse) and I see it on my local macOS 12 machine as well.

My config.log shows it failed because the ext2fuse port adds -losxfuse to LDFLAGS and this library which existed with osxfuse doesn't exist with macfuse:

configure:2378: checking for C++ compiler default output file name
configure:2405: ccache /usr/bin/clang++ -pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -I/opt/local/include/osxfuse/fuse -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -losxfuse -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 conftest.cpp  >&5
ld: library not found for -losxfuse
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:2408: $? = 1
configure:2446: result: 
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "ext2fuse"
| #define PACKAGE_TARNAME "ext2fuse"
| #define PACKAGE_VERSION "0.8.1"
| #define PACKAGE_STRING "ext2fuse 0.8.1"
| #define PACKAGE_BUGREPORT "ext2fuse-user@lists.sourceforge.net"
| #define PACKAGE "ext2fuse"
| #define VERSION "0.8.1"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2453: error: C++ compiler cannot create executables

macfuse already installs some compatibility symlinks but not that one. I filed #70000 to see if we can enhance macfuse to do that.

comment:3 Changed 4 months ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In daa7949ccb7f5e514aedb5e359889ddf4cbff1a6/macports-ports (master):

ext2fuse: Fix implicit func decls, use of wrong lib

Closes: #69997

Note: See TracTickets for help on using tickets.