/srv/irclogs.ubuntu.com/2016/01/21/#ubuntu-motu.txt

=== davroman1ak is now known as davromaniak
=== lan3y is now known as Laney
=== Laney is now known as Guest80303
=== Guest80303 is now known as Laney
=== lool- is now known as lool
=== bigon_ is now known as bigon
=== jincreator is now known as jincreator_
karstensragehello16:28
karstensragereading this: http://packaging.ubuntu.com/html/packaging-new-software.html16:28
karstensrageseems pretty straight forward but im missing a piece of understanding16:29
karstensrageif im on a 12.04 ubuntu machine doing all this16:29
karstensragehow would the package work if it were run on 14,04?16:29
RhondaEither out of the box, or you would need to compile it in a 14.04 environment new because of generated dependencies in the binary that aren't resolvable anymore on 14.04 from the 12.04 build16:34
karstensrageRhonda, so the package i am dealing with is a PAM module (shared lib), which "depends" on another shared lib that i wrote... so that will be two separate packages, and the first depends on the 2nd right?16:36
karstensragethen the 2nd library depends on libxml2 and libssl16:36
karstensrageso even though the code i wrote isnt changing across 12.04 and 14.04, the libc, and other libs are changing right?16:37
RhondaYes.16:38
karstensrageso i dont get how it works on 14.04 if everything was compiled with 12.04's libs?16:39
RhondaAnd depending on whether they have some abi/api incompatible changes or not you would need to recompile it on 14.04 … or not. :)16:39
RhondaLibraries have a thing called ABI and API, which stands for Application Binary/Programming Interface.16:39
RhondaAnd if that is compatible (like, only gets extended, not structure changed, things dropped or similar), even when compiled against the old versions it still will work with the newer ones.16:40
RhondaOtherwise you would need to recompile every single package after an upgrade of one library, which would be highly inconvenient. :)16:41
RhondaSome libraries are known to regularly break and fumble with those interfaces, but most are quite conservative with changes in that area.16:41
karstensrageso maybe i should not worry about that issue and just hope for the best?16:42
RhondaYes.16:42
karstensragehmm ok16:42
karstensrageis that link i posted the best place to get started?16:42
RhondaTake a look at the francine package.  I last uploaded it to Debian in 2005.  Which was during the etch (4.0) release cycle.16:44
RhondaWe are now at Debian 8, there was no need to recompile it once since, the same binary from 10 years ago still runs on current Debian.16:44
RhondaThat I don't know, I haven't read it, but it might be useful. :)16:45
RhondaEspecially with respect to packaging libraries there is a bit more needed from what I know, but I never packaged a library myself, so can't help you there.16:46
* Rhonda . o O ( speaking of francine, working on finally updating the package to current best practices, and getting rid of my old name) )16:46
karstensrageok, thank you, that helps so far, does ubuntu have mentors that help with things?16:46
karstensrageand i have to get somethign like a sponsor to actually get it into the packaging system?16:47
karstensrageim getting this error and nothing is coming up on google21:29
karstensragedh_install: mylib-dev missing files (usr/include/*), aborting21:30
karstensrageRhonda, the path im taking is building two packages, one for the library and one for the pam module that depends on the library, thats correct right?21:31
RhondaGuess so, and the library needs the files in the -dev package required to build stuff against it, which means the include files.21:33
karstensrageok how do i do that?21:34
RhondaCan't mentor your with library packaging, but doesn't the library contain include files?21:35
karstensrageyes21:35
karstensrageyes it does21:35
karstensragehow do i find someone that can mentor for libraries?21:37
karstensragei feel bad asking tbh21:37
karstensragebut its really not a familiar thing to me21:38

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!