RPM 4.8.0 && %_filter_GLIBC_PRIVATE
david.abd at gmail.com
Mon Dec 10 19:38:00 UTC 2012
I am building RPM for GNU GCC 4.8.0 (prerelease), which now includes TSAN (Thread Sanitizer). That pulls in ld-linux-x86-64.so.2(GLIBC_PRIVATE)(64bit) as a dependency, yet glibc RPM from system has it filtered our from provides.
I set %_filter_GLIBC_PRIVATE to 1 in macros file, yet it still puts GLIBC_PRIVATE in my GCC RPM requires.
I also have %_use_internal_dependency_generator disabled (set to 0).
I also tried to put some rpmlog commands in RPM code to get some internal state information, but I didn't find any of those messages in rpmbuild (-vv) logs.
Any ideas why filtering out doesn't work?
Other option would be trying %filter_from_requires in the SPEC itself.
- - -
419 # Use internal dependency generator rather than external helpers?
420 %_use_internal_dependency_generator 0
423 # Filter GLIBC_PRIVATE Provides: and Requires:
424 %_filter_GLIBC_PRIVATE 1
More information about the Rpm-list