Package Details: stm32cubeprog 2.18.0-1

Git Clone URL: https://aur.archlinux.org/stm32cubeprog.git (read-only, click to copy)
Package Base: stm32cubeprog
Description: An all-in-one multi-OS software tool for programming STM32 products.
Upstream URL: https://www.st.com/en/development-tools/stm32cubeprog.html
Keywords: programmer stm32
Licenses: custom:SLA0048
Provides: stm32cubeprogrammer
Submitter: yjun
Maintainer: taotieren (GPereira, akumaexs, CloverGit)
Last Packager: CloverGit
Votes: 8
Popularity: 0.005878
First Submitted: 2021-01-15 20:39 (UTC)
Last Updated: 2024-11-28 13:06 (UTC)

Dependencies (32)

Required by (0)

Sources (6)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

xiretza commented on 2024-03-20 19:26 (UTC)

Thanks for the update! A couple things that made it work for me:

  1. Replace the javac command with javac -cp "Setup${_pkgname}-${pkgver}.exe" -d . AnalyticsPanelsConsoleHelper.java, which also allows you to remove the mkdir and cp
  2. Remove the install of CLI_TREE.txt, it doesn't exist anymore with 2.16
  3. Add !debug to options=(), because debugedit destroys the STM32CubeProgrammerLauncher binary ("Invalid or corrupt jarfile")
  4. As more of a cosmetic thing, remove the unneeded izpack dependency and change the java dependency to java-environment=8 (which is more generic than pinning it to openjdk).

GPereira commented on 2024-03-20 18:50 (UTC) (edited on 2024-03-20 18:51 (UTC) by GPereira)

@xiretza I've just pushed @DCNick3 solution. Still not working but probably better not working with a nicer solution than with an ugly one. I am still interested in your help if you still think it is easy to get it working :)

GPereira commented on 2024-03-20 18:19 (UTC)

@xiretza I don't see why that negativity helps in solving these issues. I've joined as a co-maintainer and I have done multiple attempts to fix this but with no success. If you know how to solve it I would be grateful to review your complete PKGBUILD file.

xiretza commented on 2024-03-20 17:46 (UTC)

For what feels like the millionth time: this still doesn't build in a clean chroot ever since xvfb was disabled without explanation, either enable it again or, better, use @DCNick3's solution from over a year ago.

dllcoolj commented on 2024-02-10 14:34 (UTC)

URLs within PKGBUILD no longer resolve.

  -> Downloading en.stm32cubeprg-lin-v2-14-0.zip...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (92) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)
==> ERROR: Failure while downloading https://www.st.com
    Aborting...

adlerweb commented on 2023-12-24 14:53 (UTC)

Can confirm xdotool failing, probably depending on resolution and/or dpi-setting.

ThePirate42 commented on 2023-10-14 12:33 (UTC)

xdotool misclicks the "Accept License agreement" part. Maybe the area to click is smaller for some reason on my pc?

Cryen commented on 2023-10-04 11:24 (UTC) (edited on 2023-10-04 11:26 (UTC) by Cryen)

Same issue as greve. Additionally the package sets different installation path than it used to before and now I have 2 versions installed simultaneously.
Uninstalling the package removed the old 2.13 version but the 2.14 remained on the system.
(probably because of the "error" after installation)
Btw, I'm using paru and it is the same exact error.

greve commented on 2023-07-20 10:28 (UTC) (edited on 2023-07-20 11:51 (UTC) by greve)

Installation wizard runs successfully, but yay throws an error after I click Done in the installation wizard.

==> Starting build()...

please wait for minutes ......

./SetupSTM32CubeProgrammer-2.14.0.linux
/home/nico/.cache/yay/stm32cubeprog/src
chdir /home/nico/.cache/yay/stm32cubeprog/src/.
current dir /home/nico/.cache/yay/stm32cubeprog/src
Command line arguments: 
====================
Installation started
Framework: 1.8.0_192-BellSoft-b03 (Oracle Corporation)
Platform: linux,version=6.4.3-arch1-2,arch=x64,symbolicName=null,javaVersion=1.8.0_265
Installation finished
WARNING: using deprecated Desktop Entry key Encoding with value UTF-8
WARNING: using deprecated Desktop Entry key Encoding with value UTF-8
WARNING: using deprecated Desktop Entry key Encoding with value UTF-8
WARNING: using deprecated Desktop Entry key Encoding with value UTF-8
WARNING: using deprecated Desktop Entry key Encoding with value UTF-8
WARNING: Could not copy  to /home/nico/.local/share/pixmaps (Source '' does not exist)
WARNING: using deprecated Desktop Entry key Encoding with value UTF-8
WARNING: Could not copy  to /home/nico/.local/share/pixmaps (Source '' does not exist)
WARNING: using deprecated Desktop Entry key Encoding with value UTF-8
WARNING: Could not copy  to /home/nico/.local/share/pixmaps (Source '' does not exist)
WARNING: using deprecated Desktop Entry key Encoding with value UTF-8
WARNING: Could not copy  to /home/nico/.local/share/pixmaps (Source '' does not exist)
WARNING: using deprecated Desktop Entry key Encoding with value UTF-8
WARNING: using deprecated Desktop Entry key Encoding with value UTF-8
[ Writing the uninstaller data ... ]
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  3 (X_GetWindowAttributes)
  Resource id in failed request:  0x600077
  Serial number of failed request:  13575
  Current serial number in output stream:  13576
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: stm32cubeprog-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
stm32cubeprog - exit status 4

Since it says something about BadWindow (invalid Window parameter) I tried running the installer using Wayland and Xorg. Both fail with the same error.

GPereira commented on 2023-07-17 17:52 (UTC)

@DCNick3 can you provide a full PKGBUILD file implementing that change?