Skip to content

LMS | Fails to run #1124

Closed
Closed

Description

@Fourdee

Due to missing CPAN modules:

 DBI EV XML::Parser::Expat HTML::Parser JSON::XS Digest::SHA1 YAML::XS Sub::Name

Activity

  1. added this to the v155 milestone on Aug 30, 2017
  2. Fourdee commented on Aug 30, 2017

    @Fourdee
    CollaboratorAuthor

    Install CPAN modules:

    perl -MCPAN -eshell
    install DBI EV XML::Parser::Expat HTML::Parser JSON::XS Digest::SHA1 YAML::XS Sub::Name
    

    LMS reports following still missing:

    DBI EV XML::Parser::Expat HTML::Parser JSON::XS Sub::Name
    
  3. modified the milestones: v155, v156 on Sep 2, 2017
  4. modified the milestones: v156, v157 on Sep 22, 2017
  5. modified the milestones: v157, v158 on Oct 19, 2017
  6. Fourdee commented on Nov 8, 2017

    @Fourdee
    CollaboratorAuthor
    root@DietPi:~/slimserver-vendor/CPAN# squeezeboxserver
    Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE (.*?)}/ at /usr/share/squeezeboxserver/CPAN/Log/Log4perl/Config/PropertyConfigurator.pm line 60.
    The following CPAN modules were found but cannot work with Logitech Media Server:
      Image::Scale (loaded  but missing object file, need 0.08)
    
    root@DietPi:~/slimserver-vendor/CPAN# cat /root/.cpanm/work/1510162125.15958/build.log
    cpanm (App::cpanminus) 1.7042 on perl 5.024001 built for arm-linux-gnueabihf-thread-multi-64int
    Work directory is /root/.cpanm/work/1510162125.15958
    You have make /usr/bin/make
    You have LWP 6.15
    You have /bin/tar: tar (GNU tar) 1.29
    Copyright (C) 2015 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.
    
    Written by John Gilmore and Jay Fenlason.
    You have /usr/bin/unzip
    Searching Image::Scale (== 0.08) on cpanmetadb ...
    --> Working on Image::Scale
    Fetching http://backpan.perl.org/authors/id/A/AG/AGRUNDMA/Image-Scale-0.08.tar.gz
    -> OK
    Unpacking Image-Scale-0.08.tar.gz
    Entering Image-Scale-0.08
    Checking configure dependencies from META.yml
    Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.10_02)
    Configuring Image-Scale-0.08
    Running Makefile.PL
    
    Image::Scale will be built with:
    
      JPEG support:     yes (/usr/include, version unknown)
      PNG support:      yes (/usr/include, version 1.6.28)
      GIF support:      yes (/usr/include, version unknown, lib)
    
    Checking if your kit is complete...
    Looks good
    Warning (mostly harmless): No library found for -l
    Generating a Unix-style Makefile
    Writing Makefile for Image::Scale
    Writing MYMETA.yml and MYMETA.json
    -> OK
    Checking dependencies from MYMETA.json ...
    Checking if you have Test::NoWarnings 0 ... Yes (1.04)
    Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.10_02)
    Building and testing Image-Scale-0.08
    cp lib/Image/Scale.pm blib/lib/Image/Scale.pm
    Running Mkbootstrap for Image::Scale ()
    chmod 644 "Scale.bs"
    "/usr/bin/perl" "/usr/share/perl/5.24/ExtUtils/xsubpp"  -typemap "/usr/share/perl/5.24/ExtUtils/typemap" -typemap "typemap"  Scale.xs > Scale.xsc && mv Scale.xsc Scale.c
    Please specify prototyping behavior for Scale.xs (see perlxs manual)
    arm-linux-gnueabihf-gcc -c  -I. -I.. -Isrc -Iinclude -I/usr/include -I/usr/include -I/usr/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"0.08\" -DXS_VERSION=\"0.08\" -fPIC "-I/usr/lib/arm-linux-gnueabihf/perl/5.24/CORE"  -O2 -Wall -Wno-unused-value -Wno-format-security -Winline -ffast-math -DHAVE_JPEG -DJPEG_VERSION=unknown -DHAVE_PNG -DPNG_VERSION=1.6.28 -DHAVE_GIF -DGIF_VERSION=unknown Scale.c
    In file included from src/image.c:20:0,
                     from Scale.xs:18:
    src/bmp.c: In function ‘image_bmp_read_header’:
    src/bmp.c:25:7: warning: variable ‘offset’ set but not used [-Wunused-but-set-variable]
       int offset, palette_colors;
           ^~~~~~
    In file included from src/image.c:25:0,
                     from Scale.xs:18:
    src/png.c: In function ‘image_png_read_buf’:
    src/png.c:43:2: warning: implicit declaration of function ‘png_memcpy’ [-Wimplicit-function-declaration]
      png_memcpy(data, buffer_ptr(im->buf), len);
      ^~~~~~~~~~
    In file included from src/image.c:28:0,
                     from Scale.xs:18:
    src/gif.c: In function ‘image_gif_read_header’:
    src/gif.c:58:13: error: too few arguments to function ‘DGifOpen’
       im->gif = DGifOpen(im, image_gif_read_buf);
                 ^~~~~~~~
    In file included from include/image.h:21:0,
                     from src/image.c:17,
                     from Scale.xs:18:
    /usr/include/gif_lib.h:182:14: note: declared here
     GifFileType *DGifOpen(void *userPtr, InputFunc readFunc, int *Error);    /* new one (TVT) */
                  ^~~~~~~~
    In file included from src/image.c:28:0,
                     from Scale.xs:18:
    src/gif.c:61:5: warning: implicit declaration of function ‘PrintGifError’ [-Wimplicit-function-declaration]
         PrintGifError();
         ^~~~~~~~~~~~~
    src/gif.c: In function ‘image_gif_load’:
    src/gif.c:195:49: error: ‘SavedImage {aka struct SavedImage}’ has no member named ‘Function’
             if (DGifGetExtension(im->gif, &temp_save.Function, &ExtData) == GIF_ERROR) {
                                                     ^
    src/gif.c:202:22: error: ‘SavedImage {aka struct SavedImage}’ has no member named ‘Function’
             if (temp_save.Function == 0xF9) { // transparency info
                          ^
    src/gif.c:213:15: warning: implicit declaration of function ‘AddExtensionBlock’ [-Wimplicit-function-declaration]
               if (AddExtensionBlock(&temp_save, ExtData[0], &ExtData[1]) == GIF_ERROR) {
                   ^~~~~~~~~~~~~~~~~
    src/gif.c:227:20: error: ‘SavedImage {aka struct SavedImage}’ has no member named ‘Function’
               temp_save.Function = 0;
                        ^
    src/gif.c:82:7: warning: variable ‘BackGround’ set but not used [-Wunused-but-set-variable]
       int BackGround = 0;
           ^~~~~~~~~~
    src/gif.c: In function ‘image_gif_finish’:
    src/gif.c:244:9: error: too few arguments to function ‘DGifCloseFile’
         if (DGifCloseFile(im->gif) != GIF_OK) {
             ^~~~~~~~~~~~~
    In file included from include/image.h:21:0,
                     from src/image.c:17,
                     from Scale.xs:18:
    /usr/include/gif_lib.h:183:9: note: declared here
         int DGifCloseFile(GifFileType * GifFile, int *ErrorCode);
             ^~~~~~~~~~~~~
    Scale.c: In function ‘XS_Image__Scale___cleanup’:
    Scale.c:635:7: warning: variable ‘self’ set but not used [-Wunused-but-set-variable]
      HV * self;
           ^~~~
    Makefile:344: recipe for target 'Scale.o' failed
    make: *** [Scale.o] Error 1
    -> FAIL Installing Image::Scale failed. See /root/.cpanm/work/1510162125.15958/build.log for details. Retry with --force to force install it.
    
  7. modified the milestones: v158, v159 on Nov 12, 2017
  8. modified the milestones: v159, on Dec 10, 2017
  9. added a commit that references this issue on Jan 9, 2018
  10. Fourdee commented on Jan 9, 2018

    @Fourdee
    CollaboratorAuthor
  11. Fourdee commented on Jan 9, 2018

    @Fourdee
    CollaboratorAuthor

    Completed. ARMv7 Stretch only tested.

  12. added a commit that references this issue on Jan 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions