惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
SegmentFault 最新的问题
Google DeepMind News
Google DeepMind News
G
Google Developers Blog
Martin Fowler
Martin Fowler
MongoDB | Blog
MongoDB | Blog
月光博客
月光博客
Jina AI
Jina AI
宝玉的分享
宝玉的分享
人人都是产品经理
人人都是产品经理
D
DataBreaches.Net
V
V2EX
WordPress大学
WordPress大学
T
The Blog of Author Tim Ferriss
Last Week in AI
Last Week in AI
B
Blog
博客园 - 叶小钗
小众软件
小众软件
Stack Overflow Blog
Stack Overflow Blog
P
Proofpoint News Feed
A
About on SuperTechFans
J
Java Code Geeks
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Y
Y Combinator Blog
Microsoft Security Blog
Microsoft Security Blog

AUR Newest Packages

AUR (en) - linuxqq-clipsync-git AUR (en) - libtslitex-git AUR (en) - libtslitex-git AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - neovim-base16-git AUR (en) - pirata AUR (en) - rpi-imager-git-non-root AUR (en) - python-fastapi-sso AUR (en) - tmux-ai-titles AUR (en) - zeed-bin AUR (en) - bclone-bin AUR (en) - dwl-git-azerty AUR (en) - auggie-bin AUR (en) - libspatialaudio-git AUR (en) - libspatialaudio AUR (en) - miniupnpd-iptables-legacy AUR (en) - miniupnpd-nft AUR (en) - jeeves-bin AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-bin AUR (en) - classfi-git AUR (en) - classfi AUR (en) - giff-git AUR (en) - budget-tracker-bin
AUR (en) - vivado
2026-06-29 · via AUR Newest Packages

Pinned Comments

leuko commented on 2024-01-14 21:14 (UTC) (edited on 2026-06-28 18:12 (UTC) by leuko)

Contributions welcome: https://codeberg.org/wattswise/vivado-aur/

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

This pkgbuild is also able to install Vitis, however the installation is not thoroughly tested. There is an alternative PKGBUILD for Vitis by Christian Cornelssen, which includes more workarounds and more detailed dependencies.

CommandMC commented on 2026-04-27 10:11 (UTC)

In case anyone is installing the package for the first time & wants to use the updated version, here's a patch to make that work:

diff --git a/.SRCINFO b/.SRCINFO
index 14fd7e7..90159af 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -20,11 +20,11 @@ pkgbase = vivado
    optdepends = qt4: Model Composer
    options = !strip
    options = !debug
-   source = file:///FPGAs_AdaptiveSoCs_Unified_SDI_2025.2_1114_2157.tar
+   source = file:///FPGAs_AdaptiveSoCs_Unified_SDI_2025.2_1114_2157_1.tar
    source = spoof_homedir.c
    source = install_config-vitis.txt
    source = install_config-vivado.txt
-   md5sums = 5e793c6b88de5123a09f024253fc2527
+   md5sums = fdae748783af560aa005b62dd7ef4b26
    md5sums = 69d14ad64f6ec44e041eaa8ffcb6f87c
    md5sums = SKIP
    md5sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 0f72650..e50f68d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -80,6 +80,7 @@ _installprefix=/opt/Xilinx
 _srcname=FPGAs_AdaptiveSoCs_Unified_SDI
 pkgver=2025.2
 _more_ver=1114_2157
+_even_more_ver=1
 pkgrel=1
 pkgdesc="FPGA/CPLD design suite for AMD devices"
 url="https://www.xilinx.com/products/design-tools/vivado.html"
