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

2020-06-24 Thread soig
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  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 +
> +++
> /home/iurt/rpmbuild/BUILD/rpm-4.16.0-beta2/tests/rpmtests.dir/at-groups/329/stderr
> 2020-06-23
> 13:59:13.811945165 +
> @@ -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  a
> écrit :
>
> > Merged #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@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
> ,
> or unsubscribe
> 
> .
>


-- 
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-648620251___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] RPM 4.16.0 beta3 released!

2020-06-24 Thread Thierry Vignaud
Le mer. 24 juin 2020 à 10:47, Panu Matilainen  a
écrit :

>
> This fixes multiple dependency generator related regressions introduced
> beta2, by reverting the "fail build on dependency generator failure"
> change introduced there.
>
> We don't usually release new tarballs just because an issue was found in
> a beta, but since beta2 was released to address just this type of issues
> in beta1 already... And is this wasn't enough, I managed to upload a
> wrong tarball to the website momentarily, so if you were hasty enough to
> download the beta3 tarball before this announcement email, make sure you
> have the one whose sha256sum is
> e6196fac6adcc13ca39699627a1cfc99c79c0beb9acca8c4d065b6cc9d50471c
>
> Sigh, this is what you get for breaking tradition.
>

Sorry to be the bearer of bad news again this week but… there's a new
testsuite failure:

Beta2 was fine besides "rpmbuild.at:482 Dependency generation 3 build":
http://pkgsubmit.mageia.org/uploads/done/cauldron/core/release/20200623145307.tv.duvel.658/rpm-4.16.0-0.beta2.1.mga8/

But beta3 introduces a new failure. See build*.log files & look for
"Summary of the failures" at:
http://pkgsubmit.mageia.org/uploads/done/cauldron/core/release/20200624083544.tv.duvel.13457/rpm-4.16.0-0.beta3.1.mga8/

 235: rpmsigdig.at:144   rpmkeys -Kv  2
  rpmkeys digest

## -- ##
## Detailed failed tests. ##
## -- ##

# -*- compilation -*-
235. rpmsigdig.at:144: testing rpmkeys -Kv  2 ...
./rpmsigdig.at:146:


if ! [ -d testing/ ]; then
cp -aP "${RPMTEST}" .
chmod -R u+w testing/
mkdir -p testing/build
ln -s ../data/SOURCES testing/build/
fi
export RPMTEST="${PWD}/testing"
export TOPDIR="${RPMTEST}/build"
export HOME="${RPMTEST}"

