Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Ubuntu Masters Of The Universe (http://www.linux-archive.org/ubuntu-masters-universe/)
-   -   dpkg-buildpackage fails on ubuntu build of pulseaudio 0.9.7 (http://www.linux-archive.org/ubuntu-masters-universe/897-dpkg-buildpackage-fails-ubuntu-build-pulseaudio-0-9-7-a.html)

"Daniel T. Chen" 11-19-2007 10:06 PM

dpkg-buildpackage fails on ubuntu build of pulseaudio 0.9.7
 
[Adding ubuntu-motu@ to CC:]

On Mon, 2007-11-19 at 13:55 -0500, Manuel Amador (Rudd-O) wrote:
> debian/rules clean
> test -x debian/rules
> test "`id -u`" = 0
> make: *** [testroot] Error 1
> --------------------------------------
>
> Why are we in the twenty-first century and the package requires me to be
> *root* in order to build? I pass.

The pulseaudio source package uses cdbs as a build-dependency. If you
do not think cdbs is suitable, please provide a replacement.

Allow me to reiterate: cdbs is the culprit, not pulseaudio itself.

-Dan
--
Ubuntu-motu mailing list
Ubuntu-motu@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu

Sarah Hobbs 11-20-2007 01:38 AM

dpkg-buildpackage fails on ubuntu build of pulseaudio 0.9.7
 
It would be suggested that you use dpkg-buildpackage <general switches>
-rfakeroot when building. See fakeroot(1) for more information.

Hobbsee

Daniel T. Chen wrote:
> [Adding ubuntu-motu@ to CC:]
>
> On Mon, 2007-11-19 at 13:55 -0500, Manuel Amador (Rudd-O) wrote:
>> debian/rules clean
>> test -x debian/rules
>> test "`id -u`" = 0
>> make: *** [testroot] Error 1
>> --------------------------------------
>>
>> Why are we in the twenty-first century and the package requires me to be
>> *root* in order to build? I pass.
>
> The pulseaudio source package uses cdbs as a build-dependency. If you
> do not think cdbs is suitable, please provide a replacement.
>
> Allow me to reiterate: cdbs is the culprit, not pulseaudio itself.
>
> -Dan
>

--
Ubuntu-motu mailing list
Ubuntu-motu@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu

John Dong 11-20-2007 01:40 AM

dpkg-buildpackage fails on ubuntu build of pulseaudio 0.9.7
 
debuild <switches> is easier to type :)
On Tue, Nov 20, 2007 at 01:38:25PM +1100, Sarah Hobbs wrote:
> It would be suggested that you use dpkg-buildpackage <general switches>
> -rfakeroot when building. See fakeroot(1) for more information.
>
> Hobbsee

--
Ubuntu-motu mailing list
Ubuntu-motu@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu

Soren Hansen 11-20-2007 07:18 AM

dpkg-buildpackage fails on ubuntu build of pulseaudio 0.9.7
 
On Mon, Nov 19, 2007 at 06:06:20PM -0500, Daniel T. Chen wrote:
> > debian/rules clean
> > test -x debian/rules
> > test "`id -u`" = 0
> > make: *** [testroot] Error 1
> > --------------------------------------
> >
> > Why are we in the twenty-first century and the package requires me to be
> > *root* in order to build? I pass.

Because - just like in all the previous centuries where this sort of
thing was relevant - being root (or pretending to be root by using
fakeroot) makes it roughly 27.3 times easier to create tarballs with
files in it that does not look to be owned by the user who built it. :)

--
Soren Hansen
Ubuntu Server Team
http://www.ubuntu.com/
--
Ubuntu-motu mailing list
Ubuntu-motu@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu

"Manuel Amador (Rudd-O)" 11-20-2007 09:35 AM

dpkg-buildpackage fails on ubuntu build of pulseaudio 0.9.7
 
Except that building things as root exposes you to security problems in
package build scripts, and that you actually need to be root for an extended
period of time, which some of us would rather not do, or cannot do.

Well... At least there's fakeroot.

> Because - just like in all the previous centuries where this sort of
> thing was relevant - being root (or pretending to be root by using
> fakeroot) makes it roughly 27.3 times easier to create tarballs with
> files in it that does not look to be owned by the user who built it. :)



--

Manuel Amador (Rudd-O) <rudd-o@rudd-o.com>
Rudd-O.com - http://rudd-o.com/
GPG key ID 0xC8D28B92 at http://wwwkeys.pgp.net/

Now playing, courtesy of Amarok: Voodoo & Serano - Blood is pumping
O, what a tangled web we weave, When first we practice to deceive.
-- Sir Walter Scott, "Marmion"
--
Ubuntu-motu mailing list
Ubuntu-motu@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu


All times are GMT. The time now is 05:06 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.