[Bug 1901323] Re: libcephfs-dev is missing ceph_ll_client.h header file
James Page
1901323 at bugs.launchpad.net
Mon Nov 2 15:05:51 UTC 2020
** Changed in: ceph (Ubuntu Groovy)
Status: New => Triaged
** Changed in: ceph (Ubuntu Focal)
Status: New => Invalid
** No longer affects: ceph (Ubuntu Focal)
** Changed in: ceph (Ubuntu Groovy)
Importance: Undecided => High
** Description changed:
- When trying to build FSAL_CEPH in launchpad.net/~nfs-ganesha for groovy
- and hirsute:
+ [Impact]
+ Missing header files causes FTBFS in reverse dependencies on libcephfs-dev
+
+ [Test Case]
+ Build nfs-ganesha
+ fails with log message in original bug report
+
+ [Regression Potential]
+ Minimal - header files have been renamed internally and the proposed change re-aligns the packaging with upstream.
+
+ [Original Bug Report]
+ When trying to build FSAL_CEPH in launchpad.net/~nfs-ganesha for groovy and hirsute:
...
[ 82%] Building C object FSAL/FSAL_CEPH/CMakeFiles/fsalceph.dir/export.c.o
cd /<<PKGBUILDDIR>>/src/obj-x86_64-linux-gnu/FSAL/FSAL_CEPH && /usr/bin/cc -DHAS_DOFF -D_FILE_OFFSET_BITS=64 -Dfsalceph_EXPORTS -I/usr/include/uuid -I/<<PKGBUILDDIR>>/src/obj-x86_64-linux-gnu/include -I/<<PKGBUILDDIR>>/src/include -I/<<PKGBUILDDIR>>/src/include/os/linux -I/include -I/usr/include/ntirpc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -O2 -g -DNDEBUG -fPIC -o CMakeFiles/fsalceph.dir/export.c.o -c /<<PKGBUILDDIR>>/src/FSAL/FSAL_CEPH/export.c
In file included from /<<PKGBUILDDIR>>/src/FSAL/FSAL_CEPH/export.c:41:
/usr/include/cephfs/libcephfs.h:30:10: fatal error: ceph_ll_client.h: No such file or directory
- 30 | #include "ceph_ll_client.h"
- | ^~~~~~~~~~~~~~~~~~
+ 30 | #include "ceph_ll_client.h"
+ | ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [FSAL/FSAL_CEPH/CMakeFiles/fsalceph.dir/build.make:79: FSAL/FSAL_CEPH/CMakeFiles/fsalceph.dir/export.c.o] Error 1
make[4]: *** Waiting for unfinished jobs....
[ 82%] Building C object FSAL/FSAL_PROXY/CMakeFiles/fsalproxy.dir/export.c.o
[ 82%] Building C object FSAL/FSAL_PROXY/CMakeFiles/fsalproxy.dir/xattrs.c.o
cd /<<PKGBUILDDIR>>/src/obj-x86_64-linux-gnu/FSAL/FSAL_PROXY && /usr/bin/cc -DHAS_DOFF -D_GNU_SOURCE -D__USE_GNU -Dfsalproxy_EXPORTS -I/usr/include/uuid -I/<<PKGBUILDDIR>>/src/obj-x86_64-linux-gnu/include -I/<<PKGBUILDDIR>>/src/include -I/<<PKGBUILDDIR>>/src/include/os/linux -I/include -I/usr/include/ntirpc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -O2 -g -DNDEBUG -fPIC -o CMakeFiles/fsalproxy.dir/export.c.o -c /<<PKGBUILDDIR>>/src/FSAL/FSAL_PROXY/export.c
cd /<<PKGBUILDDIR>>/src/obj-x86_64-linux-gnu/FSAL/FSAL_PROXY && /usr/bin/cc -DHAS_DOFF -D_GNU_SOURCE -D__USE_GNU -Dfsalproxy_EXPORTS -I/usr/include/uuid -I/<<PKGBUILDDIR>>/src/obj-x86_64-linux-gnu/include -I/<<PKGBUILDDIR>>/src/include -I/<<PKGBUILDDIR>>/src/include/os/linux -I/include -I/usr/include/ntirpc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -O2 -g -DNDEBUG -fPIC -o CMakeFiles/fsalproxy.dir/xattrs.c.o -c /<<PKGBUILDDIR>>/src/FSAL/FSAL_PROXY/xattrs.c
In file included from /<<PKGBUILDDIR>>/src/FSAL/FSAL_CEPH/internal.h:41,
- from /<<PKGBUILDDIR>>/src/FSAL/FSAL_CEPH/main.c:45:
+ from /<<PKGBUILDDIR>>/src/FSAL/FSAL_CEPH/main.c:45:
/usr/include/cephfs/libcephfs.h:30:10: fatal error: ceph_ll_client.h: No such file or directory
- 30 | #include "ceph_ll_client.h"
- ^~~~~~~~~~~~~~~~~~
+ 30 | #include "ceph_ll_client.h"
+ ^~~~~~~~~~~~~~~~~~
compilation terminated.
...
See https://launchpadlibrarian.net/501345670/buildlog_ubuntu-groovy-
amd64.nfs-ganesha_3.3-ubuntu1~groovy8_BUILDING.txt.gz
** Changed in: ceph (Ubuntu Groovy)
Importance: High => Medium
** Changed in: ceph (Ubuntu Groovy)
Assignee: (unassigned) => James Page (james-page)
** Changed in: ceph (Ubuntu Groovy)
Status: Triaged => In Progress
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceph in Ubuntu.
https://bugs.launchpad.net/bugs/1901323
Title:
libcephfs-dev is missing ceph_ll_client.h header file
Status in ceph package in Ubuntu:
Fix Released
Status in ceph source package in Groovy:
In Progress
Status in ceph source package in Hirsute:
Fix Released
Bug description:
[Impact]
Missing header files causes FTBFS in reverse dependencies on libcephfs-dev
[Test Case]
Build nfs-ganesha
fails with log message in original bug report
[Regression Potential]
Minimal - header files have been renamed internally and the proposed change re-aligns the packaging with upstream.
[Original Bug Report]
When trying to build FSAL_CEPH in launchpad.net/~nfs-ganesha for groovy and hirsute:
...
[ 82%] Building C object FSAL/FSAL_CEPH/CMakeFiles/fsalceph.dir/export.c.o
cd /<<PKGBUILDDIR>>/src/obj-x86_64-linux-gnu/FSAL/FSAL_CEPH && /usr/bin/cc -DHAS_DOFF -D_FILE_OFFSET_BITS=64 -Dfsalceph_EXPORTS -I/usr/include/uuid -I/<<PKGBUILDDIR>>/src/obj-x86_64-linux-gnu/include -I/<<PKGBUILDDIR>>/src/include -I/<<PKGBUILDDIR>>/src/include/os/linux -I/include -I/usr/include/ntirpc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -O2 -g -DNDEBUG -fPIC -o CMakeFiles/fsalceph.dir/export.c.o -c /<<PKGBUILDDIR>>/src/FSAL/FSAL_CEPH/export.c
In file included from /<<PKGBUILDDIR>>/src/FSAL/FSAL_CEPH/export.c:41:
/usr/include/cephfs/libcephfs.h:30:10: fatal error: ceph_ll_client.h: No such file or directory
30 | #include "ceph_ll_client.h"
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [FSAL/FSAL_CEPH/CMakeFiles/fsalceph.dir/build.make:79: FSAL/FSAL_CEPH/CMakeFiles/fsalceph.dir/export.c.o] Error 1
make[4]: *** Waiting for unfinished jobs....
[ 82%] Building C object FSAL/FSAL_PROXY/CMakeFiles/fsalproxy.dir/export.c.o
[ 82%] Building C object FSAL/FSAL_PROXY/CMakeFiles/fsalproxy.dir/xattrs.c.o
cd /<<PKGBUILDDIR>>/src/obj-x86_64-linux-gnu/FSAL/FSAL_PROXY && /usr/bin/cc -DHAS_DOFF -D_GNU_SOURCE -D__USE_GNU -Dfsalproxy_EXPORTS -I/usr/include/uuid -I/<<PKGBUILDDIR>>/src/obj-x86_64-linux-gnu/include -I/<<PKGBUILDDIR>>/src/include -I/<<PKGBUILDDIR>>/src/include/os/linux -I/include -I/usr/include/ntirpc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -O2 -g -DNDEBUG -fPIC -o CMakeFiles/fsalproxy.dir/export.c.o -c /<<PKGBUILDDIR>>/src/FSAL/FSAL_PROXY/export.c
cd /<<PKGBUILDDIR>>/src/obj-x86_64-linux-gnu/FSAL/FSAL_PROXY && /usr/bin/cc -DHAS_DOFF -D_GNU_SOURCE -D__USE_GNU -Dfsalproxy_EXPORTS -I/usr/include/uuid -I/<<PKGBUILDDIR>>/src/obj-x86_64-linux-gnu/include -I/<<PKGBUILDDIR>>/src/include -I/<<PKGBUILDDIR>>/src/include/os/linux -I/include -I/usr/include/ntirpc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -O2 -g -DNDEBUG -fPIC -o CMakeFiles/fsalproxy.dir/xattrs.c.o -c /<<PKGBUILDDIR>>/src/FSAL/FSAL_PROXY/xattrs.c
In file included from /<<PKGBUILDDIR>>/src/FSAL/FSAL_CEPH/internal.h:41,
from /<<PKGBUILDDIR>>/src/FSAL/FSAL_CEPH/main.c:45:
/usr/include/cephfs/libcephfs.h:30:10: fatal error: ceph_ll_client.h: No such file or directory
30 | #include "ceph_ll_client.h"
^~~~~~~~~~~~~~~~~~
compilation terminated.
...
See https://launchpadlibrarian.net/501345670/buildlog_ubuntu-groovy-
amd64.nfs-ganesha_3.3-ubuntu1~groovy8_BUILDING.txt.gz
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1901323/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list