@@ -101,14 +102,14 @@ optdepends=('fxload'
     'qt4: Model Composer'
 )
 source=(
-    "file:///${_srcname}_${pkgver}_${_more_ver}.tar"
+    "file:///${_srcname}_${pkgver}_${_more_ver}_${_even_more_ver}.tar"
     "spoof_homedir.c"
     "install_config-vitis.txt"
     "install_config-vivado.txt"
 )

 md5sums=(
-    '5e793c6b88de5123a09f024253fc2527'
+    'fdae748783af560aa005b62dd7ef4b26'
     # Checksum from https://www.xilinx.com/support/download.html

     '69d14ad64f6ec44e041eaa8ffcb6f87c'

leuko commented on 2026-04-18 17:07 (UTC)

Vivado 2025.2.1 released on Mar 26, 2026. This is a product release.

I did not update the PKGBUILD because the new package would probably only be relevant for a minority of users, but would annoy other users with an update request.

yuyichao commented on 2026-01-07 21:26 (UTC)

That error means you may be trying to run —product as a command of itself rather than as an argument to the previous command.

You should move that section you’ve uncommented to the end of the previous command , either by removing the empty lines and add a backslash () to the end of the previous command, or by adding the —product to the end of the same line as the last argument without starting a new line.

leuko commented on 2026-01-07 21:02 (UTC)

Gianfilippo980 commented on 2026-01-07 18:52 (UTC)

When trying to uncomment the section:

    # For installing all features, use the following options
        #--product Vivado \
        #--edition 'Vivado ML Standard'

I get an error about "--product" command not being found.

pyromuffin commented on 2025-06-14 00:58 (UTC) (edited on 2025-06-14 01:03 (UTC) by pyromuffin)

2025.1 installs fine with the updated script, but is quite broken with many errors about being unable to find board files, and I'm unable to instantiate IP due to lack of speedfiles, which I am guessing is related to being unable to open the board files.

WARNING: [Board 49-26] cannot add Board Part xilinx.com:kcu105:part0:1.6 available at /opt/Xilinx/2025.1/data/xhub/boards/XilinxBoardStore/boards/Xilinx/kcu105/1.6/board.xml as part xcku040-ffva1156-2-e specified in board_part file is either invalid or not available
WARNING: [Board 49-26] cannot add Board Part xilinx.com:kcu105:part0:1.7 available at /opt/Xilinx/2025.1/data/xhub/boards/XilinxBoardStore/boards/Xilinx/kcu105/1.7/board.xml as part xcku040-ffva1156-2-e specified in board_part file is either invalid or not available
  • and 20 more similar warnings

I've confirmed those files are in those directories mentioned in the warning, so I am not sure why vivado can't open them anymore. Tried opening a ticket with xilinx support but who knows how helpful they will be with an unsupported OS. Vivado 2024.2 worked fine, but it seems the directory structure of the installation has changed somewhat in 2025.1.

edit: I am now noticing that the warning actually says the part is unavailable, not the board file.

leuko commented on 2025-03-07 08:57 (UTC)

You are right, qwjyh; thanks for confirmation — I also get the error. LD_PRELOAD=libfakeroot.so, however it cannot be found, even I think it is set by makepkg automatically.

I applied not @microsparky's solution and the libfakeroot.so messages are gone.

Note that even the packaging went fine, I did not test Vivado or Vitis runtime.

qwjyh commented on 2025-03-05 03:22 (UTC) (edited on 2025-03-07 09:00 (UTC) by qwjyh)

Hi leuko. I tried to install Vivado 2023.1 using the latest PKGBUILD with editted source and md5sums. I had the same issue on LD_PRELOAD as Microsparky reported.

Also, for those who want to install old versions, Vivado 2023.1 contains old java (jr317.0.3), which seems to have a bug on the latest Linux kernel and doesn't work.

Exception in thread "main" java.lang.ExceptionInInitializerError
        at com.xilinx.installer.api.InstallerLauncher.<clinit>(Unknown Source)
Caused by: java.lang.NullPointerException: Cannot invoke "jdk.internal.platform.CgroupInfo.getMountPoint()" because "anyController" is null
...

I replaced **/tps/lnx64/jre17.0.3_7/bin with symlink to /bin and fixed --config argument in PKGBUILD then successfully built the package.

p.s. I made a mistake: 2020.1 -> 2023.1

leuko commented on 2025-02-26 10:01 (UTC)

Thanks for sharing microsparky!

I did not have any issues with desktop files and LD_PRELOAD before. If others also share similar issues, we can look into that.

Microsparky commented on 2025-02-26 00:11 (UTC) (edited on 2025-02-26 00:12 (UTC) by Microsparky)

Hello Leuko, first thank for maintaining! I had some issues during the build first with LDPRELOAD then with *.desktop files. I don't really know what to do with my 'fixes' but maybe they are insightful to you or help someone else get unstuck anyway below are my findings:

LD_PRELOAD should already contain libfakeroot.so but on my system for whatever reason its was not being found so I hard coded LD_PRELOAD in the PKGBUILD:

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

*.desktop files were not being found at "$srcdir"/installer_temp/Desktop instead they were found at $srcdir"/installer_temp/.local/share/applications and $srcdir"/installer_temp/.config/autostart/applications so I changed the for loop to the following:

for deskfile in "$srcdir"/installer_temp/.local/share/applications/*.desktop; do

likewise I added another loop for the file in .config/autostart:

for deskfile in "$srcdir"/installer_temp/.config/autostart/applications/*.desktop; do

One more thing is I added some code to these loops to change the names to be more consistent as follows:

# Extract directory and filename
    filepath=$(dirname "$deskfile")
    filename=$(basename "$deskfile")

    # Rename the file:
    # 1. Remove underscores followed by numbers (e.g., `_123`)
    # 2. Replace spaces with hyphens
    # 3. Convert to lowercase
    # 4. Ensure the filename starts with `xilinx-`
    filename=$(echo "$filename" | sed -E 's/_[0-9]+//g' | tr ' ' '-' | tr '[:upper:]' '[:lower:]')
    if [[ "$filename" != xilinx-* ]]; then
        filename="xilinx-$filename"
    fi

    # Construct the new file path
    newdeskfile="$filepath/$filename"

    # Rename the file (move it to the new name)
    mv "$deskfile" "$newdeskfile"

    # Install the renamed file to the target directory
    install -Dm644 "$newdeskfile" -t "$pkgdir/usr/share/applications/"