Package Details: ghdl-mcode-git 4.0.0dev.r8602.g97df73f72-1

Git Clone URL: https://aur.archlinux.org/ghdl-mcode-git.git (read-only, click to copy)
Package Base: ghdl-mcode-git
Description: VHDL simulator - mcode back-end
Upstream URL: https://github.com/ghdl/ghdl
Licenses: GPL2
Conflicts: ghdl, ghdl-gcc-git, ghdl-llvm-git
Provides: ghdl, ghdl-git
Submitter: marzoul
Maintainer: marzoul (xiretza)
Last Packager: xiretza
Votes: 2
Popularity: 0.002962
First Submitted: 2015-12-02 23:02 (UTC)
Last Updated: 2023-05-09 19:48 (UTC)

Dependencies (7)

Required by (9)

Sources (1)

Latest Comments

1 2 Next › Last »

marzoul commented on 2023-06-05 20:30 (UTC)

To use a custom revision, just append #commit=<hash> to the git repo URL entry in the sources in the PKGBUILD (help can be found there : https://man.archlinux.org/man/PKGBUILD.5#USING_VCS_SOURCES). Note that the current package named with suffix -git precisely indicates that the package is built from latest sources. Fixed-version packages did exist some time ago, but I guess maintenance is a time-consuming task in rolling distros. Also ghdl versions are not released often so fixed-version packages would be often obsolete, making a mess of bug reports, etc. So, well, such occasional issues with lib dependencies depending on distro, are much less of a burden to handle from developers side ;-)

OpusOne commented on 2023-06-05 19:58 (UTC)

Thanks for the tip, it will do for now. Would be nice if there was a way of forcing a specific git revision when building -git packages, this must probably have been asked before. (Otherwise I guess we can always create a separate PKGBUILD with a fixed git revision, but that's less convenient.)

marzoul commented on 2023-06-05 07:36 (UTC)

Hi OpusOne, as a temporary workaround you can compile the package with makepkg --nocheck. This will skip the post-compilation checks ans also not require the problematic python dependencies.

OpusOne commented on 2023-06-05 06:45 (UTC)

The build currently breaks due to ghdl not being compatible with python-pyvhdlmodel 0.26 yet, while 0.26 is the latest version of python-pyvhdlmodel and thus what python-pyvhdlmodel-git will pull. I unfortunately don't know how we can circumvent the problem, short of writing non-git AUR packages (let me know if there is), and there isn't any for either packages at this point.

raldone01 commented on 2023-05-06 17:23 (UTC)

The package python-pytooling-terminalui no longer exists. I think it now resides in python-pytooling directly.

xiretza commented on 2021-12-28 15:44 (UTC) (edited on 2021-12-28 15:45 (UTC) by xiretza)

Dependency updates (ditto for -llvm):

diff --git a/PKGBUILD b/PKGBUILD
index 2445e1d..60a2c02 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,11 +14,10 @@ makedepends=('git')
 depends=('gcc-ada')
 checkdepends=(
        'python-pytest' 'python-pydecor' 'python-pyvhdlmodel>=0.12'
-       'python-pymetaclasses' 'python-pyattributes' 'python-pyterminalui'
+       'python-pytooling' 'python-pyattributes' 'python-pytooling-terminalui'
 )
 optdepends=(
-       'python-pydecor: for pyGHDL'
-       'python-pyvhdlmodel: for pyGHDL.dom'
+       'python-pyghdl: python bindings and utilities'
 )

 source=(

Additionally, this is required before ./configure for proper debug package support:

    export ADA_FLAGS="$CFLAGS -fno-strict-aliasing"
    ADA_FLAGS="${ADA_FLAGS//-Wformat}"
    ADA_FLAGS="${ADA_FLAGS//-Werror=format-security}"

marzoul commented on 2021-08-29 16:17 (UTC)

Other workaround on user side is to skip check with makepkg --nocheck. This removes the need for these python dependencies.

xiretza commented on 2021-08-29 14:18 (UTC) (edited on 2021-08-29 14:20 (UTC) by xiretza)

Editing the pkgver in a VCS package doesn't actually do anything, as it is generated during build. Just rebuilding python-pyvhdlmodel-git and changing the ghdl depends to python-pyvhdlmodel>=0.12 should do the trick.

istvank commented on 2021-08-29 12:41 (UTC) (edited on 2021-08-29 12:44 (UTC) by istvank)

Update fails at check() stage on my Arch installation due to a dependency on python-pyvhdlmodel v0.12.0.

Reason

The python unittests provided with GHDL depend on the latest python-pyvhdlmodel now.

I had the following, now outdated dependency installed:

community/python-pyvhdlmodel 0.11.1-1 (46.0 KiB 318.0 KiB) 
    An abstract language model of VHDL written in Python
Workaround that worked for me now

I had to replace my outdated pyvhdlmodel with latest:

aur/python-pyvhdlmodel-git

by installing the AUR package with

yay -Syu --editmenu

and editing the pkgver in the PKGBUILD to point to v0.12.0:

-pkgver=0.8.0.r4.g353b307
+pkgver=0.12.0

After allowing yay to remove the conflicting old dependency, GHDL-mcode-git update was successful.

Hope this helps someone. This workaround will not be necessary soon I guess.

eduardosm commented on 2021-08-22 10:13 (UTC)

I think you should trim one digit from the commit hash, so it matches the output of pkgver():

pkgver=2.0.0dev.r6542.gbbdff59e