Package Details: avogadro2-git 1.93.0.r453.87101bc-1

Git Clone URL: https://aur.archlinux.org/avogadro2-git.git (read-only, click to copy)
Package Base: avogadro2-git
Description: Avogadro 2: graphical application
Upstream URL: http://openchemistry.org/projects/avogadro2
Licenses: Kitware
Conflicts: avogadro2
Provides: avogadro2
Submitter: berquist
Maintainer: berquist
Last Packager: berquist
Votes: 6
Popularity: 0.000000
First Submitted: 2015-06-18 13:46 (UTC)
Last Updated: 2022-03-26 02:34 (UTC)

Dependencies (5)

Sources (1)

Latest Comments

malacology commented on 2021-12-23 01:58 (UTC)

-- The CXX compiler identification is GNU 11.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test HAVE_GCC_ERROR_RETURN_TYPE
-- Performing Test HAVE_GCC_ERROR_RETURN_TYPE - Success
-- Found Git: /usr/bin/git (found version "2.34.1") 
-- Could not use git to determine source version, using version 1.95.1
CMake Error at /usr/lib/cmake/avogadrolibs/AvogadroLibsTargets.cmake:548 (message):
  The imported target "AvogadroQtGui" references the file

     "/usr/lib/libAvogadroQtGui.so.1.95.1"

  but this file does not exist.  Possible reasons include:

ghbrown commented on 2021-07-29 18:32 (UTC) (edited on 2021-07-30 19:29 (UTC) by ghbrown)

(This was previously a comment inquiring about an error when installing via yay -S avogadro2-git, which failed at the testing stage.)

I have since done a bit more digging with a clearer head. The issue is essentially that the test seem to fail even when the resulting installed app functions as intended (via berquist's comment below). As such, you'll need to use a flag or option to avoid the tests with whatever installation method you intend to use (yay, makepgk, etc.).

For yay, you need to pass the --nocheck flag through yay to makepkg via mflags. For example, I built successfully using:

yay -S avogadro2-git --mflags "--nocheck"

hmcezar commented on 2020-03-24 22:43 (UTC)

The software builds, but does not open any structures. Did anyone have the same problem?

Another somewhat related question: is there any PKBGUILD for Avogadro 1 that currently works?

<deleted-account> commented on 2019-09-09 04:42 (UTC)

it should depend on python2-setuptools

a.kudelin commented on 2019-05-06 11:11 (UTC)

Please, get rid of CFLAGS and CXXFLAGS (see my comment on avogadrolibs-git).

berquist commented on 2018-04-06 18:40 (UTC)

You should run makepkg with --nocheck. I don't know how to use aursync but I assume it has some method of disabling tests.

I should also say that the final app works as expected.

vidar commented on 2018-04-04 19:48 (UTC)

When I try to build this I get following error(s):

Building is completed to 100% but then:

. . . Start 21: QtGui-GenericHighlighter 21/28 Test #21: QtGui-GenericHighlighter .........Exception: SegFault 0.20 sec . . Start 23: QtGui-Molecule 23/28 Test #23: QtGui-Molecule ...................Failed 0.03 sec . . Start 25: QtGui-RWMolecule 25/28 Test #25: QtGui-RWMolecule .................***Failed 0.01 sec . . 89% tests passed, 3 tests failed out of 28

Total Test time (real) = 0.34 sec

The following tests FAILED: 21 - QtGui-GenericHighlighter (SEGFAULT) 23 - QtGui-Molecule (Failed) 25 - QtGui-RWMolecule (Failed) Errors while running CTest make: *** [Makefile:73: test] Error 8 ==> ERROR: A failure occurred in check(). Aborting... ==> ERROR: Build failed, check /var/lib/aurbuild/x86_64/vidar/build

What am I missing? I tried to install with aursync.

berquist commented on 2018-03-31 17:35 (UTC)

This happens when using avogadrolibs and not avogadrolibs-git. I've fixed all the git PKGBUILDs, and made avogadrolibs-git a hard dependency. Frankly one should not be using the official avogadrolibs since it isn't properly built for Avogadro 2, and it is based on an release from December 2016. Anyone building on top of Open Chemistry should use bleeding edge releases if possible.

You can see why here: https://github.com/OpenChemistry/avogadroapp/commit/a2c9aa29a05bde2da29ef31e4bfdc84391dfedd8

silent commented on 2018-03-31 08:50 (UTC)

CMake Error at avogadro/CMakeLists.txt:89 (add_executable): Target "avogadro" links to target "Qt5::OpenGL" but the target was not found.