Regression in [63442] trunk/base/src

Joshua Root jmr at macports.org
Fri Feb 5 13:18:00 PST 2010


On 2010-2-6 06:28 , Jeremy Huddleston wrote:
> 
> DEBUG: Backtrace: can't read "registry.format": no such variable
>     while executing
> "string equal ${registry.format} "receipt_sqlite""
>     (procedure "portinstall::install_main" line 4)
>     invoked from within
> "$procedure $targetname"
> Warning: the following items did not execute (for xorg-util-macros): org.macports.activate org.macports.install
> Log for xorg-util-macros is at: /opt/local/var/macports/logs/_Users_jeremy_src_macports-trunk_dports_x11_xorg-util-macros/main.log
> 
> But shouldn't you be using ${macports::registry.format} ?

Not in port1.0.

> Index: src/port1.0/portinstall.tcl
> ===================================================================
> --- src/port1.0/portinstall.tcl	(revision 63463)
> +++ src/port1.0/portinstall.tcl	(working copy)
> @@ -136,7 +136,8 @@
>      global name version portpath categories description long_description \
>      homepage depends_run installPlist package-install uninstall workdir \
>      worksrcdir UI_PREFIX destroot revision maintainers ports_force \
> -    portvariants targets depends_lib PortInfo epoch license registry.installtype registry.path
> +    portvariants targets depends_lib PortInfo epoch license registry.installtype registry.path \
> +    registry.format
>  
>      if {[string equal ${registry.format} "receipt_sqlite"]} {
>          # registry2.0
> 

Thanks, go ahead and commit this.

- Josh


More information about the macports-dev mailing list