{"id":5,"date":"2006-05-04T16:13:16","date_gmt":"2006-05-04T16:07:59","guid":{"rendered":""},"modified":"2016-11-26T07:49:56","modified_gmt":"2016-11-26T07:49:56","slug":"random_follow_up","status":"publish","type":"post","link":"https:\/\/blogs.gentoo.org\/solar\/2006\/05\/04\/random_follow_up\/","title":{"rendered":"Random follow up"},"content":{"rendered":"<p>\nOur tinderbox now has 5259 binpkgs between all of it&#8217;s $CHOST repos. (not bad.. glep19 stuff almost)\n<\/p>\n<p>\nManaged to get portage-2.0.54-r2 out the door yesterday. Which is cool because it fixes an annoying looping bug with -e system that&#8217;s been present for a long time (but overlooked in 2.0.x). SpanKY and Kevin Quinn are trying to perfect a small snippet of code for handling text relocations and executable stacks. I expect that we will see a portage-2.0.54-r3 after those two guys work it out, which hopefully will make it a candidate for stable marking.\n<\/p>\n<p>\nTclPython is neat but giving me a few problems with stdout handling that it really should not be giving me.<\/p>\n<p><b>Example:<\/b><\/p>\n<p>if {[file exists \/usr\/lib\/tclpython\/tclpython.so ]} {<br \/>\n        catch {load \/usr\/lib\/tclpython\/tclpython.so}<br \/>\n}<\/p>\n<p>package require tclpython 4<\/p>\n<p>set interp [python::interp new]<\/p>\n<p>$interp exec {import site, sys}<br \/>\n$interp exec {sys.path.append(&#8220;\/var\/irc\/jeeves&#8221;)}<br \/>\n$interp exec {import metadata}<br \/>\n$interp exec {sys.argv=[&#8216;e&#8217;,&#8217;mtd&#8217;]}<\/p>\n<p>catch { [$interp exec {metadata.main()}] } result<\/p>\n<p>python::interp delete $interp<\/p>\n<p>The metadata.py can be found at http:\/\/people.gentoo.org\/solar\/irc\/metadata.py <\/p>\n<p>Anybody that&#8217;s worked with Tcl knows the catch {} should grab the stdout\/stderr and shove the output in $result. However it&#8217;s printing directly to the console and never getting saved in $result. major bummer..<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Our tinderbox now has 5259 binpkgs between all of it&#8217;s $CHOST repos. (not bad.. glep19 stuff almost) Managed to get portage-2.0.54-r2 out the door yesterday. Which is cool because it fixes an annoying looping bug with -e system that&#8217;s been present for a long time (but overlooked in 2.0.x). SpanKY and Kevin Quinn are trying &hellip; <a href=\"https:\/\/blogs.gentoo.org\/solar\/2006\/05\/04\/random_follow_up\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Random follow up<\/span><\/a><\/p>\n","protected":false},"author":36,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/blogs.gentoo.org\/solar\/wp-json\/wp\/v2\/posts\/5"}],"collection":[{"href":"https:\/\/blogs.gentoo.org\/solar\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.gentoo.org\/solar\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/solar\/wp-json\/wp\/v2\/users\/36"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/solar\/wp-json\/wp\/v2\/comments?post=5"}],"version-history":[{"count":1,"href":"https:\/\/blogs.gentoo.org\/solar\/wp-json\/wp\/v2\/posts\/5\/revisions"}],"predecessor-version":[{"id":42,"href":"https:\/\/blogs.gentoo.org\/solar\/wp-json\/wp\/v2\/posts\/5\/revisions\/42"}],"wp:attachment":[{"href":"https:\/\/blogs.gentoo.org\/solar\/wp-json\/wp\/v2\/media?parent=5"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/solar\/wp-json\/wp\/v2\/categories?post=5"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/solar\/wp-json\/wp\/v2\/tags?post=5"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}