drac ftbfs in groovy

Bug #1897292 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
drac (Ubuntu)
Confirmed
High
Unassigned

Bug Description

seen in a groovy test rebuild:
https://launchpad.net/ubuntu/+archive/test-rebuild-20200925-groovy/+build/19982693

# Add here commands to compile the package.
/usr/bin/make all
make[1]: Entering directory '/<<PKGBUILDDIR>>'
gcc -DSOCK_RPC -DFCNTL_LOCK -DGETHOST -DDASH_C -g -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o testing.o testing.c
testing.c:10:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
   10 | main(argc, argv)
      | ^~~~
testing.c: In function ‘main’:
testing.c:21:3: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration]
   21 | exit(1);
      | ^~~~
testing.c:21:3: warning: incompatible implicit declaration of built-in function ‘exit’
testing.c:9:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
    8 | #include <arpa/inet.h>
  +++ |+#include <stdlib.h>
    9 |
testing.c:25:7: warning: implicit declaration of function ‘dracauth’ [-Wimplicit-function-declaration]
   25 | rc = dracauth(host, ip, &err);
      | ^~~~~~~~
rpcgen -C -I drac.x
gcc -DSOCK_RPC -DFCNTL_LOCK -DGETHOST -DDASH_C -g -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dracauth.o dracauth.c
In file included from dracauth.c:21:
drac.h:9:10: fatal error: rpc/rpc.h: No such file or directory
    9 | #include <rpc/rpc.h>
      | ^~~~~~~~~~~
compilation terminated.
make[1]: *** [<builtin>: dracauth.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:23: build-stamp] Error 2

Matthias Klose (doko)
tags: added: ftbfs rls-gg-incoming
Changed in drac (Ubuntu):
status: New → Confirmed
importance: Undecided → High
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.