[MacPorts] #37982: lcms2 fails to compile against new jpeg
#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
#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 Resolution: | Keywords: Port: lcms2 | ----------------------+------------------- Comment (by blair@…): BTW, this is on 10.7. -- Ticket URL: <https://trac.macports.org/ticket/37982#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37982: lcms, lcms2: fails to compile against jpeg 9 --------------------------+------------------- Reporter: blair@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: lcms, lcms2 | --------------------------+------------------- Changes (by ryandesign@…): * cc: adfernandes@…, ryandesign@… (added) * port: lcms2 => lcms, lcms2 Comment: I get the same on 10.5 and 10.8, and also with lcms. -- Ticket URL: <https://trac.macports.org/ticket/37982#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37982: lcms, lcms2: fails to compile against jpeg 9 --------------------------+------------------- Reporter: blair@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: lcms, lcms2 | --------------------------+------------------- Comment (by ryandesign@…): Do lcms/lcms2 need a fix like tiff got in r102823? wxWidgets is also affected; #37983 povray looks to be affected; #37985 -- Ticket URL: <https://trac.macports.org/ticket/37982#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37982: lcms, lcms2: fails to compile against jpeg 9 --------------------------+------------------- Reporter: blair@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: lcms, lcms2 | --------------------------+------------------- Comment (by crossd@…): Replying to [comment:3 ryandesign@…]:
Do lcms/lcms2 need a fix like tiff got in r102823?
wxWidgets is also affected; #37983
povray looks to be affected; #37985
openmotif is also affected. -- Ticket URL: <https://trac.macports.org/ticket/37982#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37982: lcms, lcms2: fails to compile against jpeg 9 --------------------------+------------------- Reporter: blair@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: lcms, lcms2 | --------------------------+------------------- Changes (by larryv@…): * cc: nick.fabry@…, murrayeisenberg@… (added) Comment: Has duplicates #37986 and #37987. -- Ticket URL: <https://trac.macports.org/ticket/37982#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37982: lcms, lcms2: fails to compile against jpeg 9 --------------------------+------------------- Reporter: blair@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: lcms, lcms2 | --------------------------+------------------- Comment (by irony42@…): Replying to [comment:4 crossd@…]:
Replying to [comment:3 ryandesign@…]:
Do lcms/lcms2 need a fix like tiff got in r102823?
wxWidgets is also affected; #37983
povray looks to be affected; #37985
openmotif is also affected.
libmng and poppler are also affected. -- Ticket URL: <https://trac.macports.org/ticket/37982#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37982: lcms, lcms2: fails to compile against jpeg 9 --------------------------+------------------- Reporter: blair@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: lcms, lcms2 | --------------------------+------------------- Changes (by ryandesign@…): * cc: crossd@…, irony42@… (added) Comment: Replying to [comment:4 crossd@…]:
openmotif is also affected.
Please file individual tickets for each separate port that itself fails to build with jpeg 9, since at this point I'm assuming an individual fix will be needed for each affected port. openmotif: #37989 gdal: #37988 Replying to [comment:7 irony42@…]:
libmng and poppler are also affected.
libmng depends on lcms and poppler depends on lcms2, so it's hard to know whether libmng and poppler themselves fail to build with jpeg 9 until we resolve the issues with lcms and lcms2. -- Ticket URL: <https://trac.macports.org/ticket/37982#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37982: lcms, lcms2: fails to compile against jpeg 9 --------------------------+------------------- Reporter: blair@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: lcms, lcms2 | --------------------------+------------------- Comment (by irony42@…): Replying to [comment:8 ryandesign@…]:
Replying to [comment:7 irony42@…]:
libmng and poppler are also affected.
libmng depends on lcms and poppler depends on lcms2, so it's hard to know whether libmng and poppler themselves fail to build with jpeg 9 until we resolve the issues with lcms and lcms2.
Right. On second glance, it looks like just poppler has an independent issue... we'll see. -- Ticket URL: <https://trac.macports.org/ticket/37982#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37982: lcms, lcms2: fails to compile against jpeg 9 --------------------------+------------------- Reporter: blair@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: lcms, lcms2 | --------------------------+------------------- Comment (by pingemi@…): I thought it odd that JPEG 9 assumes if there's no boolean type, then TRUE and FALSE aren't defined. So in /opt/local/include/jmorecfg.h I replaced: {{{ typedef enum { FALSE = 0, TRUE = 1 } boolean; }}} with: {{{ #ifndef TRUE #ifndef FALSE typedef enum { FALSE = 0, TRUE = 1 } boolean; #else typedef int boolean; #endif #else typedef int boolean; #endif }}} seems to work fine. -- Ticket URL: <https://trac.macports.org/ticket/37982#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37982: lcms, lcms2: fails to compile against jpeg 9 --------------------------+------------------- Reporter: blair@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: lcms, lcms2 | --------------------------+------------------- Changes (by ryandesign@…): * cc: mauxnet@… (added) Comment: Has duplicate #37991. -- Ticket URL: <https://trac.macports.org/ticket/37982#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37982: lcms, lcms2: fails to compile against jpeg 9 --------------------------+-------------------- Reporter: blair@… | Owner: jmr@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: duplicate | Keywords: Port: lcms, lcms2 | --------------------------+-------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => duplicate Comment: Duplicate of #37984. -- Ticket URL: <https://trac.macports.org/ticket/37982#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37982: lcms, lcms2: fails to compile against jpeg 9 --------------------------+-------------------- Reporter: blair@… | Owner: jmr@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: duplicate | Keywords: Port: lcms, lcms2 | --------------------------+-------------------- Comment (by ryandesign@…): Has duplicate #37993. -- Ticket URL: <https://trac.macports.org/ticket/37982#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts