Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unable to convert SVG to PNG with imagemagick.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
djsmiley2k
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2005
Posts: 79
Location: Coventry

PostPosted: Sat Mar 09, 2019 10:57 pm    Post subject: Unable to convert SVG to PNG with imagemagick. Reply with quote

I have a script which creates a weather display for a kindle, and it needs to be a png, so I use convert from imagemagick to turn the svg I create into a png. As far as I know it was working until the server was rebooted recently however it may of broke shortly before or after I rebooted, maybe with a package upgrade.

Code:
convert -depth 8 -flatten weather-script-output.svg weather-script-output.png
convert: no images defined `weather-script-output.png' @ error/convert.c/ConvertImageCommand/3300.


I've also ran it with -debug all, which is pastebin'd here http://dpaste.com/178Z9BN, I've pasted most of the output below but missed off what appears to be the binary of the svg prior to the conversion.

Code:

  Command line: convert {-depth} {8} {-flatten} {weather-script-output.svg} {weather-script-output.png} {-debug} {all}
2019-03-09T20:33:14+00:00 0:00.000 0.000u 7.0.8 Policy convert[1848]: policy.c/IsRightsAuthorized/609/Policy
  Domain: Module; rights=Read; pattern="SVG" ...
2019-03-09T20:33:14+00:00 0:00.000 0.000u 7.0.8 Module convert[1848]: module.c/OpenModule/1272/Module
  Searching for module "SVG" using filename "svg.la"
2019-03-09T20:33:14+00:00 0:00.000 0.000u 7.0.8 Module convert[1848]: module.c/GetMagickModulePath/546/Module
  Searching for coder module file "svg.la" ...
2019-03-09T20:33:14+00:00 0:00.000 0.000u 7.0.8 Module convert[1848]: module.c/OpenModule/1281/Module
  Opening module at path "/usr/lib64/ImageMagick-7.0.8/modules-Q16/coders/svg.la"
2019-03-09T20:33:14+00:00 0:00.000 0.000u 7.0.8 Module convert[1848]: module.c/OpenModule/1308/Module
  Method "RegisterSVGImage" in module "SVG" at address 0x7f74752738b0
2019-03-09T20:33:14+00:00 0:00.000 0.000u 7.0.8 Module convert[1848]: module.c/OpenModule/1322/Module
  Method "UnregisterSVGImage" in module "SVG" at address 0x7f7475273a20
2019-03-09T20:33:14+00:00 0:00.000 0.000u 7.0.8 Policy convert[1848]: policy.c/IsRightsAuthorized/609/Policy
  Domain: Path; rights=Read; pattern="weather-script-output.svg" ...
2019-03-09T20:33:14+00:00 0:00.000 0.000u 7.0.8 Blob convert[1848]: blob.c/OpenBlob/3379/Blob
    read 3 magic header bytes
2019-03-09T20:33:14+00:00 0:00.000 0.000u 7.0.8 Cache convert[1848]: cache.c/DestroyPixelCache/1056/Cache
  destroy
2019-03-09T20:33:14+00:00 0:00.000 0.000u 7.0.8 Policy convert[1848]: policy.c/IsRightsAuthorized/609/Policy
  Domain: Coder; rights=Read; pattern="SVG" ...
2019-03-09T20:33:14+00:00 0:00.000 0.000u 7.0.8 Policy convert[1848]: policy.c/IsRightsAuthorized/609/Policy
  Domain: Path; rights=Read; pattern="weather-script-output.svg" ...
2019-03-09T20:33:14+00:00 0:00.000 0.000u 7.0.8 Blob convert[1848]: blob.c/OpenBlob/3379/Blob
    read 3 magic header bytes
2019-03-09T20:33:14+00:00 0:00.000 0.000u 7.0.8 Configure convert[1848]: configure.c/GetConfigureOptions/672/Configure
  Searching for configure file: "/usr/share/ImageMagick-7/delegates.xml"
2019-03-09T20:33:14+00:00 0:00.000 0.000u 7.0.8 Configure convert[1848]: configure.c/GetConfigureOptions/672/Configure
  Searching for configure file: "/usr/lib64/ImageMagick-7.0.8//config-Q16/delegates.xml"
2019-03-09T20:33:14+00:00 0:00.000 0.000u 7.0.8 Configure convert[1848]: configure.c/GetConfigureOptions/672/Configure
  Searching for configure file: "/etc/ImageMagick-7/delegates.xml"
2019-03-09T20:33:14+00:00 0:00.000 0.000u 7.0.8 Configure convert[1848]: configure.c/GetConfigureOptions/672/Configure
  Searching for configure file: "/usr/share/doc/ImageMagick-7/delegates.xml"
2019-03-09T20:33:14+00:00 0:00.000 0.000u 7.0.8 Configure convert[1848]: configure.c/GetConfigureOptions/672/Configure
  Searching for configure file: "/home/tim/.config/ImageMagick/delegates.xml"
2019-03-09T20:33:14+00:00 0:00.000 0.000u 7.0.8 Configure convert[1848]: delegate.c/LoadDelegateCache/2037/Configure
  Loading delegate configuration file "/etc/ImageMagick-7/delegates.xml" ...
2019-03-09T20:33:14+00:00 0:00.000 0.000u 7.0.8 Resource convert[1848]: resource.c/AcquireUniqueFileResource/550/Resource
  ...
2019-03-09T20:33:14+00:00 0:00.000 0.000u 7.0.8 Resource convert[1848]: resource.c/AcquireUniqueFileResource/606/Resource
  /tmp/magick-1848x1G7cW40p9dg
2019-03-09T20:33:14+00:00 0:00.000 0.000u 7.0.8 Resource convert[1848]: resource.c/RelinquishUniqueFileResource/1053/Resource
  /tmp/magick-1848x1G7cW40p9dg
2019-03-09T20:33:14+00:00 0:00.000 0.000u 7.0.8 Resource convert[1848]: resource.c/AcquireUniqueFileResource/550/Resource
  ...
2019-03-09T20:33:14+00:00 0:00.000 0.000u 7.0.8 Resource convert[1848]: resource.c/AcquireUniqueFileResource/606/Resource
  /tmp/magick-1848x55w04YaZowM
2019-03-09T20:33:14+00:00 0:00.000 0.000u 7.0.8 Resource convert[1848]: resource.c/AcquireUniqueFileResource/550/Resource
  ...
2019-03-09T20:33:14+00:00 0:00.000 0.000u 7.0.8 Resource convert[1848]: resource.c/AcquireUniqueFileResource/606/Resource
  /tmp/magick-1848Dlxtt7ucnFOi
2019-03-09T20:33:14+00:00 0:00.000 0.000u 7.0.8 Policy convert[1848]: policy.c/IsRightsAuthorized/609/Policy
  Domain: Delegate; rights=Execute; pattern="inkscape" ...
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Resource convert[1848]: resource.c/RelinquishUniqueFileResource/1053/Resource
  /tmp/magick-1848Dlxtt7ucnFOi
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Resource convert[1848]: resource.c/RelinquishUniqueFileResource/1053/Resource
  /tmp/magick-1848x1G7cW40p9dg
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Resource convert[1848]: resource.c/RelinquishUniqueFileResource/1053/Resource
  /tmp/magick-1848x55w04YaZowM
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Cache convert[1848]: cache.c/DestroyPixelCache/1056/Cache
  destroy
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Policy convert[1848]: policy.c/IsRightsAuthorized/609/Policy
  Domain: Module; rights=Read; pattern="PNG" ...
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Module convert[1848]: module.c/OpenModule/1272/Module
  Searching for module "PNG" using filename "png.la"
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Module convert[1848]: module.c/GetMagickModulePath/546/Module
  Searching for coder module file "png.la" ...
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Module convert[1848]: module.c/OpenModule/1281/Module
  Opening module at path "/usr/lib64/ImageMagick-7.0.8/modules-Q16/coders/png.la"
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Module convert[1848]: module.c/OpenModule/1308/Module
  Method "RegisterPNGImage" in module "PNG" at address 0x7f74750681d0
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Module convert[1848]: module.c/OpenModule/1322/Module
  Method "UnregisterPNGImage" in module "PNG" at address 0x7f7475068690
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Policy convert[1848]: policy.c/IsRightsAuthorized/609/Policy
  Domain: Path; rights=Read; pattern="weather-script-output.png" ...
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Blob convert[1848]: blob.c/OpenBlob/3379/Blob
    read 3 magic header bytes
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Cache convert[1848]: cache.c/DestroyPixelCache/1056/Cache
  destroy
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Policy convert[1848]: policy.c/IsRightsAuthorized/609/Policy
  Domain: Path; rights=Read; pattern="weather-script-output.png" ...
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Blob convert[1848]: blob.c/OpenBlob/3379/Blob
    read 3 magic header bytes
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Cache convert[1848]: cache.c/DestroyPixelCache/1056/Cache
  destroy
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Policy convert[1848]: policy.c/IsRightsAuthorized/609/Policy
  Domain: Coder; rights=Read; pattern="PNG" ...
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Coder convert[1848]: png.c/ReadPNGImage/4277/Coder
  Enter ReadPNGImage()
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Policy convert[1848]: policy.c/IsRightsAuthorized/609/Policy
  Domain: Path; rights=Read; pattern="weather-script-output.png" ...
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Blob convert[1848]: blob.c/OpenBlob/3379/Blob
    read 3 magic header bytes
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Coder convert[1848]: png.c/ReadOnePNGImage/2289/Coder
    Enter ReadOnePNGImage()
    IM version     = 7.0.8-28
    Libpng version = 1.6.35
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Coder convert[1848]: png.c/ReadOnePNGImage/2302/Coder
      Zlib version   = 1.2.11
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Coder convert[1848]: png.c/ReadOnePNGImage/2334/Coder
      Before reading:
      image->alpha_trait=0
      image->rendering_intent=2
      image->colorspace=23
      image->gamma=0.454545
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Coder convert[1848]: png.c/ReadOnePNGImage/2649/Coder
      PNG width: 600, height: 800
    PNG color_type: 0, bit_depth: 8
    PNG compression_method: 0
    PNG interlace_method: 0, filter_method: 0
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Coder convert[1848]: png.c/ReadOnePNGImage/2673/Coder
      Found PNG gAMA chunk.
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Coder convert[1848]: png.c/ReadOnePNGImage/2850/Coder
      Reading PNG gAMA chunk: gamma: 0.454550
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Coder convert[1848]: png.c/ReadOnePNGImage/3077/Coder
      Reading PNG bKGD chunk, raw ping_background=(65535,65535,65535)
    bkgd_scale=257.  ping_background=(65535,65535,65535)
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Coder convert[1848]: png.c/ReadOnePNGImage/3098/Coder
      image->background_color=(65535,65535,65535).
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Coder convert[1848]: png.c/ReadOnePNGImage/3208/Coder
      image->gamma=0.454550
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Resource convert[1848]: resource.c/AcquireMagickResource/250/Resource
  Width: 600P/214.748MP
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Resource convert[1848]: resource.c/AcquireMagickResource/250/Resource
  Height: 800P/214.748MP
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Resource convert[1848]: resource.c/AcquireMagickResource/250/Resource
  ListLength: 1/18.4467E
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Pixel convert[1848]: pixel.c/SetPixelChannelMask/6290/Pixel
  weather-script-output.png[07ffffff]
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Pixel convert[1848]: pixel.c/LogPixelChannels/6174/Pixel
  weather-script-output.png[07ffffff]
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Pixel convert[1848]: pixel.c/LogPixelChannels/6271/Pixel
    0: gray (update)
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Resource convert[1848]: resource.c/AcquireMagickResource/250/Resource
  Area: 480000P/3.66132GP
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Resource convert[1848]: resource.c/AcquireMagickResource/357/Resource
  Memory: 960000B/960000B/1.70494GiB
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Cache convert[1848]: cache.c/OpenPixelCache/3799/Cache
  open weather-script-output.png[0] (Heap Memory, 600x800x1 960000B)
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Coder convert[1848]: png.c/ReadOnePNGImage/3264/Coder
      image->colorspace=3
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Resource convert[1848]: resource.c/AcquireMagickResource/250/Resource
  Width: 600P/214.748MP
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Resource convert[1848]: resource.c/AcquireMagickResource/250/Resource
  Height: 800P/214.748MP
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Resource convert[1848]: resource.c/AcquireMagickResource/250/Resource
  ListLength: 1/18.4467E
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Pixel convert[1848]: pixel.c/SetPixelChannelMask/6290/Pixel
  weather-script-output.png[07ffffff]
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Pixel convert[1848]: pixel.c/LogPixelChannels/6174/Pixel
  weather-script-output.png[07ffffff]
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Pixel convert[1848]: pixel.c/LogPixelChannels/6271/Pixel
    0: gray (update)
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Pixel convert[1848]: pixel.c/LogPixelChannels/6271/Pixel
    1: index (copy)
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Resource convert[1848]: resource.c/AcquireMagickResource/250/Resource
  Area: 480000P/3.66132GP
2019-03-09T20:33:14+00:00 0:00.010 0.000u 7.0.8 Resource convert[1848]: resource.c/AcquireMagickResource/357/Resource
  Memory: 1920000B/2880000B/1.70494GiB
2019-03-09T20:33:14+00:00 0:00.010 0.010u 7.0.8 Cache convert[1848]: cache.c/ClonePixelCacheRepository/856/Cache
  Memory => Memory
2019-03-09T20:33:14+00:00 0:00.010 0.010u 7.0.8 Resource convert[1848]: resource.c/RelinquishMagickResource/1015/Resource
  Memory: 960000B/1920000B/1.70494GiB
2019-03-09T20:33:14+00:00 0:00.010 0.010u 7.0.8 Cache convert[1848]: cache.c/OpenPixelCache/3799/Cache
  open weather-script-output.png[0] (Heap Memory, 600x800x2 1920000B)
2019-03-09T20:33:14+00:00 0:00.010 0.010u 7.0.8 Coder convert[1848]: png.c/ReadOnePNGImage/3421/Coder
      Reading PNG IDAT chunk(s)
2019-03-09T20:33:14+00:00 0:00.010 0.010u 7.0.8 Coder convert[1848]: png.c/ReadOnePNGImage/3447/Coder
      Converting PNG pixels to pixel packets
2019-03-09T20:33:14+00:00 0:00.020 0.010u 7.0.8 Coder convert[1848]: png.c/ReadOnePNGImage/3590/Coder
      Converting grayscale pixels to pixel packets
2019-03-09T20:33:14+00:00 0:00.030 0.020u 7.0.8 Coder convert[1848]: png.c/ReadOnePNGImage/3771/Coder
      No transparent pixel was found
2019-03-09T20:33:14+00:00 0:00.030 0.020u 7.0.8 Coder convert[1848]: png.c/ReadOnePNGImage/3784/Coder
    image->storage_class=2

2019-03-09T20:33:14+00:00 0:00.030 0.020u 7.0.8 Coder convert[1848]: png.c/ReadOnePNGImage/3904/Coder
      Reading PNG text chunk
2019-03-09T20:33:14+00:00 0:00.030 0.020u 7.0.8 Coder convert[1848]: png.c/ReadOnePNGImage/3968/Coder
        length: 25
      Keyword: date:create
2019-03-09T20:33:14+00:00 0:00.030 0.020u 7.0.8 Coder convert[1848]: png.c/ReadOnePNGImage/3904/Coder
      Reading PNG text chunk
2019-03-09T20:33:14+00:00 0:00.030 0.020u 7.0.8 Coder convert[1848]: png.c/ReadOnePNGImage/3968/Coder
        length: 25
      Keyword: date:modify
2019-03-09T20:33:14+00:00 0:00.030 0.020u 7.0.8 Coder convert[1848]: png.c/ReadOnePNGImage/4230/Coder
    exit ReadOnePNGImage()
2019-03-09T20:33:14+00:00 0:00.030 0.020u 7.0.8 Coder convert[1848]: png.c/ReadPNGImage/4362/Coder
    page.w: 0, page.h: 0,page.x: 0, page.y: 0.
2019-03-09T20:33:14+00:00 0:00.030 0.020u 7.0.8 Coder convert[1848]: png.c/ReadPNGImage/4366/Coder
    image->colorspace: 3
2019-03-09T20:33:14+00:00 0:00.030 0.020u 7.0.8 Coder convert[1848]: png.c/ReadPNGImage/4371/Coder
  exit ReadPNGImage()
2019-03-09T20:33:14+00:00 0:00.030 0.030u 7.0.8 Resource convert[1848]: resource.c/AcquireMagickResource/250/Resource
  Width: 600P/214.748MP
2019-03-09T20:33:14+00:00 0:00.030 0.030u 7.0.8 Resource convert[1848]: resource.c/AcquireMagickResource/250/Resource
  Height: 800P/214.748MP
2019-03-09T20:33:14+00:00 0:00.030 0.030u 7.0.8 Resource convert[1848]: resource.c/AcquireMagickResource/250/Resource
  ListLength: 1/18.4467E
2019-03-09T20:33:14+00:00 0:00.030 0.030u 7.0.8 Pixel convert[1848]: pixel.c/SetPixelChannelMask/6290/Pixel
  weather-script-output.png[07ffffff]
2019-03-09T20:33:14+00:00 0:00.030 0.030u 7.0.8 Pixel convert[1848]: pixel.c/LogPixelChannels/6174/Pixel
  weather-script-output.png[07ffffff]
2019-03-09T20:33:14+00:00 0:00.030 0.030u 7.0.8 Pixel convert[1848]: pixel.c/LogPixelChannels/6271/Pixel
    0: gray (update)
2019-03-09T20:33:14+00:00 0:00.030 0.030u 7.0.8 Pixel convert[1848]: pixel.c/LogPixelChannels/6271/Pixel
    1: index (copy)
2019-03-09T20:33:14+00:00 0:00.030 0.030u 7.0.8 Resource convert[1848]: resource.c/AcquireMagickResource/250/Resource
  Area: 480000P/3.66132GP
2019-03-09T20:33:14+00:00 0:00.030 0.030u 7.0.8 Resource convert[1848]: resource.c/AcquireMagickResource/357/Resource
  Memory: 1920000B/3840000B/1.70494GiB
2019-03-09T20:33:14+00:00 0:00.030 0.030u 7.0.8 Cache convert[1848]: cache.c/OpenPixelCache/3799/Cache
  open weather-script-output.png[0] (Heap Memory, 600x800x2 1920000B)
2019-03-09T20:33:14+00:00 0:00.030 0.030u 7.0.8 Resource convert[1848]: resource.c/AcquireMagickResource/250/Resource
  Width: 600P/214.748MP
2019-03-09T20:33:14+00:00 0:00.030 0.030u 7.0.8 Resource convert[1848]: resource.c/AcquireMagickResource/250/Resource
  Height: 800P/214.748MP
2019-03-09T20:33:14+00:00 0:00.030 0.030u 7.0.8 Resource convert[1848]: resource.c/AcquireMagickResource/250/Resource
  ListLength: 1/18.4467E
2019-03-09T20:33:14+00:00 0:00.030 0.030u 7.0.8 Pixel convert[1848]: pixel.c/SetPixelChannelMask/6290/Pixel
  weather-script-output.png[07ffffff]
2019-03-09T20:33:14+00:00 0:00.030 0.030u 7.0.8 Pixel convert[1848]: pixel.c/LogPixelChannels/6174/Pixel
  weather-script-output.png[07ffffff]
2019-03-09T20:33:14+00:00 0:00.030 0.030u 7.0.8 Pixel convert[1848]: pixel.c/LogPixelChannels/6271/Pixel
    0: gray (update)
2019-03-09T20:33:14+00:00 0:00.030 0.030u 7.0.8 Resource convert[1848]: resource.c/AcquireMagickResource/250/Resource
  Area: 480000P/3.66132GP
2019-03-09T20:33:14+00:00 0:00.030 0.030u 7.0.8 Resource convert[1848]: resource.c/AcquireMagickResource/357/Resource
  Memory: 960000B/4800000B/1.70494GiB
2019-03-09T20:33:14+00:00 0:00.040 0.030u 7.0.8 Cache convert[1848]: cache.c/ClonePixelCacheRepository/856/Cache
  Memory => Memory
2019-03-09T20:33:14+00:00 0:00.040 0.030u 7.0.8 Resource convert[1848]: resource.c/RelinquishMagickResource/1015/Resource
  Memory: 1920000B/2880000B/1.70494GiB
2019-03-09T20:33:14+00:00 0:00.040 0.030u 7.0.8 Cache convert[1848]: cache.c/OpenPixelCache/3799/Cache
  open weather-script-output.png[0] (Heap Memory, 600x800x1 960000B)
2019-03-09T20:33:14+00:00 0:00.040 0.040u 7.0.8 Resource convert[1848]: resource.c/AcquireMagickResource/250/Resource
  Width: 600P/214.748MP
2019-03-09T20:33:14+00:00 0:00.040 0.040u 7.0.8 Resource convert[1848]: resource.c/AcquireMagickResource/250/Resource
  Height: 800P/214.748MP
2019-03-09T20:33:14+00:00 0:00.040 0.040u 7.0.8 Resource convert[1848]: resource.c/AcquireMagickResource/250/Resource
  ListLength: 1/18.4467E
2019-03-09T20:33:14+00:00 0:00.040 0.040u 7.0.8 Pixel convert[1848]: pixel.c/SetPixelChannelMask/6290/Pixel
  weather-script-output.png[07ffffff]
2019-03-09T20:33:14+00:00 0:00.040 0.040u 7.0.8 Pixel convert[1848]: pixel.c/LogPixelChannels/6174/Pixel
  weather-script-output.png[07ffffff]
2019-03-09T20:33:14+00:00 0:00.040 0.040u 7.0.8 Pixel convert[1848]: pixel.c/LogPixelChannels/6271/Pixel
    0: red (update)
2019-03-09T20:33:14+00:00 0:00.040 0.040u 7.0.8 Pixel convert[1848]: pixel.c/LogPixelChannels/6271/Pixel
    1: green (update)
2019-03-09T20:33:14+00:00 0:00.040 0.040u 7.0.8 Pixel convert[1848]: pixel.c/LogPixelChannels/6271/Pixel
    2: blue (update)
2019-03-09T20:33:14+00:00 0:00.040 0.040u 7.0.8 Resource convert[1848]: resource.c/AcquireMagickResource/250/Resource
  Area: 480000P/3.66132GP
2019-03-09T20:33:14+00:00 0:00.040 0.040u 7.0.8 Resource convert[1848]: resource.c/AcquireMagickResource/357/Resource
  Memory: 2880000B/5760000B/1.70494GiB
2019-03-09T20:33:14+00:00 0:00.040 0.040u 7.0.8 Cache convert[1848]: cache.c/ClonePixelCacheRepository/856/Cache
  Memory => Memory
2019-03-09T20:33:14+00:00 0:00.040 0.040u 7.0.8 Resource convert[1848]: resource.c/RelinquishMagickResource/1015/Resource
  Memory: 960000B/4800000B/1.70494GiB
2019-03-09T20:33:14+00:00 0:00.040 0.040u 7.0.8 Cache convert[1848]: cache.c/OpenPixelCache/3799/Cache
  open weather-script-output.png[0] (Heap Memory, 600x800x3 2880000B)
2019-03-09T20:33:14+00:00 0:00.040 0.040u 7.0.8 Resource convert[1848]: resource.c/AcquireMagickResource/250/Resource
  Width: 600P/214.748MP
2019-03-09T20:33:14+00:00 0:00.040 0.040u 7.0.8 Resource convert[1848]: resource.c/AcquireMagickResource/250/Resource
  Height: 800P/214.748MP
2019-03-09T20:33:14+00:00 0:00.040 0.040u 7.0.8 Resource convert[1848]: resource.c/AcquireMagickResource/250/Resource
  ListLength: 1/18.4467E
2019-03-09T20:33:14+00:00 0:00.040 0.040u 7.0.8 Pixel convert[1848]: pixel.c/SetPixelChannelMask/6290/Pixel
  weather-script-output.png[07ffffff]
2019-03-09T20:33:14+00:00 0:00.040 0.040u 7.0.8 Pixel convert[1848]: pixel.c/LogPixelChannels/6174/Pixel
  weather-script-output.png[07ffffff]
2019-03-09T20:33:14+00:00 0:00.040 0.040u 7.0.8 Pixel convert[1848]: pixel.c/LogPixelChannels/6271/Pixel
    0: red (update)
2019-03-09T20:33:14+00:00 0:00.040 0.040u 7.0.8 Pixel convert[1848]: pixel.c/LogPixelChannels/6271/Pixel
    1: green (update)
2019-03-09T20:33:14+00:00 0:00.040 0.040u 7.0.8 Pixel convert[1848]: pixel.c/LogPixelChannels/6271/Pixel
    2: blue (update)
2019-03-09T20:33:14+00:00 0:00.040 0.040u 7.0.8 Pixel convert[1848]: pixel.c/LogPixelChannels/6271/Pixel
    3: index (copy)
2019-03-09T20:33:14+00:00 0:00.040 0.040u 7.0.8 Resource convert[1848]: resource.c/AcquireMagickResource/250/Resource
  Area: 480000P/3.66132GP
2019-03-09T20:33:14+00:00 0:00.050 0.040u 7.0.8 Resource convert[1848]: resource.c/AcquireMagickResource/357/Resource
  Memory: 3840000B/8640000B/1.70494GiB
2019-03-09T20:33:14+00:00 0:00.050 0.040u 7.0.8 Cache convert[1848]: cache.c/OpenPixelCache/3799/Cache
  open weather-script-output.png[0] (Heap Memory, 600x800x4 3840000B)
2019-03-09T20:33:14+00:00 0:00.050 0.060u 7.0.8 Cache convert[1848]: cache.c/ClonePixelCacheRepository/856/Cache
  Memory => Memory
2019-03-09T20:33:14+00:00 0:00.050 0.060u 7.0.8 Resource convert[1848]: resource.c/AcquireMagickResource/250/Resource
  Width: 600P/214.748MP
2019-03-09T20:33:14+00:00 0:00.050 0.060u 7.0.8 Resource convert[1848]: resource.c/AcquireMagickResource/250/Resource
  Height: 800P/214.748MP
2019-03-09T20:33:14+00:00 0:00.050 0.060u 7.0.8 Resource convert[1848]: resource.c/AcquireMagickResource/250/Resource
  ListLength: 1/18.4467E
2019-03-09T20:33:14+00:00 0:00.050 0.060u 7.0.8 Pixel convert[1848]: pixel.c/SetPixelChannelMask/6290/Pixel
  weather-script-output.png[07ffffff]
2019-03-09T20:33:14+00:00 0:00.050 0.060u 7.0.8 Pixel convert[1848]: pixel.c/LogPixelChannels/6174/Pixel
  weather-script-output.png[07ffffff]
2019-03-09T20:33:14+00:00 0:00.050 0.060u 7.0.8 Pixel convert[1848]: pixel.c/LogPixelChannels/6271/Pixel
    0: red (update)
2019-03-09T20:33:14+00:00 0:00.050 0.060u 7.0.8 Pixel convert[1848]: pixel.c/LogPixelChannels/6271/Pixel
    1: green (update)
2019-03-09T20:33:14+00:00 0:00.050 0.060u 7.0.8 Pixel convert[1848]: pixel.c/LogPixelChannels/6271/Pixel
    2: blue (update)
2019-03-09T20:33:14+00:00 0:00.050 0.060u 7.0.8 Pixel convert[1848]: pixel.c/LogPixelChannels/6271/Pixel
    3: index (copy)
2019-03-09T20:33:14+00:00 0:00.050 0.060u 7.0.8 Resource convert[1848]: resource.c/AcquireMagickResource/250/Resource
  Area: 480000P/3.66132GP
2019-03-09T20:33:14+00:00 0:00.050 0.060u 7.0.8 Resource convert[1848]: resource.c/AcquireMagickResource/357/Resource
  Memory: 3840000B/12480000B/1.70494GiB
2019-03-09T20:33:14+00:00 0:00.060 0.070u 7.0.8 Resource convert[1848]: resource.c/RelinquishMagickResource/1015/Resource
  Memory: 3840000B/8640000B/1.70494GiB
2019-03-09T20:33:14+00:00 0:00.060 0.070u 7.0.8 Cache convert[1848]: cache.c/OpenPixelCache/3799/Cache
  open weather-script-output.png[0] (Heap Memory, 600x800x4 3840000B)
2019-03-09T20:33:14+00:00 0:00.070 0.090u 7.0.8 Cache convert[1848]: cache.c/DestroyPixelCache/1056/Cache
  destroy weather-script-output.png[0]
2019-03-09T20:33:14+00:00 0:00.070 0.090u 7.0.8 Resource convert[1848]: resource.c/RelinquishMagickResource/1015/Resource
  Memory: 3840000B/4800000B/1.70494GiB
2019-03-09T20:33:14+00:00 0:00.070 0.090u 7.0.8 Cache convert[1848]: cache.c/DestroyPixelCache/1056/Cache
  destroy weather-script-output.png[0]
2019-03-09T20:33:14+00:00 0:00.070 0.100u 7.0.8 Resource convert[1848]: resource.c/RelinquishMagickResource/1015/Resource
  Memory: 1920000B/2880000B/1.70494GiB
2019-03-09T20:33:14+00:00 0:00.070 0.100u 7.0.8 Locale convert[1848]: locale.c/GetLocaleOptions/854/Locale
  Searching for locale file: "/usr/share/ImageMagick-7/locale.xml"
2019-03-09T20:33:14+00:00 0:00.070 0.100u 7.0.8 Locale convert[1848]: locale.c/GetLocaleOptions/854/Locale
  Searching for locale file: "/usr/lib64/ImageMagick-7.0.8//config-Q16/locale.xml"
2019-03-09T20:33:14+00:00 0:00.070 0.100u 7.0.8 Locale convert[1848]: locale.c/GetLocaleOptions/854/Locale
  Searching for locale file: "/etc/ImageMagick-7/locale.xml"
2019-03-09T20:33:14+00:00 0:00.070 0.100u 7.0.8 Locale convert[1848]: locale.c/GetLocaleOptions/854/Locale
  Searching for locale file: "/usr/share/doc/ImageMagick-7/locale.xml"
2019-03-09T20:33:14+00:00 0:00.070 0.100u 7.0.8 Locale convert[1848]: locale.c/GetLocaleOptions/854/Locale
  Searching for locale file: "/home/tim/.config/ImageMagick/locale.xml"
2019-03-09T20:33:14+00:00 0:00.070 0.100u 7.0.8 Configure convert[1848]: locale.c/LoadLocaleCache/1206/Configure
  Loading locale configure file "/usr/share/ImageMagick-7/locale.xml" ...
2019-03-09T20:33:14+00:00 0:00.070 0.100u 7.0.8 Locale convert[1848]: locale.c/GetLocaleOptions/854/Locale
  Searching for locale file: "/usr/share/ImageMagick-7/english.xml"
2019-03-09T20:33:14+00:00 0:00.070 0.100u 7.0.8 Locale convert[1848]: locale.c/GetLocaleOptions/854/Locale
  Searching for locale file: "/usr/lib64/ImageMagick-7.0.8//config-Q16/english.xml"
2019-03-09T20:33:14+00:00 0:00.070 0.100u 7.0.8 Locale convert[1848]: locale.c/GetLocaleOptions/854/Locale
  Searching for locale file: "/etc/ImageMagick-7/english.xml"
2019-03-09T20:33:14+00:00 0:00.070 0.100u 7.0.8 Locale convert[1848]: locale.c/GetLocaleOptions/854/Locale
  Searching for locale file: "/usr/share/doc/ImageMagick-7/english.xml"
2019-03-09T20:33:14+00:00 0:00.070 0.100u 7.0.8 Locale convert[1848]: locale.c/GetLocaleOptions/854/Locale
  Searching for locale file: "/home/tim/.config/ImageMagick/english.xml"
2019-03-09T20:33:14+00:00 0:00.070 0.100u 7.0.8 Configure convert[1848]: locale.c/LoadLocaleCache/1206/Configure
  Loading locale configure file "/usr/share/ImageMagick-7/english.xml" ...
2019-03-09T20:33:14+00:00 0:00.080 0.100u 7.0.8 Exception convert[1848]: convert.c/ConvertImageCommand/3297/Exception
   `all'
2019-03-09T20:33:14+00:00 0:00.080 0.100u 7.0.8 Cache convert[1848]: cache.c/DestroyPixelCache/1056/Cache
  destroy weather-script-output.png[0]
2019-03-09T20:33:14+00:00 0:00.080 0.100u 7.0.8 Resource convert[1848]: resource.c/RelinquishMagickResource/1015/Resource
  Memory: 2880000B/0B/1.70494GiB
convert:  `all' @ error/convert.c/ConvertImageCommand/3297.


I've tried re-emerging imagemagick, imagemagick-tools, imagemagick with -e, libpng, librsvg...

The problem only appears to effect svg to anything else conversions as shown below:

Code:
tim@musha server $ convert ./weather-script-output.svg ./weather-script-output.png
convert: no images defined `./weather-script-output.png' @ error/convert.c/ConvertImageCommand/3300.
tim@musha server $ convert ./weather-script-output.svg ./weather-script-output.jpg
convert: no images defined `./weather-script-output.jpg' @ error/convert.c/ConvertImageCommand/3300.
tim@musha server $ convert ./weather-script-output.png ./weather-script-output.jpg
tim@musha server $ convert ./weather-script-output.jpg ./weather-script-output.svg
tim@musha server $ convert ./weather-script-output.png ./weather-script-output.svg


Samples of the svg file are at http://weather.milkme.co.uk/weather-script-output.svg with the last 'good' output in png format at http://weather.milkme.co.uk/weather-script-output.png|

I'm unsure what else you need to see, so here are the useflags for the packages:

Code:
tim@musha server $ equery list libpng
 * Searching for libpng ...
[IP-] [  ] media-libs/libpng-1.6.36:0/16
tim@musha server $ equery uses libpng
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for media-libs/libpng-1.6.36:
 U I
 + + abi_x86_32        : 32-bit (x86) libraries
 - - apng              : support unofficial APNG (Animated PNG) spec
 + + cpu_flags_x86_sse : Use the SSE instruction set
 - - static-libs       : Build static versions of dynamic libraries as well
tim@musha server $ equery uses imagemagick
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for media-gfx/imagemagick-7.0.8.30:
 U I
 - - X           : Add support for X11
 + + bzip2       : Use the bzlib compression library
 + + corefonts   : Use media-fonts/corefonts which is required by some commands
 + + cxx         : Build support for C++ (bindings, extra libraries, code generation,
                   ...)
 - - djvu        : Support DjVu, a PDF-like document format esp. suited for scanned
                   documents
 - - fftw        : Use FFTW library for computing Fourier transforms
 - - fontconfig  : Support for configuring and customizing font access via
                   media-libs/fontconfig
 - - fpx         : Enable media-libs/libfpx support
 - - graphviz    : Add support for the Graphviz library
 - - hdri        : Enable High Dynamic Range Images formats
 - - heif        : Enable support for ISO/IEC 23008-12:2017 HEIF/HEIC image format
                   using media-libs/libheif
 - - jbig        : Enable jbig-kit support for tiff, Hylafax, ImageMagick, etc
 + + jpeg        : Add JPEG image support
 - - jpeg2k      : Support for JPEG 2000, a wavelet-based image compression format
 - - lcms        : Add lcms support (color management engine)
 - - lqr         : Enable experimental liquid rescale support using media-libs/liblqr
 - - lzma        : Support for LZMA (de)compression algorithm
 - - opencl      : Enable OpenCL support
 - - openexr     : Support for the OpenEXR graphics file format
 + + openmp      : Build support for the OpenMP (support parallel computing),
                   requires >=sys-devel/gcc-4.2 built with USE="openmp"
 - - pango       : Enable Pango support using x11-libs/pango
 - - perl        : Add optional support/bindings for the Perl language
 + + png         : Add support for libpng (PNG images)
 - - postscript  : Enable support for the PostScript language (often with
                   ghostscript-gpl or libspectre)
 - - q32         : Set quantum depth value to 32
 - - q8          : Set quantum depth value to 8
 - - raw         : Add support for raw image formats
 - - static-libs : Build static versions of dynamic libraries as well
 + + svg         : Add support for SVG (Scalable Vector Graphics)
 - - test        : Enable dependencies and/or preparations necessary to run tests
                   (usually controlled by FEATURES=test but can be toggled
                   independently)
 - - tiff        : Add support for the TIFF image format
 + + truetype    : Add support for FreeType and/or FreeType2 fonts
 - - webp        : Add support for the WebP image format
 - - wmf         : Add support for the Windows Metafile vector image format
 - - xml         : Add support for XML files
 + + zlib        : Add support for zlib (de)compression
tim@musha server $ equery uses imagemagick-tools
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for virtual/imagemagick-tools-0:
 U I
 + + jpeg : Add JPEG image support
 - - perl : Add optional support/bindings for the Perl language
 + + png  : Add support for libpng (PNG images)
 + + svg  : Add support for SVG (Scalable Vector Graphics)
 - - tiff : Add support for the TIFF image format
tim@musha server $ equery uses librsvg
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for gnome-base/librsvg-2.40.20:
 U I
 + + abi_x86_32    : 32-bit (x86) libraries
 - - introspection : Add support for GObject based introspection
 - - tools         : Build svg viewer tool
 - - vala          : Enable bindings for dev-lang/vala


Last edited by djsmiley2k on Sun Mar 10, 2019 7:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Sun Mar 10, 2019 3:11 pm    Post subject: Reply with quote

If I understand correctly, your conversion statement worked and then it stopped working.

Please note down the date when 'imagemagick convert' last worked and the date when it stopped working. Something must have happened between those dates, right?

Now look at the output of:
Code:
qlop -l

Which packages did you install or update between those dates?

PS: in case you don't have qlop: install app-portage/portage-utils

PPS: some of your links don't work - they contain erroneous punctuation characters. And your dpaste document contains binary data?
Back to top
View user's profile Send private message
djsmiley2k
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2005
Posts: 79
Location: Coventry

PostPosted: Sun Mar 10, 2019 6:24 pm    Post subject: Reply with quote

mike155 wrote:
If I understand correctly, your conversion statement worked and then it stopped working.

Please note down the date when 'imagemagick convert' last worked and the date when it stopped working. Something must have happened between those dates, right?

Now look at the output of:
Code:
qlop -l

Which packages did you install or update between those dates?

PS: in case you don't have qlop: install app-portage/portage-utils

PPS: some of your links don't work - they contain erroneous punctuation characters. And your dpaste document contains binary data?


So the date of the 24th I did infact install some packages:

    Sun Feb 24 12:58:59 2019 >>> app-crypt/openpgp-keys-gentoo-release-20190223
    Sun Feb 24 12:59:35 2019 >>> app-emulation/docker-proxy-0.8.0_p20181207
    Sun Feb 24 13:00:54 2019 >>> app-emulation/runc-1.0.0_rc6_p20181203-r1
    Sun Feb 24 13:05:18 2019 >>> app-emulation/containerd-1.2.2
    Sun Feb 24 13:05:33 2019 >>> app-text/wgetpaste-2.28-r2
    Sun Feb 24 13:07:02 2019 >>> dev-lang/nasm-2.14.02
    Sun Feb 24 13:13:26 2019 >>> sys-kernel/gentoo-sources-4.19.23
    Sun Feb 24 13:13:44 2019 >>> app-doc/xmltoman-0.4-r1
    Sun Feb 24 13:14:23 2019 >>> dev-python/setuptools-40.6.3
    Sun Feb 24 13:16:17 2019 >>> sys-apps/file-5.36
    Sun Feb 24 13:17:33 2019 >>> sys-libs/cracklib-2.9.6-r2
    Sun Feb 24 13:18:33 2019 >>> net-misc/youtube-dl-2019.02.08
    Sun Feb 24 13:22:02 2019 >>> dev-python/docutils-0.14
    Sun Feb 24 13:22:27 2019 >>> dev-python/requests-2.21.0-r1
    Sun Feb 24 13:22:41 2019 >>> virtual/pkgconfig-1
    Sun Feb 24 13:29:11 2019 >>> dev-libs/libxml2-2.9.9
    Sun Feb 24 13:31:26 2019 >>> sys-apps/kmod-25
    Sun Feb 24 13:43:11 2019 >>> app-emulation/docker-18.09.2
    Sun Feb 24 13:44:23 2019 >>> app-admin/hddtemp-0.3_beta15-r27
    Sun Feb 24 14:55:57 2019 >>> media-video/ffmpeg-3.4.5
    Sun Feb 24 14:57:51 2019 >>> sys-apps/lm_sensors-3.5.0
    Sun Feb 24 15:31:47 2019 >>> media-gfx/imagemagick-7.0.8.27
    Sun Feb 24 22:33:11 2019 >>> sys-devel/gcc-8.2.0-r6
    Sun Feb 24 22:34:42 2019 >>> media-gfx/graphite2-1.3.13
    Sun Feb 24 22:35:49 2019 >>> media-tv/plex-media-server-1.14.1
    Sun Feb 24 22:37:04 2019 >>> dev-libs/libsigc++-2.10.1
    Sun Feb 24 22:42:46 2019 >>> app-text/poppler-0.74.0
    Sun Feb 24 22:45:18 2019 >>> net-print/cups-filters-1.21.6
    Sun Feb 24 22:45:33 2019 >>> sys-fs/udev-init-scripts-33


The pastebin is what -debug all gives me. I found it weird that the binary is showing there, but I couldn't find another person's -debug all to compare to. It would explain why something isn't working if what is infact happening is the svg gets outputted onto stdout....

Other than the obvious in the list : Sun Feb 24 15:31:47 2019 >>> media-gfx/imagemagick-7.0.8.27, is there anything else that may of introduced this weirdness?
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Sun Mar 10, 2019 7:45 pm    Post subject: Reply with quote

I tried to reproduce the error, but the statement below works fine on my machine:
Code:
convert -debug all -depth 8 -flatten ./weather-script-output.svg ./weather-script-output.png

Your list of files you installed on Sun Feb 24 shows a GCC upgrade.
  1. Please post the output of 'gcc-config -l'.

  2. Which version of GCC was installed and active before Sun Feb 24?

  3. Please post the output of 'emerge --info'

  4. An update from GCC 7 to GCC 8 is not known to require a world rebuild. But in some cases it might be necessary... Let's try to find a better solution first - but if you get stuck, you could try a world rebuild. Run:
    Code:
    emerge --sync
    emerge --update --deep --newuse -av @world
    emerge --depclean

    and then
    Code:
    emerge --emptytree -av @world

    Make sure to read https://wiki.gentoo.org/wiki/Upgrading_GCC first...
Back to top
View user's profile Send private message
djsmiley2k
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2005
Posts: 79
Location: Coventry

PostPosted: Sun Mar 10, 2019 8:06 pm    Post subject: Reply with quote

Code:
tim@musha ~ $ gcc-config -l
 [1] armv6j-hardfloat-linux-gnueabi-4.9.3
 [2] armv6j-hardfloat-linux-gnueabi-4.9.4 *
 [3] armv6j-hardfloat-linux-gnueabi-5.4.0
 [4] armv6j-hardfloat-linux-gnueabi-6.4.0
 [5] armv6j-hardfloat-linux-gnueabi-7.3.0
 [6] armv6j-hardfloat-linux-gnueabi-8.2.0

 [7] i486-pc-linux-gnu-4.9.3
 [8] i486-pc-linux-gnu-4.9.4
 [9] i486-pc-linux-gnu-5.4.0
 [10] i486-pc-linux-gnu-6.4.0 *
 [11] i486-pc-linux-gnu-7.3.0
 [12] i486-pc-linux-gnu-8.2.0

 [13] x86_64-pc-linux-gnu-4.9.3
 [14] x86_64-pc-linux-gnu-4.9.4
 [15] x86_64-pc-linux-gnu-5.4.0
 [16] x86_64-pc-linux-gnu-6.4.0 *
 [17] x86_64-pc-linux-gnu-7.3.0
 [18] x86_64-pc-linux-gnu-8.2.0


I don't recall choosing a new version of GCC, but it wouldn't be impossible that I did....

Code:
tim@musha ~ $ emerge --info
Portage 2.3.51 (python 2.7.15-final-0, default/linux/amd64/17.0, gcc-6.4.0, glibc-2.27-r6, 4.9.16-gentoo x86_64)
=================================================================
System uname: Linux-4.9.16-gentoo-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4600+-with-gentoo-2.6
KiB Mem:     1787756 total,     79012 free
KiB Swap:    1999868 total,   1983184 free
Timestamp of repository gentoo: Sun, 10 Mar 2019 03:00:01 +0000
Head commit of repository gentoo: d1ffc1ff3349eabd0f7ee13a6fe77407cb284cc1
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.4_p23-r1::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.4.8::gentoo, 3.5.5::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.38.3-r1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.14.1::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo, 2.26.1::gentoo, 2.28-r2::gentoo, 2.28.1::gentoo, 2.29.1-r1::gentoo, 2.30-r4::gentoo
sys-devel/gcc:            4.9.3::gentoo, 4.9.4::gentoo, 5.4.0-r3::gentoo, 6.4.0-r1::gentoo, 7.3.0-r3::gentoo, 8.2.0-r6::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.14-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24

djsmiley2k
    location: /usr/local/portage/gentoo-overlay
    masters: gentoo

fouxlay
    location: /var/lib/layman/fouxlay
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64-sse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/apache2-php7.1/ext-active/ /etc/php/apache2-php7.2/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=athlon64-sse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news nodoc noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.bytemark.co.uk/gentoo/ http://mirror.bytemark.co.uk/gentoo/ rsync://mirror.bytemark.co.uk/gentoo/ ftp://mirror.qubenet.net/mirror/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ rsync://rsync.mirrorservice.org/www.ibiblio.org/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB en"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="3dnow 3dnowext aac aalib acpi alsa amd64 amr apache2 avi berkdb bzip2 cddb cdparanoia cli consolekit corefonts crypt cups cxx daemon dbus dri dvb extensions extras ffmpeg fortran gd gdbm gif git headless iconv ipv6 jpeg lame libtirpc lm_sensors mad mmx moonlight mp3 mpeg multilib ncurses netboot nls nptl ogg openmp pam pcre php png policykit python qt3support readline rss sdl seccomp soap sqlite sse sse2 ssl svg tcpd tftp truetype unicode v4l v4l2 vboxwebsrv xattr xmlrpc xulrunner xvid zlib" ABI_X86="64 32" ALSA_CARDS="snd-hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias actions alias auth_basic auth_digest authz_host autoindex cache cgi cgid dir disk_cache log_config mem_cache mime rewrite vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="x86_64 arm" QEMU_USER_TARGETS="x86_64 arm" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Sun Mar 10, 2019 9:25 pm    Post subject: Reply with quote

Quote:
I don't recall choosing a new version of GCC, but it wouldn't be impossible that I did...

I'm sorry! I assumed you switched to GCC 8.2, but you didn't. My fault.

Since you didn't switch GCC, it doesn't make sense to run 'emerge --emptytree'. Please ignore item 4 of my last post.

I'm surprised to see so many different versions of GCC on your machine. And I'm surprised that you still use GCC 6.4. Most people seem to use GCC 8.2 nowadays...

1) What happens if you downgrade libpng to 1.6.35-r1?

2) Could it be related to the fact that you use a somewhat old version of GCC (6.4.0)?
Back to top
View user's profile Send private message
djsmiley2k
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2005
Posts: 79
Location: Coventry

PostPosted: Sun Mar 10, 2019 9:28 pm    Post subject: Reply with quote

To be honest I didn't realise quite how far behind my GCC was either, so I'm upgrading that along with the world rebuild. Who knows, it might fix it and if it doesn't I'll report back and look at the libpng downgrade.
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Sun Mar 10, 2019 9:31 pm    Post subject: Reply with quote

One more thing. You seem to use binutils 2.25.1. This version is masked and not supported anymore.
Back to top
View user's profile Send private message
djsmiley2k
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2005
Posts: 79
Location: Coventry

PostPosted: Mon Mar 18, 2019 10:08 am    Post subject: Reply with quote

So the depclean, gcc update and world rebuild hasn't fixed it. At a bit of a loss now.
Back to top
View user's profile Send private message
djsmiley2k
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2005
Posts: 79
Location: Coventry

PostPosted: Mon Mar 18, 2019 5:17 pm    Post subject: Reply with quote

Interestingly,

Code:
rsvg-convert ./weather-script-output.svg -b white -o ./weather-script-output.png
is working fine, so right now I've updated my personal script to use that instead, however it'd be good to figure out what's wrong with imagemagick.
Back to top
View user's profile Send private message
djsmiley2k
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2005
Posts: 79
Location: Coventry

PostPosted: Mon Mar 18, 2019 5:27 pm    Post subject: Reply with quote

The weirdness continues.

I've just noticed that for the listed formats, svg is only showing write support, not read support - which matches the testing I did. (Converting from png to svg or jpg to svg works).

Code:
convert -list format
   Format  Module    Mode  Description
   SVGZ  SVG       -w+   Compressed Scalable Vector Graphics (RSVG 2.40.20)


So now the question arises, why no read support?
Back to top
View user's profile Send private message
djsmiley2k
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2005
Posts: 79
Location: Coventry

PostPosted: Mon Mar 18, 2019 8:05 pm    Post subject: Reply with quote

djsmiley2k wrote:
The weirdness continues.

I've just noticed that for the listed formats, svg is only showing write support, not read support - which matches the testing I did. (Converting from png to svg or jpg to svg works).

Code:
convert -list format
   Format  Module    Mode  Description
   SVGZ  SVG       -w+   Compressed Scalable Vector Graphics (RSVG 2.40.20)


So now the question arises, why no read support?


K, I derped, that's only compressed svg's.
Back to top
View user's profile Send private message
paluszak
Apprentice
Apprentice


Joined: 28 Jun 2004
Posts: 265
Location: Warsaw, Poland

PostPosted: Thu Apr 11, 2019 9:45 am    Post subject: Reply with quote

This is not a direct solution to your imagemagick problem, but inkscape has a nice cli interface. I have an impression that it does a better job with SVG conversion than imagemagick.

On top of that, do you have any specific reasons to keep old versions of gcc and binutils installed? If not, update your system, cull the old versions of gcc and binutils and reemerge libtool, gcc and kernel.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum