mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Trent Piepho <xyzzy@speakeasy.org>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>,
	Linux Kernel Mailing list <linux-kernel@vger.kernel.org>,
	Randy Dunlap <randy.dunlap@oracle.com>,
	Johannes Stezenbach <js@linuxtv.org>,
	Sam Ravnborg <sam@ravnborg.org>
Subject: Re: [build bug, 2.6.24-rc1] CONFIG_VIDEO_DEV=m & CONFIG_VIDEO_SAA7146_VV=y
Date: Thu, 1 Nov 2007 11:57:38 +0100	[thread overview]
Message-ID: <20071101105738.GB28701@elte.hu> (raw)
In-Reply-To: <Pine.LNX.4.58.0711010304490.18400@shell2.speakeasy.net>


* Trent Piepho <xyzzy@speakeasy.org> wrote:

> All the rest of the selectors of VIDEO_SAA7146_VV are in the V4L menu, 
> which contains the necessary dependency on VIDEO_DEV.
> 
> Of course the real fix here would be have kbuild not force us to 
> manually add all the recursive dependencies of a selected module to 
> the dependencies of the module that selects it.

very much agreed. We should not be forced to put in redundant 
information that Kconfig could figure out by itself. (The only 
constraint is that we must not create circular dependencies - but 
Kconfig is checking that already.)

> On Thu, 1 Nov 2007, Ingo Molnar wrote:
> > * Trent Piepho <xyzzy@speakeasy.org> wrote:
> >
> > > On Fri, 26 Oct 2007, Ingo Molnar wrote:
> > > > the attached config (generated via make randconfig) fails to build due
> > > > to the combination of these config entries:
> > > >
> > > >   CONFIG_VIDEO_DEV=m
> > > >   CONFIG_VIDEO_SAA7146_VV=y
> > > >
> > > > i found no obvious Kconfig way to force VIDEO_SAA7146_VV to be modular
> > > > when VIDEO_DEV is modular - is there a good solution for this?
> > >
> > > I guess you didn't like my reply to your first message about this?
> > >
> > > http://lkml.org/lkml/2007/10/7/145
> > >
> > > kbuild support for modules used as libraries is really poor.  The only
> > > way to do is use select on the library module, and then have all the
> > > dependencies of the selectee be included in the selector, which must
> > > be done recursively so that any modules selected by the selectee have
> > > their dependencies added to the selector.
> >
> > any patch for me to try? This bug is blocking automated randconfig
> > build-testing quite frequently so it's quite a showstopper.
> 
> For some time now I've thought the whole ttpci config/makefile setup 
> sucked.  I've finally gone though and redone it and fixed this problem 
> too.
> 
> Here is the patch: http://linuxtv.org/hg/v4l-dvb/rev/5320c2571183

the drivers/media/dvb/ttpci/Kconfig bits do not apply:

 $ q push
 Applying patch patches/dvb-fix-5320c2571183.patch
 patching file drivers/media/common/Kconfig
 patching file drivers/media/dvb/ttpci/Kconfig
 Hunk #1 FAILED at 1.
 Hunk #2 FAILED at 63.
 Hunk #4 FAILED at 99.
 Hunk #5 FAILED at 120.
 Hunk #6 FAILED at 142.
 5 out of 6 hunks FAILED -- rejects in file 
 drivers/media/dvb/ttpci/Kconfig
 patching file drivers/media/dvb/ttpci/Makefile
 Patch patches/dvb-fix-5320c2571183.patch does not apply (enforce with -f)

got a link to the dependent patch that i'm apparently missing?

	Ingo

  reply	other threads:[~2007-11-01 10:58 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-26  7:37 Ingo Molnar
2007-10-27 21:30 ` Johannes Stezenbach
2007-10-27 23:39   ` Randy Dunlap
2007-10-29 11:23     ` Ingo Molnar
2007-10-29 12:35       ` Johannes Stezenbach
2007-10-29 18:19         ` Randy Dunlap
2007-10-29 15:16       ` Mauro Carvalho Chehab
2007-10-31 12:11 ` Trent Piepho
2007-11-01  9:01   ` Ingo Molnar
2007-11-01  9:40     ` Mauro Carvalho Chehab
2007-11-01 10:34     ` Trent Piepho
2007-11-01 10:57       ` Ingo Molnar [this message]
2007-11-02  0:12         ` Trent Piepho
2007-11-02 15:28           ` Ingo Molnar
2007-11-02 21:12             ` Mauro Carvalho Chehab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071101105738.GB28701@elte.hu \
    --to=mingo@elte.hu \
    --cc=js@linuxtv.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab@infradead.org \
    --cc=randy.dunlap@oracle.com \
    --cc=sam@ravnborg.org \
    --cc=xyzzy@speakeasy.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®