Re: Building rpms in mock

Zenon Panoussis <[email protected]>
Newsgroups gmane.mail.imap.courier.general
Message-ID <[email protected]>
>> BuildRequires:    glibc-all-langpacks

>> In fact I suspect that this is not a solution, but a workaround
>> for some bug that was introduced in EL8 and EL9 about a year
>> ago. But whether workaround or solution, it works.

> This is not really a bug, Courier always required en_US.UTF-8 
> locale for "make check". They just stripped out all the locales 
> from the default buildroot.

I mean a bug in the EL8 and EL9 distros and their derivatives,
not in courier. At some point last year dnf started throwing
similar errors every time you run it. They split the glibc
langpacks in one rpm per locale and what you get from a stock
installation is not always what some software of that very same
stock installation needs.

But speaking of rpms, there's something else I was pondering
yesterday. If courier doesn't find the courier user/group at
build time, it will later have to run as user daemon. So in
order to build it to run as user courier, you need to first
create the user in the buildroot (hence --no-clean in my build
command). Wouldn't this be a good candidate for a build argument,
e.g. '--with-usergroup courier' or numerical '--with-uidgid 900'?

Z


-- 
Слава Україні!
Путин хуйло!


_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.