rm -rf "${RPMTEST}"`rpm --eval '%_dbpath'`/*
runroot rpm --initdb


runroot rpmbuild -bb --quiet \
--define "%optflags -O2 -g" \
--define "%_target_platform noarch-linux" \
--define "%_binary_payload w.ufdio" \
--define "%_buildhost localhost" \
--define "%use_source_date_epoch_as_buildtime 1" \
--define "%source_date_epoch_from_changelog 1" \
--define "%clamp_mtime_to_source_date_epoch 1" \
/data/SPECS/attrtest.spec
for v in SHA256HEADER SHA1HEADER SIGMD5 PAYLOADDIGEST PAYLOADDIGESTALT; do
runroot rpm -q --qf "${v}: %{${v}}\n"
/build/RPMS/noarch/attrtest-1.0-1.noarch.rpm
done
runroot rpmkeys -Kv /build/RPMS/noarch/attrtest-1.0-1.noarch.rpm

--- -   2020-06-24 08:37:24.201578966 +
+++ 
/home/iurt/rpmbuild/BUILD/rpm-4.16.0-beta3/tests/rpmtests.dir/at-groups/235/stdout
  2020-06-24
08:37:24.186383200 +
@@ -1,6 +1,6 @@
-SHA256HEADER: 6104d0f021dfe58af39b1957fa222762a45cbec221b10915d61d5238858f3c28
-SHA1HEADER: e58516622b8b8960201d07e7b061af8bc21fcaef
-SIGMD5: 09ca69da1b4a85c202c377da3cf20048
+SHA256HEADER: 24790a8639dec5e0d4506f8ebacba0844b41bfd1aeecf7542251cafdebd1f7f3
+SHA1HEADER: 3539a6132ce89ef2296f5db3ce90f7991891e739
+SIGMD5: 4a51b31c3e136b3c5b3971f3d1811a7b
 PAYLOADDIGEST: 749d8980cc5889419da8cdbe9a5b3292742af8a227db3635f84966481b7612a8
 PAYLOADDIGESTALT:
749d8980cc5889419da8cdbe9a5b3292742af8a227db3635f84966481b7612a8
 /build/RPMS/noarch/attrtest-1.0-1.noarch.rpm:
235. rpmsigdig.at:144: 235. rpmkeys -Kv  2
(rpmsigdig.at:144): FAILED (rpmsigdig.at:146)


## - ##
___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


[Rpm-maint] [rpm-software-management/rpm] GPG_TTY warning causes test-suite failure in mock (#1290)

2020-06-24 Thread Panu Matilainen
Seems that something in mock environment trips up the new GPG_TTY related 
warning, causing (a bogus) test-suite failure due to the extra output:
https://download.copr.fedorainfracloud.org/results/pmatilai/rpm-snapshot/fedora-rawhide-x86_64/01499743-rpm/build.log.gz

```
 --- /dev/null  2020-06-24 10:47:07.441643129 +
+++ 
/builddir/build/BUILD/rpm-4.16.90-git15102/tests/rpmtests.dir/at-groups/242/stderr
  2020-06-24 10:48:56.462891354 +
@@ -0,0 +1,2 @@
+warning: Could not set GPG_TTY to stdin: Inappropriate ioctl for device
+warning: Could not set GPG_TTY to stdin: Inappropriate ioctl for device
242. rpmsigdig.at:414: 242. rpmsign --addsign (rpmsigdig.at:414): FAILED 
(rpmsigdig.at:420)
```

-- 
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/issues/1290___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] GPG_TTY warning causes test-suite failure in mock (#1290)

2020-06-24 Thread Michal Domonkos
Oh my. Thanks for sharing, I'll check that.

-- 
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/issues/1290#issuecomment-648804803___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] GPG_TTY warning causes test-suite failure in mock (#1290)

2020-06-24 Thread Panu Matilainen
No worries, it's not the first (or last) time mock trips up something because 
it's a rather special environment.

-- 
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/issues/1290#issuecomment-648809464___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [Rpm-announce] RPM 4.16.0 beta2 released!

2020-06-24 Thread Thierry Vignaud
Le mar. 23 juin 2020 à 14:41, Panu Matilainen  a
écrit :

>
> Some fairly important fixes cropped up in the last few weeks so we
> decided to go with a second beta for a change. The highlights since
> beta1 include:
>
> - fix hardlink breakage on upgrade when minimize_writes is enabled
> - fix some file triggers missed with sqlite backend
> - fix SSD optimizations also enabling IO-flushing
> - fix too small signature header size limit
> - fix fail build on dependency generator and %_build_pkgcheck_set errors
> - fix data race in threaded package generation
> - fix metainfo dependency generator regression
> - fix Python addErase() not raising exception on non-existent packages
> - fix test-suite parallel execution
>

And thanks you for that last point, the testsuite used to beat the
compilation part on the timing scale, but now it's fast, especially on SSD
(even if there's a small gain even on HDs)
(elapsed 9:07.09 -> 8:31.92 on HD --> 0:33.65 on a (old) SSD)
We lost the test group names in the output but we can always find the
affected test thanks to its name.
So that's a _huge_ improvement!
Thanks again :-)
___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


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

2020-06-24 Thread Panu Matilainen
On 6/24/20 9:30 AM, soig wrote:
> 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
> 

Please open separate tickets for such findings, comments on past commits 
will easily go unseen and/or forgotten.

- Panu -



-- 
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-648623641___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Not ignoring generator failure shows strange issue (#1285)

2020-06-24 Thread soig
Adding:
+   printf("mname='%s', cmd='%s' (callable=%d)\n", mname, cmd, callable);

Shows the following:
grep _font RES1 -1
mname='__elf_provides', cmd='/usr/lib/rpm/elfdeps --provides  ' (callable=0)
mname='__font_provides', cmd=' ' (callable=0)
mname='__gobjectintrospection_provides', cmd='/usr/lib/rpm/gi-find-deps.sh -P ' 
(callable=0)
--
mname='__elf_requires', cmd='/usr/lib/rpm/elfdeps --requires  ' (callable=0)
mname='__font_requires', cmd=' ' (callable=0)
mname='__gobjectintrospection_requires', cmd='/usr/lib/rpm/gi-find-deps.sh -R ' 
(callable=0)
--
mname='__elf_recommends', cmd='' (callable=0)
mname='__font_recommends', cmd='' (callable=0)
mname='__gobjectintrospection_recommends', cmd='' (callable=0)
--
mname='__elf_suggests', cmd='' (callable=0)
mname='__font_suggests', cmd='' (callable=0)
mname='__gobjectintrospection_suggests', cmd='' (callable=0)
--
mname='__elf_supplements', cmd='' (callable=0)
mname='__font_supplements', cmd='' (callable=0)
mname='__gobjectintrospection_supplements', cmd='' (callable=0)
--
mname='__elf_enhances', cmd='' (callable=0)
mname='__font_enhances', cmd='' (callable=0)
mname='__gobjectintrospection_enhances', cmd='' (callable=0)
--
mname='__elf_conflicts', cmd='' (callable=0)
mname='__font_conflicts', cmd='' (callable=0)
mname='__gobjectintrospection_conflicts', cmd='' (callable=0)
--
mname='__elf_obsoletes', cmd='' (callable=0)
mname='__font_obsoletes', cmd='' (callable=0)
mname='__gobjectintrospection_obsoletes', cmd='' (callable=0)

So for both __font_requires  & __font_provides, applyAttr generates a one char 
(space) command for font…

-- 
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/issues/1285#issuecomment-648628790___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


[Rpm-maint] [rpm-software-management/rpm] Release 4.16 beta3 (#1287)

2020-06-24 Thread Panu Matilainen
Reverts the broken dependency generator failure commit. Beta2 was released to 
address that sort of annoyances with beta1 and introducing new ones goes 
against the spirit of having a trouble-free beta experience.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/1287

-- Commit Summary --

  * Revert Always fail build on dependency generator failures 
(#1183)
  * Preparing for rpm 4.16.0-beta3

-- File Changes --

M build/rpmfc.c (32)
M configure.ac (2)
M po/ar.po (27)
M po/br.po (27)
M po/ca.po (27)
M po/cmn.po (27)
M po/cs.po (27)
M po/da.po (27)
M po/de.po (27)
M po/el.po (23)
M po/eo.po (27)
M po/es.po (27)
M po/fi.po (27)
M po/fr.po (27)
M po/id.po (23)
M po/is.po (23)
M po/it.po (27)
M po/ja.po (27)
M po/ko.po (27)
M po/ms.po (27)
M po/nb.po (27)
M po/nl.po (23)
M po/pl.po (27)
M po/pt.po (27)
M po/pt_BR.po (27)
M po/rpm.pot (25)
M po/ru.po (27)
M po/sk.po (27)
M po/sl.po (27)
M po/sr.po (27)
M po/s...@latin.po (27)
M po/sv.po (27)
M po/te.po (23)
M po/tr.po (27)
M po/uk.po (27)
M po/vi.po (27)
M po/zh_CN.po (27)
M po/zh_TW.po (27)
M tests/rpmbuild.at (36)
M tests/rpmsigdig.at (6)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/1287.patch
https://github.com/rpm-software-management/rpm/pull/1287.diff

-- 
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/1287
___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Since beta2 introducing // mode, some files are not removable during %clean (#1289)

2020-06-24 Thread soig
Actually with beta3, I can reproduce it locally:
$ LC_ALL=C rm -fr BUILD/rpm-4.16.0-beta3/
(…)
rm: cannot remove 
'BUILD/rpm-4.16.0-beta3/tests/testing/data/SPECS/test-subpackages-pathpostfixes.spec':
 Permission denied
rm: cannot remove 
'BUILD/rpm-4.16.0-beta3/tests/testing/data/SPECS/ifmultiline.spec': Permission 
denied
rm: cannot remove 
'BUILD/rpm-4.16.0-beta3/tests/testing/data/SPECS/flangtest.spec': Permission 
denied
rm: cannot remove 'BUILD/rpm-4.16.0-beta3/tests/testing/data/misc/hello.intro': 
Permission denied
rm: cannot remove 
'BUILD/rpm-4.16.0-beta3/tests/testing/data/misc/hello.payload': Permission 
denied
rm: cannot remove 'BUILD/rpm-4.16.0-beta3/tests/testing/bin': Permission denied


-- 
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/issues/1289#issuecomment-648704998___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] RPM generators errors are ignored (#1183)

2020-06-24 Thread Panu Matilainen
Yup, and there's more: every caller of rpmfcExec() does so with slightly 
different expectations of what will happen in what situations, and 
rpmfcHelper() was doing +1 on errors whereas the lower layers were returning -1 
and ... whatnot. It needs a *careful* review on reapproach.

-- 
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/issues/1183#issuecomment-648716354___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Fix depgen failure test to be architecture independent, doh (#1283)

2020-06-24 Thread Panu Matilainen
Closed #1283.

-- 
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/1283#event-3476168453___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Revert "Always fail build on dependency generator failures (#1183)" (#1286)

2020-06-24 Thread Panu Matilainen
Nah, it deserves to be reverted because it can't be fixed by any one little 
thing, it's broken in more ways than we have tickets for and we have two 
already. It really needs a restart from scratch.

-- 
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/1286#issuecomment-648650897___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


[Rpm-maint] RPM 4.16.0 beta3 released!

2020-06-24 Thread Panu Matilainen



This fixes multiple dependency generator related regressions introduced 
beta2, by reverting the "fail build on dependency generator failure" 
change introduced there.


We don't usually release new tarballs just because an issue was found in 
a beta, but since beta2 was released to address just this type of issues 
in beta1 already... And is this wasn't enough, I managed to upload a 
wrong tarball to the website momentarily, so if you were hasty enough to 
download the beta3 tarball before this announcement email, make sure you 
have the one whose sha256sum is 
e6196fac6adcc13ca39699627a1cfc99c79c0beb9acca8c4d065b6cc9d50471c


Sigh, this is what you get for breaking tradition.

- Panu -

___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


[Rpm-maint] [rpm-software-management/rpm] Not ignoring generator failure shows strange issue (#1285)

2020-06-24 Thread soig
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

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…

The strangest thing is that 'cmd' seems to be an empty string there

-- 
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/issues/1285___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


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

2020-06-24 Thread soig
Le mer. 24 juin 2020 à 08:38, Panu Matilainen  a
écrit :

> On 6/24/20 9:30 AM, soig wrote:
> > 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
> >
>
> Please open separate tickets for such findings, comments on past commits
> will easily go unseen and/or forgotten.
>
> - Panu -
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> ,
> or unsubscribe
> 
> .
>
Done
https://github.com/rpm-software-management/rpm/issues/1285
https://github.com/rpm-software-management/rpm/issues/1284


-- 
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-648624913___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


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

2020-06-24 Thread Panu Matilainen
On 6/23/20 5:16 PM, rpm-maint wrote:
> 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 +
> +++ 
> /home/iurt/rpmbuild/BUILD/rpm-4.16.0-beta2/tests/rpmtests.dir/at-groups/329/stderr
>  
> 2020-06-23
> 13:59:13.811945165 +
> @@ -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

Doh, what a stupid issue, thanks for reporting. Fixed in
https://github.com/rpm-software-management/rpm/pull/1283, but *please* 
open tickets for such findings. Emails and comments to old PRs/commits 
lack proper tracking, and get all too easily lost in the noise to begin 
with.

- Panu -



-- 
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-648624812___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


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

2020-06-24 Thread Panu Matilainen
This is simply too broken to patch up. Revert and back to drawing board.

This reverts commit fb5299b2a49460216c38674b7398296d3a6d767c.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/1286

-- Commit Summary --

  * Revert Always fail build on dependency generator failures 
(#1183)

-- File Changes --

M build/rpmfc.c (32)
M tests/rpmbuild.at (36)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/1286.patch
https://github.com/rpm-software-management/rpm/pull/1286.diff

-- 
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/1286
___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] RPM 4.16.0 beta3 released!

2020-06-24 Thread Thierry Vignaud
Le mer. 24 juin 2020 à 10:59, Thierry Vignaud  a
écrit :

>
> This fixes multiple dependency generator related regressions introduced
>> beta2, by reverting the "fail build on dependency generator failure"
>> change introduced there.
>>
>> We don't usually release new tarballs just because an issue was found in
>> a beta, but since beta2 was released to address just this type of issues
>> in beta1 already... And is this wasn't enough, I managed to upload a
>> wrong tarball to the website momentarily, so if you were hasty enough to
>> download the beta3 tarball before this announcement email, make sure you
>> have the one whose sha256sum is
>> e6196fac6adcc13ca39699627a1cfc99c79c0beb9acca8c4d065b6cc9d50471c
>>
>> Sigh, this is what you get for breaking tradition.
>>
>
> Sorry to be the bearer of bad news again this week but… there's a new
> testsuite failure:
>
> Beta2 was fine besides "rpmbuild.at:482 Dependency generation 3 build":
>
> http://pkgsubmit.mageia.org/uploads/done/cauldron/core/release/20200623145307.tv.duvel.658/rpm-4.16.0-0.beta2.1.mga8/
>
> But beta3 introduces a new failure. See build*.log files & look for
> "Summary of the failures" at:
>
> http://pkgsubmit.mageia.org/uploads/done/cauldron/core/release/20200624083544.tv.duvel.13457/rpm-4.16.0-0.beta3.1.mga8/
>
>  235: rpmsigdig.at:144   rpmkeys -Kv  2
>   rpmkeys digest
>
> ## -- ##
> ## Detailed failed tests. ##
> ## -- ##
>
> # -*- compilation -*-
> 235. rpmsigdig.at:144: testing rpmkeys -Kv  2 ...
> ./rpmsigdig.at:146:
>
>
> if ! [ -d testing/ ]; then
> cp -aP "${RPMTEST}" .
> chmod -R u+w testing/
> mkdir -p testing/build
> ln -s ../data/SOURCES testing/build/
> fi
> export RPMTEST="${PWD}/testing"
> export TOPDIR="${RPMTEST}/build"
> export HOME="${RPMTEST}"
>
> rm -rf "${RPMTEST}"`rpm --eval '%_dbpath'`/*
> runroot rpm --initdb
>
>
> runroot rpmbuild -bb --quiet \
>   --define "%optflags -O2 -g" \
>   --define "%_target_platform noarch-linux" \
>   --define "%_binary_payload w.ufdio" \
>   --define "%_buildhost localhost" \
>   --define "%use_source_date_epoch_as_buildtime 1" \
>   --define "%source_date_epoch_from_changelog 1" \
>   --define "%clamp_mtime_to_source_date_epoch 1" \
>   /data/SPECS/attrtest.spec
> for v in SHA256HEADER SHA1HEADER SIGMD5 PAYLOADDIGEST PAYLOADDIGESTALT; do
> runroot rpm -q --qf "${v}: %{${v}}\n" 
> /build/RPMS/noarch/attrtest-1.0-1.noarch.rpm
> done
> runroot rpmkeys -Kv /build/RPMS/noarch/attrtest-1.0-1.noarch.rpm
>
> --- - 2020-06-24 08:37:24.201578966 +
> +++ 
> /home/iurt/rpmbuild/BUILD/rpm-4.16.0-beta3/tests/rpmtests.dir/at-groups/235/stdout
> 2020-06-24 08:37:24.186383200 +
> @@ -1,6 +1,6 @@
> -SHA256HEADER: 
> 6104d0f021dfe58af39b1957fa222762a45cbec221b10915d61d5238858f3c28
> -SHA1HEADER: e58516622b8b8960201d07e7b061af8bc21fcaef
> -SIGMD5: 09ca69da1b4a85c202c377da3cf20048
> +SHA256HEADER: 
> 24790a8639dec5e0d4506f8ebacba0844b41bfd1aeecf7542251cafdebd1f7f3
> +SHA1HEADER: 3539a6132ce89ef2296f5db3ce90f7991891e739
> +SIGMD5: 4a51b31c3e136b3c5b3971f3d1811a7b
>  PAYLOADDIGEST: 
> 749d8980cc5889419da8cdbe9a5b3292742af8a227db3635f84966481b7612a8
>  PAYLOADDIGESTALT: 
> 749d8980cc5889419da8cdbe9a5b3292742af8a227db3635f84966481b7612a8
>  /build/RPMS/noarch/attrtest-1.0-1.noarch.rpm:
> 235. rpmsigdig.at:144: 235. rpmkeys -Kv  2 (rpmsigdig.at:144): 
> FAILED (rpmsigdig.at:146)
>
>
> ## - ##
>
>
Opened as https://github.com/rpm-software-management/rpm/issues/1288
I forgot to mention I'm running the testsuite in the new parallel mode.
This was already the case for my builds of beta2
___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


[Rpm-maint] [rpm-software-management/rpm] Beta3 has a new broken test (235: rpmsigdig.at:144 rpmkeys -Kv 2 rpmkeys digest) (#1288)

2020-06-24 Thread soig
Beta2 was fine besides "rpmbuild.at:482 Dependency generation 3 build":
http://pkgsubmit.mageia.org/uploads/done/cauldron/core/release/20200623145307.tv.duvel.658/rpm-4.16.0-0.beta2.1.mga8/

But beta3 introduces a new failure. See build*.log files & look for "Summary of 
the failures" at:
http://pkgsubmit.mageia.org/uploads/done/cauldron/core/release/20200624083544.tv.duvel.13457/rpm-4.16.0-0.beta3.1.mga8/
(using // testsuite)


 235: rpmsigdig.at:144   rpmkeys -Kv  2
  rpmkeys digest

## -- ##
## Detailed failed tests. ##
## -- ##

# -*- compilation -*-
235. rpmsigdig.at:144: testing rpmkeys -Kv  2 ...
./rpmsigdig.at:146:


if ! [ -d testing/ ]; then
cp -aP "${RPMTEST}" .
chmod -R u+w testing/
mkdir -p testing/build
ln -s ../data/SOURCES testing/build/
fi
export RPMTEST="${PWD}/testing"
export TOPDIR="${RPMTEST}/build"
export HOME="${RPMTEST}"

rm -rf "${RPMTEST}"`rpm --eval '%_dbpath'`/*
runroot rpm --initdb


runroot rpmbuild -bb --quiet \
--define "%optflags -O2 -g" \
--define "%_target_platform noarch-linux" \
--define "%_binary_payload w.ufdio" \
--define "%_buildhost localhost" \
--define "%use_source_date_epoch_as_buildtime 1" \
--define "%source_date_epoch_from_changelog 1" \
--define "%clamp_mtime_to_source_date_epoch 1" \
/data/SPECS/attrtest.spec
for v in SHA256HEADER SHA1HEADER SIGMD5 PAYLOADDIGEST PAYLOADDIGESTALT; do
runroot rpm -q --qf "${v}: %{${v}}\n" 
/build/RPMS/noarch/attrtest-1.0-1.noarch.rpm
done
runroot rpmkeys -Kv /build/RPMS/noarch/attrtest-1.0-1.noarch.rpm

--- -   2020-06-24 08:37:24.201578966 +
+++ 
/home/iurt/rpmbuild/BUILD/rpm-4.16.0-beta3/tests/rpmtests.dir/at-groups/235/stdout
  2020-06-24 08:37:24.186383200 +
@@ -1,6 +1,6 @@
-SHA256HEADER: 6104d0f021dfe58af39b1957fa222762a45cbec221b10915d61d5238858f3c28
-SHA1HEADER: e58516622b8b8960201d07e7b061af8bc21fcaef
-SIGMD5: 09ca69da1b4a85c202c377da3cf20048
+SHA256HEADER: 24790a8639dec5e0d4506f8ebacba0844b41bfd1aeecf7542251cafdebd1f7f3
+SHA1HEADER: 3539a6132ce89ef2296f5db3ce90f7991891e739
+SIGMD5: 4a51b31c3e136b3c5b3971f3d1811a7b
 PAYLOADDIGEST: 749d8980cc5889419da8cdbe9a5b3292742af8a227db3635f84966481b7612a8
 PAYLOADDIGESTALT: 
749d8980cc5889419da8cdbe9a5b3292742af8a227db3635f84966481b7612a8
 /build/RPMS/noarch/attrtest-1.0-1.noarch.rpm:
235. rpmsigdig.at:144: 235. rpmkeys -Kv  2 (rpmsigdig.at:144): FAILED 
(rpmsigdig.at:146)


## - ##

-- 
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/issues/1288___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Revert "Always fail build on dependency generator failures (#1183)" (#1286)

2020-06-24 Thread Igor Raits
I think we should keep it for master and revert fo 4.16

-- 
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/1286#issuecomment-648649214___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Beta3 has a new broken test (235: rpmsigdig.at:144 rpmkeys -Kv 2 rpmkeys digest) (#1288)

2020-06-24 Thread Panu Matilainen
Closed #1288.

-- 
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/issues/1288#event-3476574212___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Beta3 has a new broken test (235: rpmsigdig.at:144 rpmkeys -Kv 2 rpmkeys digest) (#1288)

2020-06-24 Thread Panu Matilainen
See http://lists.rpm.org/pipermail/rpm-announce/2020-June/80.html, you 
managed to grab the wrong tarball.

-- 
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/issues/1288#issuecomment-648701030___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


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

2020-06-24 Thread soig
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  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  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 +
>> +++
>> /home/iurt/rpmbuild/BUILD/rpm-4.16.0-beta2/tests/rpmtests.dir/at-groups/329/stderr
>> 2020-06-23
>> 13:59:13.811945165 +
>> @@ -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 
>> a
>> écrit :
>>
>> > Merged #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@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
>> ,
>> or unsubscribe
>> 
>> .
>>
>


-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:

[Rpm-maint] [rpm-software-management/rpm] Fix depgen failure test to be architecture independent, doh (#1283)

2020-06-24 Thread Panu Matilainen
Nobody noticed the test-results being x86_64-specific due to buildroot
path getting exposed, what a dumb cause... Override the default buildroot
definition to make it arch-independent for these cases.

Fixes: fb5299b2a49460216c38674b7398296d3a6d767c
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/1283

-- Commit Summary --

  * Fix depgen failure test to be architecture independent, doh

-- File Changes --

M tests/rpmbuild.at (10)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/1283.patch
https://github.com/rpm-software-management/rpm/pull/1283.diff

-- 
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/1283
___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] RPM generators errors are ignored (#1183)

2020-06-24 Thread Panu Matilainen
Reopening as the fix was reverted (it was just too broken to live)

-- 
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/issues/1183#issuecomment-648660465___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] RPM generators errors are ignored (#1183)

2020-06-24 Thread Panu Matilainen
Reopened #1183.

-- 
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/issues/1183#event-3476265711___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Architecture is hardcoded in new test and thus it fails on anything not x86_64 :-( (#1284)

2020-06-24 Thread soig
This one is still not fixed in 4.16.0 beta3  AFAIK…

-- 
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/issues/1284#issuecomment-648681367___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Architecture is hardcoded in new test and thus it fails on anything not x86_64 :-( (#1284)

2020-06-24 Thread Panu Matilainen
It is because the problematic test doesn't even exist anymore. But if you were 
really hasty, you might've downloaded the wrong tarball (when things go wrong, 
they really do...), check that you have one with sha256sum 
e6196fac6adcc13ca39699627a1cfc99c79c0beb9acca8c4d065b6cc9d50471c (as per 
release notes now)

-- 
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/issues/1284#issuecomment-648685297___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] RPM 4.16.0 beta3 released!

2020-06-24 Thread Thierry Vignaud
Le mer. 24 juin 2020 à 11:02, Thierry Vignaud  a
écrit :

>
>> This fixes multiple dependency generator related regressions introduced
>>> beta2, by reverting the "fail build on dependency generator failure"
>>> change introduced there.
>>>
>>> We don't usually release new tarballs just because an issue was found in
>>> a beta, but since beta2 was released to address just this type of issues
>>> in beta1 already... And is this wasn't enough, I managed to upload a
>>> wrong tarball to the website momentarily, so if you were hasty enough to
>>> download the beta3 tarball before this announcement email, make sure you
>>> have the one whose sha256sum is
>>> e6196fac6adcc13ca39699627a1cfc99c79c0beb9acca8c4d065b6cc9d50471c
>>>
>>> Sigh, this is what you get for breaking tradition.
>>>
>>
>> Sorry to be the bearer of bad news again this week but… there's a new
>> testsuite failure:
>>
>> Beta2 was fine besides "rpmbuild.at:482 Dependency generation 3 build":
>>
>> http://pkgsubmit.mageia.org/uploads/done/cauldron/core/release/20200623145307.tv.duvel.658/rpm-4.16.0-0.beta2.1.mga8/
>>
>> But beta3 introduces a new failure. See build*.log files & look for
>> "Summary of the failures" at:
>>
>> http://pkgsubmit.mageia.org/uploads/done/cauldron/core/release/20200624083544.tv.duvel.13457/rpm-4.16.0-0.beta3.1.mga8/
>>
>>  235: rpmsigdig.at:144   rpmkeys -Kv  2
>>   rpmkeys digest
>>
>> ## -- ##
>> ## Detailed failed tests. ##
>> ## -- ##
>>
>> # -*- compilation -*-
>> 235. rpmsigdig.at:144: testing rpmkeys -Kv  2 ...
>> ./rpmsigdig.at:146:
>>
>>
>> if ! [ -d testing/ ]; then
>> cp -aP "${RPMTEST}" .
>> chmod -R u+w testing/
>> mkdir -p testing/build
>> ln -s ../data/SOURCES testing/build/
>> fi
>> export RPMTEST="${PWD}/testing"
>> export TOPDIR="${RPMTEST}/build"
>> export HOME="${RPMTEST}"
>>
>> rm -rf "${RPMTEST}"`rpm --eval '%_dbpath'`/*
>> runroot rpm --initdb
>>
>>
>> runroot rpmbuild -bb --quiet \
>>  --define "%optflags -O2 -g" \
>>  --define "%_target_platform noarch-linux" \
>>  --define "%_binary_payload w.ufdio" \
>>  --define "%_buildhost localhost" \
>>  --define "%use_source_date_epoch_as_buildtime 1" \
>>  --define "%source_date_epoch_from_changelog 1" \
>>  --define "%clamp_mtime_to_source_date_epoch 1" \
>>  /data/SPECS/attrtest.spec
>> for v in SHA256HEADER SHA1HEADER SIGMD5 PAYLOADDIGEST PAYLOADDIGESTALT; do
>> runroot rpm -q --qf "${v}: %{${v}}\n" 
>> /build/RPMS/noarch/attrtest-1.0-1.noarch.rpm
>> done
>> runroot rpmkeys -Kv /build/RPMS/noarch/attrtest-1.0-1.noarch.rpm
>>
>> --- -2020-06-24 08:37:24.201578966 +
>> +++ 
>> /home/iurt/rpmbuild/BUILD/rpm-4.16.0-beta3/tests/rpmtests.dir/at-groups/235/stdout
>>2020-06-24 08:37:24.186383200 +
>> @@ -1,6 +1,6 @@
>> -SHA256HEADER: 
>> 6104d0f021dfe58af39b1957fa222762a45cbec221b10915d61d5238858f3c28
>> -SHA1HEADER: e58516622b8b8960201d07e7b061af8bc21fcaef
>> -SIGMD5: 09ca69da1b4a85c202c377da3cf20048
>> +SHA256HEADER: 
>> 24790a8639dec5e0d4506f8ebacba0844b41bfd1aeecf7542251cafdebd1f7f3
>> +SHA1HEADER: 3539a6132ce89ef2296f5db3ce90f7991891e739
>> +SIGMD5: 4a51b31c3e136b3c5b3971f3d1811a7b
>>  PAYLOADDIGEST: 
>> 749d8980cc5889419da8cdbe9a5b3292742af8a227db3635f84966481b7612a8
>>  PAYLOADDIGESTALT: 
>> 749d8980cc5889419da8cdbe9a5b3292742af8a227db3635f84966481b7612a8
>>  /build/RPMS/noarch/attrtest-1.0-1.noarch.rpm:
>> 235. rpmsigdig.at:144: 235. rpmkeys -Kv  2 (rpmsigdig.at:144): 
>> FAILED (rpmsigdig.at:146)
>>
>>
>> ## - ##
>>
>>
> Opened as https://github.com/rpm-software-management/rpm/issues/1288
> I forgot to mention I'm running the testsuite in the new parallel mode.
> This was already the case for my builds of beta2
>

Also I forgot to report this one yesterday:
https://github.com/rpm-software-management/rpm/issues/1289
rpm's %clean fails unless I run "chmod -R +w tests/testing/"
It might be a side effect of the // testsuite
___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] RPM generators errors are ignored (#1183)

2020-06-24 Thread soig
For references, here's the fallout:
https://github.com/rpm-software-management/rpm/issues/1285

-- 
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/issues/1183#issuecomment-648710531___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Not ignoring generator failure shows strange issue (#1285)

2020-06-24 Thread Panu Matilainen
Right, there are ... issues with the error code handling in rpmfcExec().

For now, it's best to just revert the "always fail" commit 
fb5299b2a49460216c38674b7398296d3a6d767c, it's just broken.

Thanks for the report.

-- 
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/issues/1285#issuecomment-648637078___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Release 4.16 beta3 (#1287)

2020-06-24 Thread Panu Matilainen
Merged #1287 into rpm-4.16.x.

-- 
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/1287#event-3476314408___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Not ignoring generator failure shows strange issue (#1285)

2020-06-24 Thread Panu Matilainen
Closed #1285.

-- 
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/issues/1285#event-3476588512___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Not ignoring generator failure shows strange issue (#1285)

2020-06-24 Thread Panu Matilainen
Fixed in master and beta3, thanks again for reporting.

-- 
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/issues/1285#issuecomment-648702816___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


[Rpm-maint] [rpm-software-management/rpm] Architecture is hardcoded in new test and thus it fails on anything not x86_64 :-( (#1284)

2020-06-24 Thread soig
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 +
+++ 
/home/iurt/rpmbuild/BUILD/rpm-4.16.0-beta2/tests/rpmtests.dir/at-groups/329/stderr
  2020-06-23 13:59:13.811945165 +
@@ -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)

-- 
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/issues/1284___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Revert "Always fail build on dependency generator failures (#1183)" (#1286)

2020-06-24 Thread Panu Matilainen
Merged #1286 into master.

-- 
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/1286#event-3476208995___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


[Rpm-maint] [rpm-software-management/rpm] Since beta2 introducing // mode, some files are not removable during %clean (#1289)

2020-06-24 Thread soig
Since beta2 introducing parallel mode, some files are not removable.
See build*.log at 
http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/release/20200623141813.tv.duvel.19852/log/rpm-4.16.0-0.beta2.1.mga8/
(…)

Wrote: 
/home/iurt/rpmbuild/RPMS/noarch/rpm-apidocs-4.16.0-0.beta2.1.mga8.noarch.rpm
Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.ClaJkJ
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd rpm-4.16.0-beta2
+ /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/rpm-4.16.0-0.beta2.1.mga8.x86_64
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.RZOwSI
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ rm -rf rpm-4.16.0-beta2
rm: cannot remove 'rpm-4.16.0-beta2/tests/testing/data/misc/hello.payload': 
Permission denied
rm: cannot remove 'rpm-4.16.0-beta2/tests/testing/data/misc/hello.intro': 
Permission denied
rm: cannot remove 'rpm-4.16.0-beta2/tests/testing/data/macros.testfile': 
Permission denied
rm: cannot remove 
'rpm-4.16.0-beta2/tests/testing/data/SOURCES/hello-1.0-modernize.patch': 
Permission denied
rm: cannot remove 'rpm-4.16.0-beta2/tests/testing/data/SOURCES/bar.c': 
Permission denied

This didn't happen in my prior local build, so I guess it depends on umask.
I "fixed" it with "chmod -R +w tests/testing/":
http://svnweb.mageia.org/packages/cauldron/rpm/current/SPECS/rpm.spec?r1=1598795=1598794=1598795

-- 
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/issues/1289___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Architecture is hardcoded in new test and thus it fails on anything not x86_64 :-( (#1284)

2020-06-24 Thread Panu Matilainen
Closed #1284.

-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1284#event-3476583293___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Architecture is hardcoded in new test and thus it fails on anything not x86_64 :-( (#1284)

2020-06-24 Thread Panu Matilainen
Maybe a slow mirror somewhere in there. Try again until you get the right 
version.

-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1284#issuecomment-648702149___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Beta3 has a new broken test (235: rpmsigdig.at:144 rpmkeys -Kv 2 rpmkeys digest) (#1288)

2020-06-24 Thread soig
Indeed we can close this one.
https://github.com/rpm-software-management/rpm/issues/1289 is the only 
remaining issue with beta3

-- 
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/issues/1288#issuecomment-648707604___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Fix python(abi) requires generator, it picked files from almost good directories (#1272)

2020-06-24 Thread Miro Hrončok
Is this good to be merged?

-- 
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/1272#issuecomment-649113390___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint