[Bug 1823430] Re: lsof ftbfs in disco

Launchpad Bug Tracker 1823430 at bugs.launchpad.net
Tue Apr 9 18:41:37 UTC 2019


This bug was fixed in the package lsof - 4.91+dfsg-1ubuntu1

---------------
lsof (4.91+dfsg-1ubuntu1) disco; urgency=medium

  * debian/patches/majorminor: Fix ftbfs due to missing major/minor macros in
    tests; by including sysmacros.h where appropriate. (LP: #1823430)

 -- Mathieu Trudel-Lapierre <cyphermox at ubuntu.com>  Tue, 09 Apr 2019
10:53:38 -0400

** Changed in: lsof (Ubuntu)
       Status: New => Fix Released

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

Title:
  lsof ftbfs in disco

Status in lsof package in Ubuntu:
  Fix Released

Bug description:
  https://launchpadlibrarian.net/417924302/buildlog_ubuntu-disco-
  amd64.lsof_4.91+dfsg-1_BUILDING.txt.gz

  cd tests && make test && make opt && cd -
  make[2]: Entering directory '/<<BUILDDIR>>/lsof-4.91+dfsg/tests'
  `cat config.cc`  -I. -I.. `cat config.cflags` -c LTlib.c \
  -o LTlib.o
  LTlib.c: In function ‘ConvLsofDev’:
  LTlib.c:246:25: warning: implicit declaration of function ‘major’; did you mean ‘major_X’? [-Wimplicit-function-declaration]
   #define major_X(dp, em) major(x2dev(dp, em))
                           ^~~~~
  LTlib.c:375:31: note: in expansion of macro ‘major_X’
       ldev->maj = (unsigned int)major_X(dp, &em);
                                 ^~~~~~~
  LTlib.c:250:25: warning: implicit declaration of function ‘minor’; did you mean ‘mknod’? [-Wimplicit-function-declaration]
   #define minor_X(dp, em) minor(x2dev(dp, em))
                           ^~~~~
  LTlib.c:378:31: note: in expansion of macro ‘minor_X’
       ldev->min = (unsigned int)minor_X(dp, &em);
                                 ^~~~~~~
  `cat config.cc`  -I. -I.. `cat config.cflags` LTbasic.c \
  LTlib.o `cat config.xobj` -o LTbasic
  /usr/bin/ld: LTlib.o: in function `ConvLsofDev':
  LTlib.c:(.text+0x111): undefined reference to `major'
  /usr/bin/ld: LTlib.c:(.text+0x147): undefined reference to `minor'
  /usr/bin/ld: LTlib.o: in function `ConvStatDev':
  LTlib.c:(.text+0x1c8): undefined reference to `major'
  /usr/bin/ld: LTlib.c:(.text+0x1e4): undefined reference to `minor'
  collect2: error: ld returned 1 exit status
  make[2]: *** [Makefile:75: LTbasic] Error 1
  make[2]: Leaving directory '/<<BUILDDIR>>/lsof-4.91+dfsg/tests'
  make[1]: *** [debian/rules:56: override_dh_auto_test] Error 2
  make[1]: Leaving directory '/<<BUILDDIR>>/lsof-4.91+dfsg'
  make: *** [debian/rules:60: build] Error 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lsof/+bug/1823430/+subscriptions



More information about the foundations-bugs mailing list