Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.2, 5.12.0 Beta 2
-
None
-
20e9422e069a27b7e29b54207447e6ca02b3a55a (qt/qtbase/dev)
Description
See this rule, for example:
install_target: first FORCE
@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/bin/ || $(MKDIR) $(INSTALL_ROOT)/usr/bin/
-$(INSTALL_PROGRAM) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"
Due to the leading dash on the command, "make" ignores any errors and returns 0, so scripts or other tools caling "make install" cannot know that it failed, even though it seems rather obvious that they should.
Attachments
Issue Links
- resulted in
-
QTBUG-71000 qmake: install_gen_headers error got ignored
- Closed
For Gerrit Dashboard: QTBUG-18870 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
262607,5 | Do not ignore exit codes of install commands | dev | qt/qtbase | Status: MERGED | +2 | 0 |
266118,12 | Do not ignore exit codes when installing meta files | dev | qt/qtbase | Status: MERGED | +2 | 0 |