libhybris fails to build with glibc 2.26

Bug #1718030 reported by Steve Langasek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libhybris (Ubuntu)
Fix Committed
Undecided
Simon Fels

Bug Description

The libhybris package fails to build against glibc 2.26:

In file included from hooks.c:42:0:
/usr/include/dirent.h:183:12: note: declared here
 extern int readdir_r (DIR *__restrict __dirp,
            ^~~~~~~~~
hooks.c: At top level:
hooks.c:2368:15: error: ‘cfree’ undeclared here (not in a function); did you mean ‘free’?
     {"cfree", cfree },
               ^~~~~
               free
hooks.c:2618:16: error: ‘writev’ undeclared here (not in a function); did you mean ‘write’?
     {"writev", writev},
                ^~~~~~
                write
Makefile:537: recipe for target 'libhybris_common_la-hooks.lo' failed
make[4]: *** [libhybris_common_la-hooks.lo] Error 1

https://launchpad.net/ubuntu/+source/libhybris/0.1.0+git20151016+6d424c9-0ubuntu25

Because libhybris has a strict versioned dependency against glibc, it cannot be included in Ubuntu 17.10 without resolving this build failure.

I see that there is an active upstream, so perhaps they would like to fix this build failure and continue to include libhybris in Ubuntu 17.10.

It is also possible that there is no longer any interest in maintaining libhybris in Ubuntu because there is no longer an Ubuntu Touch product based on this, and therefore this package should be removed.

Revision history for this message
Steve Langasek (vorlon) wrote :

Simon, you appear to still be committing changes upstream in <https://github.com/libhybris/libhybris>. Do you care about this being fixed in Ubuntu 17.10?

Changed in libhybris (Ubuntu):
assignee: nobody → Simon Fels (morphis)
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

libhybris (0.1.0+git20151016+6d424c9-0ubuntu26) artful; urgency=medium

  * Fix FTBFS with glibc 2.26:
    - cfree is deprecated, use free instead
    - add sys/uio.h include for writev definition

 -- Dimitri John Ledkov <email address hidden> Tue, 19 Sep 2017 19:25:43 +0100

Changed in libhybris (Ubuntu):
status: New → Fix Committed
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.