[Bug 2092286] Re: onnxruntime fails to build on amd64 and arm64

2024-12-20 Thread Launchpad Bug Tracker
This bug was fixed in the package onnxruntime - 1.19.2+dfsg-2ubuntu1 --- onnxruntime (1.19.2+dfsg-2ubuntu1) plucky; urgency=medium * d/rules: disable O3 optimization and LTO to fix FTBFS on amd64 and arm64 (LP: #2092286) -- Mateus Rodrigues de Morais Thu, 19 Dec 2024 15:50:3

[Bug 2092286] Re: onnxruntime fails to build on amd64 and arm64

2024-12-20 Thread Simon Quigley
This seems reasonable for Ubuntu, but I'm not sure dpkg has -O3 in Debian. See https://launchpad.net/ubuntu/+source/dpkg/1.22.11ubuntu2 - I'm not the Debian maintainer, but it's somewhat likely it'll be rejected. No big deal, uploading your change to Ubuntu. ** Changed in: onnxruntime (Ubuntu)

[Bug 2092286] Re: onnxruntime fails to build on amd64 and arm64

2024-12-20 Thread Mateus Rodrigues de Morais
This fix was also forwarded to Debian: https://salsa.debian.org/deeplearning- team/onnxruntime/-/merge_requests/1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2092286 Title: onnxruntime fails to bu

[Bug 2092286] Re: onnxruntime fails to build on amd64 and arm64

2024-12-20 Thread Mateus Rodrigues de Morais
Fixed by disabling LTO and O3 optimization. PPA test build available at: https://launchpad.net/~mateus- morais/+archive/ubuntu/webrtc-audio-processing ** Patch added: "fix-amd64-arm64-ftbfs.patch" https://bugs.launchpad.net/ubuntu/+source/onnxruntime/+bug/2092286/+attachment/5846535/+files/fi

[Bug 2092286] Re: onnxruntime fails to build on amd64 and arm64

2024-12-20 Thread Mateus Rodrigues de Morais
PPA autopkgtest results: - amd64 [PASS]: https://autopkgtest.ubuntu.com/results/autopkgtest-plucky-mateus-morais-webrtc-audio-processing/plucky/amd64/o/onnxruntime/20241220_122349_af3f3@/log.gz - arm64 [PASS]: https://autopkgtest.ubuntu.com/results/autopkgtest-plucky-mateus-morais-webrtc-audio-p

[Bug 2092286] Re: onnxruntime fails to build on amd64 and arm64

2024-12-20 Thread Ubuntu Foundations Team Bug Bot
The attachment "fix-amd64-arm64-ftbfs.patch" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag

[Bug 2092286] Re: onnxruntime fails to build on amd64 and arm64

2024-12-20 Thread Mateus Rodrigues de Morais
Fixed by disabling LTO and using O2 optimization. PPA test build available at: https://launchpad.net/~mateus- morais/+archive/ubuntu/webrtc-audio-processing ** Patch added: "fix-amd64-arm64-ftbfs.patch" https://bugs.launchpad.net/ubuntu/+source/onnxruntime/+bug/2092286/+attachment/5846530/+fi