Changes between Initial Version and Version 1 of Ticket #21794


Ignore:
Timestamp:
Oct 3, 2009, 4:59:55 PM (15 years ago)
Author:
mf2k (Frank Schima)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21794 – Description

    initial v1  
    44but running this command a second time gives the error
    55
     6{{{
    67Error: Requested variants "+darwin" do not match original selection "".
    78Please use the same variants again, perform 'port clean VTK' or specify the force option (-f).
     9}}}
    810
    911this appears to be because the statefile has been written with
    1012
     13{{{
    1114target: org.macports.unarchive
     15}}}
    1216
    1317but no variants have been set
     
    2428and statefile
    2529
     30{{{
    2631    if {[ditem_key $ditem state] != "no"} {
    2732        set target_state_fd [open_statefile]
    2833    }
     34}}}
    2935
    3036with archivemode set to yes this adds unarchive as a dependent
     
    3339which is actually run in dryrun mode
    3440
     41{{{
    3542        if {[ditem_contains $ditem init]} {
    3643            set result [catch {[ditem_key $ditem init] $targetname} errstr]
    3744        }
     45}}}
    3846
    3947this is not protected by the dryrun option so is executed
     
    4351for a dryrun
    4452
     53{{{
    4554        # Skip unarchive target by setting state
    4655        if {$skipped == 1} {                write_statefile target "org.macports.unarchive" $target_state_fd
    4756        }
     57}}}
    4858
    4959this non-null statefile which has not had the variants set correctly then causes the