Lune

ASE2022Top-tier venue

Accelerating Build Dependency Error Detection via Virtual Build

Rongxin Wu, Minglei Chen, Chengpeng Wang, Gang Fan, Jiguang Qiu, Charles Zhang

Abstract

Build scripts play an important role in transforming the source code into executable artifacts. However, the development of build scripts is typically error-prone. As one kind of the most prevalent errors in build scripts, the dependency-related errors, including missing dependencies and redundant dependencies, draw the attention of many researchers. A variety of build dependency analysis techniques have been proposed to tackle them. Unfortunately, most of these techniques, even the state-of-the-art ones, su er from eciency issues due to the expensive cost of monitoring the complete build process to build dynamic dependencies. Especially for largescale projects, such the cost would not be a ordable. This work presents a new technique to accelerate the build dependency error detection by reducing the time cost of the build monitoring. Our key idea is to reduce the size of a program while still preserving the same dynamic dependencies as the original one. Building the reduced program does not generate a real software artifact, but it yields the same list of dependency errors and meanwhile speeds up the process. We implement the tool V B and evaluate it on real-world projects. It is shown that it detects all the dependency errors found by existing tools at a low cost. Compared with the state-of-the-art technique, V B accelerates the build process by 8.74 times, and improves the e ciency of error detection by 6.13 times on average. Speci cally, in the large-scale project LLVM that contains 5.67 MLoC, V B reduces the overall time from over four hours to 38.63 minutes.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Automated Dependency Optimization for Artifact-Based Build Systems cites A model for detecting faults in build specifications
  • Automated Dependency Optimization for Artifact-Based Build Systems cites Escaping dependency hell: finding build dependency errors with the unified dependency graph
  • Detecting Build Dependency Errors in Incremental Builds cites A model for detecting faults in build specifications
  • Detecting Build Dependency Errors in Incremental Builds cites Build scripts with perfect dependencies
  • Detecting Build Dependency Errors in Incremental Builds cites Escaping dependency hell: finding build dependency errors with the unified dependency graph
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Demystifying Dependency Bugs in Deep Learning StackKaifeng Huang, Bihuan Chen, Susheng Wu, Junming Cao et al.FSE 2023 · 20 citations
  2. Detecting Build Dependency Errors in Incremental BuildsJun Lyu, Shanshan Li, He Zhang, Yang Zhang et al.ISSTA 2024 · 3 citations
  3. Automated Dependency Optimization for Artifact-Based Build SystemsHongxu Xu, Zhenyang Xu, Shane McIntosh, Chengnian SunISSTA 2026

Builds on5

  1. Escaping dependency hell: finding build dependency errors with the unified dependency graphGang Fan, Chengpeng Wang, Rongxin Wu, Xiao Xiao et al.ISSTA 2020 · 37 citations
  2. Practical fault detection in puppet programsThodoris Sotiropoulos, Dimitris Mitropoulos, Diomidis SpinellisICSE 2020 · 22 citations
  3. A model for detecting faults in build specificationsThodoris Sotiropoulos, Stefanos Chaliasos, Dimitris Mitropoulos, Diomidis SpinellisOOPSLA 2020 · 16 citations
  4. Build scripts with perfect dependenciesSarah Spall, Neil Mitchell, Sam Tobin-HochstadtOOPSLA 2020 · 8 citations
  5. R2D2: Recursive Transformer based on Differentiable Tree for Interpretable Hierarchical Language ModelingXiang Hu, Haitao Mi, Zujie Wen, Yafang Wang et al.ACL 2021

Related papers

  1. Efficient Build Dependency Verification Using eBPF and Incremental AnalysisYuta Saito, Kazunori Sakamoto, Hironori WashizakiICSE 2026
  2. Automatic Fixing of Missing Dependency ErrorsJun Lyu, He Zhang, Lanxin Yang, Yue Li et al.ASE 2025
  3. Two-Level Adaptation for Budget-Constrained Continuous Dynamic Dependence AnalysisXiaoqin Fu, Haipeng CaiFSE 2026
  4. Optimizing Continuous Development by Detecting and Preventing Unnecessary Content GenerationTalank Baral, Shanto Rahman, Bala Naren Chanumolu, Basak Balci et al.ASE 2023 · 2 citations
  5. Boosting Path-Sensitive Value Flow Analysis Via Removal of Redundant SummariesYongchao Wang, Yuandao Cai, Charles ZhangICSE 2025 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines