Bug 1671692 - abiword FTBFS, has broken deps and that blocks compose
Summary: abiword FTBFS, has broken deps and that blocks compose
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: abiword
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Marc Maurer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1601051
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-01 10:32 UTC by Miro Hrončok
Modified: 2019-11-18 15:51 UTC (History)
6 users (show)

Fixed In Version: abiword-3.0.2-17.fc30
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-18 15:51:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2019-02-01 10:32:36 UTC
A rawhide compose cannot be created, as Xfce on arm fails with:

Unable to create appliance : Failed to build transaction : 
 Problem: package abiword-1:3.0.2-13.fc29.armv7hl requires libabiword-3.0.so, but none of the providers can be installed
  - package abiword-1:3.0.2-13.fc29.armv7hl requires libabiword = 1:3.0.2-13.fc29, but none of the providers can be installed
  - conflicting requests
  - nothing provides libwmflite-0.2.so.7 needed by libabiword-1:3.0.2-13.fc29.armv7hl
  - nothing provides libwmf-0.2.so.7 needed by libabiword-1:3.0.2-13.fc29.armv7hl



That is because abiword FTBFS with:


checking for boostlib >= 1.40.0... configure: We could not detect the boost libraries (version 1.40 or higher). If you have a staged boost library (still not installed) please specify $BOOST_ROOT in your environment and do not give a PATH to --with-boost option.  If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation.
configure: error: `boost' not found.



While boost is installed. The detection is failing and --with-boost=%{_includedir} or similar doesn't work.

Comment 1 Kalev Lember 2019-02-01 10:36:29 UTC
It's erroring out because gcc-c++ is not installed and it fails to build the boost test program. I've pushed a fix for that and kicked off a new build; let's see if that works:

https://koji.fedoraproject.org/koji/taskinfo?taskID=32414174

Comment 2 Miro Hrončok 2019-02-01 10:51:01 UTC
Even once that sorted, here's another:

Processing files: python2-abiword-3.0.2-17.fc30.x86_64


RPM build errors:
error: File not found: /builddir/build/BUILDROOT/abiword-3.0.2-17.fc30.x86_64/usr/lib64/python2.7/site-packages/*
    File not found: /builddir/build/BUILDROOT/abiword-3.0.2-17.fc30.x86_64/usr/lib64/python2.7/site-packages/*

Comment 3 Miro Hrončok 2019-02-01 11:06:15 UTC
Seems like an ambiguous python usage.

I'm trying to find a fix and will BR python-unversioned-command as a workaround if that doesn't work out.

Comment 4 Björn 'besser82' Esser 2019-02-01 11:40:34 UTC
Please let me know when this is fixed in Rawhide, so I can merge that to f29 branch, run a build for fc29, and add that to the libwmf update to fix the broken deps there.

Comment 5 Miro Hrončok 2019-02-01 12:01:59 UTC
here's a build https://koji.fedoraproject.org/koji/taskinfo?taskID=32416113

it passed my mock build on x86_64

Comment 6 Kalev Lember 2019-02-01 12:06:30 UTC
Björn, the libwmf update needed a number of other rebuilds as well, not just abiword. I'd say it's better to avoid doing the soname bump in stable Fedora releases.

Looks like the libwmf update has been unpushed from F28 and F29 so there's no need for you to do the rebuilds there any more.

Comment 7 Miro Hrončok 2019-02-01 12:08:46 UTC
Björn, your failing abiword build is blocking this, could you please `koji cancel 32415272`?

Comment 8 Miro Hrončok 2019-02-01 12:16:34 UTC
cancelled.

here's another one https://koji.fedoraproject.org/koji/taskinfo?taskID=32416510

Comment 9 Björn 'besser82' Esser 2019-02-01 12:17:00 UTC
Miro, just canceled the build.

Comment 10 Björn 'besser82' Esser 2019-02-01 12:26:29 UTC
(In reply to Miro Hrončok from comment #5)
> here's a build https://koji.fedoraproject.org/koji/taskinfo?taskID=32416113
> 
> it passed my mock build on x86_64

I've found a solution (simple patch to a Makefile) that doesn't BR python-unversioned-command.  I'll revert your changes, Miro, if you don't mind and bump release.

Comment 11 Björn 'besser82' Esser 2019-02-01 12:27:49 UTC
Index: abiword-3.0.2/src/gi-overrides/Makefile.am
===================================================================
--- abiword-3.0.2.orig/src/gi-overrides/Makefile.am
+++ abiword-3.0.2/src/gi-overrides/Makefile.am
@@ -1,2 +1,2 @@
-overridesdir = `python -c "import gi; print gi._overridesdir"`
+overridesdir = `$(PYTHON) -c "import gi; print gi._overridesdir"`
 overrides_PYTHON = Abi.py

Comment 12 Miro Hrončok 2019-02-01 12:38:12 UTC
just do it after we have a successful build please.

Comment 13 Miro Hrončok 2019-02-01 13:15:03 UTC
abiword built.

Comment 14 Ben Cotton 2019-08-13 16:48:48 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to '31'.


Note You need to log in before you can comment on or make changes to this bug.