Error trying to install qtiplot

Philip Neukom neukomp at profitanalytics.com
Sun Nov 14 08:49:39 PST 2010


Hi everyone.

I wanted to install qtiplot but have run into an error when the file is
being patched.

I'm not sure if this is something I should add to the bugs or if I
messed up somehow.  Any help is appreciated.

Thanks.

Details: OSX 10.5.8
Macports version: 1.9.2

All dependencies installed OK.

I've added the console error message and then the excerpt from the main.log

---command & console error---
sudo port install qtiplot
--->  Computing dependencies for qtiplot
--->  Dependencies to be installed: boost
--->  Fetching boost
--->  Verifying checksum(s) for boost
--->  Extracting boost
--->  Configuring boost
--->  Building boost
--->  Staging boost into destroot
--->  Installing boost @1.44.0_0
--->  Activating boost @1.44.0_0
--->  Cleaning boost
--->  Fetching qtiplot
--->  Verifying checksum(s) for qtiplot
--->  Extracting qtiplot
--->  Applying patches to qtiplot
Error: Target org.macports.patch returned: shell command failed (see log
for details)
Log for qtiplot is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qtiplot/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
---end command & console error---


Here is the excerpt from main.log

---from main.log---
:debug:main Executing org.macports.main (qtiplot)
:msg:main --->  Fetching qtiplot
:debug:fetch fetch phase started at Sat Nov 13 18:16:04 EST 2010
:debug:fetch Executing org.macports.fetch (qtiplot)
:msg:fetch --->  Verifying checksum(s) for qtiplot
:debug:checksum checksum phase started at Sat Nov 13 18:16:04 EST 2010
:debug:checksum Executing org.macports.checksum (qtiplot)
:info:checksum --->  Checksumming qtiplot-0.9.8.3.tar.bz2
:debug:checksum Correct (md5) checksum for qtiplot-0.9.8.3.tar.bz2
:debug:checksum Correct (sha1) checksum for qtiplot-0.9.8.3.tar.bz2
:debug:checksum Correct (rmd160) checksum for qtiplot-0.9.8.3.tar.bz2
:debug:checksum setting option extract.cmd to /usr/bin/bzip2
:msg:checksum --->  Extracting qtiplot
:debug:extract extract phase started at Sat Nov 13 18:16:05 EST 2010
:debug:extract Executing proc-pre-org.macports.extract-extract-0
:debug:extract Executing org.macports.extract (qtiplot)
:info:extract --->  Extracting qtiplot-0.9.8.3.tar.bz2
:debug:extract setting option extract.args to
'/opt/local/var/macports/distfiles/qtiplot/qtiplot-0.9.8.3.tar.bz2'
:debug:extract Environment: CPATH='/opt/local/include'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qtiplot/work/.CC_PRINT_OPTIONS'
LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
MACOSX_DEPLOYMENT_TARGET='10.5'
:debug:extract Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qtiplot/work"
&& /usr/bin/bzip2 -dc
'/opt/local/var/macports/distfiles/qtiplot/qtiplot-0.9.8.3.tar.bz2' |
/usr/bin/gnutar --no-same-owner -xf -'
:info:extract /usr/bin/gnutar: Read 512 bytes from -
:debug:patch patch phase started at Sat Nov 13 18:16:07 EST 2010
:debug:patch Executing org.macports.patch (qtiplot)
:msg:patch --->  Applying patches to qtiplot
:info:patch --->  Applying
/opt/local/var/macports/sources/rsync.macports.org/release/ports/aqua/qtiplot/files/patch-qtiplot-qtiplot.pro
:debug:patch Environment: CPATH='/opt/local/include'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qtiplot/work/.CC_PRINT_OPTIONS'
LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
MACOSX_DEPLOYMENT_TARGET='10.5'
:debug:patch Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qtiplot/work/qtiplot-0.9.8.3"
&& /usr/bin/patch -p0'
:info:patch patching file qtiplot/qtiplot.pro
:info:patch Hunk #1 FAILED at 1.
:info:patch Hunk #2 FAILED at 32.
:info:patch Hunk #3 FAILED at 94.
:info:patch Hunk #4 FAILED at 138.
:info:patch Hunk #5 FAILED at 176.
:info:patch 5 out of 5 hunks FAILED -- saving rejects to file
qtiplot/qtiplot.pro.rej
:info:patch shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qtiplot/work/qtiplot-0.9.8.3"
&& /usr/bin/patch -p0 <
'/opt/local/var/macports/sources/rsync.macports.org/release/ports/aqua/qtiplot/files/patch-qtiplot-qtiplot.pro'"
returned error 1
:error:patch Target org.macports.patch returned: shell command failed
(see log for details)
:debug:patch Backtrace: shell command failed (see log for details)
    while executing
"command_exec patch "" "< '$patch'""
    ("default" arm line 1)
    invoked from within
"switch -- [file extension $patch] {
            .Z -
            .gz {command_exec patch "$gzcat \"$patch\" | (" ")"}
            .bz2 {command_exec p..."
    (procedure "portpatch::patch_main" line 31)
    invoked from within
"$procedure $targetname"
:info:patch Warning: the following items did not execute (for qtiplot):
org.macports.activate org.macports.patch org.macports.configure
org.macports.build org.macports.destroot org.macports.install
:notice:patch Log for qtiplot is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qtiplot/main.log


More information about the macports-users mailing list