Bug 1083875 - The packaging of The Hessling Editor and Regina prevents use of oorexx
The packaging of The Hessling Editor and Regina prevents use of oorexx
Status: RESOLVED FIXED
Classification: openSUSE
Product: openSUSE Distribution
Classification: openSUSE
Component: Other
Leap 42.3
x86-64 SUSE Other
: P5 - None : Normal (vote)
: ---
Assigned To: Martin Pluskal
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-03-04 21:01 UTC by Seymour Metz
Modified: 2018-10-29 08:49 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Seymour Metz 2018-03-04 21:01:22 UTC
The RPM files for Regina and OOREXX install files with the same name, e.g., rexx, rxapi, into the same directory. The Hessling Editor (THE) has Regina as a prerequisite. The result is that although THE is coded to select from among multiple Rexx implementations, it is impossible to install THE concurrently with OOREXX. This problem exists in both the 32-bit and 64-bit versions.

#### YaST2 conflicts list - generated 2018-02-27 20:25:13 ####

Regina-REXX-3.9.1-2.4.i586 conflicts with ooRexx provided by ooRexx-4.2.0-12.1.i586

    [ ] Following actions will be done:
deinstallation of ooRexx-4.2.0-12.1.i586
deinstallation of ooRexx-devel-4.2.0-12.1.i586
    [ ] do not install Regina-REXX-3.9.1-2.4.i586

#### YaST2 conflicts list END ###


