[MacPorts] #23189: rrdtool 1.4.2_0 fails to compile under Snow Leopard

MacPorts noreply at macports.org
Fri Jan 8 12:44:05 PST 2010


#23189: rrdtool 1.4.2_0 fails to compile under Snow Leopard
---------------------------+------------------------------------------------
 Reporter:  sck@…          |       Owner:  macports-tickets@…                   
     Type:  defect         |      Status:  new                                  
 Priority:  Normal         |   Milestone:                                       
Component:  ports          |     Version:  1.8.2                                
 Keywords:                 |        Port:  rrdtool                              
---------------------------+------------------------------------------------
 Biko-2:hack sck$ sudo port selfupdate && port outdated
 --->  Updating the ports tree
 --->  Updating MacPorts base sources using rsync
 MacPorts base version 1.8.2 installed,
 MacPorts base version 1.8.2 downloaded.
 --->  MacPorts base is already the latest version

 The ports tree has been updated. To upgrade your installed ports, you
 should run
   port upgrade outdated
 The following installed ports are outdated:
 ntop                           3.3.9_2 < 3.3.10_0
 rrdtool                        1.3.8_0 < 1.4.2_0
 Biko-2:hack sck$ sudo port clean rrdtool
 --->  Cleaning rrdtool
 Biko-2:hack sck$ sudo port upgrade rrdtool
 --->  Computing dependencies for rrdtool
 --->  Fetching rrdtool
 --->  Verifying checksum(s) for rrdtool
 --->  Extracting rrdtool
 --->  Configuring rrdtool
 --->  Building rrdtool
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_rrdtool/work/rrdtool-1.4.2"
 && /usr/bin/gnumake -j2 all " returned error 2
 Command output:   CCLD   rrdtool
 Making all in examples
 Making all in rrdcached
 gnumake[3]: Nothing to be done for `all'.
 sed 's,@''exec_prefix@,/opt/local,' ./cgi-demo.cgi.in > cgi-demo.cgi
 chmod a+x cgi-demo.cgi
 Making all in doc
   GEN    rrdlua.1
   GEN    rrdlua.html
   GEN    RRDs.pod
   GEN    RRDp.pod
   GEN    rrdlua.txt
 Making all in bindings
 Making all in tcl
 echo "package ifneeded Rrd 1.4.2 \"load /opt/local/lib/tclrrd1.4.2[info
 sharedlibextension]\"" > pkgIndex.tcl
 /usr/bin/gcc-4.2 -O2 -arch x86_64 -D_GNU_SOURCE -fno-strict-aliasing -Wall
 -std=c99 -pedantic -Wundef -Wshadow -Wpointer-arith -Wcast-align
 -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline
 -Wold-style-definition -W  -O2 -arch x86_64 -D_GNU_SOURCE -fno-strict-
 aliasing -Wall -std=c99 -pedantic -Wundef -Wshadow -Wpointer-arith -Wcast-
 align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
 -Winline -Wold-style-definition -W  -fno-common -I/opt/local/include
 -I../../src -DUSE_TCL_STUBS -c tclrrd.c -DVERSION=\"1.4.2\"
 tclrrd.c: In function 'Rrd_Graph':
 tclrrd.c:507: warning: cast from pointer to integer of different size
 /usr/bin/gcc-4.2 -dynamiclib -O2 -arch x86_64 -D_GNU_SOURCE -fno-strict-
 aliasing -Wall -std=c99 -pedantic -Wundef -Wshadow -Wpointer-arith -Wcast-
 align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
 -Winline -Wold-style-definition -W  -L/opt/local/lib -L/opt/local/lib
 -L/opt/local/lib     -L/opt/local/lib     -Wl,-single_module
 -L../../src/.libs -L../../src -L/opt/local/lib tclrrd.o -o
 tclrrd1.4.2.dylib -lrrd_th -lm -L/opt/local/lib -ltclstub8.5
 -L/opt/local/lib -L/opt/local/lib     -L/opt/local/lib
 -L/opt/local/lib
 Undefined symbols:
   "_rrd_flushcached", referenced from:
       _Rrd_Flushcached in tclrrd.o
   "_rrd_lastupdate_r", referenced from:
       _Rrd_Lastupdate in tclrrd.o
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 gnumake[3]: *** [tclrrd1.4.2.dylib] Error 1
 gnumake[2]: *** [all-recursive] Error 1
 gnumake[1]: *** [all-recursive] Error 1
 gnumake: *** [all] Error 2

 Error: Unable to upgrade port: 1
 Before reporting a bug, first run the command again with the -d flag to
 get complete output.
 Biko-2:hack sck$

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


More information about the macports-tickets mailing list