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

Re: [MoM] Packaging fis-get





On 01/24/2012 05:08 PM, Luis Ibanez wrote:

[KSB] <...snip...>

Then went into the directory:

    cd debian-med/trunk/packages/fis-gtm/

    cd fis-gtm-initial/trunk


and got the source code with the command:

      make -f debian/rules get-orig-source

That went smoothly, and returned the output:

. ./debian/get-orig-source
check version of software
-- Downloading updated package gtm_V54002B_linux_i686_pro.tar.gz
Filename i386: gtm_V54002B_linux_i686_pro.tar.gz
PKG: fis-gtm-initial
PKGVERSION: 54002B
architecture: i386
-- Downloading updated package gtm_V54002B_linux_x8664_pro.tar.gz
Filename i386: gtm_V54002B_linux_x8664_pro.tar.gz
PKG: fis-gtm-initial
PKGVERSION: 54002B
architecture: amd64

and brought the file:

                 fis-gtm-initial_54002B.orig.tar.gz

into the directory above "trunk":

    debian-med/trunk/packages/fis-gtm/fis-gtm-initial


Now... while staying in the "trunk" directory:

debian-med/trunk/packages/fis-gtm/fis-gtm-initial/trunk

did:

                 tar -xzf ../*.orig.tar.gz

and end up with subdirectories:

debian
fis-gtm-initial

where "fis-gtm-initial" now contains:

gtm_V54002B_linux_i686_pro-i386.tar.gz
gtm_V54002B_linux_x8664_pro-amd64.tar.gz


Then I copied the content of "debian" into "fis-gtm-initial"

      cp -a   debian   fis-gtm-initial

and now:

                      ls -l    fis-gtm-initial

returns:

total 19840
drwxr-xr-x 5 ibanez ibanez     4096 Jan 24 16:27 debian
-rw-r--r-- 1 ibanez ibanez 10024159 Jan 24 16:39 gtm_V54002B_linux_i686_pro-i386.tar.gz
-rw-r--r-- 1 ibanez ibanez 10251995 Jan 24 16:39 gtm_V54002B_linux_x8664_pro-amd64.tar.gz


Then I entered that directory

      cd     fis-gtm-initial

and called:

         debuild

[KSB]  Considering that the two files above are the binary distributions of GT.M as built by FIS, what should debuild do?

kbhaskar@bhaskarks:~$ ls -l /Distrib/GT.M/gtm_V54002B_linux_*pro.tar.gz
-r--r--r-- 1 kbhaskar gtc 10024159 2011-08-11 17:50 /Distrib/GT.M/gtm_V54002B_linux_i686_pro.tar.gz
-r--r--r-- 1 kbhaskar gtc 10251995 2011-08-11 17:50 /Distrib/GT.M/gtm_V54002B_linux_x8664_pro.tar.gz
kbhaskar@bhaskarks:~$ cksum /Distrib/GT.M/gtm_V54002B_linux_*pro.tar.gz
1125275726 10024159 /Distrib/GT.M/gtm_V54002B_linux_i686_pro.tar.gz
1347705021 10251995 /Distrib/GT.M/gtm_V54002B_linux_x8664_pro.tar.gz
kbhaskar@bhaskarks:~$


Regards
-- Bhaskar


and got the following:


dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: source package fis-gtm-initial
dpkg-buildpackage: source version 54002B-1
dpkg-buildpackage: source changed by Andreas Tille <tille@debian.org>
 dpkg-source --before-build trunk
dpkg-buildpackage: host architecture i386
 fakeroot debian/rules clean
dh clean
   dh_testdir
   debian/rules override_dh_auto_clean
make[1]: Entering directory `/home/ibanez/src/debian-med/trunk/packages/fis-gtm/fis-gtm-initial/trunk'
dh_auto_clean
rm -f debian/defaults.template
make[1]: Leaving directory `/home/ibanez/src/debian-med/trunk/packages/fis-gtm/fis-gtm-initial/trunk'
   dh_clean
 dpkg-source -b trunk
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building fis-gtm-initial using existing ./fis-gtm-initial_54002B.orig.tar.gz
dpkg-source: error: cannot represent change to trunk/fis-gtm-initial/gtm_V54002B_linux_i686_pro-i386.tar.gz: binary file contents changed
dpkg-source: error: add fis-gtm-initial/gtm_V54002B_linux_i686_pro-i386.tar.gz in debian/source/include-binaries if you want to store the modified binary in the debian tarball
dpkg-source: error: cannot represent change to trunk/fis-gtm-initial/gtm_V54002B_linux_x8664_pro-amd64.tar.gz: binary file contents changed
dpkg-source: error: add fis-gtm-initial/gtm_V54002B_linux_x8664_pro-amd64.tar.gz in debian/source/include-binaries if you want to store the modified binary in the debian tarball
dpkg-source: warning: executable mode 0755 of 'fis-gtm-initial/debian/rules' will not be represented in diff
dpkg-source: warning: ignoring deletion of file gtm_V54002B_linux_i686_pro-i386.tar.gz
dpkg-source: warning: ignoring deletion of file gtm_V54002B_linux_x8664_pro-amd64.tar.gz
dpkg-source: error: unrepresentable changes to source
dpkg-buildpackage: error: dpkg-source -b trunk gave error exit status 2
debuild: fatal error at line 1325:
dpkg-buildpackage -rfakeroot -D -us -uc failed



It seems that there is a mismatch of content in
the .tar.gz files...but I'm probably misinterpreting
the error message...


-------------------------------------------------------------


Summary:


1) The good news:
     Got a brand new Debian installation and
     managed to go through the entire process
     until calling "debuild".


2) The next step: 
     Can use guidance on how to address
     the message:


"cannot represent change to trunk/fis-gtm-initial/gtm_V54002B_linux_i686_pro-i386.tar.gz: binary file contents changed"




     Thanks


           Luis


-- 
GT.M - Rock solid. Lightning fast. Secure. No compromises.
_____________
The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.

Reply to: