Public bug reported:

The package infinipath-psm failed to Build in the current Ubuntu
development version:

Full log at: https://launchpadlibrarian.net/338219604/buildlog_ubuntu-
artful-amd64.infinipath-psm_3.3+19.g67c0807.open-3_BUILDING.txt.gz

ipath_proto.c: In function 'ipath_userinit':
ipath_proto.c:539:13: error: In the GNU C Library, "minor" is defined
 by <sys/sysmacros.h>. For historical compatibility, it is
 currently defined by <sys/types.h> as well, but we plan to
 remove this soon. To use "minor", include <sys/sysmacros.h>
 directly. If you did not intend to use a system-defined macro
 "minor", you should undefine it after including <sys/types.h>. [-Werror]
     spctrl->spc_dev.spd_type = minor(st.st_rdev);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                              
                                                                                
                                                                                
                                                                                
                                                     
cc1: all warnings being treated as errors

** Affects: infinipath-psm (Ubuntu)
     Importance: High
         Status: New


** Tags: ftbfs

** Changed in: infinipath-psm (Ubuntu)
   Importance: Undecided => High

** Tags added: ftbfs

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1721299

Title:
  infinipath-psm: FTBFS: Uses sytem-defined macro "minor" with wrong
  include statement

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/infinipath-psm/+bug/1721299/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to