Mailinglist Archive: opensuse-packaging (110 mails)

< Previous Next >
Re: [opensuse-packaging] .debug files and "File not found by glob" at /home/abuild/rpmbuild/

Quoting Filipe Pires Alvarenga Fernandes <ocefpaf@xxxxxxxxx>:

Hi, can someone help me on how to deal with these kind of errors. I
have no idea why these files are being created and/or "globed":

error: File not found by glob:
/home/abuild/rpmbuild/BUILDROOT/netcdf-4.2-16.1.i386/usr/lib/libnetcdf_c++.so.*

error: Installed (but unpackaged) file(s) found:
/usr/lib/debug/.build-id/22/b526386242b07fa9b9e50869a2b460116c0a13
/usr/lib/debug/.build-id/22/b526386242b07fa9b9e50869a2b460116c0a13.debug

The 2nd one is a follow-up error only: once the first is resolved, the debug package will be created and those files will be packaged.

As for the first error:
error: File not found by glob:
/home/abuild/rpmbuild/BUILDROOT/netcdf-4.2-16.1.i386/usr/lib/libnetcdf_c++.so.*

This, on the other hand, is likely due to this paragraph in the release notes:
Separate the Fortran and C++ libraries and release
the C library and ncdump/ncgen/nccopy without Fortran or C++.
[NCF-24]

=> so the c++ library is no longer shipped as part of netcdf 4.2....

Remove the line
%{_libdir}/libnetcdf_c++.so.*
from your .spec and you should be safe... (Actually, also remove the next line
%{_libdir}/libnetcdff.so.*
which is in fact the Fortran based one, which, as per above statement, is also removed.

Hope that helps,
Dominique

--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >