An empirical study of unspecified dependencies in make-based build systems

Authors: Cor-Paul Bezemer Shane McIntosh Bram Adams Daniel M. German Ahmed E. Hassan

Venue: EMSE   Empirical Software Engineering, Vol. 22, No. 6, pp. 3117–3148, 2009

Year: 2009

Abstract: Software developers rely on a build system to compile their source code changes and produce deliverables for testing and deployment. Since the full build of large software systems can take hours, the incremental build is a cornerstone of modern build systems. Incremental builds should only recompile deliverables whose dependencies have been changed by a developer. However, in many organizations, such dependencies still are identified by build rules that are specified and maintained (mostly) manually, typically using technologies like make. Incomplete rules lead to unspecified dependencies that can prevent certain deliverables from being rebuilt, yielding incomplete results, which leave sources and deliverables out-of-sync. In this paper, we present a case study on unspecified dependencies in the make-based build systems of the glib, openldap, linux and qt open source projects. To uncover unspecified dependencies in make-based build systems, we use an approach that combines a conceptual model of the dependencies specified in the build system with a concrete model of the files and processes that are actually exercised during the build. Our approach provides an overview of the dependencies that are used throughout the build system and reveals unspecified dependencies that are not yet expressed in the build system rules. During our analysis, we find that unspecified dependencies are common. We identify 6 common causes in more than 1.2 million unspecified dependencies.

BibTeX:

@article{cor-paulbezemer2009aesoudimbs,
    author = "Cor-Paul Bezemer and Shane McIntosh and Bram Adams and Daniel M. German and Ahmed E. Hassan",
    title = "An empirical study of unspecified dependencies in make-based build systems",
    year = "2009",
    pages = "3117–3148",
    journal = "Empirical Software Engineering",
    volume = "22",
    number = "6"
}

Plain Text:

Cor-Paul Bezemer, Shane McIntosh, Bram Adams, Daniel M. German, and Ahmed E. Hassan, "An empirical study of unspecified dependencies in make-based build systems," Empirical Software Engineering, pp. 3117–3148