Re: rpm-build pulls perl

2020-03-24 Thread Jan Rękorajski
On Tue, 24 Mar 2020, Elan Ruusamäe wrote:

> i would not like bunch of perl deps in base package.
> 
> i think these dependencies are new due recent updates in the repo
> 
> 
> ```
> 
> [root@4195c311335e /]# rpm -q rpm-build --requires|grep perl
> /usr/bin/perl
> perl(Carp)
> perl(Config)
> perl(Cwd)
> perl(File::Basename)
> perl(File::Copy)
> perl(File::Path)
> perl(File::Temp)
> perl(Getopt::Long)
> perl(LWP::UserAgent)
> perl(POSIX)
> perl(XML::LibXML)
> perl(strict)
> perl(warnings)
> 
> [root@4195c311335e /]# rpm -q rpm-build
> 
> rpm-build-5.4.15-57.x86_64
> 
> [root@4195c311335e /]#
> 
> ```
> 
> 
> perhaps just remove the shebang or chmod -x to make the deps optional 
> (if they must stay in rpm-build package)
> 
> but i think they should be moved to `rpm-perlprov` package

I just removed those scripts, they are just junk.

On a side note, this is exactly why we should not have all those weird
hacks in deps generators and just run them always. To chatch stuff like
this.

-- 
Jan Rękorajski| PLD/Linux
SysAdm | bagginspld-linux.org | http://www.pld-linux.org/
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: libc 2.31/i686: operation not permitted for preserving timestamps

2020-03-24 Thread Jan Palus
On 24.03.2020 21:20, Elan Ruusamäe wrote:
> does i686 even work for someone really?
> 
> 
> some errors here and there

FWIW my up-to-date i686 VM (QEMU) used for package testing purposes works fine.
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: libc 2.31/i686: operation not permitted for preserving timestamps

2020-03-24 Thread Jakub Bogusz
On Tue, Mar 24, 2020 at 09:20:19PM +0200, Elan Ruusamäe wrote:
> On 3/16/20 11:46 PM, Elan Ruusamäe wrote:
> >i've got reports that cp -a (or just cp --preserve=timestamps) fails 
> >on i686 and glibc 2.31

> does i686 even work for someone really?

Which kernel and fs?

I don't see such problems, glibc 2.31 on 4.19.x, xfs.


-- 
Jakub Boguszhttp://qboosh.pl/
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: libc 2.31/i686: operation not permitted for preserving timestamps

2020-03-24 Thread Elan Ruusamäe


On 3/16/20 11:46 PM, Elan Ruusamäe wrote:
i've got reports that cp -a (or just cp --preserve=timestamps) fails 
on i686 and glibc 2.31



from strace i've grabbed such error:


   utimensat_time64(4, NULL, [{tv_sec=1584393052, tv_nsec=0} /* 
2020-03-16T23:10:52+0200 */, {tv_sec=1584393052, tv_nsec=0} /* 
2020-03-16T23:10:52+0200 */], 0) = -1 EPERM (Operation not permitted)



i believe it's related to large inode on fd=4 and glibc just reports 
it incorrectly



```
+ ls -ldi locale-archive 
/var/tmp/glibc-localedb-2.30.0-root-root/usr/lib/locale
    790264 drwxr-xr-x 2 root root 4096 Mar 16  2020 
/var/tmp/glibc-localedb-2.30.0-root-root/usr/lib/locale

4379091441 -rw-r--r-- 1 root root 13754080 Mar 16  2020 locale-archive
+ cp '--preserve=timestamps' locale-archive 
/var/tmp/glibc-localedb-2.30.0-root-root/usr/lib/locale
cp: preserving times for 
'/var/tmp/glibc-localedb-2.30.0-root-root/usr/lib/locale/locale-archive': 
Operation not permitted


```




does i686 even work for someone really?


some errors here and there




rpmdb: clock_gettime: Operation not permitted
66 rpmdb: 
BDB0061 PANIC: Operation not permitted
67 ==> 
rpmdbe_event_notify(0xcf70440, PANIC(0), 0xffd25864) app_private (nil)


[root@321bc6bed681 rpm]# poldek -u glibc

clock_gettime: Operation not permitted
BDB0061 PANIC: Operation not permitted


here's full build log attemting to  build base image:


https://gitlab.com/pld-linux/pld/-/jobs/480110124

___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


rpm-build pulls perl

2020-03-24 Thread Elan Ruusamäe

i would not like bunch of perl deps in base package.

i think these dependencies are new due recent updates in the repo


```

[root@4195c311335e /]# rpm -q rpm-build --requires|grep perl
/usr/bin/perl
perl(Carp)
perl(Config)
perl(Cwd)
perl(File::Basename)
perl(File::Copy)
perl(File::Path)
perl(File::Temp)
perl(Getopt::Long)
perl(LWP::UserAgent)
perl(POSIX)
perl(XML::LibXML)
perl(strict)
perl(warnings)

[root@4195c311335e /]# rpm -q rpm-build

rpm-build-5.4.15-57.x86_64

[root@4195c311335e /]#

```


perhaps just remove the shebang or chmod -x to make the deps optional 
(if they must stay in rpm-build package)


but i think they should be moved to `rpm-perlprov` package

```

[root@4195c311335e /]# rpm -ql rpm-build|xargs grep bin/perl 2>/dev/null
/usr/lib/rpm/bin/api-sanity-autotest.pl:#!/usr/bin/perl
/usr/lib/rpm/bin/api-sanity-checker.pl:#!/usr/bin/perl
/usr/lib/rpm/bin/pom2spec:#!/usr/bin/perl
/usr/lib/rpm/http.req:#!/usr/bin/perl
[root@4195c311335e /]#

```

___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en