Skip to content

Build failure: gittyup #371778

Closed
Closed

Description

@panchoh

Steps To Reproduce

Steps to reproduce the behavior:

  1. build gittyup

Build log

Build Log
$ nix shell nixpkgs#gittyup
warning: download buffer is full; consider increasing the 'download-buffer-size' setting
error: builder for '/nix/store/zvwg1ms2y5hlj0yhpi1brwnrs1jlpk36-gittyup-1.4.0.drv' failed with exit code 1;
       last 25 log lines:
       > [399/577] Linking CXX executable src/index/index_test
       > [400/577] Building C object test/dep/zip/CMakeFiles/zip.dir/src/zip.c.o
       > FAILED: test/dep/zip/CMakeFiles/zip.dir/src/zip.c.o
       > /nix/store/xcn9p4xxfbvlkpah7pwchpav4ab9d135-gcc-wrapper-14-20241116/bin/gcc -DCURR_YEAR=1980 -DDEBUG_OUTPUT_GENERAL -I/build/source/test/dep/zip/src -Wall -Wextra -Werror -pedantic -O3 -DNDEBUG -fPIC -fvisibility=hidden -MD -MT test/dep/zip/CMakeFiles/zip.dir/src/zip.c.o -MF test/dep/zip/CMakeFiles/zip.dir/src/zip.c.o.d -o test/dep/zip/CMakeFiles/zip.dir/src/zip.c.o -c /build/source/test/dep/zip/src/zip.c
       > In file included from /build/source/test/dep/zip/src/zip.c:39:
       > /build/source/test/dep/zip/src/miniz.h:4988:9: note: '#pragma message: Using fopen, ftello, fseeko, stat() etc. path for file I/O - this path may not support large files.'
       >  4988 | #pragma message(                                                               \
       >       |         ^~~~~~~
       > /build/source/test/dep/zip/src/zip.c: In function 'zip_stream_copy':
       > /build/source/test/dep/zip/src/zip.c:1676:24: error: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Werror=calloc-transposed-args]
       >  1676 |   *buf = calloc(sizeof(unsigned char), n);
       >       |                        ^~~~~~~~
       > /build/source/test/dep/zip/src/zip.c:1676:24: note: earlier argument should specify number of elements, later size of each element
       > cc1: all warnings being treated as errors
       > [401/577] Automatic MOC for target ui
       > [402/577] Building CXX object src/index/CMakeFiles/indexer.dir/indexer.cpp.o
       > /build/source/src/index/indexer.cpp: In function 'void {anonymous}::term(int)':
       > /build/source/src/index/indexer.cpp:100:8: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result]
       >   100 |   write(fds[0], &ch, sizeof(ch));
       >       |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
       > /build/source/src/index/indexer.cpp: In lambda function:
       > /build/source/src/index/indexer.cpp:408:13: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result]
       >   408 |         read(fds[1], &ch, sizeof(ch));
       >       |         ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
       > ninja: build stopped: subcommand failed.
       For full logs, run 'nix log /nix/store/zvwg1ms2y5hlj0yhpi1brwnrs1jlpk36-gittyup-1.4.0.drv'.```

Additional context

Metadata

  • system: "x86_64-linux"
  • host os: Linux 6.12.8, NixOS, 25.05 (Warbler), 25.05.20250104.8f3e1f8
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.24.11
  • nixpkgs: /nix/store/khbvilmsrv4l69nwd52h27j1mp44a0xi-source

Notify maintainers


CC: @r-ryantm
(The maintainers array of this package is empty, so I did a git blame, and @r-ryantm bumped this package a few months ago, so maybe they can help. Thanks!

Note for maintainers: Please tag this issue in your PR.

Add a 👍 reaction to issues you find important.

Activity

  1. added
    0.kind: build failure
    on Jan 7, 2025
  2. self-assigned this
    on Jan 7, 2025
  3. phijor commented on Jan 7, 2025

    @phijor
    Contributor

    This seems to have been fixed upstream (Murmele/Gittyup@d36eba1). There has not yet been a release containing the fix though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

0.kind: build failure

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions