-
Notifications
You must be signed in to change notification settings - Fork 198
Open
Description
$ podman run -it ubuntu:latest
$ apt-get update
$ apt-get install obs-build
$ /usr/lib/obs-build/queryconfig
Can't locate Build.pm in @INC (you may need to install the Build module) (@INC entries checked: /usr/lib/build /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.38.2 /usr/local/share/perl/5.38.2 /usr/lib/x86_64-linux-gnu/perl5/5.38 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.38 /usr/share/perl/5.38 /usr/local/lib/site_perl) at /usr/lib/obs-build/queryconfig line 29.
BEGIN failed--compilation aborted at /usr/lib/obs-build/queryconfig line 29.
The problem seems to be in the following lines:
BEGIN {
unshift @INC, ($::ENV{'BUILD_DIR'} || '/usr/lib/build');
}
It should the directory queryconfig
is located in.
That would also make it work for git checkouts.
It seems that most of the files would require such change.
Metadata
Metadata
Assignees
Labels
No labels