Your message dated Mon, 20 Oct 2008 08:46:57 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#502865: make not checking age of softlink
has caused the Debian Bug report #502865,
regarding make not checking age of softlink
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
502865: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502865
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: make
Version: 3.81-5
Severity: normal


I believe that when a new soft link is made to an old file, make
is checking the age of the resolved path (i.e. the old file), not the
age of the link (which is new, and may have changed).

The result is that when the dependency is expressed through a soft link
then the target may not be updated when it should be.

Problem seen when running make in /etc/mail/ for sendmail, when the
sendmail.mc file is a softlink to one of two models. The link is
changed when the laptop's configuration is changed. But make was
not updating the sendmail.cf target. Reason appeared to be that the
link target was older than sendmail.cf.



-- System Information:
Debian Release: lenny/sid
  APT prefers hardy-updates
  APT policy: (500, 'hardy-updates'), (500, 'hardy-security'), (500, 'hardy'), 
(500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-19-generic (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash

Versions of packages make depends on:
ii  libc6                         2.7-15     GNU C Library: Shared libraries

make recommends no packages.

Versions of packages make suggests:
pn  make-doc                      <none>     (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
Hi,

        A symbolic link is merely a substitute for the real target,
 POSIX states:
  Symbolic  links are interpreted at run time as if the contents of the
  link had been substituted into the path being followed to find a file
  or directory. 

        This means that all the attributes of a symbolic link are
 normally looked at.

        Now, make allows you to override this:
`-L'
`--check-symlink-times'
     On systems that support symbolic links, this option causes `make'
     to consider the timestamps on any symbolic links in addition to the
     timestamp on the file referenced by those links.  When this option
     is provided, the most recent timestamp among the file and the
     symbolic links is taken as the modification time for this target
     file.

        manoj
-- 
If you refuse to accept anything but the best you very often get it.
Manoj Srivastava <[EMAIL PROTECTED]> <http://www.golden-gryphon.com/>  
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C


--- End Message ---

Reply via email to