Opened 11 years ago

Closed 11 years ago

#40326 closed defect (fixed)

ppl @1.0_1: build fails after gmp 5.1.2 update

Reported by: mndavidoff (Monte Davidoff) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc: larryv (Lawrence Velázquez), jeremyhu (Jeremy Huddleston Sequoia)
Port: ppl

Description

The ppl @1.0_1 port fails to build. The problem seems to have started after gmp was updated to 5.1.2.

$ sudo port -vs install ppl
...
/bin/sh ../libtool  --tag=CXX   --mode=compile /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I..  -I.. -I../src  -I/opt/local/include  -g -O2 -frounding-math -pipe -Os -arch x86_64 -W -Wall -MT checked.lo -MD -MP -MF .deps/checked.Tpo -c -o checked.lo checked.cc
In file included from checked.defs.hh:30,
                 from Checked_Number.defs.hh:28,
                 from Coefficient.types.hh:16,
                 from Coefficient.defs.hh:27,
                 from Box.defs.hh:29,
                 from Box.cc:25:
mp_std_bits.defs.hh:47: error: redefinition of 'class std::numeric_limits<__gmp_expr<__mpz_struct [1], __mpz_struct [1]> >'
/opt/local/include/gmpxx.h:3271: error: previous definition of 'class std::numeric_limits<__gmp_expr<__mpz_struct [1], __mpz_struct [1]> >'
mp_std_bits.defs.hh:108: error: redefinition of 'class std::numeric_limits<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >'
/opt/local/include/gmpxx.h:3308: error: previous definition of 'class std::numeric_limits<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >'
libtool: compile:  /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -I/opt/local/include -g -O2 -frounding-math -pipe -Os -arch x86_64 -W -Wall -MT checked.lo -MD -MP -MF .deps/checked.Tpo -c checked.cc  -fno-common -DPIC -o .libs/checked.o
In file included from checked.defs.hh:30,
                 from checked.cc:25:
mp_std_bits.defs.hh:47: error: redefinition of 'class std::numeric_limits<__gmp_expr<__mpz_struct [1], __mpz_struct [1]> >'
/opt/local/include/gmpxx.h:3271: error: previous definition of 'class std::numeric_limits<__gmp_expr<__mpz_struct [1], __mpz_struct [1]> >'
mp_std_bits.defs.hh:108: error: redefinition of 'class std::numeric_limits<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >'
/opt/local/include/gmpxx.h:3308: error: previous definition of 'class std::numeric_limits<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >'
make[3]: *** [checked.lo] Error 1
...
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ppl/ppl/work/ppl-1.0/src'

Attachments (1)

main.log.gz (7.8 KB) - added by mndavidoff (Monte Davidoff) 11 years ago.

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by mndavidoff (Monte Davidoff)

Attachment: main.log.gz added

comment:1 Changed 11 years ago by mf2k (Frank Schima)

Cc: larryv@… added

Cc'ing larryv, who committed that update in r110522.

comment:2 Changed 11 years ago by larryv (Lawrence Velázquez)

Cc: jeremyhu@… added
Owner: changed from macports-tickets@… to mcalhoun@…

This doesn’t look like it has to do with my change. Jeremy did the actual version bump in r110500.

comment:3 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

comment:4 Changed 11 years ago by mndavidoff (Monte Davidoff)

comment:5 Changed 11 years ago by mndavidoff (Monte Davidoff)

The fix in r110554 works for me. Thanks!

comment:6 Changed 11 years ago by larryv (Lawrence Velázquez)

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