Opened 9 years ago

Closed 8 years ago

#49018 closed defect (fixed)

libvisio-0.1 @0.1.3_1: fatal error: 'type_traits' file not found

Reported by: ropolfer@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: su-v
Port: libvisio-0.1

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Ordenador-de-Roberto:/ imac$ sudo port clean libvisio-0.1
--->  Cleaning libvisio-0.1
Ordenador-de-Roberto:/ imac$ sudo port install libvisio-0.1
--->  Computing dependencies for libvisio-0.1
--->  Fetching archive for libvisio-0.1
--->  Attempting to fetch libvisio-0.1-0.1.3_1.darwin_11.x86_64.tbz2 from http://lil.fr.packages.macports.org/libvisio-0.1
--->  Attempting to fetch libvisio-0.1-0.1.3_1.darwin_11.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/libvisio-0.1
--->  Attempting to fetch libvisio-0.1-0.1.3_1.darwin_11.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/libvisio-0.1
--->  Fetching distfiles for libvisio-0.1
--->  Verifying checksums for libvisio-0.1
--->  Extracting libvisio-0.1
--->  Applying patches to libvisio-0.1
--->  Configuring libvisio-0.1
--->  Building libvisio-0.1
Error: org.macports.build for port libvisio-0.1 returned: command execution failed
Please see the log file for port libvisio-0.1 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libvisio-0.1/libvisio-0.1/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port libvisio-0.1 failed

Attachments (1)

main.log (67.8 KB) - added by ropolfer@… 9 years ago.
log file for port libvisio-0.1

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by ropolfer@…

Attachment: main.log added

log file for port libvisio-0.1

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: libvisio removed
Owner: changed from macports-tickets@… to devans@…
Priority: HighNormal
Summary: Error: org.macports.build for port libvisio-0.1 returned: command execution failedlibvisio-0.1 @0.1.3_1: fatal error: 'type_traits' file not found

It's this type of problem: http://stackoverflow.com/questions/14104298/clang-boostspirit-and-c11

So it sounds like we either have to require C++11 support (i.e. use the cxx11 1.0 portgroup), or else define BOOST_NO_VARIADIC_TEMPLATES as suggested in that stack overflow question, though that might be a global setting for boost which might negatively affect other ports that actually need variadic templates.

comment:2 Changed 9 years ago by su-v

See also this thread on the macports-user mailing-list:
https://lists.macosforge.org/pipermail/macports-users/2015-September/thread.html#39185

[ On Lion, configuring libvisio-0.1 with -DBOOST_NO_CXX11_RVALUE_REFERENCES allows to compile it successfully with clang from Xcode 4.6.3 (without installing a custom compiler first). ]

comment:3 Changed 9 years ago by su-v

Cc: suv-sf@… added

Cc Me!

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

Resolution: fixed
Status: newclosed

Fix committed in r143951.

Note: See TracTickets for help on using tickets.