[Touch-packages] [Bug 483086] Re: Incorrect per-target ?= variable affectations

2015-12-19 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: make-dfsg (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to make-dfsg in Ubuntu.
https://bugs.launchpad.net/bugs/483086

Title:
  Incorrect per-target ?= variable affectations

Status in make-dfsg package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: make

  I am running 9.10 on x86_64 (updated yesterday), make 3.81-6.

  The following Makefile:
  -
  target1: OPTVAR?=/usr/local
  target1:
echo "Value for $@ '$(OPTVAR)'."

  target2:
echo "Value for $@ is '$(OPTVAR)'."
  -

  Make seems to behave badly with such a Makefile:

  shell> make OPTVAR=x target1 target2
  echo "Value for target1 '�!M'."
  Value for target1 '�!M'.
  echo "Value for target2 is '�!M'."
  Value for target2 is '�!M'.

  Whereas it has the expected behavior when passing OPTVAR through the
  environment:

  shell> env OPTVAR=x make target1 target2
  echo "Value for target1 'x'."
  Value for target1 'x'.
  echo "Value for target2 is 'x'."
  Value for target2 is 'x'.

  It also behaves as expected when OPTVAR is left undefined:

  shell> make target1 target2
  echo "Value for target1 '/usr/local'."
  Value for target1 '/usr/local'.
  echo "Value for target2 is ''."
  Value for target2 is ''.

  I believe this is a regression from jaunty.

  ProblemType: Bug
  Architecture: amd64
  Date: Sun Nov 15 14:57:25 2009
  DistroRelease: Ubuntu 9.10
  NonfreeKernelModules: nvidia
  Package: make 3.81-6
  ProcEnviron:
   SHELL=/bin/zsh
   PATH=(custom, user)
   LANG=en_US.UTF-8
  ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
  SourcePackage: make-dfsg
  Uname: Linux 2.6.31-14-generic x86_64

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/make-dfsg/+bug/483086/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 483086] Re: Incorrect per-target ?= variable affectations

2015-12-19 Thread Gary Bishop
I should have added that I'm on 14.04 LTS and the make version is 3.81.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to make-dfsg in Ubuntu.
https://bugs.launchpad.net/bugs/483086

Title:
  Incorrect per-target ?= variable affectations

Status in make-dfsg package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: make

  I am running 9.10 on x86_64 (updated yesterday), make 3.81-6.

  The following Makefile:
  -
  target1: OPTVAR?=/usr/local
  target1:
echo "Value for $@ '$(OPTVAR)'."

  target2:
echo "Value for $@ is '$(OPTVAR)'."
  -

  Make seems to behave badly with such a Makefile:

  shell> make OPTVAR=x target1 target2
  echo "Value for target1 '�!M'."
  Value for target1 '�!M'.
  echo "Value for target2 is '�!M'."
  Value for target2 is '�!M'.

  Whereas it has the expected behavior when passing OPTVAR through the
  environment:

  shell> env OPTVAR=x make target1 target2
  echo "Value for target1 'x'."
  Value for target1 'x'.
  echo "Value for target2 is 'x'."
  Value for target2 is 'x'.

  It also behaves as expected when OPTVAR is left undefined:

  shell> make target1 target2
  echo "Value for target1 '/usr/local'."
  Value for target1 '/usr/local'.
  echo "Value for target2 is ''."
  Value for target2 is ''.

  I believe this is a regression from jaunty.

  ProblemType: Bug
  Architecture: amd64
  Date: Sun Nov 15 14:57:25 2009
  DistroRelease: Ubuntu 9.10
  NonfreeKernelModules: nvidia
  Package: make 3.81-6
  ProcEnviron:
   SHELL=/bin/zsh
   PATH=(custom, user)
   LANG=en_US.UTF-8
  ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
  SourcePackage: make-dfsg
  Uname: Linux 2.6.31-14-generic x86_64

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/make-dfsg/+bug/483086/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 483086] Re: Incorrect per-target ?= variable affectations

2015-12-19 Thread Gary Bishop
We just spent an hour tracking down a problem only to find the bug has
been around since 2009.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to make-dfsg in Ubuntu.
https://bugs.launchpad.net/bugs/483086

Title:
  Incorrect per-target ?= variable affectations

Status in make-dfsg package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: make

  I am running 9.10 on x86_64 (updated yesterday), make 3.81-6.

  The following Makefile:
  -
  target1: OPTVAR?=/usr/local
  target1:
echo "Value for $@ '$(OPTVAR)'."

  target2:
echo "Value for $@ is '$(OPTVAR)'."
  -

  Make seems to behave badly with such a Makefile:

  shell> make OPTVAR=x target1 target2
  echo "Value for target1 '�!M'."
  Value for target1 '�!M'.
  echo "Value for target2 is '�!M'."
  Value for target2 is '�!M'.

  Whereas it has the expected behavior when passing OPTVAR through the
  environment:

  shell> env OPTVAR=x make target1 target2
  echo "Value for target1 'x'."
  Value for target1 'x'.
  echo "Value for target2 is 'x'."
  Value for target2 is 'x'.

  It also behaves as expected when OPTVAR is left undefined:

  shell> make target1 target2
  echo "Value for target1 '/usr/local'."
  Value for target1 '/usr/local'.
  echo "Value for target2 is ''."
  Value for target2 is ''.

  I believe this is a regression from jaunty.

  ProblemType: Bug
  Architecture: amd64
  Date: Sun Nov 15 14:57:25 2009
  DistroRelease: Ubuntu 9.10
  NonfreeKernelModules: nvidia
  Package: make 3.81-6
  ProcEnviron:
   SHELL=/bin/zsh
   PATH=(custom, user)
   LANG=en_US.UTF-8
  ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
  SourcePackage: make-dfsg
  Uname: Linux 2.6.31-14-generic x86_64

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/make-dfsg/+bug/483086/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp