Package Details: vivado 2024.2-1

Git Clone URL: https://aur.archlinux.org/vivado.git (read-only, click to copy)
Package Base: vivado
Description: FPGA/CPLD design suite for AMD devices – Vivado edition
Upstream URL: https://www.xilinx.com/products/design-tools/vivado.html
Licenses: custom
Conflicts: vitis
Submitter: xiretza
Maintainer: VitalyR (leuko)
Last Packager: leuko
Votes: 17
Popularity: 0.031913
First Submitted: 2019-06-18 22:23 (UTC)
Last Updated: 2024-11-20 22:25 (UTC)

Pinned Comments

leuko commented on 2024-01-14 21:14 (UTC) (edited on 2024-09-26 06:41 (UTC) by leuko)

PKGBUILD cannot download Vivado, you have to download Vivado before executing the PKGBUILD. Refer to PKGBUILD.

This PKGBUILD is also able to install Vitis with some errors, however there is a standalone package called vitis AUR which seems to be more advanced than the installation in this PKGBUILD.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 .. 14 Next › Last »

fabian-ang commented on 2022-03-19 19:16 (UTC) (edited on 2022-04-05 11:38 (UTC) by fabian-ang)

@Lacsapix same for me
There is already some discussion in the xilinx forums here. The issue is that vivado seems to be incompatible with harfbuzz version 4. I quickly downgraded to harfbuzz 3.4 to confirm that this is the issue.
However I am at the moment also not sure which other possibilities there are, besides running vivado in a docker container as suggested in the forums

EDIT: the fix propesed in the Xilinx forums works for me
mv ${XLNXDIR}/Vivado/2021.2/tps/lnx64/jre11.0.11_9/lib/libharfbuzz.so{,.bak}

Lacsapix commented on 2022-03-16 10:45 (UTC) (edited on 2022-03-16 10:46 (UTC) by Lacsapix)

When I'm opening the IP-core window in Vivado it sefaults with the message:

segfault in /opt/Xilinx/Vivado/2021.2/bin/unwrapped/lnx64.o/vivado -exec vivado, exiting...

Checking the log I find the not so helpful content:

#
# An unexpected error has occurred (11)
#
Stack:
/opt/Xilinx/Vivado/2021.2/tps/lnx64/jre11.0.11_9/lib//server/libjvm.so(+0xbefecb) [0x7fc3595efecb]
/opt/Xilinx/Vivado/2021.2/tps/lnx64/jre11.0.11_9/lib//server/libjvm.so(JVM_handle_linux_signal+0xd1) [0x7fc3595f6c81]
/opt/Xilinx/Vivado/2021.2/tps/lnx64/jre11.0.11_9/lib//server/libjvm.so(+0xbead23) [0x7fc3595ead23]
/usr/lib/libc.so.6(+0x42560) [0x7fc3be238560]
/opt/Xilinx/Vivado/2021.2/tps/lnx64/jre11.0.11_9/lib/libharfbuzz.so(+0x3574d) [0x7fc32803574d]
/usr/lib/libharfbuzz.so.0(hb_font_funcs_set_glyph_shape_func+0x36) [0x7fc3bc43c886]
/usr/lib/libharfbuzz.so.0(+0x9a8d2) [0x7fc3bc4a98d2]
/usr/lib/libharfbuzz.so.0(hb_ft_font_create+0x37) [0x7fc3bc4a9d97]
/usr/lib/libfreetype.so.6(+0x5e2f0) [0x7fc3bd8912f0]
/usr/lib/libfreetype.so.6(+0x6b7ad) [0x7fc3bd89e7ad]
/usr/lib/libfreetype.so.6(FT_Load_Glyph+0x681) [0x7fc3bd8471a1]
/opt/Xilinx/Vivado/2021.2/tps/lnx64/jre11.0.11_9/lib/libfontmanager.so(+0x7abf) [0x7fc328407abf]
/opt/Xilinx/Vivado/2021.2/tps/lnx64/jre11.0.11_9/lib/libfontmanager.so(Java_sun_font_FreetypeFontScaler_getGlyphAdvanceNative+0x14) [0x7fc3284082b4]
[0x7fc34040f710]

Any ideas?

xiretza commented on 2022-02-16 09:56 (UTC)

@dallin: thanks for the heads up, added the dependency.

@Lacsapix: that's hardly a solution, soversions exist for a reason, the new library is not binary compatible with the old one.

Lacsapix commented on 2022-02-16 09:20 (UTC) (edited on 2022-02-16 09:21 (UTC) by Lacsapix)

@dallin You can also "fool" vivado by doing:

ln -s /usr/lib/libcrypt.so.2.0.0 /usr/lib/libcrypt.so.1

Not pretty but you do not need to install an additional package.

dallin commented on 2022-02-15 21:45 (UTC)

It looks like the recent update to libxcrypt broke vivado, as it no longer provides libcrypt.so.1, but rather libcrypt.so.2. It does work however, if you install libxcrypt-compat. Should this be added to the dependencies?

xiretza commented on 2021-12-11 10:22 (UTC)

@f3fora: those errors can be ignored. The vivado install scripts do some weird LD_PRELOAD fuckery that breaks with fakeroot and the homedir spoof, but the install works fine anyway.

f3fora commented on 2021-12-11 09:51 (UTC) (edited on 2021-12-11 10:36 (UTC) by f3fora)

In package() I get:

ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

I print $LD_PRELOAD, which is:

/home/user/path/to/vivado/src/spoof_homedir.so:libfakeroot.so

Did someone get the same error? Any idea how one can solve it?

EDIT1:

I solved this issue hard-coding the absolute path of libfakeroot.so in LD_PRELOAD

LD_PRELOAD="$srcdir/spoof_homedir.so:/usr/lib/libfakeroot/libfakeroot.so"

Moreover, following the idea of @chaff800 and @EuphoricCatface, it is possible to reduce the required space up to ~150 GB.

First install dependencies and unpack with makepkg -so, then move or remove the *.tar.gz and finally build and install the package with makepkg -ei.

xiretza commented on 2021-12-10 12:28 (UTC)

@Seas0: staged locally, I'll add it to the next update. I don't like pushing new pkgrels for this huge package unless necessary, I'll pin your comment for now to help anyone trying to troubleshoot this.

Seas0 commented on 2021-12-08 03:57 (UTC)

As Model Composer requires matlab and qt4, I think it's reasonable to add qt4 and matlab to optional dependencies

EuphoricCatface commented on 2021-10-02 06:49 (UTC)

@chaff800 You can use -e option of makepkg once you have src folder set up