Re: [MoM] Packaging fis-get
Hi Luis,
On Sat, Feb 11, 2012 at 09:04:05PM -0500, Luis Ibanez wrote:
> Report on MoM and fis-gtm packaging.
Thanks for your report.
> ...
> sr_unix/comlist.mk
>
> in line 48:
>
> ifeq ($(MAKELEVEL),2)
>
> that controls a section of code up to line 91.
>
> To address this, I'm now trying to patch
> the source code.
>
> So I read the section on patching:
>
> http://www.debian.org/doc/manuals/maint-guide/modify.en.html#fixupstream
>
> for it, installed "dquilt".
>
> apt-get install quilt
>
> but...
> end up manually generated the patch and
> added it to the debian/patches directory.
I did:
quilt push
quilt refresh
which changes the patch slightly (by stripping of dates) and added some
basic description to the patch (lintian in nitpicking mode (-I) will ask
for this and it can not harm. Please make sure that I used your correct
e-mail address you want to use for this purpose. I also added this one
to Uploaders. It needs to be one ID of your GPG key. Otherwise dch will
consider your changes as NMU (Non Maintainer Upload).
I also noticed that in my "debuild" attempt some files remained in the
build tree and thus I removed these via clean target in debian/rules.
When working on the clean target I noticed, that the file
pro/obj/gtm_threadgbl_deftypes.h
vanished from the build directory somehow. Please watch this issue. The
rule is that after
debuild
make -f debian/rules clean
the build directory should look identical to the state before debuild.
Otherwise you will get "Does not build twice in a row" bugs filed
against your package.
> This moves us one step forward on building
> the package, when calling "debuild".
>
> I still have to verify whether the resulting build
> produces the binaries that are expected...
At my side pdebuild (in a clean chroot) as well as debuild there are no
good news regarding a successful build:
...
Source Directory List: sr_linux sr_x86_64 sr_x86_regs sr_unix_gnp sr_unix_cm sr_unix sr_port_cm sr_port
make[2]: Entering directory `/home/andreas/debian-maintain/repack/fis-gtm/fis-gtm/fis-gtm-5.4-002B'
tcsh -f /home/andreas/debian-maintain/repack/fis-gtm/fis-gtm/fis-gtm-5.4-002B/sr_unix/gen_xfer_desc.csh sr_linux sr_x86_64 sr_x86_regs sr_unix_gnp sr_unix_cm sr_unix sr_port_cm sr_port
~/debian-maintain/repack/fis-gtm/fis-gtm/fis-gtm-5.4-002B ~/debian-maintain/repack/fis-gtm/fis-gtm/fis-gtm-5.4-002B/pro/obj
~/debian-maintain/repack/fis-gtm/fis-gtm/fis-gtm-5.4-002B/pro/obj
tcsh -f /home/andreas/debian-maintain/repack/fis-gtm/fis-gtm/fis-gtm-5.4-002B/sr_unix/gen_gtm_threadgbl_deftypes.csh /home/andreas/debian-maintain/repack/fis-gtm/fis-gtm/fis-gtm-5.4-00
2B sr_port pro/obj sr_linux sr_x86_64 sr_x86_regs sr_unix_gnp sr_unix_cm sr_unix sr_port_cm sr_port
Entering gen_gtm_threadgbl_deftypes.csh to build gtm_threadgbl_deftypes.h
~/debian-maintain/repack/fis-gtm/fis-gtm/fis-gtm-5.4-002B/pro/obj ~/debian-maintain/repack/fis-gtm/fis-gtm/fis-gtm-5.4-002B
gen_gtm_threadgbl_deftypes.csh-E-: pro build link of /home/andreas/debian-maintain/repack/fis-gtm/fis-gtm/fis-gtm-5.4-002B/pro/obj/gtm_threadgbl_deftypes failed, see /home/andreas/debi
an-maintain/repack/fis-gtm/fis-gtm/fis-gtm-5.4-002B/pro/obj/gtm_threadgbl_deftypes_linkmap.txt
~/debian-maintain/repack/fis-gtm/fis-gtm/fis-gtm-5.4-002B
make[2]: *** [gtm_threadgbl_deftypes] Fehler 1
Hope you can fix this build issue.
Kind regards
Andreas.
--
http://fam-tille.de
Reply to: