Changes between Initial Version and Version 1 of Ticket #21794
- Timestamp:
- Oct 3, 2009, 4:59:55 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #21794 – Description
initial v1 4 4 but running this command a second time gives the error 5 5 6 {{{ 6 7 Error: Requested variants "+darwin" do not match original selection "". 7 8 Please use the same variants again, perform 'port clean VTK' or specify the force option (-f). 9 }}} 8 10 9 11 this appears to be because the statefile has been written with 10 12 13 {{{ 11 14 target: org.macports.unarchive 15 }}} 12 16 13 17 but no variants have been set … … 24 28 and statefile 25 29 30 {{{ 26 31 if {[ditem_key $ditem state] != "no"} { 27 32 set target_state_fd [open_statefile] 28 33 } 34 }}} 29 35 30 36 with archivemode set to yes this adds unarchive as a dependent … … 33 39 which is actually run in dryrun mode 34 40 41 {{{ 35 42 if {[ditem_contains $ditem init]} { 36 43 set result [catch {[ditem_key $ditem init] $targetname} errstr] 37 44 } 45 }}} 38 46 39 47 this is not protected by the dryrun option so is executed … … 43 51 for a dryrun 44 52 53 {{{ 45 54 # Skip unarchive target by setting state 46 55 if {$skipped == 1} { write_statefile target "org.macports.unarchive" $target_state_fd 47 56 } 57 }}} 48 58 49 59 this non-null statefile which has not had the variants set correctly then causes the