This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The bash Debian Package script generated by C/C++ projects uses a variable called TMPDIR. This clashes with a standard environment variable on MacOSX ( http://lists.apple.com/archives/darwin-userlevel/2008/Sep/msg00004.html ), also with the variable expected by dpkg-deb. The result is that package generation fails with the error "failed to make tmpfile (control): No such file or directory" -------------------- Steps to recreate: -------------------- On MacOSX 10.6, using dbpg-deb from fink (64 bit build). 1) Create a new C/C++ Application project. 2) In project properties, set Build->Packaging->Package Type = Debian Package 3) From the project context menu, Select Build Package. You should see the above error message. ------------- Suggested Fix ------------- Change the name of the TMPDIR variable in the generated bash script to something else (eg NBTMPDIR).
Fixed. Change TMPDIR to NBTMPDIR.
Integrated into 'main-golden', will be available in build *201003240200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/cd409982e967 User: Thomas Preisler <thp@netbeans.org> Log: #179294 - Debian package generation script doesn't work on MacOSX due clashing environment variable TMPDIR