kmod: FTBFS on arm{el,hf}: /usr/include/features-time64.h:26:5: error: #error "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64"

Bug #2062157 reported by Shengjing Zhu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kmod (Debian)
New
Undecided
kmod (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Imported from Debian bug http://bugs.debian.org/1065973:

Source: kmod
Version: 32-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: <email address hidden>

https://buildd.debian.org/status/fetch.php?pkg=kmod&arch=armhf&ver=32-1&stamp=1709960074&raw=0

libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -include ./config.h -I.. -DSYSCONFDIR=\"/etc\" -DDISTCONFDIR=\"/usr/lib\" -DMODULE_DIRECTORY=\"/lib/modules\" -DABS_TOP_BUILDDIR=\"/<<PKGBUILDDIR>>/build-deb\" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -pipe -DANOTHER_BRICK_IN_THE -Wall -W -Wextra -Wno-inline -Wvla -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=3 -Wwrite-strings -Wno-long-long -Wno-overlength-strings -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -Wnested-externs -Wchar-subscripts -Wtype-limits -Wuninitialized -fno-common -fdiagnostics-show-option -fvisibility=hidden -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -c ../testsuite/path.c -fPIC -DPIC -o testsuite/.libs/path_la-path.o
In file included from /usr/include/features.h:393,
                 from /usr/include/assert.h:35,
                 from ../testsuite/path.c:22:
/usr/include/features-time64.h:26:5: error: #error "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64"
   26 | # error "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64"
      | ^~~~~

Cheers
--
Sebastian Ramacher

Tags: ftbfs

Related branches

Shengjing Zhu (zhsj)
tags: added: ftbfs
Benjamin Drung (bdrung)
Changed in kmod (Ubuntu):
importance: Undecided → High
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kmod - 31+20240202-2ubuntu7

---------------
kmod (31+20240202-2ubuntu7) noble; urgency=medium

  * d/p/time64.diff: wrap __stat64_time64 and __lstat64_time64
    (Closes: #1065973, LP: #2062157)
  * d/rules: enable tests on armhf

 -- Shengjing Zhu <email address hidden> Thu, 18 Apr 2024 18:06:53 +0800

Changed in kmod (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.