[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

building okular package



Hi everyone,
I'm trying to build the package for okular from latest sources.
So far what i've done is:
* get latest git
* get latest source package in sid
* copy the debian folder from the source package to the sources from git.
* update the changelog to reflect that i'm trying to build version 4.9.2
* changed debian maintainers' email with my own, so that i can sign
the package at the end of the process.
* created the .orig. tarball in ../
...i thnk this is it.

dpkg-buildpackage exits with the following output:

parsechangelog/debian: warning:     debian/changelog(l5): badly
formatted trailer line
LINE:  -- Name Surname <namesurname@gmail.com> Wed, 04 Oct 2012 14:22:00 +0200
make[1]: Entering directory `/*****somepath******/OKULAR/okular-4.9.2'
dh_testdir
dh_auto_build '--buildsystem=kde' --parallel
make[2]: Entering directory
`/*****somepath******/OKULAR/okular-4.9.2/obj-i486-linux-gnu'
make[2]: *** No targets specified and no makefile found.  Stop.
make[2]: Leaving directory
`/*****somepath******/OKULAR/okular-4.9.2/obj-i486-linux-gnu'
dh_auto_build: make -j1 returned exit code 2
make[1]: *** [pre_build_dh_auto_build] Error 2
make[1]: Leaving directory `/*****somepath******/OKULAR/okular-4.9.2'
make: *** [debian/dhmk_build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

I get a bunch of those warnings about the changelog, but i can't
understand what's wrong with it. Then there is the nasty erorr.
I tried to run cmake CMakeLists.txt and make and the program builds
successfully, but i rather install it on my system through a package,
so that i can easily uninstall it if i'm not happy with it.

I unerstand it is not the easiest package to start packaging from, but
it is the program i need for most of my work, and there are a couple
of bug fixes i could totally benefit from.
Any help would be greatly appreciated.
Thanks,
Jacopo


Reply to: