Ticket #1597 (accepted defect)

Opened 4 years ago

Last modified 3 years ago

python-afs fails to build on bionic

Reported by: andersk Owned by: kaduk
Priority: high Milestone: The Distant Future
Component: -- Keywords:
Cc: Fixed in version:
Upstream bug:

Description

x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-nbjU53/python2.7-2.7.15~rc1=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DAFS_PTHREAD_ENV -Iafs -I/usr/include -I/usr/include/python2.7 -c afs/_util.c -o build/temp.linux-x86_64-2.7/afs/_util.o
In file included from /usr/include/rx/rx.h:39:0,
                 from /usr/include/rx/rxkad_prototypes.h:15,
                 from /usr/include/rx/rxkad.h:104,
                 from afs/_util.c:490:
/usr/include/rx/rx_pthread.h:23:10: fatal error: afs/opr.h: No such file or directory
 #include <afs/opr.h>
          ^~~~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
dh_auto_build: python setup.py build --force returned exit code 1
debian/rules:3: recipe for target 'build' failed
make: *** [build] Error 1
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

Change History

comment:1 Changed 4 years ago by kaduk

  • Owner set to kaduk
  • Status changed from new to accepted

This looks like an upstream OpenAFS bug.

comment:2 Changed 3 years ago by kaduk

OpenAFS 1.8.1~pre2-1 is in Debian unstable with the needed fixes.
I think Anders has to manually fire off PPA builds before we can use it, though.

Note: See TracTickets for help on using tickets.