[101599] trunk/dports/devel

Ryan Schmidt ryandesign at macports.org
Mon Jan 21 20:32:23 PST 2013


On Jan 14, 2013, at 09:28, hum at macports.org wrote:

> Revision: 101599
>          https://trac.macports.org/changeset/101599
> Author:   hum at macports.org
> Date:     2013-01-14 07:28:11 -0800 (Mon, 14 Jan 2013)
> Log Message:
> -----------
> New port: jubatus-msgpack-rpc @0.4.0 - modified msgpack-rpc for Jubatus.
> 
> Added Paths:
> -----------
>    trunk/dports/devel/jubatus-msgpack-rpc/
>    trunk/dports/devel/jubatus-msgpack-rpc/Portfile

> +pre-configure {
> +    worksrcdir      ${distname}/cpp
> +    system -W ${worksrcpath} "./bootstrap"
> +}

You need to set worksrcdir in the global part of the portfile, not in the pre-configure block, otherwise attempting to run the phases separately fails:


$ sudo port configure jubatus-msgpack-rpc
--->  Computing dependencies for jubatus-msgpack-rpc
--->  Fetching distfiles for jubatus-msgpack-rpc
--->  Verifying checksum(s) for jubatus-msgpack-rpc
--->  Extracting jubatus-msgpack-rpc
--->  Configuring jubatus-msgpack-rpc
$ sudo port build jubatus-msgpack-rpc
--->  Computing dependencies for jubatus-msgpack-rpc
--->  Building jubatus-msgpack-rpc
Error: org.macports.build for port jubatus-msgpack-rpc returned: command execution failed
Please see the log file for port jubatus-msgpack-rpc for details:
    /opt/local/var/macports/logs/_Users_rschmidt_macports_dports_devel_jubatus-msgpack-rpc/jubatus-msgpack-rpc/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port jubatus-msgpack-rpc failed


$ sudo port clean jubatus-msgpack-rpc
--->  Cleaning jubatus-msgpack-rpc
$ sudo port build jubatus-msgpack-rpc
--->  Computing dependencies for jubatus-msgpack-rpc
--->  Fetching distfiles for jubatus-msgpack-rpc
--->  Verifying checksum(s) for jubatus-msgpack-rpc
--->  Extracting jubatus-msgpack-rpc
--->  Configuring jubatus-msgpack-rpc
--->  Building jubatus-msgpack-rpc
$ sudo port destroot jubatus-msgpack-rpc
--->  Computing dependencies for jubatus-msgpack-rpc
--->  Staging jubatus-msgpack-rpc into destroot
Error: org.macports.destroot for port jubatus-msgpack-rpc returned: command execution failed
Please see the log file for port jubatus-msgpack-rpc for details:
    /opt/local/var/macports/logs/_Users_rschmidt_macports_dports_devel_jubatus-msgpack-rpc/jubatus-msgpack-rpc/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port jubatus-msgpack-rpc failed




More information about the macports-dev mailing list