FTBFS: unknown type name ‘errcode_t’

Bug #1740927 reported by Andreas Hasenack on 2018-01-02
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ocfs2-tools (Ubuntu)
Andreas Hasenack

Bug Description

gcc -g -O2 -fdebug-prefix-map=/home/ubuntu/x/ocfs2-tools-1.8.5=. -fstack-protector-strong -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -I. -DVERSION=\"1.8.5\" -MD -MP -MF ./.feature_quota.d -o feature_quota.o -c feature_quota.c
In file included from /usr/include/string.h:431:0,
                 from ../include/ocfs2/ocfs2.h:41,
                 from pass4.c:32:
include/strings.h:37:1: error: unknown type name ‘errcode_t’; did you mean ‘mode_t’?
 errcode_t o2fsck_strings_insert(o2fsck_strings *strings, char *string,
../Postamble.make:40: recipe for target 'pass4.o' failed

Upstream issue: https://github.com/markfasheh/ocfs2-tools/issues/17
Fix: https://github.com/markfasheh/ocfs2-tools/commit/0ffd58b223e24779420130522ea8ee359505f493

Debian sid is unaffected at the moment.

Changed in ocfs2-tools (Ubuntu):
importance: Undecided → Low
Andreas Hasenack (ahasenack) wrote :

artful has the same bug, but it's not worth an SRU just because of this.

I nominated artful, however, so that if an SRU is ever done, this bug will show up and the fix is here.

Andreas Hasenack (ahasenack) wrote :
description: updated
tags: added: ftbfs
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ocfs2-tools - 1.8.5-3ubuntu1

ocfs2-tools (1.8.5-3ubuntu1) bionic; urgency=medium

  * debian/patches/ftbfs-strings-header.patch: fsck.ocfs2: fix compile
    error whith newer glibc. Thanks to Gang He <email address hidden>.
    (LP: #1740927)
  * debian/tests/basic: use "echo yes |" instead of "yes |" to avoid a broken
    pipe error. The "yes" command insists "too much".

 -- Andreas Hasenack <email address hidden> Tue, 02 Jan 2018 17:46:42 -0200

Changed in ocfs2-tools (Ubuntu):
status: In Progress → Fix Released
Andreas Hasenack (ahasenack) wrote :

Artful is EOL.

Changed in ocfs2-tools (Ubuntu Artful):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers