[MacPorts] #21084: Repeated verbose output when an error occurs

MacPorts noreply at macports.org
Fri Sep 4 07:21:53 PDT 2009


#21084: Repeated verbose output when an error occurs
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  macports-tickets@…                   
     Type:  defect                   |      Status:  new                                  
 Priority:  Normal                   |   Milestone:  MacPorts 1.8.1                       
Component:  base                     |     Version:  1.8.0                                
 Keywords:                           |        Port:                                       
-------------------------------------+--------------------------------------
 In MacPorts 1.8.0, I now see the last 30 lines of verbose output repeated
 twice when an error occurs. I don't need it repeated twice, or even once
 (like 1.7.1 already did).

 For example when testing pure 0.34 on Snow Leopard with debug output:

 {{{
 $ sudo port -d test pure
 [snip]
 --->  Testing pure
 DEBUG: Executing org.macports.test (pure)
 DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_pure/work/pure-0.34"
 && /usr/bin/make check'
 Running tests.
 prelude.pure: passed
 test001.pure: FAILED
 test002.pure: passed
 test003.pure: passed
 test004.pure: FAILED
 test005.pure: passed
 test006.pure: passed
 test007.pure: FAILED
 test008.pure: FAILED
 test009.pure: FAILED
 test010.pure: FAILED
 test011.pure: FAILED
 test012.pure: passed
 test013.pure: passed
 test014.pure: FAILED
 test015.pure: FAILED
 test016.pure: passed
 test017.pure: FAILED
 test018.pure: FAILED
 test019.pure: FAILED
 test020.pure: FAILED
 test021.pure: FAILED
 test022.pure: FAILED
 test023.pure: FAILED
 test024.pure: FAILED
 test025.pure: FAILED
 test026.pure: passed
 test027.pure: FAILED
 test028.pure: FAILED
 test029.pure: passed
 test030.pure: passed
 test031.pure: FAILED
 test032.pure: passed
 test033.pure: passed
 test034.pure: FAILED
 test035.pure: passed
 test036.pure: FAILED
 test037.pure: passed
 test038.pure: passed
 test039.pure: passed
 test040.pure: passed
 test041.pure: FAILED
 test042.pure: FAILED
 make: *** [check] Error 1
 Error: Target org.macports.test returned: shell command " cd
 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_pure/work/pure-0.34"
 && /usr/bin/make check " returned error 2
 Command output: test014.pure: FAILED
 test015.pure: FAILED
 test016.pure: passed
 test017.pure: FAILED
 test018.pure: FAILED
 test019.pure: FAILED
 test020.pure: FAILED
 test021.pure: FAILED
 test022.pure: FAILED
 test023.pure: FAILED
 test024.pure: FAILED
 test025.pure: FAILED
 test026.pure: passed
 test027.pure: FAILED
 test028.pure: FAILED
 test029.pure: passed
 test030.pure: passed
 test031.pure: FAILED
 test032.pure: passed
 test033.pure: passed
 test034.pure: FAILED
 test035.pure: passed
 test036.pure: FAILED
 test037.pure: passed
 test038.pure: passed
 test039.pure: passed
 test040.pure: passed
 test041.pure: FAILED
 test042.pure: FAILED
 make: *** [check] Error 1

 DEBUG: Backtrace: shell command " cd
 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_pure/work/pure-0.34"
 && /usr/bin/make check " returned error 2
 Command output: test014.pure: FAILED
 test015.pure: FAILED
 test016.pure: passed
 test017.pure: FAILED
 test018.pure: FAILED
 test019.pure: FAILED
 test020.pure: FAILED
 test021.pure: FAILED
 test022.pure: FAILED
 test023.pure: FAILED
 test024.pure: FAILED
 test025.pure: FAILED
 test026.pure: passed
 test027.pure: FAILED
 test028.pure: FAILED
 test029.pure: passed
 test030.pure: passed
 test031.pure: FAILED
 test032.pure: passed
 test033.pure: passed
 test034.pure: FAILED
 test035.pure: passed
 test036.pure: FAILED
 test037.pure: passed
 test038.pure: passed
 test039.pure: passed
 test040.pure: passed
 test041.pure: FAILED
 test042.pure: FAILED
 make: *** [check] Error 1

     while executing
 "command_exec test"
     (procedure "porttest::test_main" line 4)
     invoked from within
 "$procedure $targetname"
 Warning: the following items did not execute (for pure): org.macports.test
 Error: Status 1 encountered during processing.
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/21084>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list