https://bugzilla.redhat.com/show_bug.cgi?id=2119494
--- Comment #46 from Benson Muite <benson_muite(a)emailplus.org> ---
When trying to fix this,
changed
BuildRequires: libpq-devel
BuildRequires: bison flex procps-ng
...
to
BuildRequires: libpq-devel
BuildRequires: zlib-devel
BuildRequires: bison flex procps-ng
...
%configure --disable-prefix-check \
--with-smtp=no
and got an error when trying to build
gzhelper.c: In function 'A4GL_gz_try_to_open':
gzhelper.c:96:7: error: format not a string literal and no format arguments
[-Werror=format-security]
96 | sprintf (buff, name);
Maybe a bug can be reported upstream?
Using
$ rpmlint -e rpm-buildroot-usage
rpm-buildroot-usage:
$RPM_BUILD_ROOT or %{buildroot} must not be touched during %build or %prep
stage, as it will break short circuit builds and will not persist to %install
stage in a normal build, leading to unexpected package build behavior.
Perhaps you can change the following sections of the spec file:
%configure --disable-prefix-check \
--with-smtp=no --without-zli
and
%make_install PREFIX=%{buildroot} LIB_INSTALL_LINK=%{buildroot}%{_libdir} \
BIN_INSTALL_LINK=%{buildroot}%{_bindir} aubitrc=new
Then update how you move files and path fixes.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2119494