https://sourceware.org/bugzilla/show_bug.cgi?id=34016

            Bug ID: 34016
           Summary: elfutils-0.194 with --enable-libdebuginfod: fails to
                    build on Hurd ("error: linux/limits.h: No such file or
                    directory")
           Product: elfutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: debuginfod
          Assignee: unassigned at sourceware dot org
          Reporter: csfore at gentoo dot org
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

Created attachment 16669
  --> https://sourceware.org/bugzilla/attachment.cgi?id=16669&action=edit
build.log

When attempting to build elfutils with debuginfod for Hurd, it fails with:

/usr/i686-gnu/tmp/portage/dev-libs/elfutils-0.194-r2/work/elfutils-0.194/debuginfod/debuginfod-client.c:100:10:
fatal error: linux/limits.h: No such file or directory
  100 | #include <linux/limits.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:681: debuginfod-client.o] Error 1


When attempting to comment out the #include, it results in:

/usr/i686-gnu/tmp/portage/dev-libs/elfutils-0.194-r2/work/elfutils-0.194/debuginfod/debuginfod-client.c:244:12:
error: ‘PATH_MAX’ undeclared here (not in a function); did you mean ‘AF_MAX’?
  244 |   char url[PATH_MAX];
      |            ^~~~~~~~
      |            AF_MAX

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to