-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails to build with gcc14 #14
Comments
Same problem here - unsurprisingly with the same setup regarding cc and perl versions. |
Currently I do not have a Linux box. Need to set one up first. Do you maybe have a docker container I could use to reproduce? |
Sadly, no - but if this would be an option, I could take on the task of creating such a container. I haven't done this yet and would consider it a good opportunity to expanding my docker knowledge. |
I would very much appreciate this, thank you! |
When trying to build a dockerfile, the build of perk-tk-zinc does not fail - I haven't yet managed to figure out why. As I am running Arch, I attempted to replicate the situation on my machine in the dockerfile. I used the Arch latest image, which has, as it states in the package list (https://hub.docker.com/layers/library/archlinux/latest/images/sha256-c6adc95d0eabb024edace76211d96a1c43846e475eee5ce7bbf71a444d332bf9) also gcc version 14.2.1. So... I'm on it, but also a bit baffled now. |
Here is a dockerfile in which the build fails as expected: FROM --platform=linux/amd64 docker.io/library/archlinux:base-devel-20241215.0.289170
ARG TK_ZINC_VERSION=3.306
RUN pacman -Syu --noconfirm perl-tk glu
ADD https://cpan.metacpan.org/authors/id/A/AS/ASB/Tk-Zinc-$TK_ZINC_VERSION.tar.gz /root
RUN tar -C /root -xf /root/Tk-Zinc-$TK_ZINC_VERSION.tar.gz
WORKDIR /root/Tk-Zinc-$TK_ZINC_VERSION
RUN /usr/bin/perl Makefile.PL
RUN make Build output
|
Thank you. I tried to tackle this one, but it is too dificult for me, unfortunately.
Into:
But then there is more errors in tkZinc.c where I do not know how to resolve them:
PRs welcome :-s |
Unfortunately, I myself happen to be not familiar with C :/ I will try to have a look anyways as soon as I have the time. |
I did some research while attempting to fix the issue, and came across this comment: grpc/grpc#35148 (comment) I wanted to give it a try at leas, and therefor I called: ./configure --enable-gl --enable-symbolds CFLAGS="-Wno-error=incompatible-pointer-types"
make And it seemed to suceed, at least the demo was working: wish8.6 demos/zinc-widget However, fixing this properly is sadly far beyond my capabilities. |
When running
make
:See also: the AUR comment
The text was updated successfully, but these errors were encountered: