Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#37984 closed defect (fixed)

jpeg: boolean definition in headers causes other ports to fail to build

Reported by: crossd@… Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: AlonzoQuixote@…, cooljeanius (Eric Gallager), ryandesign (Ryan Carsten Schmidt), jeremyhu (Jeremy Huddleston Sequoia), bgschaid@…
Port: jpeg

Description

Change r102822 seems to have broken a few ports (lcms and lcms2 and openmotif; possibly others). It seems to be a sometimes conflict with setting TRUE and FALSE in /opt/local/include/jmorecfg.h.

My machine is running 10.8.2 and Xcode 4.5.2 (company policy keeps me from upgrading to 4.6 at this time).

Change History (11)

comment:1 Changed 12 years ago by AlonzoQuixote@…

Cc: AlonzoQuixote@… added

Cc Me!

comment:2 Changed 12 years ago by larryv (Lawrence Velázquez)

Cc: jmr@… removed
Owner: changed from macports-tickets@… to jmr@…
Priority: HighNormal

Could call this a duplicate of #37982, maybe.

comment:3 Changed 12 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:4 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Port: jpeg added

There are many tickets filed about this problem already. lcms and lcms2 are #37982. openmotif is #37989.

We can keep this ticket open to track whether there is anything we can do to fix this just once in jpeg itself.

comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jeremyhu@… added
Resolution: fixed
Status: newclosed

comment:6 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Has duplicates:

Version 0, edited 12 years ago by ryandesign (Ryan Carsten Schmidt) (next)

comment:7 Changed 12 years ago by bgschaid@…

Resolution: fixed
Status: closedreopened

Still doesn't work for me (did a "port selfupdate"). emacs reports

dyld: Library not loaded: /opt/local/lib/libjpeg.8.dylib

Iif I try to trick it into accepting the new library with a symbolic link to libjpeg.9.dylib it fails with

 Reason: Incompatible library version: emacs requires version 13.0.0 or later, but libjpeg.8.dylib provides version 10.0.0

Upgrading anything reports

 --->  Scanning binaries for linking errors: 100.0%
 --->  Found 65 broken file(s), matching files to ports
 --->  Found 13 broken port(s), determining rebuild order

then these ports are "only" cleaned (emacs) or they fail during building (gnuplot).

comment:8 Changed 12 years ago by bgschaid@…

Cc: bgschaid@… added

Cc Me!

comment:9 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: reopenedclosed

That's a different problem; new ticket please. The issue reported in this ticket (that the boolean type defined by the jpeg header is causing build failures) is resolved.

comment:10 in reply to:  9 Changed 12 years ago by bgschaid@…

Replying to ryandesign@…:

That's a different problem; new ticket please. The issue reported in this ticket (that the boolean type defined by the jpeg header is causing build failures) is resolved.

OK. That's be #37996 (although I think that the title of this ticket is still valid)

comment:11 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: jpeg 9 upgrade in r102822 breaks other ports.jpeg: boolean definition in headers causes other ports to fail to build

I've fixed the title.

Note: See TracTickets for help on using tickets.