2026-10-13 20:37 BST

View Issue Details [ Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002886LibCSSLibCSSpublic2026-10-05 21:45
Reporterأحمد المحمودي 
Assigned ToVincent Sanders 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
Platformi386OSLinuxOS Version
Summary0002886: Fails to build on i386 arch
DescriptionWhen building libcss for i386 architecture, I get the following error:

 COMPILE: test/parse2-auto.c
In file included from test/css21.c:11:
test/dump.h: In function 'dump_rule_media':
test/dump.h:134:45: error: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Werror=format=]
  134 | ptr += sprintf(ptr, "| @media %s%03lx",
      | ~~~~^
      | |
      | long unsigned int
      | %03llx
  135 | s->media->negate_type ? "not " : "",
  136 | s->media->type);
      | ~~~~~~~~~~~~~~
      | |
      | uint64_t {aka long long unsigned int}
cc1: all warnings being treated as errors
make[2]: *** [/usr/share/netsurf-buildsystem/makefiles/Makefile.top:649: build-i686-linux-gnu-i686-linux-gnu-release-lib-shared/test_css21.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from test/parse2-auto.c:12:
test/dump.h: In function 'dump_rule_media':
test/dump.h:134:45: error: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Werror=format=]
  134 | ptr += sprintf(ptr, "| @media %s%03lx",
      | ~~~~^
      | |
      | long unsigned int
      | %03llx
  135 | s->media->negate_type ? "not " : "",
  136 | s->media->type);
      | ~~~~~~~~~~~~~~
      | |
      | uint64_t {aka long long unsigned int}
cc1: all warnings being treated as errors
TagsNo tags attached.
Fixed in CI build #
Reported in CI build #
Attached Files

-Relationships
+Relationships

-Notes
John-Mark Bell

~0002500

John-Mark Bell (administrator)

Resolved in commit 5dc01f5
+Notes

-Issue History
Date Modified Username Field Change
2025-01-09 06:38 أحمد المحمودي New Issue
2026-10-05 21:45 John-Mark Bell Assigned To => Vincent Sanders
2026-10-05 21:45 John-Mark Bell Status new => resolved
2026-10-05 21:45 John-Mark Bell Resolution open => fixed
2026-10-05 21:45 John-Mark Bell Description Updated View Revisions
2026-10-05 21:45 John-Mark Bell Note Added: 0002500
+Issue History