Bug 151444 - Epm rpm build: package lodevbasis7.5-pyuno-7.5.0.0.alpha0-1.x86_64 conflicts with lodevbasis7.5-librelogo
Summary: Epm rpm build: package lodevbasis7.5-pyuno-7.5.0.0.alpha0-1.x86_64 conflicts ...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Installation (show other bugs)
Version:
(earliest affected)
7.5.0.0 alpha0+
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-10 04:44 UTC by Kevin Suo
Modified: 2022-10-10 11:41 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Suo 2022-10-10 04:44:58 UTC
Steps to Reproduce:

1. Build core with the following autogen.input:

```
--enable-dbgutil

--without-help
--without-helppack-integration
--disable-odk

--with-external-tar=/mnt/data/suokunlong/lo/external_tarballs

--enable-epm
--with-package-format=rpm
```

2. Build, then install the rpms in workdir/installation/LibreOfficeDev/rpm/install with:
$ sudo dnf install ./RPMS/*.rpm

Current Result:

Error: 
 Problem: package lodevbasis7.5-pyuno-7.5.0.0.alpha0-1.x86_64 conflicts with lodevbasis7.5-librelogo provided by lodevbasis7.5-librelogo-7.5.0.0.alpha0-1.x86_64
  - package lodevbasis7.5-pyuno-7.5.0.0.alpha0-1.x86_64 obsoletes lodevbasis7.5-librelogo provided by lodevbasis7.5-librelogo-7.5.0.0.alpha0-1.x86_64
  - conflicting requests
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)

Fedora Linux 36 (Workstation Edition), on current master as of today.
Comment 1 Kevin Suo 2022-10-10 04:45:50 UTC
Michael Stahl would you please take a look since you worked on commit c18d3f8823a00edcd3dacec4f2052302ab6a70ee.
Comment 2 Kevin Suo 2022-10-10 04:49:48 UTC
There will be no such error if I add --disable-librelogo to autogen.input.
Comment 3 Michael Stahl (allotropia) 2022-10-10 10:23:50 UTC
this should be impossible? the setup_native/source/packinfo/packinfo_librelogo_disabled.txt file adds this conflict to the rpms, but it's only used in scp2/source/python/module_python.scp if ENABLE_LIBRELOGO is *not* set.
Comment 4 Kevin Suo 2022-10-10 11:41:15 UTC
I am not sure, but from:

scp2/source/python/module_python.scp:

#ifdef ENABLE_LIBRELOGO
    PackageInfo = "packinfo_office.txt";
#else
    PackageInfo = "packinfo_librelogo_disabled.txt";
#endif

if ENABLE_LIBRELOGO is defined then packinfo_office.txt is used. However, even if --disable-librelogo is not there in autogen.input, the macro ENABLE_LIBRELOGO is always set in config_host/config_python.h.in. I think that is the problem?