Opened 2 months ago

Last modified 2 months ago

#57867 new defect

mindless @1.6: Couldn’t recognize the image file format for file “ICONS/lifeset.svg”

Reported by: ryandesign (Ryan Schmidt) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: kurthindenburg (Kurt Hindenburg), dbevans (David B. Evans)
Port: mindless, gdk-pixbuf2

Description

mindless doesn't build:

gdk-pixbuf-csource --raw --build-list \
		lifeset_image ICONS/lifeset.svg \
		ping_image ICONS/ping.svg \
		hand_image ICONS/hand.svg \
		deck_image ICONS/deck.svg \
		graveyard_image ICONS/graveyard.svg \
		removed_image ICONS/removed.svg \
		coin_image ICONS/coin.svg \
		die_image ICONS/die.svg \
		phaseuntap_image ICONS/phaseuntap.svg \
		phaseupkeep_image ICONS/phaseupkeep.svg \
		phasedraw_image ICONS/phasedraw.svg \
		phasemain_image ICONS/phasemain.svg \
		phasecombat_image ICONS/phasecombat.svg \
		phasecleanup_image ICONS/phasecleanup.svg \
		> _images.c
failed to load "ICONS/lifeset.svg": Couldn’t recognize the image file format for file “ICONS/lifeset.svg”
make: *** [_images.c] Error 1
make: *** Waiting for unfinished jobs....

Change History (7)

comment:1 Changed 2 months ago by kurthindenburg (Kurt Hindenburg)

The error is from 10.14 - it builds fine on 10.13

comment:2 Changed 2 months ago by ryandesign (Ryan Schmidt)

1.6 fails to build on the buildbot on all OS versions. (1.5 succeeded on all OS versions.) Maybe a missing dependency?

comment:3 Changed 2 months ago by kurthindenburg (Kurt Hindenburg)

Strange it builds here with and without trace - I'll investigate more

comment:4 Changed 2 months ago by kurthindenburg (Kurt Hindenburg)

In 7f3623246521718f1e7f164a3e50bf2bb966ee49/macports-ports (master):

mindless: add dep for possible build issue; use right compiler

see #57867
closes #57866

comment:5 Changed 2 months ago by ryandesign (Ryan Schmidt)

Still fails, unfortunately.

comment:6 Changed 2 months ago by kurthindenburg (Kurt Hindenburg)

Is there anyway to verify /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache or the files in /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/ on the buildbot? Or if it also fails on anyone system?

If I remove the svg lines from the cache, I get the error above.

comment:7 Changed 2 months ago by ryandesign (Ryan Schmidt)

Cc: dbevans added
Port: gdk-pixbuf2 added

Sure. The loaders.cache file on the buildbot is missing two sections I see present on my own system: The one for libpixbufloader-svg.so and the one for libopenraw_pixbuf.so. Looks like gdk-pixbuf2 will opportunistically use librsvg and libopenraw to make those loaders.

Unfortunately, both librsvg and libopenraw themselves depend on gdk-pixbuf2, so gdk-pixbuf2 cannot depend on them, because that would create a circular dependency, which MacPorts cannot accommodate.

So I don't know how this should be resolved. We might need to have separate subports of gdk-pixbuf2 for at least the svg and openraw loaders. Dave, what do you think?

Note: See TracTickets for help on using tickets.