On Fri, Jan 14, 2005 at 07:47:36PM -0600, Dirk Eddelbuettel wrote:

> [EMAIL PROTECTED]:~/quantlib-0.3.8$ dpkg-buildpackage -rfakeroot -us -uc -b -B
> dpkg-buildpackage: source package is quantlib
> dpkg-buildpackage: source version is 0.3.8-1
> dpkg-buildpackage: source maintainer is Dirk Eddelbuettel <[EMAIL PROTECTED]>
> dpkg-buildpackage: host architecture is mipsel
>  fakeroot debian/rules clean
> dh_testdir
> make: *** [clean] Segmentation fault
> [EMAIL PROTECTED]:~/quantlib-0.3.8$ debian/rules clean
> dh_testdir
> dh_testroot
> dh_testroot: You must run this as root (or use fakeroot).
> make: *** [clean] Error 1
> [EMAIL PROTECTED]:~/quantlib-0.3.8$ dpkg-buildpackage -rsudo -us -uc -b -B
> dpkg-buildpackage: source package is quantlib
> dpkg-buildpackage: source version is 0.3.8-1
> dpkg-buildpackage: source maintainer is Dirk Eddelbuettel <[EMAIL PROTECTED]>
> dpkg-buildpackage: host architecture is mipsel
>  sudo debian/rules clean
> /usr/bin/dpkg-buildpackage: line 175: sudo: command not found
> [EMAIL PROTECTED]:~/quantlib-0.3.8$ dpkg-buildpackage -rsu -us -uc -b -B
> dpkg-buildpackage: source package is quantlib
> dpkg-buildpackage: source version is 0.3.8-1
> dpkg-buildpackage: source maintainer is Dirk Eddelbuettel <[EMAIL PROTECTED]>
> dpkg-buildpackage: host architecture is mipsel
>  su debian/rules clean
> Unknown id: debian/rules
> [EMAIL PROTECTED]:~/quantlib-0.3.8$ fakeroot debian/rules clean
> dh_testdir
> make: *** [clean] Segmentation fault
> [EMAIL PROTECTED]:~/quantlib-0.3.8$

> I am trying to build a package on vaughan, but am not getting very far.  Any
> ideas?

fakeroot is known to not work on mips or mipsel.  The autobuilders use
sudo instead of fakeroot as the root command during package builds.

For testing purposes on these architectures (since you don't have root
privileges on vaughan), you'll need to drop the dh_testroot command from
your debian/rules.

-- 
Steve Langasek
postmodern programmer

Attachment: signature.asc
Description: Digital signature

Reply via email to