FTBFS: unknown type name ‘errcode_t’

Bug #1740927 reported by Andreas Hasenack
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ocfs2-tools (Ubuntu)
Fix Released
Low
Andreas Hasenack
Artful
Won't Fix
Undecided
Unassigned

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,
 ^~~~~~~~~
 mode_t
../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.

Tags: ftbfs
Changed in ocfs2-tools (Ubuntu):
importance: Undecided → Low
Revision history for this message
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.

Revision history for this message
Andreas Hasenack (ahasenack) wrote :
description: updated
tags: added: ftbfs
Revision history for this message
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
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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