Skip to content

libreoffice-collabora: Doesn't build on x86_64-linux and aarch64-linux #383483

@dwt

Description

@dwt

Nixpkgs version

  • Unstable (25.05)

Describe the bug

libreoffice-collabora doesn't build on unstable and master for {x86-64,aarch64}-linux

Steps to reproduce

nix build --system aarch64-linux github:NixOS/nixpkgs/master#libreoffice-collabora --print-build-logs
nix build --system x86_64-linux github:NixOS/nixpkgs/master#libreoffice-collabora --print-build-logs

Expected behaviour

Should build

Screenshots

No response

Relevant log output

error: build of '/nix/store/2wg085392j65lml6aqz0y6xjklpn4aph-libreoffice-24.04.5-4.drv' on 'ssh-ng://rosetta-builder' failed: builder for '/nix/store/2wg085392j65lml6aqz0y6xjklpn4aph-libreoffice-24.04.5-4.drv' failed with exit code 1;
       last 25 log lines:
       > Running phase: patchPhase
       > applying patch /nix/store/g2n53r170b5zvc9xhpq26h6g4cifj2v7-skip-broken-tests.patch
       > patching file desktop/qa/desktop_lib/test_desktop_lib.cxx
       > Hunk #1 succeeded at 601 (offset 6 lines).
       > Hunk #2 succeeded at 633 (offset 6 lines).
       > patching file svgio/qa/cppunit/data/tdf160386.svg
       > patching file sw/qa/core/accessibilitycheck/AccessibilityCheckTest.cxx
       > Hunk #1 succeeded at 284 (offset -77 lines).
       > patching file sw/qa/core/text/text.cxx
       > Hunk #1 succeeded at 1579 (offset -51 lines).
       > patching file sw/qa/extras/htmlimport/htmlimport.cxx
       > Hunk #1 succeeded at 301 (offset -7 lines).
       > patching file sw/qa/extras/layout/layout3.cxx
       > Hunk #1 succeeded at 497 with fuzz 1 (offset -541 lines).
       > patching file sw/qa/extras/odfimport/odfimport.cxx
       > Hunk #1 succeeded at 599 (offset -3 lines).
       > patching file sw/qa/extras/tiledrendering/tiledrendering.cxx
       > Hunk #1 succeeded at 2810 (offset 48 lines).
       > Hunk #2 succeeded at 3098 (offset 48 lines).
       > Hunk #3 succeeded at 4143 (offset 48 lines).
       > patching file sw/qa/extras/uiwriter/uiwriter5.cxx
       > Hunk #1 succeeded at 1558 (offset -13 lines).
       > patching file sw/qa/extras/odfexport/odfexport2.cxx
       > Hunk #1 FAILED at 1711.
       > 1 out of 1 hunk FAILED -- saving rejects to file sw/qa/extras/odfexport/odfexport2.cxx.rej
       For full logs, run 'nix log /nix/store/2wg085392j65lml6aqz0y6xjklpn4aph-libreoffice-24.04.5-4.drv'.
error: builder for '/nix/store/2wg085392j65lml6aqz0y6xjklpn4aph-libreoffice-24.04.5-4.drv' failed with exit code 1

Additional context

I discovered this while rebasing #383163

System metadata

❯ nix-shell -p nix-info --run "nix-info -m"
fetching path input 'path:/nix/store/gr8cixx9d330s6qyxa6kv7nyd4ig6kpc-source'
 - system: `"aarch64-darwin"`
 - host os: `Darwin 24.3.0, macOS 15.3.1`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Lix, like Nix) 2.92.0
System type: aarch64-darwin
Additional system types: aarch64-darwin, x86_64-darwin
Features: gc, signed-caches
System configuration file: /etc/nix/nix.conf
User configuration files: /Users/dwt/.config/nix/nix.conf:/Users/dwt/.nix-profile/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf
Store directory: /nix/store
State directory: /nix/var/nix
Data directory: /nix/store/vs6s56c7crvj75fmmyrc4f1wh4q7pbns-lix-2.92.0/share`
 - nixpkgs: `/nix/store/gr8cixx9d330s6qyxa6kv7nyd4ig6kpc-source`

However, please note that I have built this using my linux builder, for which I use https://github.com/cpick/nix-rosetta-builder

Notify maintainers

@7c6f434c

Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions