The issue is related to `_()` and `N_()` defines.
Here are their definitions from system.h:
```
/* Take care of NLS matters. */
#if ENABLE_NLS
# include <locale.h>
# include <libintl.h>
# define _(Text) dgettext (PACKAGE, Text)
#else
# define _(Text) Text
#endif
#define N_(Text) Text
```
So you can see that `_()` needs libintl if NLS is enabled.
rpm2archive and rpm2cpio use `_()`, the other binaries such as rpm2sign use
`N_()` which explain why they do not fail to build.
This issue has not been found until now because I suppose that most of your
users uses glibc which natively provides intl so it don't need to link with it.
The buildroot autobuilders found this issue with uclibc (which needs to link
with libintl because this library is provided by an external gettext package).
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/683#issuecomment-486982094
_______________________________________________
Rpm-maint mailing list
[email protected]
http://lists.rpm.org/mailman/listinfo/rpm-maint