Installing MATE from source
Re: Installing MATE from source
I downloaded the MATE fedora 30 some time ago. I'm compiling the dependencies. I downloaded the srpms from Fedora 33 but actually need the Fedora 30 srpms because Fedora 33 requires newer modules than Centos 8 has. I know Fedora 30 srpms are in the vault somewhere, but I can't find them. Can someone give me a link?
Aussie
Aussie
Re: Installing MATE from source
German speaking forum for Fedora and CentOS: https://www.fedoraforum.de/
Re: Installing MATE from source
Thanks owl102. I was able to download all the fc30 srpms that I need.
Aussie
Aussie
Re: Installing MATE from source
I have a few problem with the compiles, but maybe someone can help me with this problem.
But the fc30 version is 12.0.0.1 for unicode-ucd:
unicode-ucd-12.0.0-1.fc30.src.rpm
Is this an error in the spec file or am I missing something? If this is an error in the spec file is there a utility to modify gucharmap-12.0.1-1.fc30.src.rpm?
Aussie
Code: Select all
root@192-168-1-102 MATE-fc30-src-depend]# rpmbuild --rebuild gucharmap-12.0.1-1.fc30.src.rpm
Installing gucharmap-12.0.1-1.fc30.src.rpm
warning: gucharmap-12.0.1-1.fc30.src.rpm: Header V3 RSA/SHA256 Signature, key ID cfc659b9: NOKEY
error: Failed build dependencies:
unicode-ucd = 11.0.0 is needed by gucharmap-12.0.1-1.el8.x86_64
unicode-ucd-unihan = 11.0.0 is needed by gucharmap-12.0.1-1.el8.x86_64
[root@192-168-1-102 MATE-fc30-src-depend]#
unicode-ucd-12.0.0-1.fc30.src.rpm
Is this an error in the spec file or am I missing something? If this is an error in the spec file is there a utility to modify gucharmap-12.0.1-1.fc30.src.rpm?
Aussie
Re: Installing MATE from source
CentOS 8 has unicode-ucd-11.0.0-1.el8 in AppStream. There does not seem to be unicode-ucd-han.
You can "install" srpms: rpm -i gucharmap-12.0.1-1.fc30.src.rpm
That will probably place a tarball into rpmbuild/SOURCES/ and the spec-file into rpmbuild/SPECS/
Dependencies are usually defined in the spec-file.
However, meddling in those details tends to be a rabbit hole.
Have you tried mock (from EPEL)?
You can "install" srpms: rpm -i gucharmap-12.0.1-1.fc30.src.rpm
That will probably place a tarball into rpmbuild/SOURCES/ and the spec-file into rpmbuild/SPECS/
Dependencies are usually defined in the spec-file.
However, meddling in those details tends to be a rabbit hole.
Have you tried mock (from EPEL)?
Like yum or pip it fetches necessary dependencies (into the chroot) -- assuming it can find them.Mock takes an SRPM and builds it in a chroot.
Re: Installing MATE from source
Thanks jlehtone for the info on unicode-ucd-11.0.0-1.el8 being the in AppStream. When you build unicode-ucd you also get a rpm for unicode-ucd-han.
Thanks for the tip on mock. I'll give it a try. I don't know what I'm doing, I'm learning as I go.
Aussie
Thanks for the tip on mock. I'll give it a try. I don't know what I'm doing, I'm learning as I go.
Aussie
Re: Installing MATE from source
I'm getting build error for mate-settings-daemon:
I searched on the web for the patch and found this:
But the page is not found. Can someone help locate this patch? I'm using fc30 mate-settings-daemon. Once I get the patch do I just copy it into /builddir/build/SOURCES and try the build again?
Aussie
Code: Select all
error: Bad file: /builddir/build/SOURCES/mate-settings-daemon_fix-xrdb-plugin-for-rhel.patch: No such file or directory
Bad file: /builddir/build/SOURCES/mate-settings-daemon_fix-xrdb-plugin-for-rhel.patch: No such file or directory
Code: Select all
http://pkgs.fedoraproject.org/cgit/rpms/mate-settings-daemon.git/tree/mate-settings-daemon_fix-xrdb-plugin-for-rhel.patch
Aussie
Re: Installing MATE from source
I have found the file here:
https://src.fedoraproject.org/rpms/mate ... n/tree/f30
->
https://src.fedoraproject.org/rpms/mate ... rhel.patch
German speaking forum for Fedora and CentOS: https://www.fedoraforum.de/
Re: Installing MATE from source
Many thanks owl102 for the link. I have downloaded the patch.
Aussie
Aussie
Re: Installing MATE from source
I'm having errors processing the patch. I downloaded the patch twice, but get the same result.
I thought I would try mock. I tried the --copyin to copy the patch to /builddir/build/SOURCES. Mock does seem to understand the --rebuild option after --copyin. If I specify the --rebuild first mock doesn't understand the --copyin. What is the correct method to get mock to process the patch?
Aussie
Code: Select all
+ cd mate-settings-daemon-1.22.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/cat /root/rpmbuild/SOURCES/mate-settings-daemon_fix-xrdb-plugin-for-rhel.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
1 out of 1 hunk FAILED -- saving rejects to file plugins/xrdb/msd-xrdb-manager.c.rej
patch unexpectedly ends in middle of line
error: Bad exit status from /var/tmp/rpm-tmp.9Ri3MX (%prep)
Aussie