Javier López

comentarios aleatorios, semana 27-4/julio - motu

05 Jul 2010

Tercera entrega que corresponde a la semana del 27 al 4 de Julio del 2010.

#ubuntu-bugs

<dkulchenko> If I’ve been experiencing frequent kernel panics since I switched to Lucid, what should I file the bug against?
<micahg> dkulchenko: linux

#ubuntu-bugs

<dkulchenko> si he estado teniendo [kernel panics][53] desde que me cambie a Lucid, a que paquete deberia reportar el error?
<micahg> dkulchenko: linux

#ubuntu-devel

<slangasek> does BuildLiveCD also get updated on every build?
<ogra_cmpc> nope

#ubuntu-devel

<slangasek> se actualiza el BuildLiveCD en cada compilacion? ## umm, debo aclararme a mi mismo luego que es el ‘BuildLiveCD’
<ogra_cmpc> nop

#ubuntu-devel

<pitti> known bugs are better then breaking existing functionality

#ubuntu-devel

<pitti> es preferible mantener errores en los paquetes que romper funcionalidades

#ubuntu-meeting

<lex79> cdbs is fast for write a package
<lex79> debhelper is the new way 🙂
<lex79> but seems high quality than cdbs
<lex79> indeed, minion likes cdbs _**#ubuntu-meeting** :
<lex79> cdbs es rapido para crear un paquete
<lex79> mientras que debhelper es un nuevo metodo 🙂
<lex79> tambien parece ser que es de mejor calidad que cdbs
<lex79> aunque, a minion le gusta cdbs

#ubuntu-motu

<dupondje> whats the policy with packages that are removed in debian btw ?
<Laney> we usually follow them

#ubuntu-motu

<dupondje> por cierto, cual es la politica que corresponde a los paquetes que han sido eliminados en debian?
<Laney> normalmente los eliminamos

#ubuntu-motu

<gubatron> hi, is there a dh_<something> tool to copy your postinst script? (so I don’t do an ugly cp in my debian/rules)
<Laney> to copy it to where?
<gubatron> DEBIAN/
<Laney> yep, that’s dh_installdeb
<gubatron> you rule Laney17:47
<ajmitch> you shouldn’t ever need to touch the DEBIAN dir at all
<gubatron> it worked, thanks Laney. ajmitch: that’s what we want. The debian/rules file looks beautiful now. thanks.

#ubuntu-motu

<gubatron> hola, existe alguna herramienta del tipo
<dh_<algo> para copiar los scripts [postinst][54]? (y asi no tenga que usar el horroso cp en el archivo debian/rules)
<Laney> para copiarlos donde?
<gubatron> DEBIAN/
<Laney> sip, [dh_installdeb][55]
<gubatron> gracias Laney
<ajmitch> aunque no deberias modificar el directorio DEBIAN para nada
<gubatron> funciono, gracias Laney. ajmitch: eso es lo que quiero. Ahora el archivo debian/rules (##este no es mas que un #makefile, aunque tecnicamente podria ser un ./configure o cualquier otro) luce fabulos, gracias.

#ubuntu-motu

<Rhonda> What do people put into the debian/changelog for backports? Version number and the likes?
<Laney> Source change backport from XX to YY (LP: #zzzzzz)

#ubuntu-motu

<Rhonda> Que es lo que la gente pone en el archivo debian/changelog cuando declara un backport ?(##paquetes que iran a parar a una version anterior a la que se usa en desarrollo, lucid para maverick) que numero de version y esas cosas?
<Laney> Source change backport from XX to YY (LP: #zzzzzz) ##no tengo idea de como traducir esto, =)

#ubuntu-motu

<tumbleweed> test in a pbuilder if you can
<shadeslayer> tumbleweed: sure… i can use that too.. its just that qtcreator takes about 90 mins to build 😛
<shadeslayer> i can use debuild -nc if something goes wrong with debuild
<shadeslayer> not with pbuilder
<tumbleweed> shadeslayer: /usr/share/doc/pbuilder/examples/C10shell
<shadeslayer> tumbleweed: the hook that exits to shell?
<shadeslayer> i have it.. can i run debuild nc with it?
<tumbleweed> that hook fires up a shell and installs vim so you can look around and try things. not too sure what you are asknig on the second line
<shadeslayer> tumbleweed: ^^
<shadeslayer> oh sorry
<shadeslayer> tumbleweed: i meant that after i drop to shell,can i run debuild -nc ?
<tumbleweed> it’s a root shell, and doesn’t have devscripts installed, so I noramlly just do debian/rules binary
<shadeslayer> hm
<tumbleweed> not quite identical to building in fakeroot, but you can work out what’s wrong, test solutions, and then try again

#ubuntu-motu

<tumbleweed> pruebalo si te es posible en pbuilder
<shadeslayer> tumbleweed: seguro… tambien puedo usarlo.. solo que tomara como 90 min para compilarlo 😛
<shadeslayer> puedo usar [debuild][56] -nc (##debuild acepta las mismas opciones ademas de las suyas de [dpkg-buildpackage][57] , gracias a dererkazo de #debian-es por explicarme esto) si falla debuild
<shadeslayer> pero no con pbuilder
<tumbleweed> shadeslayer: /usr/share/doc/pbuilder/examples/C10shell
<shadeslayer> tumbleweed: el script que devuelve una shell?
<shadeslayer> ok.. puedo correr debuild -nc con el?
<tumbleweed> el script regresa una shell e instala vim para que puedas probar cosas, no estoy seguro de lo que quieres hacer con la segunda pregunta
<shadeslayer> tumbleweed: ^^
<shadeslayer> ohh, perdon
<shadeslayer> tumbleweed: quiero decir que si despues de que me regresa la shell, puedo correr debuild -nc ?
<tumbleweed> es una shell con permisos de super usuario, y no tiene el paquete devscripts instalado, asi que normalmente deberias ser capaz de correr el script debian/rules
<shadeslayer> hm
<tumbleweed> tampoco es lo mismo compilarlo ahi que en fakeroot, pero seguro es suficiente para poder ver lo que esta mal, y para que puedas probar soluciones

Notas del traductor

Publicado originalmente en viajemotu.wordpress.com