Skip to content
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

missing GM.pm in image v4 #258

Closed
steffenxx opened this issue Jul 14, 2024 · 10 comments · Fixed by #260
Closed

missing GM.pm in image v4 #258

steffenxx opened this issue Jul 14, 2024 · 10 comments · Fixed by #260
Assignees
Labels
bug Something isn't working

Comments

@steffenxx
Copy link

Since the update to image V4, the ESPEInk module no longer works. The reason seems to be that GM.pm is missing. Here is the error message when FHEM tries to load the module 89_ESPEInk.pm.

2024.07.14 08:44:47 1: reload: Error:Modul 89_ESPEInk deactivated: Can't locate GD.pm in @INC (you may need to install the GD module) (@INC contains: ./FHEM/lib ./lib ./FHEM . /usr/src/app/core/lib/perl5/5.36.3/x86_64-linux-gnu /usr/src/app/core/lib/perl5/5.36.3 /usr/src/app/core/lib/perl5/x86_64-linux-gnu /usr/src/app/core/lib/perl5 /usr/local/lib/perl5/site_perl/5.36.3/x86_64-linux-gnu /usr/local/lib/perl5/site_perl/5.36.3 /usr/local/lib/perl5/vendor_perl/5.36.3/x86_64-linux-gnu /usr/local/lib/perl5/vendor_perl/5.36.3 /usr/local/lib/perl5/5.36.3/x86_64-linux-gnu /usr/local/lib/perl5/5.36.3) at ./FHEM/89_ESPEInk.pm line 24. BEGIN failed--compilation aborted at ./FHEM/89_ESPEInk.pm line 24.

After a downgrade to "fhem/fhem:3-bullseye" the module works fine again.

@sidey79
Copy link
Contributor

sidey79 commented Jul 15, 2024

I have excluded the GD package, but i can`t remeber why :(

Maybe some issues installing it in the image.

@steffenxx
Copy link
Author

hmm, it was actually always in the image and my ePaper display has been running on it for several years without any problems. It would be nice if it were integrated into the image again.

@sidey79 sidey79 linked a pull request Jul 16, 2024 that will close this issue
@sidey79 sidey79 self-assigned this Jul 16, 2024
sidey79 added a commit that referenced this issue Jul 16, 2024
@sidey79
Copy link
Contributor

sidey79 commented Jul 16, 2024

Im building a new development image, can you test it, when it is finished`?

@steffenxx
Copy link
Author

Yes of course, I'm happy to test it. Just an aside, I use the fhem-minimal image because I have hombridge and alexa-fhem running in their own container.

@sidey79
Copy link
Contributor

sidey79 commented Jul 19, 2024

This is the test image:

ghcr.io/fhem/fhem-minimal-docker:pr-260-bullseye

@steffenxx
Copy link
Author

Please excuse the late reply. I was away for a few days. I have just created a container with your image and tried to install ESPEInk. Unfortunately, I still get the same error.

@sidey79
Copy link
Contributor

sidey79 commented Jul 22, 2024

Thank you for testing, this result wasn't expected because the build job ist looking not so bad:

#21 190.9 2024-07-18T21:25:32,14,GD-2.83| Configuring for libgd version 2.3.0.
#21 190.9 2024-07-18T21:25:32,14,GD-2.83| gdlib.pc not found, guessing the features.
#21 190.9 2024-07-18T21:25:32,14,GD-2.83| Included Features:          GD_GIF GD_OPENPOLYGON GD_ZLIB GD_PNG GD_FREETYPE GD_FONTCONFIG GD_JPEG GD_XPM GD_TIFF GD_WEBP GD_UNCLOSEDPOLY GD_FTCIRCLE VERSION_33 WINDOWS_BMP GD2
#21 190.9 2024-07-18T21:25:32,14,GD-2.83| gdlib-config used from the PATH
#21 190.9 2024-07-18T21:25:32,14,GD-2.83| Where is libgd installed? [/usr/lib] /usr/lib
#21 190.9 2024-07-18T21:25:32,16,CryptX-0.080| cc -Iltm -Iltc/headers -DLTC_SOURCE -DLTC_NO_TEST -DLTC_NO_PROTOTYPES -DLTM_DESC -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -fPIC -O2  -msse4.1 -maes -DARGTYPE=4 -c ltc/pk/rsa/rsa_decrypt_key.c -o ltc/pk/rsa/rsa_decrypt_key.o
#21 190.9 2024-07-18T21:25:32,14,GD-2.83| Warning: prerequisite Test::Fork 0.02 not found.
#21 190.9 2024-07-18T21:25:32,14,GD-2.83| Warning: prerequisite Test::NoWarnings 1.00 not found.
#21 190.9 2024-07-18T21:25:32,14,GD-2.83| External LIBS:               -lgd
#21 190.9 2024-07-18T21:25:32,14,GD-2.83| Checking if your kit is complete...
#21 190.9 2024-07-18T21:25:32,14,GD-2.83| Looks good

sidey79 added a commit that referenced this issue Jul 22, 2024
sidey79 added a commit that referenced this issue Jul 22, 2024
@sidey79 sidey79 added the bug Something isn't working label Jul 22, 2024
@sidey79
Copy link
Contributor

sidey79 commented Jul 22, 2024

I'm building a new image, should be ready in ~ 40 minutes.

This should not fail with the same error.

Same Tagname :

ghcr.io/fhem/fhem-minimal-docker:pr-260-bullseye

@steffenxx
Copy link
Author

Hello Sidey,

Wonderful, now it works perfectly. The device was created without an error message. Converting and uploading to the e-Paper also works.

Many thanks for the quick help :-)
When will you go live with the image?

sidey79 added a commit that referenced this issue Jul 23, 2024
@sidey79
Copy link
Contributor

sidey79 commented Jul 23, 2024

I will make a new release this evening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging a pull request may close this issue.

2 participants