Public bug reported:

Binary package hint: make

If make is invoked as follows

$ make -C broken

The following error messages are printed:

shell-init: error retrieving current directory: getcwd: cannot access parent 
directories: No such file or directory
pwd: error retrieving current directory: getcwd: cannot access parent 
directories: No such file or directory

if instead make is executed inside the directory, no error is printed:

$ cd broken
$ make
<correct result printed>

The directory broken contains the following Makefile:

> SHELL := /bin/bash
> -include ../afilethatdoesnotexist
> all:
>         pwd

The bug is not triggered if the SHELL line is removed or if the
"include" line is removed. If the included file does exist, the bug is
still triggered.

Ubuntu release:
Description:    Ubuntu 9.10
Release:        9.10

We also updated the installation (as of today) and the bug still
triggers.

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

-- 
Failure on getcwd when make invoked with -C option
https://bugs.launchpad.net/bugs/516506
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