-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OBS RISCV build failure #403
Labels
Comments
I'm sorry, but I can't help here as I got no access to RISCV systems. Also this OBS build is not created nor supported by us, afaict. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Name: noisetorch
Version: 0.12.2
Release: 0
Summary: Real-time microphone noise suppression on Linux
License: GPL-3.0-or-later
URL: https://github.com/NoiseTorch/NoiseTorch
osc service disabledrun
Source0: NoiseTorch-%{version}.tar.gz
osc service disabledrun
Source1: vendor.tar.gz
BuildRequires: c++_compiler
BuildRequires: cmake
BuildRequires: git-core
BuildRequires: hicolor-icon-theme
BuildRequires: golang(API) = 1.18
%description
NoiseTorch is an easy to use open source application for Linux with PulseAudio.
It creates a virtual microphone that suppresses noise, in any application. Use
whichever conferencing or VOIP application you like and simply select the
NoiseTorch Virtual Microphone as input to torch the sound of your mechanical
keyboard, computer fans, trains and the likes.
%prep
%autosetup -p1 -n NoiseTorch-%{version} -a1
%build
pushd c/ladspa
%make_build
ldd rnnoise_ladspa.so
popd
go generate
-tags release would enable the auto-updater (update.go)
CGO_ENABLED=0 GOOS=linux go build
%ifnarch ppc64
-buildmode=pie
%endif
-a -ldflags '-w -X main.version=%{version} -X main.distribution=rpm' .
%install
install -D -m 644 assets/icon/noisetorch.png %{buildroot}/%{_datadir}/icons/hicolor/256x256/apps/noisetorch.png
install -D -m 644 assets/noisetorch.desktop %{buildroot}/%{_datadir}/applications/noisetorch.desktop
install -D -m 755 noisetorch %{buildroot}/%{_bindir}/noisetorch
%files
%license LICENSE
%doc README.md
%caps(cap_sys_resource+ep) %{_bindir}/noisetorch
%{_datadir}/applications/noisetorch.desktop
%{_datadir}/icons/hicolor/256x256/apps/noisetorch.png
%changelog
It‘s the spec file content
and the build result is
[ 173s] ~/rpmbuild/BUILD/NoiseTorch-0.12.2
[ 173s] + go generate
[ 178s] + CGO_ENABLED=0
[ 178s] + GOOS=linux
[ 178s] + go build -buildmode=pie -a -ldflags '-w -X main.version=0.12.2 -X main.distribution=rpm' .
[ 279s] # golang.org/x/exp/shiny/driver/x11driver
[ 279s] vendor/golang.org/x/exp/shiny/driver/x11driver/buffer.go:111:12: undefined: shmClose
[ 279s] vendor/golang.org/x/exp/shiny/driver/x11driver/screen.go:328:23: undefined: shmOpen
[ 279s] vendor/golang.org/x/exp/shiny/driver/x11driver/screen.go:334:5: undefined: shmClose
[ 292s] error: Bad exit status from /var/tmp/rpm-tmp.WsW8eK (%build)
The text was updated successfully, but these errors were encountered: