Skip to content
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

Fails to build on Debian unstable/sid - Arch: i386 #602

Open
kathenas opened this issue Feb 10, 2025 · 3 comments
Open

Fails to build on Debian unstable/sid - Arch: i386 #602

kathenas opened this issue Feb 10, 2025 · 3 comments
Labels

Comments

@kathenas
Copy link

Describe the bug

Fails to build on Debian unstable i386.

Error message:


[34/106] cc -Isrc/libfsearch.a.p -Isrc -I../src -I. -I.. -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -fdiagnostics-color=always -Wall -Winvalid-pch -std=c11 -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fsearch-0.2.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ src/libfsearch.a.p/fsearch_query_parser.c.o -MF src/libfsearch.a.p/fsearch_query_parser.c.o.d -o src/libfsearch.a.p/fsearch_query_parser.c.o -c ../src/fsearch_query_parser.c
FAILED: src/libfsearch.a.p/fsearch_query_parser.c.o 
cc -Isrc/libfsearch.a.p -Isrc -I../src -I. -I.. -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/webp -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -fdiagnostics-color=always -Wall -Winvalid-pch -std=c11 -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fsearch-0.2.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ src/libfsearch.a.p/fsearch_query_parser.c.o -MF src/libfsearch.a.p/fsearch_query_parser.c.o.d -o src/libfsearch.a.p/fsearch_query_parser.c.o -c ../src/fsearch_query_parser.c
../src/fsearch_query_parser.c: In function ‘parse_function_date_modified’:
../src/fsearch_query_parser.c:320:35: error: passing argument 6 of ‘parse_numeric_function’ from incompatible pointer type [-Wincompatible-pointer-types]
  320 |                                   fsearch_date_time_parse_interval);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                   |
      |                                   _Bool (*)(const char *, time_t *, time_t *) {aka _Bool (*)(const char *, long int *, long int *)}
../src/fsearch_query_parser.c:223:54: note: expected ‘_Bool (*)(const char *, int64_t *, int64_t *)’ {aka ‘_Bool (*)(const char *, long long int *, long long int *)’} but argument is of type ‘_Bool (*)(const char *, time_t *, time_t *)’ {aka ‘_Bool (*)(const char *, long int *, long int *)’}
  223 |                        FsearchQueryIntegerParserFunc parse_value_func) {

Expected behavior

Clean successful build.

Desktop (please complete the following information):

  • OS: Debian unstable/sid
  • How you installed FSearch [e.g. built manually, PPA, AUR] N/A
  • Version [output of fsearch --version] 0.2.3
  • Output of localectl status N/A

Additional context

None at present.

@kathenas kathenas added the bug label Feb 10, 2025
@bugtracker2019
Copy link

Are you using vanilla Debian?
Compiling from source on Siduction x86 (Debian/Sid) works for me.
Also you can install fsearch via apt install on sid, so not really necessary to build from source. Or is it because of your arch (i386)?

@kathenas
Copy link
Author

Siduction is not Debian sid/unstable, it is a derivative distribution.

I am the packages new Debian Maintainer and build the package in a clean chroot environment.

If you are not interested in supporting i386, I can remove the architectures build from Debian?

https://tracker.debian.org/pkg/fsearch
https://buildd.debian.org/status/package.php?p=fsearch

Regards

Phil

@bugtracker2019
Copy link

Siduction is not Debian sid/unstable, it is a derivative distribution.

I know.

I am the packages new Debian Maintainer and build the package in a clean chroot environment.

Congratulations. I'm not the maintainer of this repo.

If you are not interested in supporting i386, I can remove the architectures build from Debian?

Are you asking me that or is it supposed to be a statement?

Out of curiosity, can you tell how big the userbase of i386 arch Debian-packages currently is?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants