Opened 13 years ago

Closed 13 years ago

#34010 closed defect (fixed)

ppl doesn't build with +universal

Reported by: DanielO (Daniel O'Connor) Owned by: adfernandes (Andrew Fernandes)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: ppl

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

port install ppl +universal results in..

<snip>
:info:build libtool: link: ar cru .libs/libppl.a  Box.o checked.o Checked_Number.o Float.o fpu-ia32.o Constraint.o Constraint_System.o Congruence.o Congruence_System.o Generator_System.o Grid_Generator_Sys
tem.o Generator.o Grid_Generator.o Init.o Coefficient.o Linear_Expression.o Linear_System.o Matrix.o Scalar_Products.o MIP_Problem.o PIP_Tree.o PIP_Problem.o Poly_Con_Relation.o Poly_Gen_Relation.o BHRZ03_
Certificate.o H79_Certificate.o Grid_Certificate.o Partial_Function.o Polyhedron_nonpublic.o Polyhedron_public.o Polyhedron_chdims.o Polyhedron_widenings.o C_Polyhedron.o NNC_Polyhedron.o Grid_nonpublic.o 
Grid_public.o Grid_chdims.o Grid_widenings.o BD_Shape.o Octagonal_Shape.o Pointset_Powerset.o Row.o Linear_Row.o Bit_Matrix.o Bit_Row.o Ph_Status.o Grid_Status.o Variable.o Variables_Set.o conversion.o min
imize.o simplify.o Grid_conversion.o Grid_simplify.o stdiobuf.o c_streambuf.o globals.o mp_std_bits.o Weight_Profiler.o version.o termination.o wrap_string.o
:info:build libtool: link: ranlib .libs/libppl.a
:info:build libtool: link: ( cd ".libs" && rm -f "libppl.la" && ln -s "../libppl.la" "libppl.la" )
:info:build /bin/sh ../libtool  --tag=CXX   --mode=link /usr/bin/clang++  -g -O2 -frounding-math -pipe -O2 -arch i386 -W -Wall  -L/opt/local/lib -arch i386 -o ppl-config BUGS.o COPYING.o CREDITS.o ppl-conf
ig.o libppl.la 
:info:build libtool: link: /usr/bin/clang++ -g -O2 -frounding-math -pipe -O2 -arch i386 -W -Wall -arch i386 -o .libs/ppl-config BUGS.o COPYING.o CREDITS.o ppl-config.o  -L/opt/local/lib ./.libs/libppl.dyli
b /opt/local/lib/libgmpxx.dylib /opt/local/lib/libgmp.dylib
:info:build Undefined symbols for architecture i386:
:info:build   "Parma_Polyhedra_Library::version()", referenced from:
:info:build       _main in ppl-config.o
:info:build   "Parma_Polyhedra_Library::banner()", referenced from:
:info:build       _main in ppl-config.o
:info:build   "Parma_Polyhedra_Library::Row_Impl_Handler::Impl::shrink(unsigned long)", referenced from:
:info:build       Parma_Polyhedra_Library::PIP_Tree_Node::Artificial_Parameter::~Artificial_Parameter() in ppl-config.o
:info:build       std::vector<Parma_Polyhedra_Library::Row, std::allocator<Parma_Polyhedra_Library::Row> >::~vector() in ppl-config.o
:info:build   "Parma_Polyhedra_Library::Init::Init()", referenced from:
:info:build       __GLOBAL__I_a in ppl-config.o
:info:build   "Parma_Polyhedra_Library::PIP_Tree_Node::OK() const", referenced from:
:info:build       vtable for Parma_Polyhedra_Library::PIP_Tree_Node in ppl-config.o
<snip>

I had +universal in variants.conf but took it out to build ppl (and thence gcc45 & py27-scipy)

Attachments (1)

ppl_build.log (2.5 KB) - added by DanielO (Daniel O'Connor) 13 years ago.

Download all attachments as: .zip

Change History (8)

Changed 13 years ago by DanielO (Daniel O'Connor)

Attachment: ppl_build.log added

comment:1 Changed 13 years ago by DanielO (Daniel O'Connor)

Cc: darius@… added

Cc Me!

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

Cc: darius@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to adfernandes@…
Port: ppl added

comment:3 Changed 13 years ago by adfernandes (Andrew Fernandes)

I've added the "muniversal" portgroup. It should work now, I hope. Will test it with part of gcc and cloog, and commit shortly.

comment:4 Changed 13 years ago by adfernandes (Andrew Fernandes)

Resolution: fixed
Status: newclosed

Committed in r92829

comment:5 Changed 13 years ago by gnw3

Resolution: fixed
Status: closedreopened

The universal build failed during "port upgrade outdated" on Snow Leopard. I did "port clean cloog" and then:

{{{$ sudo port install -f cloog +universal ---> Computing dependencies for cloog ---> Fetching archive for cloog ---> Attempting to fetch cloog-0.16.3_1+universal.darwin_10.i386-x86_64.tbz2 from http://packages.macports.org/cloog ---> Fetching cloog ---> Verifying checksum(s) for cloog ---> Extracting cloog ---> Configuring cloog ---> Building cloog ---> Staging cloog into destroot Error: Target org.macports.destroot returned: /opt/local/lib/pkgconfig/cloog-isl.pc differs in /opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_devel_cloog/cloog/work/destroot-i386 and /opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_devel_cloog/cloog/work/destroot-x86_64 and cannot be merged Log for cloog is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_www.macports.org_files_ports_devel_cloog/cloog/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> }}}

comment:6 Changed 13 years ago by adfernandes (Andrew Fernandes)

Yeah - according to the mailing lists, this was supposed to be fixed upstream. I'll re-add the work-around patches and commit later today. Sorry!

comment:7 Changed 13 years ago by adfernandes (Andrew Fernandes)

Resolution: fixed
Status: reopenedclosed

Hopefully fixed in r92876.

Note: See TracTickets for help on using tickets.