Posts

Showing posts from 2018

Creating a package for Debian, with its headaches

This entry is going to be brief. It is about a not so pleasant experience creating a package for Debian. In my work I have packaged several projects for Debian and this week I try to do it for a project based on QT. As I had already packaged other QT projects, I download one of them to copy/paste part of the contents of the debian/directory . At the time of executing the command debuild -b -uc -us  it fails me during the execution of the dh_install helper. This is because the helper executes a binary that has just been compiled.  After a lot of searching the Internet I find this comment. Basically if the files debian/*.dirs or debian/*.install are executable the helper dh_install will execute them and guess what was the first line of debian/install : the binary that was compiled as part of the package. And it turns out that this file when downloaded from the internet the OS for some reason put this bit. The documentation of the helper dh_install gives an idea in this rega

Creando un paquete para Debian, con sus dolores de cabeza

Esta entrada va a ser breve. Trata sobre una vivencia no tan agradable creando un paquete para Debian. En mi trabajo he empaquetado varios proyectos para Debian y esta semana trate de hacerlo para un proyecto basado en QT. Como ya había empaquetado otros proyectos de QT descargue uno de ellos para copiar/pegar parte del contenido del directorio debian/ . Al momento de ejecutar el comando  debuild -b -uc -us me falla durante la ejecución del helper dh_install . Esto es puesto que el helper ejecuta un binario que se había acabado de compilar.  Despues de mucho buscar en Internet me encuentro con este comentario . Básicamente si los ficheros debian/dirs y debian/install son ejecutables el helper dh_install los va a ejecutar y adivinen cual era la primera linea de debian/install : el binario que se compilo como parte del paquete. Y resulta que este fichero al descargarlo de internet el SO por alguna razón le puso este bit. La documentación del helper dh_install da idea al res