Bug#915962: startpar: FTBFS with recent glibc

Samuel Thibault sthibault at debian.org
Sat Dec 8 17:21:17 GMT 2018


Package: startpar
Version: 0.59-4
Severity: serious
Justification: FTBFS
Tags: patch

Hello,

startpar currently FTBFS in sid:

proc.c: In function 'detect_consoles':
proc.c:169:19: warning: implicit declaration of function 'makedev' [-Wimplicit-function-declaration]
      comparedev = makedev(maj, min);
                   ^~~~~~~
...
/usr/bin/ld: proc.o: in function `detect_consoles':
./proc.c:169: undefined reference to `makedev'

We indeed need to include sys/sysmacros.h to get access to this
non-standard macro, as the attached patch does.

Samuel


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'proposed-updates'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages startpar depends on:
ii  libc6  2.27-8

startpar recommends no packages.

Versions of packages startpar suggests:
ii  insserv  1.14.0-5.4+b1
ii  sysv-rc  2.92~beta-2

-- no debconf information

-- 
Samuel
* B kicks DW (non mais franchement)
* DW was kicked
 -+- #ens-mim - comment ├ža hopeless ? -+-
-------------- next part --------------
---
 proc.c |    1 +
 1 file changed, 1 insertion(+)

--- a/proc.c
+++ b/proc.c
@@ -24,6 +24,7 @@
 #include <sys/ioctl.h>
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <sys/sysmacros.h>
 #include <termios.h>
 #include <fcntl.h>
 #include <unistd.h>


More information about the Debian-init-diversity mailing list