Suggested solution: put OOREXX and Regina in separate directories and add soft links in, e.g., /usr/bin, to the default Rexx.
Comment 1 Seymour Metz 2018-03-04 21:05:12 UTC
Rexx/Trans documentation is at <http://rexxtrans.sourceforge.net/doc/index.html>
Comment 2 Martin Pluskal 2018-03-07 08:10:48 UTC
Doing so would require significant changes to way REX interpreters are packaged, as they cant be installed in parallel atm - using update-alternatives might be viable. CCing ooRexx maintainers
Comment 3 Seymour Metz 2018-03-13 20:11:38 UTC
I installed update-alternatives and yast2-alternatives. I don't see rexx on the menu. Do I need to edit a configuration file? Do I need to delete and reinstall oorexx? Thanks.
Comment 4 Martin Pluskal 2018-03-14 07:55:05 UTC
(In reply to Seymour Metz from comment #3)
> I installed update-alternatives and yast2-alternatives. I don't see rexx on
> the menu. Do I need to edit a configuration file? Do I need to delete and
> reinstall oorexx? Thanks.

No, usage of update-alternatives has to be implemented on packaging level of multiple packages - as end user there is not much you can do (apart from giving up on oorex
Comment 5 Erico Mendonca 2018-03-14 16:43:39 UTC
I certainly can add support for update-alternatives to ooRexx. I don't know about Regina REXX, though.
Comment 6 Martin Pluskal 2018-03-14 16:47:25 UTC
(In reply to Erico Mendonca from comment #5)
> I certainly can add support for update-alternatives to ooRexx. I don't know
> about Regina REXX, though.

Well I am maintainer of regina REXX so I would do it - it would not make sense if ooRexx did not implement this though.
Comment 7 Erico Mendonca 2018-03-14 16:57:22 UTC
Doing it for ooRexx right now. What binaries need to use alternatives? rexx, rexxc and rxapi?
Comment 8 Martin Pluskal 2018-03-14 17:00:39 UTC
(In reply to Erico Mendonca from comment #7)
> Doing it for ooRexx right now. What binaries need to use alternatives? rexx,
> rexxc and rxapi?

Regina has following binaries:
%{_bindir}/regina
%{_bindir}/rexx
%{_bindir}/rxqueue
%{_bindir}/rxstack

See https://build.opensuse.org/package/view_file/devel:languages:misc/Regina-REXX/Regina-REXX.spec?expand=1
Comment 9 Erico Mendonca 2018-03-15 13:58:13 UTC
Done: 

(1/1) Installing: ooRexx-4.2.0-238.1.x86_64 ..............................[done]
Additional rpm output:
warning: /var/cache/zypper/RPMS/ooRexx-4.2.0-238.1.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 2d76c052: NOKEY
Please enable the ooRexx rxapid service manually.
To do this, run:
systemctl enable ooRexx.service
systemctl start ooRexx.service
update-alternatives: using /usr/bin/rexx.oorexx to provide /usr/bin/rexx (rexx) in auto mode
update-alternatives: using /usr/bin/rexxc.oorexx to provide /usr/bin/rexxc (rexxc) in auto mode
update-alternatives: using /usr/bin/rxqueue.oorexx to provide /usr/bin/rxqueue (rxqueue) in auto mode


I added rexxc to the alternatives, just in case.

It's available at https://build.opensuse.org/package/show/devel:languages:misc/ooRexx
 and has also been forwarded to Factory.
Comment 10 Martin Pluskal 2018-03-15 14:34:38 UTC
(In reply to Erico Mendonca from comment #9)
> Done: 
> 
> (1/1) Installing: ooRexx-4.2.0-238.1.x86_64
> ..............................[done]
> Additional rpm output:
> warning: /var/cache/zypper/RPMS/ooRexx-4.2.0-238.1.x86_64.rpm: Header V3
> DSA/SHA1 Signature, key ID 2d76c052: NOKEY
> Please enable the ooRexx rxapid service manually.
> To do this, run:
> systemctl enable ooRexx.service
> systemctl start ooRexx.service
> update-alternatives: using /usr/bin/rexx.oorexx to provide /usr/bin/rexx
> (rexx) in auto mode
> update-alternatives: using /usr/bin/rexxc.oorexx to provide /usr/bin/rexxc
> (rexxc) in auto mode
> update-alternatives: using /usr/bin/rxqueue.oorexx to provide
> /usr/bin/rxqueue (rxqueue) in auto mode
> 
> 
> I added rexxc to the alternatives, just in case.
> 
> It's available at
> https://build.opensuse.org/package/show/devel:languages:misc/ooRexx
>  and has also been forwarded to Factory.

Great, I can just copy this do regina then :) I will submit regina to factory as well, and then I will create maintenance incident with both packages to resolve this issue in Leap as well.
Comment 11 Swamp Workflow Management 2018-03-15 15:20:09 UTC
This is an autogenerated message for OBS integration:
This bug (1083875) was mentioned in
https://build.opensuse.org/request/show/587548 Factory / Regina-REXX
Comment 12 Seymour Metz 2018-03-20 18:49:42 UTC
When the updated RPM files for oorex, Regina and THE are in the TUMBLEWEED repository, will I need to de-install the current oorexx prior to installing the updated oorexx RPM?
Comment 13 Erico Mendonca 2018-03-21 13:04:18 UTC
(In reply to Seymour Metz from comment #12)
> When the updated RPM files for oorex, Regina and THE are in the TUMBLEWEED
> repository, will I need to de-install the current oorexx prior to installing
> the updated oorexx RPM?

A simple upgrade should work (rpm -Uvh or zypper in), as far as I could see.
Comment 14 Martin Pluskal 2018-03-21 13:21:55 UTC
(In reply to Erico Mendonca from comment #13)
> (In reply to Seymour Metz from comment #12)
> > When the updated RPM files for oorex, Regina and THE are in the TUMBLEWEED
> > repository, will I need to de-install the current oorexx prior to installing
> > the updated oorexx RPM?
> 
> A simple upgrade should work (rpm -Uvh or zypper in), as far as I could see.

For upgrading on Factory please allways use `zypper dup`
Comment 15 Martin Pluskal 2018-06-25 09:36:36 UTC
https://build.opensuse.org/request/show/587548 is stuck due to:
found conflict of Regina-REXX-3.9.1-4.4.x86_64 with ooRexx-4.2.0-13.1.x86_64:
  - /etc/alternatives/rexx [mode mismatch: g -644 root:root, g -755 root:root]
  - /etc/alternatives/rxqueue [mode mismatch: g -644 root:root, g -755 root:root]
  - /usr/share/man/man1/rexx.1.gz
  - /usr/share/man/man1/rxqueue.1.gz

So more fixing on both compilers is needed.
Comment 16 Erico Mendonca 2018-06-26 15:57:43 UTC
(In reply to Martin Pluskal from comment #15)
> https://build.opensuse.org/request/show/587548 is stuck due to:
> found conflict of Regina-REXX-3.9.1-4.4.x86_64 with ooRexx-4.2.0-13.1.x86_64:
>   - /etc/alternatives/rexx [mode mismatch: g -644 root:root, g -755
> root:root]
>   - /etc/alternatives/rxqueue [mode mismatch: g -644 root:root, g -755
> root:root]
>   - /usr/share/man/man1/rexx.1.gz
>   - /usr/share/man/man1/rxqueue.1.gz
> 
> So more fixing on both compilers is needed.

Working on ooRexx right now. I'm going to move those man pages to /etc/alternatives, and rename everything to avoid conflicts.
Comment 17 Erico Mendonca 2018-06-26 19:46:53 UTC
Okay, changes done, tested and forwarded to Factory.
Comment 18 Swamp Workflow Management 2018-06-27 15:40:06 UTC
This is an autogenerated message for OBS integration:
This bug (1083875) was mentioned in
https://build.opensuse.org/request/show/619419 Factory / ooRexx
Comment 19 Seymour Metz 2018-10-11 20:38:08 UTC
This seems to be fixed in 32-bit Tumbleweed but is still a problem in LEAP 15.0.

Regina-REXX-3-9.1-lp150.1.8.x86_64 conflicts with ooRexx provided by ooRexx-4.2.0-lp150.2.14.x86_64
Comment 20 Martin Pluskal 2018-10-12 08:37:08 UTC
(In reply to Seymour Metz from comment #19)
> This seems to be fixed in 32-bit Tumbleweed but is still a problem in LEAP
> 15.0.
> 
> Regina-REXX-3-9.1-lp150.1.8.x86_64 conflicts with ooRexx provided by
> ooRexx-4.2.0-lp150.2.14.x86_64

Ah right - let me create maint incident
Comment 21 Swamp Workflow Management 2018-10-12 11:00:19 UTC
This is an autogenerated message for OBS integration:
This bug (1083875) was mentioned in
https://build.opensuse.org/request/show/641633 15.0+15.0:NonFree+42.3+42.3:NonFree+Backports:SLE-12+Backports:SLE-15 / Regina-REXX+THE+ooRexx
Comment 22 Swamp Workflow Management 2018-10-26 22:17:30 UTC
openSUSE-RU-2018:3507-1: An update that has four recommended fixes can now be installed.

Category: recommended (low)
Bug References: 1012847,1017668,1083875,985384
CVE References: 
Sources used:
openSUSE Leap 42.3:NonFree (src):    THE-3.3~RC4-3.3.1
openSUSE Leap 42.3 (src):    Regina-REXX-3.9.1-4.3.1, ooRexx-4.2.0-6.3.1
openSUSE Leap 15.0:NonFree (src):    THE-3.3~RC4-lp150.2.3.1
openSUSE Leap 15.0 (src):    Regina-REXX-3.9.1-lp150.2.3.1, ooRexx-4.2.0-lp150.3.3.2
openSUSE Backports SLE-15 (src):    Regina-REXX-3.9.1-bp150.3.3.1, ooRexx-4.2.0-bp150.3.3.1
Comment 23 Swamp Workflow Management 2018-10-26 22:23:56 UTC
openSUSE-RU-2018:3518-1: An update that has four recommended fixes can now be installed.

Category: recommended (low)
Bug References: 1012847,1017668,1083875,985384
CVE References: 
Sources used:
SUSE Package Hub for SUSE Linux Enterprise 12 (src):    Regina-REXX-3.9.1-5.1, Regina-REXX-3.9.1-5.2
Comment 24 Martin Pluskal 2018-10-29 08:49:12 UTC
I guess this can be marked as fixed then.