Sorry Steffen, I don't know exactly what do you mean by setting the command lines to start with tab but not spaces ! can you give an example for a command sentence to apply that to the rules file command lines ? also i have attached my rules file to tel me which lines i should apply to them that fix... Best Regards.
On Mon, Oct 27, 2014 at 12:24 PM, Steffen Hönig <s.hoe...@openthinclient.com > wrote: > Hi Mahmoud, > > as debian/rules files are nothing but regular makefiles you need to adhere > to their syntax rules and one of them is that command lines have to start > with a TAB (not spaces!) to be recognized by make. So go fix your > indentation. > > > Am 24.10.2014 um 22:46 schrieb Mahmoud Ramadan Ali: > > Hiii Steffen, > I have added the line to the rules file and i did thet job and created > the directory but now i'm reviving another error... > > > * debian/rules:67: *** missing separator (did you mean TAB instead of 8 > spaces?). Stop. dpkg-buildpackage: error: fakeroot -u debian/rules clean > gave error exit status 2* > > any ideas ? > > On Fri, Oct 24, 2014 at 12:22 PM, Hönig, Steffen < > s.hoe...@openthinclient.com> wrote: > >> Hi, >> >> that's a know bug for now, you need to add a directory manually: >> (let the app be called foo in this case) >> >> >> $ mkdir -p foo/foo-2.0-01/package-rootfs/opt/foo >> >> >> 2014-10-24 1:23 GMT+02:00 Mahmoud Ramadan Ali < >> cisco.and.more.b...@gmail.com>: >> >>> Hi everyone, >>> I have an error when building a package using the "tcos_buildpackage" >>> command showing that it >>> cannot stat `package-rootfs': No such file or directory my assumption >>> is that something is wrong with the rules file in the debian >>> directory...i think that the file is not complete to create the >>> "package-rootfs" directory...i have attached my rules file if anyone want >>> to have a look at it...thanks in advance >>> >>> root@debian:/home/mahmoud/Desktop/sap01/sap01-2.0-01# tcos_buildpackage >>> dpkg-buildpackage: warning: using a gain-root-command while being root >>> dpkg-buildpackage: source package sap01 >>> dpkg-buildpackage: source version 2.0-01-2 >>> dpkg-buildpackage: source changed by root <root@localhost.localdomain> >>> <root@localhost.localdomain> >>> dpkg-buildpackage: host architecture i386 >>> dpkg-source --before-build sap01-2.0-01 >>> fakeroot -u debian/rules clean >>> dh_testdir >>> dh_testroot >>> rm -f build-stamp configure-stamp >>> dh_clean >>> dh_clean: Compatibility levels before 5 are deprecated (level 4 in use) >>> dpkg-source -b sap01-2.0-01 >>> dpkg-source: warning: no source format specified in >>> debian/source/format, see dpkg-source(1) >>> dpkg-source: info: using source format `1.0' >>> dpkg-source: info: building sap01 in sap01_2.0-01-2.tar.gz >>> dpkg-source: info: building sap01 in sap01_2.0-01-2.dsc >>> debian/rules build >>> dh_testdir >>> # Add here commands to configure the package. >>> touch configure-stamp >>> dh_testdir >>> touch build-stamp >>> fakeroot -u debian/rules binary >>> dh_testdir >>> dh_testroot >>> dh_clean -k >>> dh_clean: dh_clean -k is deprecated; use dh_prep instead >>> dh_clean: Compatibility levels before 5 are deprecated (level 4 in use) >>> rm -rf debian/tempcopy debian/sap01 >>> mkdir -p debian/tempcopy debian/sap01/sfs/package && \ >>> cp -al package-rootfs debian/tempcopy/ && \ >>> cp -al tcos debian/tempcopy/package-rootfs/opt/sap01/ >>> cp: cannot stat `package-rootfs': No such file or directory >>> make: *** [install] Error 1 >>> dpkg-buildpackage: error: fakeroot -u debian/rules binary gave error >>> exit status 2 >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> The Open Source Thin Client Solution http://openthinclient.org >>> openthinclient-user@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/openthinclient-user >>> >>> >> >> >> -- >> Mit freundlichen Grüßen >> >> Steffen Hönig >> -- >> Development & Support >> >> openthinclient gmbh, Büro Dresden >> Frühlingstr. 11, 01099 Dresden, Deutschland >> Telefon: +49 35141886215-1 >> Mobil: +49 176 99635238 >> mailto: s.hoe...@openthinclient.com <j.fren...@openthinclient.com> >> >> >> openthinclient gmbh >> Heilbronner Str. 150, 70191 Stuttgart, Deutschland >> Telefon: +49 711 1378636-0 >> Telefax: +49 711 1378636-9 >> Amtsgericht Stuttgart: HRB 245 177; USt-ID: DE216017092 >> Geschäftsführer: Alexander Stecher >> http://openthinclient.com >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> The Open Source Thin Client Solution http://openthinclient.org >> openthinclient-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/openthinclient-user >> >> > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > The Open Source Thin Client Solution > http://openthinclient.orgopenthinclient-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/openthinclient-user > > > -- > Mit freundlichen Grüßen > > Steffen Hönig > > Development & Support > > openthinclient gmbh, Büro Dresden > Frühlingstr. 11, 01099 Dresden, Deutschland > Telefon: +49 35141886215-1 > Mobil: +49 176 99635238 > mailto: s.hoe...@openthinclient.com > > > openthinclient gmbh > Heilbronner Str. 150, 70191 Stuttgart, Deutschland > Telefon: +49 711 1378636-0 > Telefax: +49 711 1378636-9 > Amtsgericht Stuttgart: HRB 245 177; USt-ID: DE216017092 > Geschäftsführer: Alexander Stecherhttp://openthinclient.com > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > The Open Source Thin Client Solution http://openthinclient.org > openthinclient-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/openthinclient-user > >
rules
Description: Binary data
------------------------------------------------------------------------------
_______________________________________________ The Open Source Thin Client Solution http://openthinclient.org openthinclient-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openthinclient-user