Bug 1503909

Summary: xmgrace is not working in f27
Product: [Fedora] Fedora Reporter: RudraB <bnrj.rudra>
Component: graceAssignee: José Matos <jamatos>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 27CC: baoboadev, barracks510, dominik, itamar, jamatos, jfrieben, majzoube, qoheniac, sergei.trushkin, vedran
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-22 09:09:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description RudraB 2017-10-19 03:30:49 UTC
Description of problem:
When running xmgrace in f27, I am getting the error:
$xmgrace 
--> Broken or incomplete installation - read the FAQ!

Version-Release number of selected component (if applicable):
rpm -q grace
grace-5.1.25-9.fc27.x86_64

How reproducible:
every time

Steps to Reproduce:
1. Install grace from Fedora repo
2. run "xmgrace" from command line

Actual results:
$xmgrace 
--> Broken or incomplete installation - read the FAQ!

Expected results:
This should run trivially.

Additional info:

Comment 1 Eric M 2017-11-14 21:34:01 UTC
It is missing the dependency for motif.

In the mean time it is easy to compile your own version. On my F27 install I just did the following:

1. dnf install motif motif-devel
2. download grace 5.1.25, untar and ./configure, make, make install

[If the packager compiled grace with Lesstif you might also try just installing that with dnf and seeing if that fixes your problem.]

Comment 2 Sergei 2017-11-15 18:55:25 UTC
 I found an other reason.

grace-5.1.25-9.fc27.x86_64.rpm
needs 
  urw-fonts-2.4-24.fc27.noarch.rpm
BUT 
In FC27 it was replaced by
urw-base35-fonts-20170801-2.fc27.noarch
what works with  evince, okular, gs...
Thus if we try  install urw-fonts  dnf told:
problem with installed package urw-base35-standard-symbols-ps-fonts-20170801-2.fc27.noarch

OK  let us
>dnf install  urw-fonts-2.4-24.fc27.noarch.rpm  --allowerasing

install:
urw-fonts                            noarch 3:2.4-24.fc27   @commandlin

delete:
evince                               x86_64 3.26.0-1.fc27   @fedora      9.4 M
 evince-djvu                          x86_64 3.26.0-1.fc27   @fedora       55 k
 evince-libs                          x86_64 3.26.0-1.fc27   @fedora      1.2 M
 ghostscript-core                     x86_64 9.20-14.fc27    @fedora       22 M
 libspectre                           x86_64 0.2.8-4.fc27    @fedora       88 k
 okular                               x86_64 17.08.1-1.fc27  @fedora      5.2 M
 okular-part                          x86_64 17.08.1-1.fc27  @fedora      7.6 M
 urw-base35-bookman-fonts             noarch 20170801-2.fc27 @fedora      1.0 M
 urw-base35-fonts                     noarch 20170801-2.fc27 @fedora      5.3 k
 urw-base35-gothic-fonts              noarch 20170801-2.fc27 @fedora      858 k
 urw-base35-nimbus-mono-ps-fonts      noarch 20170801-2.fc27 @fedora      744 k
 urw-base35-nimbus-roman-fonts        noarch 20170801-2.fc27 @fedora      996 k
 urw-base35-nimbus-sans-fonts         noarch 20170801-2.fc27 @fedora      881 k
 urw-base35-standard-symbols-ps-fonts noarch 20170801-2.fc27 @fedora       44 k

after SUCH installation  grace (fc27) does work indeed!
But we lost okular, evince..

Thus  the main conflict is  urw-fonts !
 
Sure if we will compile  grace on the local PC the troubles disappear.

===Sergei

Comment 3 Eric M 2017-11-18 04:59:11 UTC
Sergei is correct. This has been reported before (Bug 1502175). In the current version of xmgrace the link /usr/share/grace/fonts/type1 is broken. You can also get grace working if you download the source and unpack it and repoint the broken link to the fonts included with the source package.

Comment 4 RudraB 2017-11-23 08:26:22 UTC
I am also having problem in compiling doc files (sgml). 
I can install this from source, that is easy. But it looks like the packager is  no longer maintaining the process (the last built is for f23 https://bodhi.fedoraproject.org/updates/?packages=grace) 
I am ready to pack and maintain xmgrace, but i need some help in cleaning spec file.

Comment 5 baoboa 2017-12-07 14:43:42 UTC
Nothing new ? 

to work around that i did build a compatibility package on copr

https://copr.fedorainfracloud.org/coprs/baoboa/urw-fonts-compat/

Comment 6 Vedran Miletić 2017-12-19 16:16:49 UTC
(In reply to baoboa from comment #5)
> Nothing new ? 
> 
> to work around that i did build a compatibility package on copr
> 
> https://copr.fedorainfracloud.org/coprs/baoboa/urw-fonts-compat/

Thanks, this works for me.

Comment 7 Joachim Frieben 2018-01-22 09:09:28 UTC

*** This bug has been marked as a duplicate of bug 1502175 ***