On 08/19/2014 06:29 PM, Jacco Ligthart wrote:
On 08/18/2014 02:36 PM, Gordan Bobic wrote:
Some of the ones that are not quite up to date are just me not having
had a chance to do an update build recently. Some, however, will not
be updated further unless somebody from the community steps up to
become a maintainer.
If you take a look here:
http://wiki.redsleeve.org/index.php/ModifiedPackages
some packages are highlighted in yellow, namely kernel, glibc and gcc.
They require significant patching to make them work on ARM and the
2.6.32 base kernel supports very, very few SoCs.
There are other packages (e.g. biosdevname) that have introduced ARM
incompatible assembly that will also not be updated further.
So on EL6 we are stuck with those. Note that the 4 packages mentioned
are 4 source packages which may each produce several binary packages.
That's a good list, I had not found that yet on the wiki.
I do not have a good place to compile packages, but I can manage some
rpmbuild on my spare raspberry :)
I thought of having a go at the most important patches, being labeled
Critical by RedHat.
There is now a list of three 'advisories': nss/nspr, firefox and java.
both firefox and java are probably to much for the raspberry, so I did
not test them. But you'd probably like to hear that they increased the
java version enough so that it will probably compile on arm.
So to nss/nspr:
* nspr-4.10.6-1.el6_5.src.rpm builds without any problem
* nss-util-3.16.1-1.el6_5.src.rpm builds without any problem
* nss-3.16.1-4.el6_5.src.rpm FAILS 6 tests, something about expired
certificates
=> maybe out of date cacerts?
* ca-certificates-2014.1.98-65.0.el6_5.src.rpm builds without any problem
* nss-3.16.1-4.el6_5.src.rpm again FAILS 6 tests, something about
expired certificates
=> aha, there is a certificate in the SRPM that is expired
(PayPalEE.cert) this is fixed
with a new cert in CentOS7, so include that cert in nss
* nss-3.16.1-4.el6_5.src.rpm builds without any problem
however nss won't install:
Error: Package: nss-3.16.1-4.el6.armv5tel (/nss-3.16.1-4.el6.armv5tel)
Requires: nss-softokn(armv6l-32) >= 3.14.3
huh? I have a version 3.14.3 installed, but why is it asking after armv6?
This is probably some weirdness ariding from the fact you built it on a
Pi which is ARMv6 and rpmbuild defaults to the currently running arch.
When you build packages, consider using mock to build it. The attached
mock config for el6-arm should work. You may want to mirror the
repository locally if you are going to do more than a handful of builds
and change the repository configuration in the mock config to point at
your local mirror.
anyway, then try and rebuild nss-softokn:
* nss-softokn-3.14.3-10.el6_5.src.rpm builds without any problem
and now nss will install.
summary:
the nss-* and nspr srpms will all compile with one minor hicup (the
expired PayPalEE cert)
I do not understand why nss requires an armv6 ?
See if it also happens when you build in mock. The problem should go away.
If there is interest in the resulting rpms, I can upload them to
cdn.opensxce.org. <http://cdn.opensxce.org> but personally I think it
would be smarter to rebuild them with a more standardized method, than
rpmbuild on my spare raspberry.
Indeed. I'll do another update run when I'm back at the build farm. At
the moment I'm traveling and won't be home for a significant length of
time until the tail end of September.
Gordan
config_opts['root'] = 'el-6-arm'
config_opts['target_arch'] = 'armv5tel'
config_opts['legal_host_arches'] = ('armv5tel', 'armv6l', 'armv7l')
config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build'
config_opts['dist'] = 'el6' # only useful for --resultdir variable subst
config_opts['yum.conf'] = """
[main]
cachedir=/var/cache/yum
debuglevel=1
reposdir=/dev/null
logfile=/var/log/yum.log
retries=20
obsoletes=1
gpgcheck=0
assumeyes=1
syslog_ident=mock
syslog_device=
# repos
[el6-base]
name=RSEL 6
failovermethod=priority
mirrorlist=http://ftp.redsleeve.org/pub/el6/packages/base/mirrors
enabled=1
[el6-update]
name=RSEL 6 Updates
failovermethod=priority
mirrorlist=http://ftp.redsleeve.org/pub/el6/packages/update/mirrors
enabled=1
"""
_______________________________________________
users mailing list
[email protected]
http://lists.redsleeve.org/mailman/listinfo/users