Failed to build tclkit

i had the same problem while installing XAMPP, it looks like the md5sum for tcl.tar.gz was wrong:

==> Validating source files with md5sums...
    8.6.4-9.tar.gz ... Passed
    tk.tar.gz ... Passed
    tcl.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!

The way i went about fixing it was installing tclkit separately first and replacing the md5sum in the PKGBUILD file (Under the “Build Files” tab of ) with SKIP so that this:

md5sums=('ee23c17052b6e482cb845739363bb9c0'
         '73a066dcc051915dfad48ae4810a6038'
         'b9578606270ac55d2cbabf35515724bc')

became this:

md5sums=('ee23c17052b6e482cb845739363bb9c0'
         '73a066dcc051915dfad48ae4810a6038'
         'SKIP')

After building that i tried building XAMPP again, but this time it failed to download sdx due to an ssl problem:

curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
==> ERROR: Failure while downloading https://chiselapp.com/user/aspect/repository/sdx/raw/sdx-20110317.kit?name=1a77b0b5bc8cfcf2df2ef051a511e9187103ce0c
    Aborting...

to solve this i just decided to install sdx separately and change the source url from HTTPS to HTTP in the PKGBUILD file so that this:

source=(https://chiselapp.com/user/aspect/repository/sdx/raw/sdx-20110317.kit?name=1a77b0b5bc8cfcf2df2ef051a511e9187103ce0c)

became this:

source=(http://chiselapp.com/user/aspect/repository/sdx/raw/sdx-20110317.kit?name=1a77b0b5bc8cfcf2df2ef051a511e9187103ce0c)

Once i built that i was able to build XAMPP without problem, i hope i could be of help! if you wanted to know how to fix problems with PKGBUILD files like these, Brodie Robertson has a great video on the basics of PKGBUILD files if you had the time to watch it!

2 Likes