Package Details: lib32-tclkit 8.6.6-3

Git Clone URL: https://aur.archlinux.org/lib32-tclkit.git (read-only, click to copy)
Package Base: lib32-tclkit
Description: single-file executable that provides a complete Tcl and Tk runtime (32 bits version)
Upstream URL: https://github.com/patthoyts/kitgen
Licenses: custom
Conflicts: tclkit
Provides: tclkit
Submitter: mickael9
Maintainer: mickael9 (greyltc)
Last Packager: mickael9
Votes: 9
Popularity: 0.000216
First Submitted: 2015-08-04 18:58
Last Updated: 2018-06-26 17:45

Latest Comments

1 2 3 Next › Last »

jadelclemens commented on 2019-12-24 20:35

@stiefel40k Weird, it just built fine for me too. This time I just went straight to downloading the .tar and building with makepkg instead of trying with an AUR helper first, maybe that had something to do with it? In any case, it's working for me now.

stiefel40k commented on 2019-12-24 12:38

@jadelclemens I hate to say this, as I hate to hear it as well, but it compiled on my laptop. I did a clean install, and it worked out great.

jadelclemens commented on 2019-12-11 20:36

Not compiling as of 11 December 2019

==> Starting build()...
Configuring 8.6/kit-large/Makefile for Linux.
make: Entering directory '/tmp/makepkg/lib32-tclkit/src/kitgen-cc4b5d74b6f236dc72f126d30d32bf55e9e9875f/8.6/kit-large'
gcc -o kit-cli -m32 -O2 ../../kitInit.c /tmp/makepkg/lib32-tclkit/src/kitgen-cc4b5d74b6f236dc72f126d30d32bf55e9e9875f/8.6/kit-large/build/pwb.o /tmp/makepkg/lib32-tclkit/src/kitgen-cc4b5d74b6f236dc72f126d30d32bf55e9e9875f/8.6/kit-large/build/rechan.o /tmp/makepkg/lib32-tclkit/src/kitgen-cc4b5d74b6f236dc72f126d30d32bf55e9e9875f/8.6/kit-large/build/zlib.o /tmp/makepkg/lib32-tclkit/src/kitgen-cc4b5d74b6f236dc72f126d30d32bf55e9e9875f/8.6/kit-large/build/tclAppInit.o \
  -Ibuild/include -DKIT_LITE -DSTATIC_BUILD  \
  build/lib/vfs1*/*vfs1*.a build/lib/vqtcl4*/*vqtcl4*.a \
  build/lib/libz.a build/lib/*tcl8*.a -ldl -lm -lpthread
gcc: error: build/lib/vfs1*/*vfs1*.a: No such file or directory
gcc: error: build/lib/vqtcl4*/*vqtcl4*.a: No such file or directory
gcc: error: build/lib/*tcl8*.a: No such file or directory
make: *** [../../makefile.include:38: kit-cli] Error 1
make: Leaving directory '/tmp/makepkg/lib32-tclkit/src/kitgen-cc4b5d74b6f236dc72f126d30d32bf55e9e9875f/8.6/kit-large'
==> ERROR: A failure occurred in build().
    Aborting...

At first I got

==> Starting build()...
Configuring 8.6/kit-large/Makefile for Linux.
make: Entering directory '/tmp/makepkg/lib32-tclkit/src/kitgen-cc4b5d74b6f236dc72f126d30d32bf55e9e9875f/8.6/kit-large'
mkdir -p build/vqtcl && cd build/vqtcl && CFLAGS="-m32 -O2" && export CFLAGS && \
  sh ../../../../8.x/vqtcl/configure --disable-shared --with-tcl=../lib --prefix=/tmp/makepkg/lib32-tclkit/src/kitgen-cc4b5d74b6f236dc72f126d30d32bf55e9e9875f/8.6/kit-large/build --exec-prefix=/tmp/makepkg/lib32-tclkit/src/kitgen-cc4b5d74b6f236dc72f126d30d32bf55e9e9875f/8.6/kit-large/build  && \
  make install
checking for correct TEA configuration... ok (TEA 3.5)
checking for Tcl configuration... configure: error: ../lib directory doesn't contain tclConfig.sh
make: *** [../../makefile.include:94: build/vqtcl] Error 1
make: Leaving directory '/tmp/makepkg/lib32-tclkit/src/kitgen-cc4b5d74b6f236dc72f126d30d32bf55e9e9875f/8.6/kit-large'
==> ERROR: A failure occurred in build().
    Aborting...

but this went away after installing lib32-tcl.

stiefel40k commented on 2018-11-07 06:23

@Asdplayer well you are not wrong, but normally, you should set the makeflags in /etc/makepkg.conf. However, some packages don't like this and they set the option !makeflags to prevent this. Normally you should not edit the PKGBUILD file, as it was written in that style for a reason.

Asdplayer commented on 2018-11-06 15:36

The package does not compile succesfully if I ask for multithread compilation, appending -j 4 to the make command. While this isn't necessary, maybe the info can be useful to somebody.

mickael9 commented on 2018-06-26 17:49

Thanks, I fixed it

alaskanarcher commented on 2018-06-26 17:26

Building in a clean chroot requires makedepends to include lib32-gcc-libs.

Also according to namcap:

Checking lib32-tclkit-8.6.6-2-x86_64.pkg.tar.xz
lib32-tclkit E: Missing custom license directory (usr/share/licenses/lib32-tclkit)
lib32-tclkit E: Dependency lib32-glibc detected and not included (libraries ['usr/lib32/libdl.so.2', 'usr/lib32/libm.so.6', 'usr/lib32/libpthread.so.0', 'usr/lib32/libc.so.6'] needed in files ['usr/bin/tclkit-cli', 'usr/bin/tclkit-dyn'])
lib32-tclkit W: Dependency included and not needed ('gcc-multilib')

EDIT

I am able to build and install with no namcap errors reported (aside from the missing license file) using the following:

depends=( 'lib32-glibc')
makedepends=('upx' 'ucl' 'lib32-libx11' 'lib32-gcc-libs')

alaskanarcher commented on 2018-06-25 23:48

I can build the package on my system but I am getting the following error when building in a clean chroot. I believe there must be a missing dependency.

==> Starting build()...
Configuring 8.6/kit-large/Makefile for Linux.
make: Entering directory '/build/lib32-tclkit/src/kitgen-cc4b5d74b6f236dc72f126d30d32bf55e9e9875f/8.6/kit-large'
mkdir -p build/tcl && cd build/tcl && CFLAGS="-m32 -O2" && export CFLAGS && \
  sh ../../../tcl/unix/configure --disable-shared --enable-threads \
    --prefix=/build/lib32-tclkit/src/kitgen-cc4b5d74b6f236dc72f126d30d32bf55e9e9875f/8.6/kit-large/build --exec-prefix=/build/lib32-tclkit/src/kitgen-cc4b5d74b6f236dc72f126d30d32bf55e9e9875f/8.6/kit-large/build && \
  make install-binaries install-libraries install-headers install-private-headers
checking whether to use symlinks for manpages... no
checking whether to compress the manpages... no
checking whether to add a package name suffix for the manpages... no
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** [../../makefile.include:60: build/tcl] Error 77
make: Leaving directory '/build/lib32-tclkit/src/kitgen-cc4b5d74b6f236dc72f126d30d32bf55e9e9875f/8.6/kit-large'

stiefel40k commented on 2017-09-07 13:45

I can confirm @somniac's comment. However as I've seen you can indeed build the package, however if you would install bitrock-unpacker to use it, the unpacker segfaults, which I guess is related to the original segfault during the validation.
@syther @calcmogul If I were you I would go from the other way, and I would update the zlib sources which were provided in https://github.com/patthoyts/kitgen.

EDIT: I patched out the wrong command (namely the validation). So yes indeed without the upx call the package builds

somniac commented on 2017-08-19 04:56

I get a segfault when building this:

mkdir -p build/files && cd build/files && cp -p ../../../../files/* .
cp kit-cli tclkit-cli && strip tclkit-cli && /usr/bin/upx tclkit-cli
Ultimate Packer for eXecutables
Copyright (C) 1996 - 2017
UPX 3.94 Markus Oberhumer, Laszlo Molnar & John Reiser May 12th 2017

File size Ratio Format Name
-------------------- ------ ----------- -----------
2103168 -> 861588 40.97% linux/i386 tclkit-cli

Packed 1 file.
./kit-cli -init- ../../setupvfs.tcl -t -e tclkit-cli cli
./tclkit-cli ../../validate.tcl
make: *** [../../makefile.include:27: tclkit-cli] Segmentation fault
make: *** Deleting file 'tclkit-cli'

I am pretty sure there's a problem with using UPX here. The tclkit-cli binary segfaults after that upx command. Patching that command out of makefile.include seems to build a working tclkit.