Opened 9 years ago

Closed 9 years ago

#50419 closed defect (wontfix)

encfs @1.8.1_0 build failure

Reported by: st.roos@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: snowleopard Cc:
Port: encfs

Description

Error: Failed to configure encfs, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_fuse_encfs/encfs/work/encfs-1.8.1/config.log Error: org.macports.configure for port encfs returned: configure failure: 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_tarballs_ports_fuse_encfs/encfs/main.log

To report a bug, follow the instructions in the guide:

http://guide.macports.org/#project.tickets

main.log attached Error: Processing of port encfs failed

Attachments (1)

main (48.4 KB) - added by st.roos@… 9 years ago.
main.log

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by st.roos@…

Attachment: main added

main.log

comment:1 Changed 9 years ago by dbevans (David B. Evans)

Keywords: snowleopard added; Snow Leopard Server removed
Version: 2.3.4

The relevant lines from the the logfile are

:info:configure checking whether /usr/bin/g++-4.2 supports C++11 features by default... no
:info:configure checking whether /usr/bin/g++-4.2 supports C++11 features with -std=gnu++11... no
:info:configure checking whether /usr/bin/g++-4.2 supports C++11 features with -std=gnu++0x... no
:info:configure checking whether /usr/bin/g++-4.2 supports C++11 features with -std=c++11... no
:info:configure checking whether /usr/bin/g++-4.2 supports C++11 features with -std=c++0x... no
:info:configure configure: error: *** A compiler with support for C++11 language features is required.

The default compiler on 10.6 does not support C++11. Blacklisting the default compiler in favor of a newer version of clang may help.

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

No, that won't help. C++11 isn't happening on Snow Leopard unless you jump through lots of hoops. The LibcxxOnOlderSystems wiki page has more information.

We'll likely have to declare encfs as unsupported on any platform that doesn't support C++11.

comment:3 Changed 9 years ago by dbevans (David B. Evans)

That's what I was wondering. The build also fails on 10.8 as one might expect and surely 10.7 as well. A candidate for the cxx11 port group.

comment:4 Changed 9 years ago by dbevans (David B. Evans)

Resolution: wontfix
Status: newclosed

Closing as won't (really can't fix) due to the requirement for full C++11 support. This limits the build to 10.9+ only. cxx11 port group added in r144992.

Note: See TracTickets for help on using tickets.