On Thu, Sep 29, 2005 at 09:43:31PM +0200, Eduard Bloch wrote:
> tags 330773 + moreinfo
> thanks
> 
> #include <hallo.h>
> * Massimo Dal Zotto [Thu, Sep 29 2005, 08:28:53PM]:
> > $ make
> > make[1]: Entering directory `/home/dz/src/modules/usr_src/modules/cdfs'
> > ...
> > make[1]: Leaving directory `/home/dz/src/modules/usr_src/modules/cdfs'
> > Build time: 5 seconds
> > 
> > $ cat ./var_cache_modass/cdfs-src.buildstate.2.6.10-5-686 
> > make[1]: Entering directory `/home/dz/src/modules/usr_src/modules/cdfs'
> > /home/dz/src/modules/cdfs-2.6.10-5-686_2.4.20+2.6.3-2+2.6.10-34.6_i386.deb
> > make[1]: Leaving directory `/home/dz/src/modules/usr_src/modules/cdfs'
> > 
> > $ module-assistant -t -u ~/src/modules install cdfs
> > Found sudo, will use it for apt-get and dpkg commands.
> > Package cdfs-src was not built successfully, see 
> > /home/dz/src/modules/var_cache_modass/cdfs-src*buildlog*
> > for details!
> > 
> > You maybe want to run "auto-install" instead of install.
> > 
> > 
> > The install command fails because the buildlog contains the extra messages.
> 
> I cannot see anything unusual in what you pasted above and I cannot
> follow your logics to make the same diagnosis. And I suggest sending
> real information in bug reports, read: complete logs and not few pieces
> that only confirm your own assumption.
> 
> The symptoms look similar to another old problem with very weird
> quotation marks but that required an updated regexp.
> 
> > A possible fix to this bug could be unsetting the variable MAKELEVEL at the
> > beginning of the module-assistant script.
> 
> Sounds kinda unsound to me.
> 
> Eduard.
> -- 
> <Joey> "Keysign", das Freibier von Debian. :)

The problem is the following:

- module-assistant (indirectly) calls make to compile the modules

- make has an option --print-directory (-w) which prints the enter/leave
  messages. This option is turned on *automatically* if make is run as a
  submake (MAKELEVEL is set)

- if I run module-assistant from a makefile all make commands called by
  it think they are running as submake and turn on automatically the -w
  option which prints the extra messages into buildstate files

- if I run module-assistant directly this doesn't happen because MAKELEVEL
  is not set, the -w option is not used and everyting works as usually

- unsetting the above variable should fix the problem

If you want I can send you all the typescripts and logfiles but the above
description seems enough to diagnose the problem to me.

-- 
Massimo Dal Zotto


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

Reply via email to