Public bug reported:
0. get a fresh Ubuntu Natty
1. get cinelerra
http://sourceforge.net/projects/heroines/files/cinelerra-4.3-src.tar.bz2/download
2. unpack and try to build it: ./configure, then make
3. compilation will fail because of missing headers, but
ACTUAL: the result code will be 0
EXPECTED: the result code should be non-zero
RELATED: a good while ago, the Ubuntu (Intrepid?) distribution included a
broken vmware guest package: there was
a build error, but it was not reported by the build tools; it was, of course,
later reported by the users.
This is what I get when building cinelerra:
...
g++ -c `cat ../x86_64/c_flags` zoomblur.C -o x86_64/zoomblur.o
In file included from ../../guicast/guicast.h:28:0,
from ../../cinelerra/auto.h:27,
from ../../cinelerra/keyframe.h:25,
from zoomblur.C:31:
../../guicast/bcbitmap.h:28:33: fatal error: X11/extensions/XShm.h: No such
file or directory
compilation terminated.
make[3]: *** [x86_64/zoomblur.o] Error 1
make[3]: Leaving directory
`/home/mg/SoftSrc/cinelerra/cinelerra-4.3/plugins/zoomblur'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/mg/SoftSrc/cinelerra/cinelerra-4.3/plugins'
make[2]: Entering directory `/home/mg/SoftSrc/cinelerra/cinelerra-4.3/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/mg/SoftSrc/cinelerra/cinelerra-4.3/po'
make[1]: Leaving directory `/home/mg/SoftSrc/cinelerra/cinelerra-4.3'
~/SoftSrc/cinelerra/cinelerra-4.3$ echo $?
0
Compare it to:
~$ make
make: *** No targets specified and no makefile found. Stop.
~$ echo $?
2
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: make 3.81-8ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
Architecture: amd64
Date: Fri Dec 9 19:20:46 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110426)
ProcEnviron:
LANGUAGE=en_US:en
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: make-dfsg
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: make (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug natty
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/902199
Title:
zero return code on error
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/make/+bug/902199/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs