[MacPorts] #32014: cln install fails on Lion

MacPorts noreply at macports.org
Thu Nov 10 08:36:25 PST 2011


#32014: cln install fails on Lion
----------------------------------------+-----------------------------------
 Reporter:  browntroutstream@…          |       Owner:  macports-tickets@…                   
     Type:  defect                      |      Status:  new                                  
 Priority:  Normal                      |   Milestone:                                       
Component:  ports                       |     Version:  2.0.3                                
 Keywords:                              |        Port:                                       
----------------------------------------+-----------------------------------
 Seems to have a problem with clang

 {{{
 --->  Computing dependencies for cln.
 --->  Building cln
 make: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_cln/cln/work/cln-1.3.1'
 Making all in src
 make[1]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_cln/cln/work/cln-1.3.1/src'
 /bin/sh ../libtool  --tag=CXX   --mode=compile /Developer/usr/bin/clang++
 -DHAVE_CONFIG_H -I. -I../autoconf  -I../include -I../src -I../include
 -I../src -I/opt/local/include  -pipe -O2 -arch x86_64 -MT
 cl_rcpointer2_hashweak_rcpointer.lo -MD -MP -MF
 .deps/cl_rcpointer2_hashweak_rcpointer.Tpo -c -o
 cl_rcpointer2_hashweak_rcpointer.lo `test -f
 'base/hash/cl_rcpointer2_hashweak_rcpointer.cc' || echo
 './'`base/hash/cl_rcpointer2_hashweak_rcpointer.cc
 /bin/sh ../libtool  --tag=CXX   --mode=compile /Developer/usr/bin/clang++
 -DHAVE_CONFIG_H -I. -I../autoconf  -I../include -I../src -I../include
 -I../src -I/opt/local/include  -pipe -O2 -arch x86_64 -MT cl_low_div.lo
 -MD -MP -MF .deps/cl_low_div.Tpo -c -o cl_low_div.lo `test -f
 'base/low/cl_low_div.cc' || echo './'`base/low/cl_low_div.cc
 /bin/sh ../libtool  --tag=CXX   --mode=compile /Developer/usr/bin/clang++
 -DHAVE_CONFIG_H -I. -I../autoconf  -I../include -I../src -I../include
 -I../src -I/opt/local/include  -pipe -O2 -arch x86_64 -MT cl_low_isqrt.lo
 -MD -MP -MF .deps/cl_low_isqrt.Tpo -c -o cl_low_isqrt.lo `test -f
 'base/low/cl_low_isqrt.cc' || echo './'`base/low/cl_low_isqrt.cc
 /bin/sh ../libtool  --tag=CXX   --mode=compile /Developer/usr/bin/clang++
 -DHAVE_CONFIG_H -I. -I../autoconf  -I../include -I../src -I../include
 -I../src -I/opt/local/include  -pipe -O2 -arch x86_64 -MT cl_low_isqrt2.lo
 -MD -MP -MF .deps/cl_low_isqrt2.Tpo -c -o cl_low_isqrt2.lo `test -f
 'base/low/cl_low_isqrt2.cc' || echo './'`base/low/cl_low_isqrt2.cc
 libtool: compile:  /Developer/usr/bin/clang++ -DHAVE_CONFIG_H -I.
 -I../autoconf -I../include -I../src -I../include -I../src
 -I/opt/local/include -pipe -O2 -arch x86_64 -MT cl_low_isqrt2.lo -MD -MP
 -MF .deps/cl_low_isqrt2.Tpo -c base/low/cl_low_isqrt2.cc  -fno-common
 -DPIC -o .libs/cl_low_isqrt2.o
 libtool: compile:  /Developer/usr/bin/clang++ -DHAVE_CONFIG_H -I.
 -I../autoconf -I../include -I../src -I../include -I../src
 -I/opt/local/include -pipe -O2 -arch x86_64 -MT cl_low_isqrt.lo -MD -MP
 -MF .deps/cl_low_isqrt.Tpo -c base/low/cl_low_isqrt.cc  -fno-common -DPIC
 -o .libs/cl_low_isqrt.o
 libtool: compile:  /Developer/usr/bin/clang++ -DHAVE_CONFIG_H -I.
 -I../autoconf -I../include -I../src -I../include -I../src
 -I/opt/local/include -pipe -O2 -arch x86_64 -MT
 cl_rcpointer2_hashweak_rcpointer.lo -MD -MP -MF
 .deps/cl_rcpointer2_hashweak_rcpointer.Tpo -c
 base/hash/cl_rcpointer2_hashweak_rcpointer.cc  -fno-common -DPIC -o
 .libs/cl_rcpointer2_hashweak_rcpointer.o
 libtool: compile:  /Developer/usr/bin/clang++ -DHAVE_CONFIG_H -I.
 -I../autoconf -I../include -I../src -I../include -I../src
 -I/opt/local/include -pipe -O2 -arch x86_64 -MT cl_low_div.lo -MD -MP -MF
 .deps/cl_low_div.Tpo -c base/low/cl_low_div.cc  -fno-common -DPIC -o
 .libs/cl_low_div.o
 base/low/cl_low_isqrt2.cc:42:16:base/low/cl_low_isqrt.cc:42:16 warning:
 expression result unused [-Wunused-value]
 : warning: expression result unused [-Wunused-value]
                divu_6432_3232(x1,x0,y, z=,); // Dividiere x/y (geht, da
 x/y < 2^(2k)/2^(k-1) = 2^(k+1) <= 2^32)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                divu_3216_1616(x,y, z=,); // Dividiere x/y (geht, da x/y <
 2^(2k)/2^(k-1) = 2^(k+1) <= 2^16)
                ^~~~~~~~~~~~~~~~~~~~~~~~
 ./base/cl_low.h:722:19: note: instantiated from:
       r_zuweisung __r;                                                  \
                   ^~~
 ./base/cl_low.h:473:19: note: instantiated from:
       r_zuweisung __r;                                                  \
                   ^~~
 base/low/cl_low_isqrt2.cc:54:16: warning: expression result unused
 [-Wunused-value]
                divu_6432_3232(x1,x0,y, z=,); // Dividiere x/y
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ./base/cl_low.h:722:19: note: instantiated from:
       r_zuweisung __r;                                                  \
                   ^~~
 base/low/cl_low_isqrt.cc:55:16: warning: expression result unused
 [-Wunused-value]
                divu_3216_1616(x,y, z=,); // Dividiere x/y
                ^~~~~~~~~~~~~~~~~~~~~~~~
 ./base/cl_low.h:473:19: note: instantiated from:
       r_zuweisung __r;                                                  \
                   ^~~
 base/low/cl_low_isqrt.cc:76:16: warning: expression result unused
 [-Wunused-value]
                divu_6432_3232(high32(x),low32(x),y, z=,); // z := x/y
 (works, since x/y < 2^(2k)/2^(k-1) = 2^(k+1) <= 2^32)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ./base/cl_low.h:722:19: note: instantiated from:
       r_zuweisung __r;                                                  \
                   ^~~
 base/low/cl_low_isqrt.cc:89:16: warning: expression result unused
 [-Wunused-value]
                divu_6432_3232(high32(x),low32(x),y, z=,); // divide x/y
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ./base/cl_low.h:722:19: note: instantiated from:
       r_zuweisung __r;                                                  \
                   ^~~
 In file included from base/hash/cl_rcpointer2_hashweak_rcpointer.cc:7:
 In file included from ./base/hash/cl_rcpointer2_hashweak_rcpointer.h:8:
 In file included from ./base/hash/cl_hash2weak.h:6:
 ./base/hash/cl_hash2.h:121:13: error: use of undeclared identifier
 '_garcol_fun'
         if (_garcol_fun(this))
             ^
             this->
 ./base/hash/cl_hash2.h:77:9: note: in instantiation of member function
 'cln::cl_heap_hashtable_2<cln::cl_rcpointer, cln::cl_rcpointer,
 cln::cl_rcpointer>::prepare_store' requested here
         prepare_store();
         ^
 base/hash/cl_rcpointer2_hashweak_rcpointer.cc:47:67: note: in
 instantiation of member function
 'cln::cl_heap_hashtable_2<cln::cl_rcpointer, cln::cl_rcpointer,
 cln::cl_rcpointer>::put' requested here
 ((cl_heap_weak_hashtable_from_rcpointer2_to_rcpointer*)pointer)->put(x,y,z);
                                                                          ^
 ./base/hash/cl_hash.h:36:12: note: must qualify identifier to find this
 declaration in dependent base class
     bool (*_garcol_fun) (cl_heap*); // Function to make room in the table.
            ^
 1 error generated.
 make[1]: *** [cl_rcpointer2_hashweak_rcpointer.lo] Error 1
 make[1]: *** Waiting for unfinished jobs....
 libtool: compile:  /Developer/usr/bin/clang++ -DHAVE_CONFIG_H -I.
 -I../autoconf -I../include -I../src -I../include -I../src
 -I/opt/local/include -pipe -O2 -arch x86_64 -MT cl_low_div.lo -MD -MP -MF
 .deps/cl_low_div.Tpo -c base/low/cl_low_div.cc -o cl_low_div.o >/dev/null
 2>&1
 2 warnings generated.
 4 warnings generated.
 libtool: compile:  /Developer/usr/bin/clang++ -DHAVE_CONFIG_H -I.
 -I../autoconf -I../include -I../src -I../include -I../src
 -I/opt/local/include -pipe -O2 -arch x86_64 -MT cl_low_isqrt2.lo -MD -MP
 -MF .deps/cl_low_isqrt2.Tpo -c base/low/cl_low_isqrt2.cc -o
 cl_low_isqrt2.o >/dev/null 2>&1
 libtool: compile:  /Developer/usr/bin/clang++ -DHAVE_CONFIG_H -I.
 -I../autoconf -I../include -I../src -I../include -I../src
 -I/opt/local/include -pipe -O2 -arch x86_64 -MT cl_low_isqrt.lo -MD -MP
 -MF .deps/cl_low_isqrt.Tpo -c base/low/cl_low_isqrt.cc -o cl_low_isqrt.o
 >/dev/null 2>&1
 mv -f .deps/cl_low_div.Tpo .deps/cl_low_div.Plo
 mv -f .deps/cl_low_isqrt2.Tpo .deps/cl_low_isqrt2.Plo
 mv -f .deps/cl_low_isqrt.Tpo .deps/cl_low_isqrt.Plo
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_cln/cln/work/cln-1.3.1/src'
 make: *** [all-recursive] Error 1
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_cln/cln/work/cln-1.3.1'
 shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_cln/cln/work/cln-1.3.1"
 && /usr/bin/make -j4 -w all " returned error 2
 Error: Target org.macports.build returned: shell command failed (see log
 for details)
 Warning: the following items did not execute (for cln):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 Log for cln is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_cln/cln/main.log
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/32014>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list