stob
February 7, 2020, 12:39pm
1
I believe this to be a bug with Avogadro
Environment Information
Avogadro version:
1.2.0
Operating system and version:
NAME=“openSUSE Tumbleweed”
VERSION=“20200128”
ID=“opensuse-tumbleweed”
ID_LIKE=“opensuse suse”
VERSION_ID=“20200128”
PRETTY_NAME=“openSUSE Tumbleweed”
ANSI_COLOR=“0;32”
CPE_NAME=“cpe:/o:opensuse:tumbleweed:20200128”
BUG_REPORT_URL=“https://bugs.opensuse.org ”
HOME_URL=“https://www.opensuse.org/ ”
LOGO=“distributor-logo”
Expected Behavior
Actual Behavior
zypper in avogadro
Loading repository data…
Reading installed packages…
Resolving package dependencies…
Problem: nothing provides libQtCore.so.4()(64bit) needed by avogadro-1.2.0-6.11.x86_64
Solution 1: do not install avogadro-1.2.0-6.11.x86_64
Solution 2: break avogadro-1.2.0-6.11.x86_64 by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/c/d/?] (c):
or doing it manually
cmake …/
– The build type is RelWithDebInfo
CMake Error at /usr/share/cmake/Modules/FindQt4.cmake:1314 (message):
Found unsuitable Qt version “” from NOTFOUND, this code requires Qt 4.x
Call Stack (most recent call first):
CMakeLists.txt:226 (find_package)
– Configuring incomplete, errors occurred!
See also “/home/eds00cv/Avogadro/avogadro-1.2.0/build/CMakeFiles/CMakeOutput.log”.
See also “/home/eds00cv/Avogadro/avogadro-1.2.0/build/CMakeFiles/CMakeError.log”.
Steps to Reproduce
Please upload files if appropriate here (or via file-sharing service like Dropbox or Pastebin)
There is no more Qt4 for this OS. Is there a version for Qt5?
Thx for any help
1 Like
I have the same problem in OpenSuse. Would be helpful someone had a solution
The Qt5 version is Avogadro v2. While it doesn’t provide all the features of Avogadro v1 yet, I’d much rather spend my limited coding time on finishing / cleaning up v2 than porting 1.2 to Qt5.
Hello,
openSUSE contributor here!
Qt4 was depreciated. Therefore Avogadro 1.2 failed to build on newer version of openSUSE like Tumbleweed.
It is recommend to use openSUSE Leap 15.1 for Avogadro 1.2.
I’m trying to build Avogadro 1.93.0 on openSUSE Tumbleweed at the moment. I could now make it build properly. But since I don’t really know how to use the software itself, I can’t properly test it if it is missing anything.
The repo for avogadro 1.93.0 is here: https://download.opensuse.org/repositories/home:/andythe_great/home_andythe_great_openSUSE_TW/
After adding the repo, refresh with
sudo zypper ref
sudo zypper in avogadroapp
1 Like
Thanks - I just spent yesterday getting GitHub build actions working for Avo 1.9x - are there some openSUSE docker images that I could use?
I’d ideally like to be able to:
prevent future packaging problems
help provide initial packages with upcoming releases
GitHub provides default builders for Ubuntu, but it should be fairly easy to adapt via Docker to other distros.
I don’t use docker, so I’m not sure if this is the right one.
https://hub.docker.com/r/opensuse/tumbleweed
Right now, I am targeting Tumbleweed instead of Leap 15.2 since msgpack on Leap 15.2 is too old and could not be be use to build mmtf-cpp.
I have create a spec file needed to build the package here:
https://build.opensuse.org/package/show/home:andythe_great/avogadrolibs
I have some problem with avogadrolibs at the moment. I encounter a bug which prevent it from being accept to semi-official repo.
opened 12:09AM - 07 Apr 20 UTC
closed 07:00PM - 02 May 20 UTC
Hello,
I am trying to build avogadrolibs 1.93.0 on openSUSE Tumbleweed with c… make gcc.
I encounter multiple errors saying E: lto-no-text-in-archive
cmake give some hint: This archive does not contain a non-empty .text section. The archive was not reated with -ffat-lto-objects option.
I have added %global _lto_cflags %%{_lto_cflags} -ffat-lto-objects to cmake, which fix the error.
However, the package maintainer won't accept this, as it is not actually a fix. They gave no explanation.
I have no clue what this error it is trying to say. Maybe have to add -ffat-lto-objects to it.
Thanks.
```
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/BallStick.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/BondCentric.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/Bonding.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/CoordinateEditor.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/CopyPaste.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/Crystal.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/CrystalScene.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/CustomElements.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/Editor.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/Force.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/GamessInput.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/Hydrogens.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/ImportPQR.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/LammpsInput.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/Licorice.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/LineFormatInput.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/Manipulator.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/MeasureTool.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/Meshes.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/MolecularProperties.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/MongoChem.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/Navigator.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/NetworkDatabases.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/OpenBabel.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/OverlayAxes.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/POVRay.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/PlayerTool.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/PluginDownloader.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/QuantumInput.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/ScriptFileFormats.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/Select.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/Selection.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/SpaceGroup.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/Spectra.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/Surfaces.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/Symmetry.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/SymmetryScene.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/ThreeDMol.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/VRML.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/VanDerWaals.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/VanDerWaalsAO.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/Wireframe.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/apbs.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/avogadro2/staticplugins/commands.a
[ 254s] avogadrolibs-devel-static.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/liblibgwavi.a
[ 254s] This archive does not contain a non-empty .text section. The archive was not
[ 254s] created with -ffat-lto-objects option.
```
Molequeue have been recently accept to official opensuse repo.
MoleQueue is an open-source, cross-platform, system-tray resident desktop
application for abstracting, managing, and coordinating the execution of tasks
both locally and on remote computational resources. Users can set up local and
remote queues that...
1 Like
Thanks, that’s helpful - should be able to adapt the Tumbleweed image.
As far as the bug, that seems like an openSUSE issue - I see another patch for a different package;
https://www.mail-archive.com/opensuse-commit@opensuse.org/msg166302.html