Public bug reported: Binary package hint: firefox-3.0
Ubuntu 9.04. After getting firefox build-deps and getting source via apt-get source, I tried to compile with: fakeroot debian/rules binary The build fails because ubuntu-useragent.js cannot be written because its destination directory is non-existent. It turns out that the make variable DEBIAN_FF3_VER is returning nil for some reason. sed \ -e 's/@VENDOR@/'`lsb_release -i -s`'/g' \ -e 's/@VENDOR_SUB@/'`lsb_release -r -s`'/g' \ -e 's/@VENDOR_COMMENT@/'`lsb_release -c -s`'/g' \ < debian/ubuntu-useragent.js.tmpl > debian/firefox-3.0/usr/lib/firefox-/defaults/preferences/ubuntu-useragent.js /bin/sh: cannot create debian/firefox-3.0/usr/lib/firefox-/defaults/preferences/ubuntu-useragent.js: Directory nonexistent Note that in the above path, firefox- should be firefox-3.0.10. Note that DEBIAN_FF3_VER is defined as $(shell cat build- tree/mozilla/browser/config/version.txt) and should return `3.0.10'. This error is bizarre because several previous rules use the variable and they work fine. If I retry the compile, it works. Digging into the build output, I see these lines as the first lines after starting the build: cd: 1: can't cd to build-tree/mozilla cat: build-tree/mozilla/browser/config/version.txt: No such file or directory cat: build-tree/mozilla/browser/config/version.txt: No such file or directory cat: build-tree/mozilla/browser/config/version.txt: No such file or directory cat: build-tree/mozilla/browser/config/version.txt: No such file or directory cat: build-tree/mozilla/browser/config/version.txt: No such file or directory Clearly this file is not getting built at the right time on the first try, but since it's already there, the second try works fine. How does this file get built? How can I ensure that it gets built before make tries to build ubuntu-useragent.js? This bug is not terribly important, because the compile does work on the second try. However, it is really annoying because I have an automated build process that depends on it working right the first time. ** Affects: firefox-3.0 (Ubuntu) Importance: Undecided Status: New ** Tags: build source -- firefox source does not compile on first try https://bugs.launchpad.net/bugs/385461 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