[MacPorts] #28032: rrdtool 1.4.4_1 fails to compile

MacPorts noreply at macports.org
Tue Jan 18 12:47:31 PST 2011


#28032: rrdtool 1.4.4_1 fails to compile
---------------------------+------------------------------------------------
 Reporter:  sck@…          |       Owner:  markd@…           
     Type:  defect         |      Status:  new               
 Priority:  Normal         |   Milestone:                    
Component:  ports          |     Version:  1.9.2             
 Keywords:                 |        Port:  rrdtool           
---------------------------+------------------------------------------------
Changes (by ryandesign@…):

  * owner:  macports-tickets@… => markd@…


Old description:

> Seems to be stuck looking for libpng12
>
> Making all in lua
>   CC     rrd_la-rrdlua.lo
>   CCLD   rrd.la
> grep: /opt/local/lib/libpng12.la: No such file or directory
> /opt/local/bin/gsed: can't read /opt/local/lib/libpng12.la: No such file
> or directory
> libtool: link: `/opt/local/lib/libpng12.la' is not a valid libtool
> archive
> gnumake[3]: *** [rrd.la] Error 1
> gnumake[2]: *** [all-recursive] Error 1
> gnumake[1]: *** [all-recursive] Error 1
> gnumake: *** [all] Error 2
> shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_rrdtool/work/rrdtool-1.4.4"
> && /usr/bin/gnumake -j4 all " returned error 2
> Error: Target org.macports.build returned: shell command failed (see log
> for details)
> DEBUG: Backtrace: shell command failed (see log for details)
>     while executing
> "command_exec build"
>     (procedure "portbuild::build_main" line 8)
>     invoked from within
> "$procedure $targetname"
> Warning: the following items did not execute (for rrdtool):
> org.macports.destroot org.macports.build
> Log for rrdtool is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_rrdtool/main.log
> DEBUG: couldn't open
> "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex":
> no such file or directory
>     while executing
> "open [file join $dir tclIndex]"
> Error: Unable to upgrade port: 1
> To report a bug, see <http://guide.macports.org/#project.tickets>
>
> But, libpng14 is installed instead...
>
> wsip-209-242-168-10:~ sck$ ls -la /opt/local/lib/libpng*
> lrwxr-xr-x  1 root  admin      10 Jan 18 07:05 /opt/local/lib/libpng.a ->
> libpng14.a
> lrwxr-xr-x  1 root  admin      14 Jan 18 07:05
> /opt/local/lib/libpng.dylib -> libpng14.dylib
> lrwxr-xr-x  1 root  admin      11 Jan 18 07:05 /opt/local/lib/libpng.la
> -> libpng14.la
> -rwxr-xr-x  2 root  admin  163784 Jan 18 07:05
> /opt/local/lib/libpng14.14.dylib
> -rw-r--r--  2 root  admin  224464 Jan 18 07:05 /opt/local/lib/libpng14.a
> lrwxr-xr-x  1 root  admin      17 Jan 18 07:05
> /opt/local/lib/libpng14.dylib -> libpng14.14.dylib
> -rwxr-xr-x  2 root  admin     941 Jan 18 07:05 /opt/local/lib/libpng14.la
> wsip-209-242-168-10:~ sck$

New description:

 Seems to be stuck looking for libpng12

 {{{
 Making all in lua
   CC     rrd_la-rrdlua.lo
   CCLD   rrd.la
 grep: /opt/local/lib/libpng12.la: No such file or directory
 /opt/local/bin/gsed: can't read /opt/local/lib/libpng12.la: No such file
 or directory
 libtool: link: `/opt/local/lib/libpng12.la' is not a valid libtool archive
 gnumake[3]: *** [rrd.la] Error 1
 gnumake[2]: *** [all-recursive] Error 1
 gnumake[1]: *** [all-recursive] Error 1
 gnumake: *** [all] Error 2
 shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_rrdtool/work/rrdtool-1.4.4"
 && /usr/bin/gnumake -j4 all " returned error 2
 Error: Target org.macports.build returned: shell command failed (see log
 for details)
 DEBUG: Backtrace: shell command failed (see log for details)
     while executing
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 Warning: the following items did not execute (for rrdtool):
 org.macports.destroot org.macports.build
 Log for rrdtool is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_rrdtool/main.log
 DEBUG: couldn't open
 "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex":
 no such file or directory
     while executing
 "open [file join $dir tclIndex]"
 Error: Unable to upgrade port: 1
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}

 But, libpng14 is installed instead...

 {{{
 wsip-209-242-168-10:~ sck$ ls -la /opt/local/lib/libpng*
 lrwxr-xr-x  1 root  admin      10 Jan 18 07:05 /opt/local/lib/libpng.a ->
 libpng14.a
 lrwxr-xr-x  1 root  admin      14 Jan 18 07:05 /opt/local/lib/libpng.dylib
 -> libpng14.dylib
 lrwxr-xr-x  1 root  admin      11 Jan 18 07:05 /opt/local/lib/libpng.la ->
 libpng14.la
 -rwxr-xr-x  2 root  admin  163784 Jan 18 07:05
 /opt/local/lib/libpng14.14.dylib
 -rw-r--r--  2 root  admin  224464 Jan 18 07:05 /opt/local/lib/libpng14.a
 lrwxr-xr-x  1 root  admin      17 Jan 18 07:05
 /opt/local/lib/libpng14.dylib -> libpng14.14.dylib
 -rwxr-xr-x  2 root  admin     941 Jan 18 07:05 /opt/local/lib/libpng14.la
 wsip-209-242-168-10:~ sck$
 }}}

--

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


More information about the macports-tickets mailing list