






















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'
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.
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.
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.
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
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.
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.
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
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.
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/"
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
Contributions welcome: https://codeberg.org/wattswise/vivado-aur/
PKGBUILDcannot download Vivado, you have to download Vivado before executing thePKGBUILD. 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.