Unable to build XV

Dave Horsfall dave at horsfall.org
Sun Sep 18 23:37:45 UTC 2022


Mid-2010 MacBook Pro w/ High Sierra 10.13.6 (as far as it will go)

I'll understand if XV is no longer supported (it's quite long in the 
tooth), but I find it better than GIMP for my requirements.

Anyway...

    --->  Building xv
    Error: Failed to build xv: command execution failed      
    Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_xv/xv/main.log for details.
    Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.

Extract from main.log (compressed log attached):

    :info:build /usr/bin/clang -Os -arch x86_64 -DDOPNG -I/opt/local/include -I/opt/local/include -DDOJPEG -I/opt/local/include -DDOTIFF -DUSE_TILED_TIFF_BOTLEFT_FIX -I/opt/local/include -DDOPDS -DDOJP2K -I/opt/local/libexec/jasper2/include  -DMGCSFXDIR=\"/opt/local/lib/xv\"      -D__DARWIN__   -DUSLEEP -DDOCDIR=\"/opt/local/share/doc/xv\" -DSYSCONFDIR=\"/etc\" -DXVEXECPATH=\"/opt/local/lib/xv\" -o bggen bggen.c -L/opt/local/lib -ltiff -L/opt/local/lib -ljpeg -L/opt/local/lib -lpng -L/opt/local/lib -lz -L/opt/local/libexec/jasper2/lib -ljasper -L/usr/X11R6/lib -lX11 -lm
    :info:build xvjp2k.c:77:5: error: redefinition of 'jas_getdbglevel'
    :info:build int jas_getdbglevel(void) {return 0;}
    :info:build     ^
    :info:build /opt/local/include/jasper/jas_debug.h:123:5: note: previous definition is here
    :info:build int jas_getdbglevel(void)
    :info:build     ^
    :info:build 1 error generated.
    :info:build make: *** [xvjp2k.o] Error 1

Anyone else seeing this before I lodge a bug report?  I guess a dependency 
must've changed to cause the rebuild...

-- Dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.log.bz2
Type: application/octet-stream
Size: 7895 bytes
Desc: main.log.bz2
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20220919/8194dacb/attachment.obj>


More information about the macports-users mailing list