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>
> 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

Reply via email to