intel / intel/media-driver

[Bug]: Building error - /bin/sh: Argument list too long

Open
#1,935 3 comments 0 reactions 2 assignees Claimed by @XinfengZhang View on GitHub
Dominant language
C
Stars
1.2k
Forks
383
Avg merge
8d 18h
Merged PRs (30d)
4

Description

### Which component impacted?

Build

### Is it regression? Good in old configuration?

Yes, it's good in old version

### What happened?

Building the current master fails with:

```
[ 18s] make[2]: /bin/sh: Argument list too long
[ 18s] make[2]: *** [media_driver/CMakeFiles/iHD_drv_video_COMMON.dir/build.make:82: media_driver/CMakeFiles/iHD_drv_video_COMMON.dir/agnostic/common/cm/cm_array.cpp.o] Error 127
[ 18s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/intel-media-driver-25.x.x+git.20250529T105756_57be52d-build/intel-media-driver-25.x.x+git.20250529T105756~57be52d/build'
[ 18s] make[1]: *** [CMakeFiles/Makefile2:286: media_driver/CMakeFiles/iHD_drv_video_COMMON.dir/all] Error 2
[ 18s] make[1]: *** Waiting for unfinished jobs....
[ 18s] make[2]: Entering directory '/home/abuild/rpmbu
```

### What's the usage scenario when you are seeing the problem?

Others

### What impacted?

_No response_

### Debug Information

OS: openSUSE Tumbleweed
gmmlib: current master
libva: current master

Full build logfile: https://paste.opensuse.org/pastes/8262c3bf9424

### Do you want to contribute a patch to fix the issue?

None

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.