[Rpm-maint] [rpm-software-management/rpm] Always fail build on dependency generator failures (#1183) (#1271)

soig notifications at github.com
Wed Jun 24 06:35:09 UTC 2020


Ex:

$ sudo mv /usr/lib/rpm/fileattrs/font.attr{,.no}
$ LC_ALL=C rpmbuild --short-circuit --define "_topdir $PWD" -ba
SPECS/feh.spec
(…)
Wrote: /home/tv/mga/pkgs/feh/RPMS/x86_64/feh-3.4.1-1.mga8.x86_64.rpm
Wrote:
/home/tv/mga/pkgs/feh/RPMS/x86_64/feh-debugsource-3.4.1-1.mga8.x86_64.rpm
Wrote:
/home/tv/mga/pkgs/feh/RPMS/x86_64/feh-debuginfo-3.4.1-1.mga8.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3qCi65
+ umask 022
+ cd /home/tv/mga/pkgs/feh/BUILD
+ cd feh-3.4.1
+ /usr/bin/rm -rf /home/tv/mga/pkgs/feh/BUILDROOT/feh-3.4.1-1.mga8.x86_64
+ RPM_EC=0
++ jobs -p
+ exit 0

$ sudo mv /usr/lib/rpm/fileattrs/font.attr{.no,}
$ LC_ALL=C rpmbuild --short-circuit --define "_topdir $PWD" -ba
SPECS/feh.spec
(…)
error: Requirename generator   failed:
/home/tv/mga/pkgs/feh/BUILDROOT/feh-3.4.1-1.mga8.x86_64/usr/share/feh/fonts/yudit.ttf
Provides: application() application(feh.desktop) feh = 3.4.1-1.mga8
feh(x86-64) = 3.4.1-1.mga8 mimehandler(image/bmp) mimehandler(image/gif)
mimehandler(image/jpeg) mimehandler(image/jpg) mimehandler(image/pjpeg)
mimehandler(image/png) mimehandler(image/tiff) mimehandler(image/webp)
mimehandler(image/x-bmp) mimehandler(image/x-pcx) mimehandler(image/x-png)
mimehandler(image/x-portable-anymap) mimehandler(image/x-portable-bitmap)
mimehandler(image/x-portable-graymap) mimehandler(image/x-portable-pixmap)
mimehandler(image/x-tga) mimehandler(image/x-xbitmap)
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libImlib2.so.1()(64bit) libX11.so.6()(64bit)
libXinerama.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit)
libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit)
libc.so.6(GLIBC_2.7)(64bit) libcurl.so.4()(64bit) libexif.so.12()(64bit)
libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libpng16.so.16()(64bit)
libpng16.so.16(PNG16_0)(64bit)
Recommends: imagemagick jpeg-progs


RPM build errors:
    Requirename generator   failed:
/home/tv/mga/pkgs/feh/BUILDROOT/feh-3.4.1-1.mga8.x86_64/usr/share/feh/fonts/yudit.ttf


Which is strange as fontconfig.prov returns 0…


Le mer. 24 juin 2020 à 08:29, Thierry Vignaud <thierry.vignaud at gmail.com> a
écrit :

> Also rpm's own fontconfig.prov is broken:
>
> http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/updates_testing/20200624045432.daviddavid.duvel.28729/log/plasma-desktop-5.19.2-1.mga8/build.0.20200624045513.log
>
> http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/release/20200623223351.luigiwalser.duvel.10411/log/feh-3.4.1-1.mga8/build.0.20200623223403.log
> disabling /usr/lib/rpm/fileattrs/font.attr makes the issue go away
>
> Le mar. 23 juin 2020 à 16:16, rpm-maint <notifications at github.com> a
> écrit :
>
>> Architecture is hardcoded in test and thus it fails on anything not x86_64
>> :-(
>>
>> See
>>
>> http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/release/20200623135516.tv.duvel.30441/log/rpm-4.16.0-0.beta2.1.mga8/build.0.20200623135605.log
>>
>> --- - 2020-06-23 13:59:13.826080861 +0000
>> +++
>> /home/iurt/rpmbuild/BUILD/rpm-4.16.0-beta2/tests/rpmtests.dir/at-groups/329/stderr
>> 2020-06-23
>> 13:59:13.811945165 +0000
>> @@ -1,3 +1,3 @@
>> -error: Requirename generator /tmp/fail.req failed:
>> /build/BUILDROOT/shebang-0.1-1.x86_64/bin/shebang
>> - Requirename generator /tmp/fail.req failed:
>> /build/BUILDROOT/shebang-0.1-1.x86_64/bin/shebang
>> +error: Requirename generator /tmp/fail.req failed:
>> /build/BUILDROOT/shebang-0.1-1.i386/bin/shebang
>> + Requirename generator /tmp/fail.req failed:
>> /build/BUILDROOT/shebang-0.1-1.i386/bin/shebang
>>
>> 329. rpmbuild.at:482: 329. Dependency generation 3 (rpmbuild.at:482):
>> FAILED (rpmbuild.at:505)
>>
>>
>> Le mar. 23 juin 2020 à 12:01, Panu Matilainen <notifications at github.com>
>> a
>> écrit :
>>
>> > Merged #1271 <https://github.com/rpm-software-management/rpm/pull/1271>
>> > into master.
>> >
>> > —
>> > You are receiving this because you are subscribed to this thread.
>> > Reply to this email directly, view it on GitHub
>> > <
>> https://github.com/rpm-software-management/rpm/pull/1271#event-3472161361
>> >,
>> > or unsubscribe
>> > <
>> https://github.com/notifications/unsubscribe-auth/ADLPZU6TKOLLFK7O32BLNDLRYB4QTANCNFSM4OAPN7RQ
>> >
>> > .
>> > _______________________________________________
>> > Rpm-maint mailing list
>> > Rpm-maint at lists.rpm.org
>> > http://lists.rpm.org/mailman/listinfo/rpm-maint
>> >
>>
>>>> You are receiving this because you are subscribed to this thread.
>> Reply to this email directly, view it on GitHub
>> <https://github.com/rpm-software-management/rpm/pull/1271#issuecomment-648179354>,
>> or unsubscribe
>> <https://github.com/notifications/unsubscribe-auth/AAXGVEOWBW6SBUNY27IRZVDRYC2NHANCNFSM4OAPN7RQ>
>> .
>>
>


-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1271#issuecomment-648622128
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200623/f87dcd47/attachment.html>


More information about the Rpm-maint mailing list