Opened 13 years ago

Closed 13 years ago

#31219 closed defect (fixed)

grantlee build fails on leopard

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: leopard Cc: richard.delaurell@…, theofilos13@…
Port: grantlee

Description

grantlee fails to build on leopard as reported on the mailing list. I've confirmed the issue, and that switching to gcc-4.2 does not change the error message.

Because the error mentions tr1, this might be related in some way to this upstream bug report on Solaris which also mentioned tr1, and has a patch attached that makes it use boost for this.

Attachments (2)

grantlee.diff (1.1 KB) - added by ryandesign (Ryan Carsten Schmidt) 13 years ago.
a patch that does not work
main.log.bz2 (8.7 KB) - added by ryandesign (Ryan Carsten Schmidt) 13 years ago.
log with grantlee 0.2.0 on leopard i386

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: grantlee.diff added

a patch that does not work

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

Port: grantlee added; grantloo removed

Inspired by the upstream Solaris bug report, I tried this patch, which tries to use Boost's tr1 instead of Xcode's, but it fails with:

In file included from /opt/local/include/boost/tr1/tr1/unordered_map:9,
                 from /opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_grantlee/grantlee/work/grantlee-0.1.9/templates/tests/qtunorderedmap.h:29,
                 from /opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_grantlee/grantlee/work/grantlee-0.1.9/templates/tests/test_macros.h:29,
                 from /opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_grantlee/grantlee/work/grantlee-0.1.9/templates/tests/testgenericcontainers.cpp:26:
/opt/local/include/boost/tr1/detail/config_all.hpp:148:4: error: #include_next is a GCC extension
In file included from /opt/local/include/boost/functional/hash/extensions.hpp:17,
                 from /opt/local/include/boost/functional/hash/hash.hpp:535,
                 from /opt/local/include/boost/functional/hash.hpp:6,
                 from /opt/local/include/boost/unordered/unordered_map.hpp:17,
                 from /opt/local/include/boost/unordered_map.hpp:16,
                 from /opt/local/include/boost/tr1/unordered_map.hpp:21,
                 from /opt/local/include/boost/tr1/tr1/unordered_map:28,
                 from /opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_grantlee/grantlee/work/grantlee-0.1.9/templates/tests/qtunorderedmap.h:29,
                 from /opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_grantlee/grantlee/work/grantlee-0.1.9/templates/tests/test_macros.h:29,
                 from /opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_grantlee/grantlee/work/grantlee-0.1.9/templates/tests/testgenericcontainers.cpp:26:
/opt/local/include/boost/detail/container_fwd.hpp:72:9: warning: "BOOST_CLANG" is not defined

Since I don't know what tr1 is I'm just stabbing in the dark here so I'm out of ideas. It's now time to report this bug to the developers of grantlee, which I've done in bug report 281859.

Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log.bz2 added

log with grantlee 0.2.0 on leopard i386

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

Cc: theofilos13@… added

Has duplicate #31936.

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

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.