Public bug reported:

Binary package hint: make

 lsb_release -d => Ubuntu 8.04.1

I'm using '~' instead of my home directory for clarity below.

Example directory structure
================
~/src
    |-- v2 -> v2.1 (symlink)
    |-- v2.0
    |-- v2.1
    |-- v2.2
    |-- v3 -> v3.5 (symlink)
    |-- v3.1
    |-- v3.2
    |...

Command ($ = prompt)
======
    $ cd src && make -C v2

Output
====
Make reports
    make[1]: Entering directory `~/src/v2.1'

It should have done this
    make[1]: Entering directory `~/src/v2'

It's obviously using the real path of the directory symlink instead of
the absolute path. It really jumps there too.

    $ cd src/v2 && make

has the same effect!

This causes problems when you use the current directory in relative path
calculations, and defeats the use of symbolic links to directories (!)

See the make documentation for realpath and abspath functions and their 
differences.
In konsole it's
    info make File Name Functions
In konqueror it's
    info:/make/File Name Functions

** Affects: make (Ubuntu)
     Importance: Undecided
         Status: New

-- 
make doesn't recurse through symlinks correctly
https://bugs.launchpad.net/bugs/257488
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to