Opened 15 years ago

Closed 15 years ago

#4950 closed defect (fixed)

BUG: plotutils 2.4.1_2 fail to upgrade from 2.4.1_1

Reported by: Martin.Buchmann@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

If i try to upgrade this port on my system (10.4.2, XCode 2.1) i get the following error:

metallw08:~ Martin$ sudo port -d upgrade plotutils DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.opendarwin.org_dpupdate_dports/graphics/plotutils DEBUG: epoch: in tree: 0 installed: 0 DEBUG: plotutils 2.4.1_2 exists in the ports tree DEBUG: plotutils 2.4.1_1 is installed DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.opendarwin.org_dpupdate_dports/graphics/libpng DEBUG: epoch: in tree: 0 installed: 0 DEBUG: libpng 1.2.8_2 exists in the ports tree DEBUG: libpng 1.2.8_2 is installed DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.opendarwin.org_dpupdate_dports/archivers/zlib DEBUG: epoch: in tree: 0 installed: 0 DEBUG: zlib 1.2.3_0 exists in the ports tree DEBUG: zlib 1.2.3_0 is installed DEBUG: No need to upgrade! zlib 1.2.3_0 >= zlib 1.2.3_0 DEBUG: No need to upgrade! libpng 1.2.8_2 >= libpng 1.2.8_2 DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.opendarwin.org_dpupdate_dports/archivers/zlib DEBUG: epoch: in tree: 0 installed: 0 DEBUG: zlib 1.2.3_0 exists in the ports tree DEBUG: zlib 1.2.3_0 is installed DEBUG: No need to upgrade! zlib 1.2.3_0 >= zlib 1.2.3_0 DEBUG: variants to install DEBUG: available variants are : x11 darwin DEBUG: new portvariants: DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.opendarwin.org_dpupdate_dports/graphics/plotutils DEBUG: Requested variant powerpc is not provided by port plotutils. DEBUG: Requested variant macosx is not provided by port plotutils. DEBUG: Executing variant darwin provides darwin DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.opendarwin.org_dpupdate_dports/graphics/libpng DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.opendarwin.org_dpupdate_dports/graphics/libpng DEBUG: Searching for dependency: libpng DEBUG: Found Dependency: receipt exists for libpng DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.opendarwin.org_dpupdate_dports/archivers/zlib DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.opendarwin.org_dpupdate_dports/archivers/zlib DEBUG: Searching for dependency: zlib DEBUG: Found Dependency: receipt exists for zlib DEBUG: Skipping completed com.apple.main (plotutils) DEBUG: Skipping completed com.apple.fetch (plotutils) DEBUG: Skipping completed com.apple.checksum (plotutils) DEBUG: Skipping completed com.apple.extract (plotutils) DEBUG: Skipping completed com.apple.patch (plotutils) DEBUG: Skipping completed com.apple.configure (plotutils) ---> Building plotutils with target all DEBUG: Executing com.apple.build (plotutils) DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_graphics_plotutils/work/plotutils-2.4.1" && make all' make all-recursive Making all in lib make[2]: Nothing to be done for `all'. Making all in spline make[2]: Nothing to be done for `all'. Making all in double make[2]: Nothing to be done for `all'. Making all in ode make[2]: Nothing to be done for `all'. Making all in ode-examples make[2]: Nothing to be done for `all'. Making all in libplot Making all in plot make[2]: Nothing to be done for `all'. Making all in tek2plot Making all in teksamples make[3]: Nothing to be done for `all'. make[3]: Nothing to be done for `all-am'. Making all in plotfont make[2]: Nothing to be done for `all'. Making all in graph make[2]: Nothing to be done for `all'. Making all in pic2plot Making all in doc make[3]: Nothing to be done for `all'. Making all in include make[3]: Nothing to be done for `all'. Making all in libgroff make[3]: Nothing to be done for `all'. make[3]: Nothing to be done for `all-am'. Making all in libplotter /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -DLIBPLOT -DLIBPLOTTER -I/opt/local/include -O2 -c z_write.cc rm -f .libs/z_write.lo c++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -DLIBPLOT -DLIBPLOTTER -I/opt/local/include -O2 -c z_write.cc -fno-common -DPIC -o .libs/z_write.lo In file included from /usr/include/gcc/darwin/4.0/c++/backward/iostream.h:31,

from ./../include/plotter.h:61, from extern.h:44, from z_write.cc:22:

/usr/include/gcc/darwin/4.0/c++/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated. z_write.cc: In function 'void _our_write_fn(png_struct*, png_byte*, png_size_t)': z_write.cc:487: error: invalid conversion from 'png_byte*' to 'const char*' z_write.cc:487: error: initializing argument 1 of 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::write(const _CharT*, std::streamsize) [with _CharT = char, _Traits = std::char_traits<char>]' make[2]: * [z_write.lo] Error 1 make[1]: * [all-recursive] Error 1 make: * [all-recursive-am] Error 2 Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_graphics_plotutils/work/plotutils-2.4.1" && make all" returned error 2 Command output: Making all in teksamples make[3]: Nothing to be done for `all'. make[3]: Nothing to be done for `all-am'. Making all in plotfont make[2]: Nothing to be done for `all'. Making all in graph make[2]: Nothing to be done for `all'. Making all in pic2plot Making all in doc make[3]: Nothing to be done for `all'. Making all in include make[3]: Nothing to be done for `all'. Making all in libgroff make[3]: Nothing to be done for `all'. make[3]: Nothing to be done for `all-am'. Making all in libplotter /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -DLIBPLOT -DLIBPLOTTER -I/opt/local/include -O2 -c z_write.cc rm -f .libs/z_write.lo c++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -DLIBPLOT -DLIBPLOTTER -I/opt/local/include -O2 -c z_write.cc -fno-common -DPIC -o .libs/z_write.lo In file included from /usr/include/gcc/darwin/4.0/c++/backward/iostream.h:31,

from ./../include/plotter.h:61, from extern.h:44, from z_write.cc:22:

/usr/include/gcc/darwin/4.0/c++/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated. z_write.cc: In function 'void _our_write_fn(png_struct*, png_byte*, png_size_t)': z_write.cc:487: error: invalid conversion from 'png_byte*' to 'const char*' z_write.cc:487: error: initializing argument 1 of 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::write(const _CharT*, std::streamsize) [with _CharT = char, _Traits = std::char_traits<char>]' make[2]: * [z_write.lo] Error 1 make[1]: * [all-recursive] Error 1 make: * [all-recursive-am] Error 2

Warning: the following items did not execute (for plotutils): com.apple.destroot com.apple.build DEBUG: expected integer but got ""

while executing

"seek $fd $len current" Error: Unable to upgrade port: 1

Change History (3)

comment:1 Changed 15 years ago by toby@…

Component: basedports
Summary: plotutils 2.4.1_2 fail to upgrade from 2.4.1_1 plotutils 2.4.1_2 fail to upgrade from 2.4.1_1

comment:2 Changed 15 years ago by mww@…

Summary: plotutils 2.4.1_2 fail to upgrade from 2.4.1_1BUG: plotutils 2.4.1_2 fail to upgrade from 2.4.1_1

comment:3 Changed 15 years ago by blb@…

Resolution: fixed
Status: newclosed

Looks like this was fixed via bug 5104 some time ago.

Note: See TracTickets for help on using tickets.