[OpenAFS-devel] 1.8.0 error building rpms

Michael Meffie mmeffie@sinenomine.net
Fri, 13 Apr 2018 15:25:32 -0400


On Fri, 13 Apr 2018 11:28:01 -0500
Benjamin Kaduk <kaduk@mit.edu> wrote:

> On Fri, Apr 13, 2018 at 12:00:48PM -0400, Todd Lewis wrote:
> > > /home/utoddl/rpmbuild/BUILDROOT/openafs-1.8.0-1.fc27.x86_64/usr/bin/udebug
> > > extracting debug info from
> > > /home/utoddl/rpmbuild/BUILDROOT/openafs-1.8.0-1.fc27.x86_64/usr/bin/pagsh
> > > extracting debug info from
> > > /home/utoddl/rpmbuild/BUILDROOT/openafs-1.8.0-1.fc27.x86_64/lib/modules/4.15.15-300.fc27.x86_64/extra/openafs/openafs.ko
> > > dwz:
> > > "./lib/modules/4.15.15-300.fc27.x86_64/extra/openafs/openafs.ko-1.8.0-1.fc27.x86_64.debug"
> > > is not a shared library /usr/lib/rpm/sepdebugcrcfix: Updated 63
> > > CRC32s, 1 CRC32s did match. cpio: src/comerr/y.tab.c: Cannot stat: No
> > > such file or directory 27579 blocks 
> 
> I note that this was running with -j4; do you have some local
> rpmbuild configuration to enable that?  (Also, what version of
> rpmbuild, just for completeness?)
> 
> > Then later on:
> > 
> > > Processing files: openafs-kernel-debuginfo-1.8.0-1.fc27.x86_64 error:
> > > Empty %files file
> > > /home/utoddl/rpmbuild/BUILD/openafs-1.8.0/kmod-debuginfo.list RPM
> > > build errors: Macro expanded in comment on line 111: %{afsvers}/...
> > > line 417: Possible unexpanded macro in: Provides: openafs-kernel =
> > > %{PACKAGE_VERSION} Empty %files file
> > > /home/utoddl/rpmbuild/BUILD/openafs-1.8.0/kmod-debuginfo.list 
> 
> This one I have fewer ideas for (I don't normally use RPM-based
> systems).
> 
> Thanks for the report!

This looks like it is releated to the recent "build separate debuginfo
packages" for kernel module feature of the spec file.  Let me try the
rpmbuild on fedora.


-- 
Michael Meffie <mmeffie@sinenomine.net>