Opened 6 years ago

Last modified 2 years ago

#45799 new defect

Can't build encfs-1.7.5-135_2 on OSX 10.6.8

Reported by: dnied@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: Cc: neverpanic (Clemens Lang)
Port: encfs

Description

Full build log available on request, only the (presumably) relevant part reported here.

  • port command's output:
--->  Computing dependencies for encfs
--->  Fetching archive for encfs
[...]
--->  Extracting encfs
--->  Applying patches to encfs
--->  Configuring encfs
--->  Building encfs
Error: org.macports.build for port encfs returned: command execution failed
Please see the log file for port encfs for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_encfs/encfs/main.log
Error: Unable to upgrade port: 1
Error rebuilding encfs
    while executing
"error "Error rebuilding $portname""
    (procedure "revupgrade_scanandrebuild" line 395)
    invoked from within
"revupgrade_scanandrebuild broken_port_counts $opts"
    (procedure "macports::revupgrade" line 5)
    invoked from within
"macports::revupgrade $opts"
    (procedure "action_revupgrade" line 2)
    invoked from within
"action_revupgrade $action $portlist $opts"
    (procedure "action_upgrade" line 25)
    invoked from within
"$action_proc $action $portlist [array get global_options]"
    (procedure "process_cmd" line 103)
    invoked from within
"process_cmd $remaining_args"
    invoked from within
"if { [llength $remaining_args] > 0 } {

    # If there are remaining arguments, process those as a command
    set exit_status [process_cmd $remaining..."
    (file "/opt/local/bin/port" line 5268)
Exit 1
  • relevant part of encfs' build log:
:info:build /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I..   -I/opt/local/include  -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -D__STDC_FORMAT_MACROS -DRLOG_COMPONENT="encfs" -I/opt/local/include  -I/opt/local/include  -I/opt/local/include -I../intl -DLOCALEDIR=\"/opt/local/share/locale\" -W -Wall -Wpointer-arith -Wwrite-strings -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread  -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cpp
:info:build main.cpp: In function ‘int main(int, char**)’:
:info:build main.cpp:573: error: invalid conversion from ‘int (*)(const char*, const char*, const char*, size_t, int, uint32_t)’ to ‘int (*)(const char*, const char*, const char*, size_t, int)’
:info:build main.cpp:574: error: invalid conversion from ‘int (*)(const char*, const char*, char*, size_t, uint32_t)’ to ‘int (*)(const char*, const char*, char*, size_t)’
:info:build make[2]: *** [main.o] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build mv -f .deps/FileUtils.Tpo .deps/FileUtils.Plo
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_encfs/encfs/work/1.x/encfs'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_encfs/encfs/work/1.x'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_encfs/encfs/work/1.x'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_encfs/encfs/work/1.x" && /usr/bin/make -j2 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port encfs returned: command execution failed
:debug:build Error code: CHILDSTATUS 97682 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for encfs: org.macports.install org.macports.build org.macports.destroot
:notice:build Please see the log file for port encfs for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_encfs/encfs/main.log
  • darwin release:
    ~# uname -a
    Darwin localhost.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386
    

Change History (5)

comment:1 Changed 6 years ago by neverpanic (Clemens Lang)

This usually means you have an older and incompatible copy of the fuse headers in /usr/local. Please clean and try again in trace mode port -t install ... as per the wiki:FAQ#buildfails.

comment:2 Changed 6 years ago by neverpanic (Clemens Lang)

Cc: cal@… added
Owner: changed from macports-tickets@… to Markus.Ueberall@…
Port: encfs added

Oh, and please Cc the maintainer (if any) and fill in the port field when reporting bugs against ports.

comment:3 Changed 5 years ago by ryandesign (Ryan Schmidt)

Please check if the problem remains with 1.8.1, to which the port was just updated.

comment:4 Changed 5 years ago by ryandesign (Ryan Schmidt)

Owner: changed from Markus.Ueberall@… to macports-tickets@…

comment:5 Changed 2 years ago by ryandesign (Ryan Schmidt)

Duplicate #56815 says it's still a problem with 1.8.1.

Note: See TracTickets for help on using tickets.