[Bug 1248522] Re: Buildpackage fails when using PF environment variable

Matthias Klose doko at ubuntu.com
Thu Mar 20 11:24:51 UTC 2014


PF os not supposed to be used as an environment variable. Won't fix
this. If you have a patch, please apply to the issue

** Changed in: gcc-4.7 (Ubuntu)
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-4.7 in Ubuntu.
https://bugs.launchpad.net/bugs/1248522

Title:
  Buildpackage fails when using PF environment variable

Status in “gcc-4.7” package in Ubuntu:
  Won't Fix

Bug description:
  With the PF environment variable you should be able to build packages
  with a different prefix than the standard "usr". However, with gcc-4.7
  dpkg-buildpackage fails. Without the PF variable the build succeeds.

  This is the command I'm using to build the packages.

  $ DEB_BUILD_OPTIONS=nocheck PF='usr/local/ossf/gcc-$(GCC_VERSION)'
  dpkg-buildpackage -rfakeroot -uc -us

  The last couple of lines are:

  mv debian/tmp/usr/local/ossf/gcc-4.7.3/lib32/libstdc++.a debian/tmp/usr/local/ossf/gcc-4.7.3/lib32/libsupc++.a debian/tmp/usr/local/ossf/gcc-4.7.3/lib/gcc/x86_64-linux-gnu/4.7/32/
  rm -rf debian/lib32stdc++6-4.7-dev
  dh_installdirs -plib32stdc++6-4.7-dev usr/local/ossf/gcc-4.7.3/lib/gcc/x86_64-linux-gnu/4.7/32
  DH_COMPAT=2 dh_movefiles -plib32stdc++6-4.7-dev usr/local/ossf/gcc-4.7.3/lib/gcc/x86_64-linux-gnu/4.7/32/libstdc++.a usr/local/ossf/gcc-4.7.3/lib/gcc/x86_64-linux-gnu/4.7/32/libsupc++.a usr/local/ossf/gcc-4.7.3/include/x86_64-linux-gnu/c++/4.7/32
  dh_movefiles: Compatibility levels before 5 are deprecated (level 2 in use)
  dh_movefiles: debian/tmp/usr/local/ossf/gcc-4.7.3/include/x86_64-linux-gnu/c++/4.7/32 not found (supposed to put it in lib32stdc++6-4.7-dev)
  make[1]: *** [stamps/08-binary-stamp-lib32stdcxx-dev] Error 1
  make[1]: Leaving directory `/loc/ossf-gcc/gcc-4.7-4.7.3'
  make: *** [binary] Error 2
  dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2

  I'm guessing that there is a missing $(PF) somewhere(!) in the rules.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.7/+bug/1248522/+subscriptions



More information about the foundations-bugs mailing list