Bug#365688: dependency chain is broken

2006-05-05 Thread Peder Chr. Nørgaard
On Thursday 04 May 2006 08:29, Steve Langasek wrote:
> reopen 365688
> thanks
>
> Well, I'm afraid I have to reopen this bug.  It turns out that it was never
> really an xaw3dg bug at all: emacs21 build-depends only on xaw3dg-dev, but
> expects to find X11/Xaw/Paned.h, which has never been shipped by xaw3dg-dev
> but only incidentally dragged in by a (wrong) dependency on libxaw7-dev.
>
> Perhaps xaw3dg-dev should actually be installing its own headers as
> X11/Xaw/*, I don't know; but in practice this is not the interface that
> Xaw3d provides, upstream or in Debian, so emacs21 needs to either include
> X11/Xaw3d/* instead of X11/Xaw/, or build-depend on libxaw7-dev.

I have a very simple fix for this problem.  

I don't know if the fix for some reason is not acceptable - but at least it is 
working:  Simply add libxaw-headers to the build-depends.  That's where the 
X11/Xaw/Paned.h file lives, after all, according to Contents-i386.gz.

And I know the solution works - I built it in an updated unstable "pbuilder" 
on May 2nd.  And I am using the resulting emacs each day!

best regards
-- 
Peder Chr. Nørgaard e-mail: [EMAIL PROTECTED]
Gefionsvej 19   spejder-e-mail: [EMAIL PROTECTED]
DK-8230 Åbyhøj  tel: +45 87 44 11 99
Denmark mob: +45 30 91 84 31



Bug#365688: dependency chain is broken

2006-05-04 Thread Michael Banck
On Wed, May 03, 2006 at 11:29:25PM -0700, Steve Langasek wrote:
> Well, I'm afraid I have to reopen this bug.  It turns out that it was never
> really an xaw3dg bug at all: emacs21 build-depends only on xaw3dg-dev, but
> expects to find X11/Xaw/Paned.h, which has never been shipped by xaw3dg-dev
> but only incidentally dragged in by a (wrong) dependency on libxaw7-dev.

It seems emacs21 #includes X11/Xaw/ everywhere except for the 3d
scrollbars, in which case (if it finds -lXaw3d during configure) it will
#include from X11/Xaw3d/.  Further, if it finds -lXaw3d during
configure, it will replace -lXaw with -lXaw3d, so in the end emacs21
only links against Xaw3d.

At least, AFAICT.
 
> Perhaps xaw3dg-dev should actually be installing its own headers as
> X11/Xaw/*, I don't know; 

This is configurable in xaw3d's Imakefile, but the upstream default is
X11/Xaw3d/ and Debian does not appear to change this.  Xaw3d's README
(which is the only source of information I found so far) does not seem
to touch the question on which #include line to use.

> but in practice this is not the interface that Xaw3d provides,
> upstream or in Debian, so emacs21 needs to either include X11/Xaw3d/*
> instead of X11/Xaw/, or build-depend on libxaw7-dev.

At least emacs CVS still does that (only #including
 etc. for the scrollbars and otherwise using
)


Michael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#365688: dependency chain is broken

2006-05-03 Thread Steve Langasek
reopen 365688
thanks

On Wed, May 03, 2006 at 12:49:49PM -0700, Steve Langasek wrote:
> On Wed, May 03, 2006 at 07:56:35AM -0400, Johan Kullstam wrote:

> > I think have figured out the problem of aptitude trying to evict emacs21.

> > emacs21 version 21.4a-3.1 depends on emacs21-common and emacs21-bin-common
> >   emacs21-common version 21.4a-3.1 wants
> >   emacs21-bin-common version 21.4a-3.1

> > Since there is no emacs21-bin-common version 21.4a-3.1 for i386 linux,
> > the chain fails.

> > Simple fix - upload emacs21-bin-common 21.4a-3.1 for i386 and other
> > arches.

> Which, as documented in the merged bugs, was not possible because one of
> emacs21's build-dependencies was broken.

> It's been fixed now in xaw3dg-dev 1.5+E-14, so fixed emacs21 packages should
> begin dripping into incoming.debian.org in a couple of hours.

Well, I'm afraid I have to reopen this bug.  It turns out that it was never
really an xaw3dg bug at all: emacs21 build-depends only on xaw3dg-dev, but
expects to find X11/Xaw/Paned.h, which has never been shipped by xaw3dg-dev
but only incidentally dragged in by a (wrong) dependency on libxaw7-dev.

Perhaps xaw3dg-dev should actually be installing its own headers as
X11/Xaw/*, I don't know; but in practice this is not the interface that
Xaw3d provides, upstream or in Debian, so emacs21 needs to either include
X11/Xaw3d/* instead of X11/Xaw/, or build-depend on libxaw7-dev.

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
[EMAIL PROTECTED]   http://www.debian.org/


signature.asc
Description: Digital signature


Bug#365688: dependency chain is broken

2006-05-03 Thread Johan Kullstam

I think have figured out the problem of aptitude trying to evict emacs21.

emacs21 version 21.4a-3.1 depends on emacs21-common and emacs21-bin-common
  emacs21-common version 21.4a-3.1 wants
  emacs21-bin-common version 21.4a-3.1

Since there is no emacs21-bin-common version 21.4a-3.1 for i386 linux,
the chain fails.

Simple fix - upload emacs21-bin-common 21.4a-3.1 for i386 and other
arches.

-- 
Johan KULLSTAM


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]