[MacPorts] #65864: Unable to upgrade the xv port in lion - jas_getdbglevel(void) defined multiple times

MacPorts noreply at macports.org
Mon Sep 19 02:04:41 UTC 2022


#65864: Unable to upgrade the xv port in lion - jas_getdbglevel(void) defined
multiple times
--------------------+--------------------
 Reporter:  RobK88  |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.7.2
 Keywords:  lion    |       Port:  xv
--------------------+--------------------
 I am unable to upgrade xv on lion.

 Compiler complains that `jas_getdbglevel(void)` has been defined multiple
 times.

 {{{
 xvjp2k.c:77:5: error: redefinition of 'jas_getdbglevel'
 int jas_getdbglevel(void) {return 0;}
     ^
 /opt/local/include/jasper/jas_debug.h:123:5: note: previous definition is
 here
 int jas_getdbglevel(void)
     ^
 8 warnings and 1 error generated.
 make: *** [xvjp2k.o] Error 1
 make: *** Waiting for unfinished jobs....
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_xv/xv/work/xv-3.10a'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_xv/xv/work/xv-3.10a"
 && /usr/bin/make -j4 -w all PREFIX='/opt/local' ZLIBDIR='/opt/local'
 JPEGDIR='/opt/local' JP2KDIR='/opt/local/libexec/jasper2'
 TIFFDIR='/opt/local' PNGDIR='/opt/local' CC='/usr/bin/clang' CCOPTS='-Os
 -arch x86_64'
 Exit code: 2
 Error: Failed to build xv: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_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.
 }}}


 see attached main.log for more details.

-- 
Ticket URL: <https://trac.macports.org/ticket/65864>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list