[MacPorts] #37982: lcms2 fails to compile against new jpeg

MacPorts noreply at macports.org
Fri Feb 8 19:13:14 PST 2013


#37982: lcms2 fails to compile against new jpeg
---------------------+-------------------
 Reporter:  blair@…  |      Owner:  jmr@…
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.1.3
 Keywords:           |       Port:  lcms2
---------------------+-------------------
 Recompiling jpeg's dependent ports, got this failure:

 {{{
 make[1]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_lcms2/lcms2/work/lcms2-2.4/utils/jpgicc'
 /usr/bin/clang -DPACKAGE_NAME=\"lcms2\" -DPACKAGE_TARNAME=\"lcms2\"
 -DPACKAGE_VERSION=\"2.4\" -DPACKAGE_STRING=\"lcms2\ 2.4\"
 -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1
 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
 -DLT_OBJDIR=\".libs/\" -DHasJPEG=1 -DHasZLIB=1 -DHasTIFF=1
 -DHAVE_TIFFCONF_H=1 -I.  -I../../include -I../../include
 -I../../utils/common -I../../utils/common -I/opt/local/include  -pipe -O2
 -arch x86_64 -MT jpgicc.o -MD -MP -MF .deps/jpgicc.Tpo -c -o jpgicc.o
 jpgicc.c
 In file included from jpgicc.c:30:
 In file included from /opt/local/include/jpeglib.h:27:
 /opt/local/include/jmorecfg.h:263:16: error: expected '}'
 typedef enum { FALSE = 0, TRUE = 1 } boolean;
                ^
 ../../include/lcms2.h:227:22: note: expanded from macro 'FALSE'
 #       define FALSE 0
                      ^
 /opt/local/include/jmorecfg.h:263:14: note: to match this '{'
 typedef enum { FALSE = 0, TRUE = 1 } boolean;
              ^
 jpgicc.c:1094:42: warning: data argument not used by format string
 [-Wformat-extra-args]
                      SW, SW, SW, SW, SW, SW);
                                          ^
 1 warning and 1 error generated.
 make[1]: *** [jpgicc.o] Error 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/37982>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list