lsof ftbfs in disco

Bug #1823430 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lsof (Ubuntu)
Fix Released
High
Unassigned

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

Matthias Klose (doko)
Changed in lsof (Ubuntu):
importance: Undecided → High
tags: added: ftbfs rls-dd-incoming
Revision history for this message
Launchpad Janitor (janitor) wrote :

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 <email address hidden> Tue, 09 Apr 2019 10:53:38 -0400

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