[Pkg-openssl-devel] Bug#611667: Bug#611667: openssl: clean-after-build fails due to wrong Makefile rule

Steve Langasek steve.langasek at canonical.com
Sat Jun 11 22:48:29 UTC 2011


On Sat, Jun 11, 2011 at 11:19:40PM +0200, Kurt Roeckx wrote:
> On Mon, Jan 31, 2011 at 11:34:58AM -0800, Steve Langasek wrote:

> > Hi guys,

> > As part of an effort to make the Ubuntu base system cross-compilable, we've
> > noticed that ./debian/rules clean fails in the openssl package after a
> > complete build because the clean rules tries to remove directories with 'rm
> > -f', which obviously fails.  This needs to be an 'rm -rf' instead.

> > Attached is a patch for one possible way to implement this fix.  You could
> > instead fix this in debian/patches of course, but given that the rule only
> > affects a file that will be immediately be removed, fixing it in
> > debian/rules also seems adequate to me.

> I would like to patch the file that generates that wrong "rm -f",
> and there seem to be lots of "rm -f"s in that file.  Do you know
> which one is causing problems?

Sorry, I don't remember offhand - it's whichever line tries to use 'rm -f'
to remove a directory...

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-openssl-devel/attachments/20110611/c61ab11d/attachment-0001.pgp>


More information about the Pkg-openssl-devel mailing list