NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.41k stars 14.35k forks source link

Steam / gtk+3 broken on master #118155

Closed jonringer closed 3 years ago

jonringer commented 3 years ago

gtk+3 is broken on master

       > FAILED: docs/reference/libtracker-sparql/examples/writeonly-example.p/writeonly-example.c.o
       > gcc -Idocs/reference/libtracker-sparql/examples/writeonly-example.p -Idocs/reference/libtracker-sparql/examples -I../docs/reference/libtracker-sparql/examples -Isrc -I../src -I/nix/store/w98bzaw8cgpd3h9vwhg0qs2qgm96wxg0-glib-2.66.8-dev/include/glib-2.0 -I/nix/store/l8k9ji93sb9yd6mfig1jgh4g0imr7ygx-glib-2.66.8/lib/glib-2.0/include -I/nix/store/w98bzaw8cgpd3h9vwhg0qs2qgm96wxg0-glib-2.66.8-dev/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wformat -Wformat-security -Wno-pointer-sign -DTRACKER_COMPILATION '-DG_LOG_DOMAIN="Tracker"' -DG_LOG_STRUCTURED=1 -MD -MQ docs/reference/libtracker-sparql/examples/writeonly-example.p/writeonly-example.c.o -MF docs/reference/libtracker-sparql/examples/writeonly-example.p/writeonly-example.c.o.d -o docs/reference/libtracker-sparql/examples/writeonly-example.p/writeonly-example.c.o -c ../docs/reference/libtracker-sparql/examples/writeonly-example.c
       > In file included from ../docs/reference/libtracker-sparql/examples/writeonly-example.c:1:
       > ../src/libtracker-sparql/tracker-sparql.h:36:10: fatal error: libtracker-sparql/tracker-sparql-enum-types.h: No such file or directory
       >    36 | #include <libtracker-sparql/tracker-sparql-enum-types.h>
       >       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       > compilation terminated.
       > [32/168] Generating tracker-enum-types.h with a custom command (wrapped by meson to capture output)ls[Kresdump.vala src/libtracker-sparql/tracker-sparql-3.0.vapi
       > ninja: build stopped: subcommand failed.
       For full logs, run 'nix log /nix/store/rpaqyf426i2lv6q478kzfy2882cxgp30-tracker-3.0.3.drv'.

The header is from gnome3.tracker, which seems to be passed

 $ nix-locate libtracker-sparql/tracker-sparql-enum-types.h
gnome3.tracker.dev                                  916 r /nix/store/cqdzv09xdwqbkz9ymajgmch5fs5n4lvb-tracker-3.0.1-dev/include/tracker-3.0/libtracker-sparql/tracker-sparql-enum-types.h
$ nix show-derivation /nix/store/biqlzpi9blxhqa270ppckdlz42visxbr-gtk+3-3.24.27.drv | grep tracker
      "/nix/store/rpaqyf426i2lv6q478kzfy2882cxgp30-tracker-3.0.3.drv": [
      "buildInputs": "/nix/store/ldzagpm90b9577ibxk6k73sgk8knm64k-libxkbcommon-1.1.0-dev /nix/store/3w4hvwb5bjrhafx5g0ahj020p8vy68zk-epoxy-1.5.4-dev /nix/store/s66rfjj9rpwbi2dls044jjn527x8vxd2-json-glib-1.6.2-dev /nix/store/z526yrbi0lmpcfcam8cccqgpmpj4h34d-iso-codes-4.6.0 /nix/store/w7glqhm22zhscawjhy1nv382ypr3d8cc-tracker-3.0.3-dev",
      "mesonFlags": "-Dgtk_doc=true -Dtests=false -Dtracker3=true -Dbroadway_backend=true",

I haven't pin-pointed the failing commit yet, but it looks like meson isn't getting the include path correctly.

cc @NixOS/gnome

jonringer commented 3 years ago

actually, this seems to be from the 32bit version of tracker failing to build, the 64bit builds fine.

SFrijters commented 3 years ago

I'm seeing the same issue - currently bisecting, but it's a long run that'll have to continue overnight for me.

bkchr commented 3 years ago

This https://github.com/NixOS/nixpkgs/pull/118365 fixes it for me

jonringer commented 3 years ago

This is odd, my server can build this just fine, but my desktop fails to build it...

EDIT: server: 3990X desktop: 3900X

jonringer commented 3 years ago

actually, this seems to be from the 32bit version of tracker failing to build, the 64bit builds fine.

This is only because hydra has a cache hit on this.

jbalme commented 3 years ago

Does Hydra even build gtk3 32-bit anymore?

https://hydra.nixos.org/job/nixos/trunk-combined/nixpkgs.gtk3.i686-linux/latest redirects to a build from 2017.

avnik commented 3 years ago

Happens with 64bit as well. Updating tracker to 3.1.1 fix it. (also require python-tap for new tests). I can PR in a hour or so. (at least ti builds, but full system build will take ~36hours more, so I'd like if someone will be able build/test fast before merge

vcunat commented 3 years ago

@jbalme: the 32-bit tracker gets built on Hydra as dependency of some other jobs, e.g. wine or steam.

mweinelt commented 3 years ago

Bisected to 9d03ff52229f36ff4b4e9d0ee2db4a46b90512bb

9d03ff52229f36ff4b4e9d0ee2db4a46b90512bb is the first bad commit
commit 9d03ff52229f36ff4b4e9d0ee2db4a46b90512bb
Author: Frederik Rietdijk <fridh@fridh.nl>
Date:   Wed Dec 30 14:49:10 2020 +0100

    python: reproducible builds

    Achieve reproducible builds of the interpreter. Note this meant
    disabling optimizations again.

 doc/languages-frameworks/python.section.md         | 17 ++++++++++
 nixos/doc/manual/release-notes/rl-2105.xml         |  6 ++++
 .../interpreters/python/cpython/2.7/default.nix    | 36 ++++++++++++++++------
 .../interpreters/python/cpython/default.nix        | 33 ++++++++++++--------
 4 files changed, 71 insertions(+), 21 deletions(-)
bisect run success

And indeed it fails differently (later during testing) after reverting that

25/31 tracker:data+slow / sparql                      FAIL             1.15s   killed by signal 5 SIGTRAP
SFrijters commented 3 years ago

Is this for the 32bit build, or 64, or both? And how does this interact with the update of tracker to 3.1.1?

mweinelt commented 3 years ago

This was for the i686-linux version of tracker. Sorry, should've mentioned that. I don't know how that interacts with #118365, and if that works on current staging we'll be fine anyway, no?

❯ nom-build -A tracker --system i686-linux
these derivations will be built:
  /nix/store/wifngkbymq057aqlg8y5icxzpdbwng27-tracker-3.0.3.drv
building '/nix/store/wifngkbymq057aqlg8y5icxzpdbwng27-tracker-3.0.3.drv'...
unpacking sources
unpacking source archive /nix/store/pacg8hj06a8r15c78yri3r9a7sc57y68-tracker-3.0.3.tar.xz
source root is tracker-3.0.3
setting SOURCE_DATE_EPOCH to timestamp 1610300785 of file tracker-3.0.3/utils/uncrustify.cfg
patching sources
applying patch /nix/store/q4fp1r4ks7vh83xcgh2kd3rbp3nj7l4k-fix-paths.patch
patching file docs/manpages/meson.build
patching script interpreter paths in utils/g-ir-merge/g-ir-merge
find: 'utils/g-ir-merge/g-ir-merge': No such file or directory
patching script interpreter paths in utils/data-generators/cc/generate
utils/data-generators/cc/generate: interpreter directive changed from "#! /usr/bin/env python3" to "/nix/store/2vp1q2k16p65q7c2g0hzysvl5wbj0n0g-python3-3.8.8/bin/python3"
patching script interpreter paths in tests/functional-tests/test-runner.sh.in
find: 'tests/functional-tests/test-runner.sh.in': No such file or directory
patching script interpreter paths in tests/functional-tests/__init__.py tests/functional-tests/cli.py tests/functional-tests/coalesce.py tests/functional-tests/collation.py tests/functional-tests/concurrent-query.py tests/functional-tests/configuration.py tests/functional-tests/distance.py tests/functional-tests/fixtures.py tests/functional-tests/fts-functions.py tests/functional-tests/graph.py tests/functional-tests/group-concat.py tests/functional-tests/insertion.py tests/functional-tests/notifier.py tests/functional-tests/ontology-changes.py tests/functional-tests/portal.py tests/functional-tests/query.py tests/functional-tests/sparql-bugs.py
configuring
meson flags: --buildtype=plain         --libdir=/nix/store/jykdbxc6gj6qibix55h7bsimixi5wsy3-tracker-3.0.3/lib --libexecdir=/nix/store/jykdbxc6gj6qibix55h7bsimixi5wsy3-tracker-3.0.3/libexec         --bindir=/nix/store/jykdbxc6gj6qibix55h7bsimixi5wsy3-tracker-3.0.3/bin --sbindir=/nix/store/jykdbxc6gj6qibix55h7bsimixi5wsy3-tracker-3.0.3/sbin         --includedir=/nix/store/b718xv4pl3l974vvccl38bbjipn07ai4-tracker-3.0.3-dev/include         --mandir=/nix/store/jykdbxc6gj6qibix55h7bsimixi5wsy3-tracker-3.0.3/share/man --infodir=/nix/store/jykdbxc6gj6qibix55h7bsimixi5wsy3-tracker-3.0.3/share/info         --localedir=/nix/store/jykdbxc6gj6qibix55h7bsimixi5wsy3-tracker-3.0.3/share/locale         -Dauto_features=enabled         -Dwrap_mode=nodownload         --prefix=/nix/store/jykdbxc6gj6qibix55h7bsimixi5wsy3-tracker-3.0.3 -Ddocs=true
The Meson build system
Version: 0.57.1
Source dir: /build/tracker-3.0.3
Build dir: /build/tracker-3.0.3/build
Build type: native build
Project name: tracker
Project version: 3.0.3
C compiler for the host machine: gcc (gcc 10.2.0 "gcc (GCC) 10.2.0")
C linker for the host machine: gcc ld.bfd 2.35.1
Vala compiler for the host machine: valac (valac 0.48.14)
Host machine cpu family: x86
Host machine cpu: i686
Found pkg-config: /nix/store/xgiljr7rz526qyi0h0c6bzvavnj7jjmm-pkg-config-wrapper-0.29.2/bin/pkg-config (0.29.2)
Run-time dependency gio-2.0 found: YES 2.66.8
Run-time dependency gio-unix-2.0 found: YES 2.66.8
Run-time dependency glib-2.0 found: YES 2.66.8
Run-time dependency gmodule-2.0 found: YES 2.66.8
Run-time dependency gobject-2.0 found: YES 2.66.8
Run-time dependency gobject-introspection-1.0 found: YES 1.66.1
Run-time dependency icu-i18n found: YES 68.2
Run-time dependency icu-uc found: YES 68.2
Run-time dependency json-glib-1.0 found: YES 1.6.2
Run-time dependency libsoup-2.4 found: YES 2.72.0
Run-time dependency libxml-2.0 found: YES 2.9.10
Run-time dependency sqlite3 found: YES 3.35.2
Run-time dependency dbus-1 found: YES 1.12.20
Library m found: YES
Program asciidoc found: YES (/nix/store/xicnxja3hnmda4nzxkpigrgnvqnb4wgj-asciidoc-9.0.4/bin/asciidoc)
Program xsltproc found: YES (/nix/store/xrcb0fdy95rbw7bi0jrbkvx7fj50j3m9-libxslt-1.1.34-bin/bin/xsltproc)
Library stemmer found: YES
Checking if "sqlite3 has builtin FTS5 module" with dependency sqlite3 runs: YES
Message: Using sqlite3 builtin FTS module
Run-time dependency systemd found: YES 247
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency bash-completion found: NO (tried pkgconfig and cmake)
Checking for function "posix_fadvise" : YES
Header <sys/statvfs.h> has symbol "statvfs64" : YES
Configuring config.h using configuration
Program glib-mkenums found: YES (/nix/store/c0cykmqwk0apchajxkqpdigfjga9rqpl-glib-2.66.8-dev/bin/glib-mkenums)
Found pkg-config: /nix/store/xgiljr7rz526qyi0h0c6bzvavnj7jjmm-pkg-config-wrapper-0.29.2/bin/pkg-config (0.29.2)
Program glib-compile-resources found: YES (/nix/store/c0cykmqwk0apchajxkqpdigfjga9rqpl-glib-2.66.8-dev/bin/glib-compile-resources)
Program glib-mkenums found: YES (/nix/store/c0cykmqwk0apchajxkqpdigfjga9rqpl-glib-2.66.8-dev/bin/glib-mkenums)
Program glib-mkenums found: YES (/nix/store/c0cykmqwk0apchajxkqpdigfjga9rqpl-glib-2.66.8-dev/bin/glib-mkenums)
Library tracker-sparql found: YES
Build-time dependency gobject-introspection-1.0 found: YES 1.66.1
Dependency gobject-introspection-1.0 found: YES 1.66.1 (cached)
Program g-ir-scanner found: YES (/nix/store/vlhdnmmsq3w9bkkcpjqaw518bp65dqrq-gobject-introspection-1.66.1-dev/bin/g-ir-scanner)
Dependency gobject-introspection-1.0 found: YES 1.66.1 (cached)
Program g-ir-compiler found: YES (/nix/store/vlhdnmmsq3w9bkkcpjqaw518bp65dqrq-gobject-introspection-1.66.1-dev/bin/g-ir-compiler)
Program make-subcommand-links.sh found: YES (/bin/sh /build/tracker-3.0.3/src/tracker/make-subcommand-links.sh)
Configuring org.freedesktop.portal.Tracker.service using configuration
Configuring tracker-xdg-portal-3.service using configuration
Dependency glib-2.0 found: YES 2.66.8 (cached)
Configuring version.xml using configuration
Program gtkdoc-scan found: YES (/nix/store/zd8zl3s3mj84hiy4zd3xscpl6lqkr40x-gtk-doc-1.33.2/bin/gtkdoc-scan)
Program gtkdoc-scangobj found: YES (/nix/store/zd8zl3s3mj84hiy4zd3xscpl6lqkr40x-gtk-doc-1.33.2/bin/gtkdoc-scangobj)
Program gtkdoc-mkdb found: YES (/nix/store/zd8zl3s3mj84hiy4zd3xscpl6lqkr40x-gtk-doc-1.33.2/bin/gtkdoc-mkdb)
Program gtkdoc-mkhtml found: YES (/nix/store/zd8zl3s3mj84hiy4zd3xscpl6lqkr40x-gtk-doc-1.33.2/bin/gtkdoc-mkhtml)
Program gtkdoc-fixxref found: YES (/nix/store/zd8zl3s3mj84hiy4zd3xscpl6lqkr40x-gtk-doc-1.33.2/bin/gtkdoc-fixxref)
Configuring version.xml using configuration
Program gtkdoc-scan found: YES (/nix/store/zd8zl3s3mj84hiy4zd3xscpl6lqkr40x-gtk-doc-1.33.2/bin/gtkdoc-scan)
Program gtkdoc-scangobj found: YES (/nix/store/zd8zl3s3mj84hiy4zd3xscpl6lqkr40x-gtk-doc-1.33.2/bin/gtkdoc-scangobj)
Program gtkdoc-mkdb found: YES (/nix/store/zd8zl3s3mj84hiy4zd3xscpl6lqkr40x-gtk-doc-1.33.2/bin/gtkdoc-mkdb)
Program gtkdoc-mkhtml found: YES (/nix/store/zd8zl3s3mj84hiy4zd3xscpl6lqkr40x-gtk-doc-1.33.2/bin/gtkdoc-mkhtml)
Program gtkdoc-fixxref found: YES (/nix/store/zd8zl3s3mj84hiy4zd3xscpl6lqkr40x-gtk-doc-1.33.2/bin/gtkdoc-fixxref)
Configuring tracker-sandbox using configuration
Configuring test-bus.conf using configuration
Program python3 found: YES (/nix/store/2vp1q2k16p65q7c2g0hzysvl5wbj0n0g-python3-3.8.8/bin/python3)
Configuring configuration.json using configuration
Configuring org.freedesktop.portal.Tracker.service using configuration
Message:
Build Configuration:
    Prefix:                                 /nix/store/jykdbxc6gj6qibix55h7bsimixi5wsy3-tracker-3.0.3
    Source code location:                   /build/tracker-3.0.3
    Compiler:                               gcc

Feature Support:
    Unicode support library:                icu
    Use external FTS module:                false
    Build with Stemming support:            true
    Bash completion support:                /nix/store/jykdbxc6gj6qibix55h7bsimixi5wsy3-tracker-3.0.3/share/bash-completion/completions
Build targets in project: 68

Found ninja-1.10.2 at /nix/store/mkc3yknnvpf47yxl9gvjqfvlgrpfjydk-ninja-1.10.2/bin/ninja
meson: enabled parallel building
building
build flags: -j12 -l12
[17/168] Generating tracker3-import.1 with a custom commandommon.a.p/tracker-locale.c.o[K[Ksparql/remote/tracker-json-cursor.vala ../src/libtracker-sparql/remote/tracker-xml-cursor.vala ../src/libtracker-sparql/remote/tracker-remote.valacker-sparql/bus/tracker-bus-statement.vala
Note: Writing tracker3-import.1
[19/168] Generating tracker3-sql.1 with a custom commandr-common.a.p/tracker-language.c.oo
Note: Writing tracker3-sql.1
[21/168] Generating tracker3-endpoint.1 with a custom commandp/tracker-fts.c.oer-libicu.c.o
Note: Writing tracker3-endpoint.1
[22/168] Generating tracker3-export.1 with a custom commanda.p/tracker-fts-tokenizer.c.o
Note: Writing tracker3-export.1
[59/168] Compiling C object src/libtracker-data/libtracker-data.a.p/tracker-sparql-parser.c.otement.c.oKr-sparql-enum-types.c.o
../src/libtracker-data/tracker-sparql-parser.c: In function 'tracker_parser_state_propagate_error':
../src/libtracker-data/tracker-sparql-parser.c:737:55: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'gssize' {aka 'int'} [-Wformat=]
  737 |  g_string_append_printf (str, "Parser error at byte %ld, expected ",
      |                                                     ~~^
      |                                                       |
      |                                                       long int
      |                                                     %d
  738 |                          state->error_len);
      |                          ~~~~~~~~~~~~~~~~
      |                               |
      |                               gssize {aka int}
[80/168] Generating tracker3-sparql.1 with a custom commandparql-3.0.so.0.3.0.p/meson-generated_.._.._ontologies_tracker_gresources.c.osparql/direct/tracker-direct.vapi ../src/libtracker-sparql/tracker-backend.vala src/libtracker-sparql/remote/tracker-remote.vapi src/libtracker-sparql/bus/tracker-bus.vapi
Note: Writing tracker3-sparql.1
[85/168] Generating tracker-xdg-portal-3.1 with a custom command.oirect.acker-direct.c.oer-remote.c.o
Note: Writing tracker-xdg-portal-3.1
[139/168] Compiling C object src/libtracker-data/libtracker-data.a.p/tracker-sparql.c.os-query-cancellation.c.oKa src/libtracker-sparql/tracker-sparql-3.0.vapi
../src/libtracker-data/tracker-sparql.c: In function 'prepare_query':
../src/libtracker-data/tracker-sparql.c:9398:57: warning: passing argument 2 of 'tracker_string_to_date' makes pointer from integer without a cast [-Wint-conversion]
 9398 |    datetime = tracker_string_to_date (binding->literal, offset, &inner_error);
      |                                                         ^~~~~~
      |                                                         |
      |                                                         gint {aka int}
In file included from ../src/libtracker-common/tracker-common.h:31,
                 from ../src/libtracker-data/tracker-data-manager.h:37,
                 from ../src/libtracker-data/tracker-data-query.h:29,
                 from ../src/libtracker-data/tracker-sparql.c:26:
../src/libtracker-common/tracker-date-time.h:56:63: note: expected 'gint *' {aka 'int *'} but argument is of type 'gint' {aka 'int'}
   56 |                                                 gint         *offset,
      |                                                 ~~~~~~~~~~~~~~^~~~~~
../src/libtracker-data/tracker-sparql.c: In function 'tracker_sparql_new_update':
../src/libtracker-data/tracker-sparql.c:9541:33: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'gsize' {aka 'unsigned int'} [-Wformat=]
 9541 |         "Parser error at byte %ld: Expected NIL character",
      |                               ~~^
      |                                 |
      |                                 long int
      |                               %d
 9542 |         len);
      |         ~~~
      |         |
      |         gsize {aka unsigned int}
[167/168] Generating Tracker-3.0.gir with a custom commandement-testationek-nodes-examplel-3.0.so.0.3.0.symbols
g-ir-scanner: link: gcc -o /build/tracker-3.0.3/build/tmp-introspectw3wnjmmx/Tracker-3.0 /build/tracker-3.0.3/build/tmp-introspectw3wnjmmx/Tracker-3.0.o -L. -Wl,-rpath,. -Wl,--no-as-needed -L/build/tracker-3.0.3/build/src/libtracker-sparql -Wl,-rpath,/build/tracker-3.0.3/build/src/libtracker-sparql -L./src/libtracker-sparql -L/nix/store/sj0sja50rw6a61jpg2z1ky45s7wpqnff-glib-2.66.8/lib -Wl,-rpath,/nix/store/sj0sja50rw6a61jpg2z1ky45s7wpqnff-glib-2.66.8/lib -L/nix/store/0h698h5fy861kb56jakkh7qw1j43yvg4-json-glib-1.6.2/lib -Wl,-rpath,/nix/store/0h698h5fy861kb56jakkh7qw1j43yvg4-json-glib-1.6.2/lib -L/nix/store/jzgrz4cmalsm92x261ixnfaxv8r7yab0-libsoup-2.72.0/lib -Wl,-rpath,/nix/store/jzgrz4cmalsm92x261ixnfaxv8r7yab0-libsoup-2.72.0/lib -L/nix/store/fj759acq0fsg83215flgdbc3h4dhp2h3-libxml2-2.9.10/lib -Wl,-rpath,/nix/store/fj759acq0fsg83215flgdbc3h4dhp2h3-libxml2-2.9.10/lib -L/nix/store/mcy83p8m5cxkz0glv0ynzf069q8vn7wy-gobject-introspection-1.66.1/lib -Wl,-rpath,/nix/store/mcy83p8m5cxkz0glv0ynzf069q8vn7wy-gobject-introspection-1.66.1/lib -ltracker-sparql-3.0 -ltracker-sparql-3.0 -lglib-2.0 -lgio-2.0 -lgobject-2.0 -lm -lstemmer -ljson-glib-1.0 -lsoup-2.4 -lxml2 -lgirepository-1.0 -L/nix/store/sj0sja50rw6a61jpg2z1ky45s7wpqnff-glib-2.66.8/lib -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0
/nix/store/kd2fjyhicm2400pblbxs3jy109xrr8v0-gcc-10.2.0/lib/gcc/i686-unknown-linux-gnu/10.2.0/include/stddef.h:424: syntax error, unexpected identifier in '  __float128 __max_align_f128 __attribute__((__aligned__(__alignof(__float128))));' at '__float128'
[168/168] Generating Tracker-3.0.typelib with a custom command
running tests
ninja: Entering directory `/build/tracker-3.0.3/build'
ninja: no work to do.
 1/31 tracker:functional / group-concat                       OK               0.52s
 2/31 tracker:functional / fts-functions                      OK               0.54s
 3/31 tracker:functional / coalesce                           OK               0.55s
 4/31 tracker:functional / distance                           OK               0.55s
 5/31 tracker:functional / collation                          OK               0.54s
 6/31 tracker:functional / sparql-bugs                        OK               0.58s
 7/31 tracker:gvdb / gvdb                                     OK               0.02s
 8/31 tracker:common / date-time                              OK               0.02s
 9/31 tracker:common / file-utils                             OK               0.02s
10/31 tracker:common / utils                                  OK               0.04s
11/31 tracker:data / crc32                                    OK               0.07s
12/31 tracker:data / sparql-blank                             OK               0.06s
13/31 tracker:functional / ontology-changes                   OK               0.81s
14/31 tracker:functional / query                              OK               0.88s
15/31 tracker:data / insert-or-replace                        OK               0.37s
16/31 tracker:functional / notifier                           OK               1.07s
17/31 tracker:functional+ipc / bus-query-cancellation         OK               0.57s
18/31 tracker:resource / resource                             OK               0.05s
19/31 tracker:data / ontology-change                          OK               0.54s
20/31 tracker:functional / graph                              OK               1.18s
21/31 tracker:fts / fts                                       OK               0.22s
22/31 tracker:functional / insertion                          OK               1.44s
23/31 tracker:functional / concurrent-query                   OK               1.52s
24/31 tracker:functional / cli                                OK               1.21s
25/31 tracker:data+slow / sparql                              FAIL             1.24s   killed by signal 5 SIGTRAP
>>> TRACKER_LANGUAGE_STOP_WORDS_DIR=/build/tracker-3.0.3/src/libtracker-common/stop-words MALLOC_PERTURB_=47 LANG=en_US.UTF8 /build/tracker-3.0.3/build/tests/libtracker-data/tracker-sparql-test
 ✀
Listing only the last 100 lines from a long log.
# Tracker-INFO: Applying ontologies from /build/tracker-3.0.3/tests/libtracker-data/basic
# Tracker-INFO: Saving DB locale as: 'C'
# Tracker-DEBUG: Cleaning up stale resource URIs
ok 34 /libtracker-data/sparql/basic/predicate-variable-4
# Tracker-INFO: Applying ontologies from /build/tracker-3.0.3/tests/libtracker-data/basic
# Tracker-INFO: Saving DB locale as: 'C'
# Tracker-DEBUG: Cleaning up stale resource URIs
ok 35 /libtracker-data/sparql/basic/urn-in-as
# Tracker-INFO: Applying ontologies from /build/tracker-3.0.3/tests/libtracker-data/basic
# Tracker-INFO: Saving DB locale as: 'C'
# Tracker-DEBUG: Cleaning up stale resource URIs
ok 36 /libtracker-data/sparql/basic/codepoint-escaping
# End of basic tests
# Start of bnode tests
# Tracker-INFO: Applying ontologies from /build/tracker-3.0.3/tests/libtracker-data/bnode
# Tracker-INFO: Saving DB locale as: 'C'
# Tracker-DEBUG: Cleaning up stale resource URIs
ok 37 /libtracker-data/sparql/bnode/query-1
# Tracker-INFO: Applying ontologies from /build/tracker-3.0.3/tests/libtracker-data/bnode
# Tracker-INFO: Saving DB locale as: 'C'
# Tracker-DEBUG: Cleaning up stale resource URIs
ok 38 /libtracker-data/sparql/bnode/query-2
# Tracker-INFO: Applying ontologies from /build/tracker-3.0.3/tests/libtracker-data/bnode
# Tracker-INFO: Saving DB locale as: 'C'
# Tracker-DEBUG: Cleaning up stale resource URIs
ok 39 /libtracker-data/sparql/bnode/query-3
# Tracker-INFO: Applying ontologies from /build/tracker-3.0.3/tests/libtracker-data/bnode
# Tracker-INFO: Saving DB locale as: 'C'
# Tracker-DEBUG: Cleaning up stale resource URIs
ok 40 /libtracker-data/sparql/bnode/query-4
# Tracker-INFO: Applying ontologies from /build/tracker-3.0.3/tests/libtracker-data/bnode
# Tracker-INFO: Saving DB locale as: 'C'
# Tracker-DEBUG: Cleaning up stale resource URIs
ok 41 /libtracker-data/sparql/bnode/query-5
# End of bnode tests
# Start of bnode-coreference tests
# Tracker-INFO: Applying ontologies from /build/tracker-3.0.3/tests/libtracker-data/bnode-coreference
# Tracker-INFO: Saving DB locale as: 'C'
# Tracker-DEBUG: Cleaning up stale resource URIs
ok 42 /libtracker-data/sparql/bnode-coreference/query
# End of bnode-coreference tests
# Start of bound tests
# Tracker-INFO: Applying ontologies from /build/tracker-3.0.3/tests/libtracker-data/bound
# Tracker-INFO: Saving DB locale as: 'C'
# Tracker-DEBUG: Cleaning up stale resource URIs
ok 43 /libtracker-data/sparql/bound/bound1
# End of bound tests
# Start of unbound tests
# Tracker-INFO: Applying ontologies from /build/tracker-3.0.3/tests/libtracker-data/unbound
# Tracker-INFO: Saving DB locale as: 'C'
# Tracker-DEBUG: Cleaning up stale resource URIs
ok 44 /libtracker-data/sparql/unbound/unbound-1
# Tracker-INFO: Applying ontologies from /build/tracker-3.0.3/tests/libtracker-data/unbound
# Tracker-INFO: Saving DB locale as: 'C'
# Tracker-DEBUG: Cleaning up stale resource URIs
ok 45 /libtracker-data/sparql/unbound/unbound-2
# Tracker-INFO: Applying ontologies from /build/tracker-3.0.3/tests/libtracker-data/unbound
# Tracker-INFO: Saving DB locale as: 'C'
# Tracker-DEBUG: Cleaning up stale resource URIs
ok 46 /libtracker-data/sparql/unbound/unbound-3
# Tracker-INFO: Applying ontologies from /build/tracker-3.0.3/tests/libtracker-data/unbound
# Tracker-INFO: Saving DB locale as: 'C'
# Tracker-DEBUG: Cleaning up stale resource URIs
ok 47 /libtracker-data/sparql/unbound/unbound-4
# Tracker-INFO: Applying ontologies from /build/tracker-3.0.3/tests/libtracker-data/unbound
# Tracker-INFO: Saving DB locale as: 'C'
# Tracker-DEBUG: Cleaning up stale resource URIs
ok 48 /libtracker-data/sparql/unbound/unbound-5
# End of unbound tests
# Start of construct tests
# Tracker-INFO: Applying ontologies from /build/tracker-3.0.3/tests/libtracker-data/construct
# Tracker-INFO: Saving DB locale as: 'C'
# Tracker-DEBUG: Cleaning up stale resource URIs
ok 49 /libtracker-data/sparql/construct/construct-where
# Tracker-INFO: Applying ontologies from /build/tracker-3.0.3/tests/libtracker-data/construct
# Tracker-INFO: Saving DB locale as: 'C'
# Tracker-DEBUG: Cleaning up stale resource URIs
ok 50 /libtracker-data/sparql/construct/construct-pattern
# Tracker-INFO: Applying ontologies from /build/tracker-3.0.3/tests/libtracker-data/construct
# Tracker-INFO: Saving DB locale as: 'C'
# Tracker-DEBUG: Cleaning up stale resource URIs
ok 51 /libtracker-data/sparql/construct/construct-with-modifiers
# End of construct tests
# Start of datetime tests
# Tracker-INFO: Applying ontologies from /build/tracker-3.0.3/tests/libtracker-data/datetime
# Tracker-INFO: Saving DB locale as: 'C'
Bail out! Tracker-FATAL-ERROR: --- /build/tracker-3.0.3/tests/libtracker-data/datetime/direct-1.out     2021-01-10 17:46:25.536675500 +0000
+++ -   2021-04-06 16:16:34.892391306 +0000
@@ -1 +1 @@
-"0000-01-01T00:00:00Z" "2020-01-01T00:00:00Z"  "9999-01-01T00:00:00Z"
+"1969-12-31T23:59:59Z" "2020-01-01T00:00:00Z"  "1969-12-31T23:59:59Z"

stderr:

(/build/tracker-3.0.3/build/tests/libtracker-data/tracker-sparql-test:2082): Tracker-ERROR **: 16:16:34.892: --- /build/tracker-3.0.3/tests/libtracker-data/datetime/direct-1.out       2021-01-10 17:46:25.536675500 +0000
+++ -   2021-04-06 16:16:34.892391306 +0000
@@ -1 +1 @@
-"0000-01-01T00:00:00Z" "2020-01-01T00:00:00Z"  "9999-01-01T00:00:00Z"
+"1969-12-31T23:59:59Z" "2020-01-01T00:00:00Z"  "1969-12-31T23:59:59Z"

26/31 tracker:functional / portal                             OK               1.60s
27/31 tracker:data+slow / ontology                            OK               2.40s
28/31 tracker:data / service                                  OK               2.77s
29/31 tracker:sparql / sparql                                 OK               0.42s
30/31 tracker:sparql / statement                              OK               0.42s
31/31 tracker:sparql / fd                                     OK               0.75s

Summary of Failures:

25/31 tracker:data+slow / sparql                      FAIL             1.24s   killed by signal 5 SIGTRAP

Ok:                 30
Expected Fail:      0
Fail:               1
Unexpected Pass:    0
Skipped:            0
Timeout:            0

Full log written to /build/tracker-3.0.3/build/meson-logs/testlog.txt
builder for '/nix/store/wifngkbymq057aqlg8y5icxzpdbwng27-tracker-3.0.3.drv' failed with exit code 1
error: build of '/nix/store/wifngkbymq057aqlg8y5icxzpdbwng27-tracker-3.0.3.drv' failed
SFrijters commented 3 years ago

As far as I understand it now, #118365 exhibits the same test failure as above with tracker 3.1.1, without reverting 9d03ff5. In my opinion this is an upstream bug (https://gitlab.gnome.org/GNOME/tracker/-/issues/292). So I think the best option is to go to the new version and disable the two failing tests (if you disable this one there is another one that fails), as I also mentioned in the PR.

mweinelt commented 3 years ago

FWIW: tracker-3.0.3 for x86_64-linux builds with this revert.

dschrempf commented 3 years ago

A short question, I am using the nixpkgs-unstable channel but still, I am hit by this bug (where the test fails). Has this moved from master to unstable, or am I somehow compiling against master without my knowledge?

teto commented 3 years ago

you can check the git logs but I hit this on nixos-unstable so it has reached the channels.

buckley310 commented 3 years ago

I'm curious how the nixos.iso_gnome test is passing while gnome is broken 🤔

vcunat commented 3 years ago

I think we're mixing two issues here. One only happens sometimes (and the build farm got lucky and/or retried); the other only happens on i686 where tracker is not in the release-critical set (nor its closure).

dschrempf commented 3 years ago

I consistently get the SIGTRAP error of the test.

EDIT: And I am using x86_64. (But maybe some packages requires the 32bit version?) EDIT2: I just checked, it is the i686 version, thanks for the clarification. The build was triggered by wine.

andoriyu commented 3 years ago

Happens to me on amd64. Unless something is pulling 32bit packages...

On Wed, Apr 7, 2021, 4:57 AM Dominik Schrempf @.***> wrote:

I consistently get the SIGTRAP error of the test.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/NixOS/nixpkgs/issues/118155#issuecomment-814854259, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABEFG2GJIMYHJFJ6WHVOUTTHRCBHANCNFSM42FAWV5Q .

mweinelt commented 3 years ago

Happens to me on amd64. Unless something is pulling 32bit packages...

At least wine and steam do.

jonringer commented 3 years ago

Unless something is pulling 32bit packages...

buildFHSUserEnv has a multiPkgs argument, which will build both 64 and 32 bit versions of everything defined. This was done because many games require 32bit versions of some libraries to be available.

EDIT: english may be my first language, but may as well be my second

lovesegfault commented 3 years ago

The issue seems to have been fixed upstream: https://gitlab.gnome.org/GNOME/tracker/-/commit/57386f7e5a722a4b24ec503cb4cf1da57b44588c

jbalme commented 3 years ago

Unless something is pulling 32bit packages...

buildFHSUserEnv has a multiPkgs argument, which will build both 64 and 32 bit versions of everything defined. This was done because many games require 32bit versions of some libraries to be available.

I believe Steam itself is 32-bit, unless that changed in recent years.

The issue seems to have been fixed upstream: https://gitlab.gnome.org/GNOME/tracker/-/commit/57386f7e5a722a4b24ec503cb4cf1da57b44588c

Any idea how long it will take until that makes it into a release? Should we keep it as a patch against 3.1.1 in the meanwhile?

mweinelt commented 3 years ago

@bkchr @SFrijters Can you try to apply that patch on top of 3.1.1?

SFrijters commented 3 years ago

@mweinelt Looking at the commits we need more than one patch since e.g. dad7a4b6 in the same MR adds the helper functions that are used to fix the issue. Quoting upstream https://gitlab.gnome.org/GNOME/tracker/-/issues/292#note_1076661

GNOME 40.1 is scheduled for May 1st from a look at https://wiki.gnome.org/Forty. I'll be releasing Tracker 3.1.2 around then the latest :). In the mean time it's fair to pick the fix.

I don't know if there is a nice nix(pkgs) way to pick a range of commits as patches? Alternatively, is it allowed to go to version unstable-2021-04-07 and use the non-master commit e1c060e3e495491ee424d21cb2d10abcd474f793 for the time being?

jonringer commented 3 years ago

I don't know if there is a nice nix(pkgs) way to pick a range of commits as patches?

probably not, it may be easier to generate the patch from the repo itself, then just add the patch

patches = [
  ./fix-build.patch
];
SFrijters commented 3 years ago

I've followed vcunat's suggestion and prepared a commit at https://github.com/SFrijters/nixpkgs/commit/243f7213c7acaaf5bb690d37bb7ce49c1d94c29a .

jonringer commented 3 years ago

@SFrijters probably with using the PR #, is the PR is still open. If changes are pushed to it, then the patch will be come invalid for others, and we will see a sha mismatch.

vcunat commented 3 years ago

What about additional quick workaround? #118823

Lillecarl commented 3 years ago

Unstable is indeed failing on me because of wine.

Summary of Failures:

26/31 tracker:data+slow / sparql                      FAIL             2.44s   killed by signal 5 SIGTRAP
------------------
error: builder for '/nix/store/rpaqyf426i2lv6q478kzfy2882cxgp30-tracker-3.0.3.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/biqlzpi9blxhqa270ppckdlz42visxbr-gtk+3-3.24.27.drv' failed to build
error: 1 dependencies of derivation '/nix/store/fnip1p2y5h8prxy9p3a23j6vmc3vg2i2-wine-wow-6.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/j8jz5cwl95jb5cavsnnyfr0m9d0nqcib-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/4ds55dzz905vgfxv6237yg6qyhngcqaf-nixos-system-shitbox-21.05pre281004.3d1a7716d7f.drv' failed to build
jonringer commented 3 years ago

@Lillecarl

nixos-system-shitbox

Nice :)

Lillecarl commented 3 years ago

@Lillecarl

nixos-system-shitbox

Nice :)

20210408_200007 Very off topic but this is the one! :)

vcunat commented 3 years ago

NixPkgs master now has workarounds and binaries in cache; I expect this commit will soon hit the nixos-unstable channel, too.

davidak commented 3 years ago

You will see here when it lands in unstable channel: https://nixpk.gs/pr-tracker.html?pr=118823 Thanks to everyone involved in fixing it!

vcunat commented 3 years ago

Weird, my git shows that it's in nixos-unstable-small already but that page disagrees. (maybe some lag, whatever)

wedens commented 3 years ago

You will see here when it lands in unstable channel: https://nixpk.gs/pr-tracker.html?pr=118823

This page doesn't display it properly :( I've noticed it with several MRs that were already in nixos-unstable.

vcunat commented 3 years ago

For reference, the fix is in all the three channels already.

jonringer commented 3 years ago

For reference, the fix is in all the three channels already.

I'm going to consider this issue closed, as the user experience is not impacted on updated channels. But a proper fix like https://github.com/NixOS/nixpkgs/pull/118365 should still be prioritized.