[91891] trunk/dports/devel/pficommon

Jeremy Huddleston jeremyhu at macports.org
Thu Apr 12 19:19:47 PDT 2012


These changes introduced a build failure on my Lion box.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.log
Type: application/octet-stream
Size: 91488 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20120412/4357d7ad/attachment-0001.obj>
-------------- next part --------------


Waf: Leaving directory `/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_devel_pficommon/pficommon/work/pficommon-1.3.1/build'
Build failed
Traceback (most recent call last):
  File "/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_devel_pficommon/pficommon/work/pficommon-1.3.1/.waf-1.6.7-0a94702c61504c487a251b8d0a04ca9a/waflib/Task.py", line 125, in process
    ret=self.run()
  File "/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_devel_pficommon/pficommon/work/pficommon-1.3.1/.waf-1.6.7-0a94702c61504c487a251b8d0a04ca9a/waflib/Task.py", line 49, in run
    return m1(self)
  File "/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_devel_pficommon/pficommon/work/pficommon-1.3.1/.waf-1.6.7-0a94702c61504c487a251b8d0a04ca9a/waflib/Build.py", line 444, in run
    return self.generator.exec_task()
  File "/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_devel_pficommon/pficommon/work/pficommon-1.3.1/.waf-1.6.7-0a94702c61504c487a251b8d0a04ca9a/waflib/Build.py", line 461, in exec_install_files
    self.generator.bld.do_install(y.abspath(),destfile,self.chmod)
  File "/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_devel_pficommon/pficommon/work/pficommon-1.3.1/.waf-1.6.7-0a94702c61504c487a251b8d0a04ca9a/waflib/Build.py", line 499, in do_install
    shutil.copy2(src,tgt)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 128, in copy2
    copystat(src, dst)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 97, in copystat
    os.utime(dst, (st.st_atime, st.st_mtime))
OSError: [Errno 2] No such file or directory: '/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_devel_pficommon/pficommon/work/destroot/opt/local/lib/pkgconfig/pficommon.pc'

Command failed:  cd "/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_devel_pficommon/pficommon/work/pficommon-1.3.1" && ./waf install --destdir=/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_devel_pficommon/pficommon/work/destroot 
Exit code: 1
Error: org.macports.destroot for port pficommon returned: command execution failed
Warning: targets not executed for pficommon: org.macports.install org.macports.destroot
Please see the log file for port pficommon for details:
    /opt/local/var/macports/logs/_Volumes_Home_jeremy_src_macports_trunk_dports_devel_pficommon/pficommon/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets


On Apr 12, 2012, at 9:54 AM, hum at macports.org wrote:

> Revision: 91891
>          https://trac.macports.org/changeset/91891
> Author:   hum at macports.org
> Date:     2012-04-12 09:54:10 -0700 (Thu, 12 Apr 2012)
> Log Message:
> -----------
> pficommon: revision up.
> 
> Modified Paths:
> --------------
>    trunk/dports/devel/pficommon/Portfile
>    trunk/dports/devel/pficommon/files/patch-wscript.diff
> 
> Modified: trunk/dports/devel/pficommon/Portfile
> ===================================================================
> --- trunk/dports/devel/pficommon/Portfile	2012-04-12 16:26:21 UTC (rev 91890)
> +++ trunk/dports/devel/pficommon/Portfile	2012-04-12 16:54:10 UTC (rev 91891)
> @@ -5,18 +5,18 @@
> PortGroup           github 1.0
> 
> github.setup        pfi pficommon 1.3.1
> -revision            3
> +revision            4
> categories          devel
> -platforms           darwin
> maintainers         hum openmaintainer
> -license             BSD
> 
> description         Common Library of C++
> long_description    ${name} is a general purpose C++ library.
> 
> +platforms           darwin
> +license             BSD
> +
> fetch.type          git
> -git.branch          0fe42dd378
> -
> +git.branch          6eaee33d57
> patchfiles          patch-wscript.diff
> 
> # optional database version: my = MySQL, pg = PostgreSQL.
> 
> Modified: trunk/dports/devel/pficommon/files/patch-wscript.diff
> ===================================================================
> --- trunk/dports/devel/pficommon/files/patch-wscript.diff	2012-04-12 16:26:21 UTC (rev 91890)
> +++ trunk/dports/devel/pficommon/files/patch-wscript.diff	2012-04-12 16:54:10 UTC (rev 91891)
> @@ -1,6 +1,6 @@
> ---- wscript.orig	2011-10-26 15:20:56.000000000 +0900
> -+++ wscript	2011-11-12 23:54:05.000000000 +0900
> -@@ -36,7 +36,7 @@
> +--- wscript.orig	2012-04-11 23:27:52.000000000 +0900
> ++++ wscript	2012-04-11 23:27:52.000000000 +0900
> +@@ -49,7 +49,7 @@
> 
>  [Modules]
>  FCGI module:             %s
> @@ -9,7 +9,7 @@
>    have MySQL lib:          %s
>    have PostgreSQL lib:     %s
>  MessagePack RPC module:  %s
> -@@ -52,7 +52,7 @@
> +@@ -65,7 +65,7 @@
>  Compiler version:        %s
>  CXXFLAGS:                %s
>  """ % (conf.env.BUILD_FCGI and 'yes' or 'no',
> @@ -18,8 +18,8 @@
>         conf.env.BUILD_MYSQL and 'yes' or 'no',
>         conf.env.BUILD_PGSQL and 'yes' or 'no',
>         conf.env.BUILD_MPRPC and 'yes' or 'no',
> ---- src/database/wscript.orig	2011-10-26 15:20:56.000000000 +0900
> -+++ src/database/wscript	2011-11-18 20:40:33.000000000 +0900
> +--- src/database/wscript.orig	2012-04-11 23:27:52.000000000 +0900
> ++++ src/database/wscript	2012-04-11 23:27:52.000000000 +0900
> @@ -2,15 +2,19 @@
>  import Options
> 
> @@ -44,8 +44,8 @@
>                        args = '--cflags --libs_r',
>                        package = '',
>                        uselib_store = 'MYSQL',
> -@@ -18,10 +22,10 @@
> -       conf.env.BUILD_MYSQL = True
> +@@ -21,10 +25,10 @@
> +         conf.env.BUILD_MYSQL = True
> 
>    conf.env.BUILD_PGSQL = False
> -  if not Options.options.disable_database:
> @@ -58,11 +58,11 @@
>        if conf.check_cxx(lib = 'pq',
>                          header_name = 'postgres.h',
>                          cxxflags = '-I' + incdir,
> ---- src/database/postgresql/wscript.orig	2011-10-26 15:20:56.000000000 +0900
> -+++ src/database/postgresql/wscript	2011-11-12 23:24:54.000000000 +0900
> -@@ -7,4 +7,4 @@
> -     source = 'connection.cpp statement.cpp result.cpp value.cpp',
> +--- src/database/postgresql/wscript.orig	2012-04-11 23:27:52.000000000 +0900
> ++++ src/database/postgresql/wscript	2012-04-13 01:42:46.000000000 +0900
> +@@ -8,4 +8,4 @@
>      target = 'pficommon_database_postgresql',
>      includes = '. ..',
> +     vnum = bld.env['VERSION'],
> -    use = 'PGSQL')
> +    use = ['pficommon_system', 'PGSQL'])
> _______________________________________________
> macports-changes mailing list
> macports-changes at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-changes



More information about the macports-dev mailing list