bugThe FreeType Project - Bugs: bug #51780, Inconsistency between ftoption.h...

 
 

bug #51780: Inconsistency between ftoption.h and generated binary

Submitted by:  Pavel Sountsov <siegelord>
Submitted on:  Fri 18 Aug 2017 05:05:39 AM UTC  
 
Severity: 3 - NormalItem Group: Incorrect behaviour
Status: FixedPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: 2.8.2

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 25 Nov 2017 10:51:44 PM UTC, comment #1:

This should be fixed now in git, please test.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Fri 18 Aug 2017 05:05:39 AM UTC, original submission:

I have fetched a copy of freetype-2.8 source and issued these commands on OSX:

./configure --prefix /tmp/freetype
make install

The first command printed out the following at the end:

Library configuration:
external zlib: yes (autoconf test)
bzip2: yes (autoconf test)
libpng: yes (libpng-config)
harfbuzz: no

After compilation, I observed that the resultant freetype binary links to png, zlib and bzip2:

otool -L /tmp/freetype/lib/libfreetype.6.dylib
/tmp/freetype/lib/libfreetype.6.dylib:
/tmp/freetype/lib/libfreetype.6.dylib (compatibility version
21.0.0, current version 21.0.0)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
/usr/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current
version 1.0.5)
/usr/local/opt/libpng/lib/libpng16.16.dylib (compatibility version
38.0.0, current version 38.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1213.0.0)

However, if I look at the corresponding ftoption.h, the options for system zlib, png and zlib2 are commented out, leading to an inconsistency.

As a point of comparison, if I use the CMake build system, then the ftoption.h that's installed actually does reflect the binary (because CMakeLists.txt modifies it in response to its configuration).

Pavel Sountsov <siegelord>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by wl (Posted a comment)
  • -unavailable- added by siegelord (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 25 Nov 2017 10:51:44 PM UTCwlStatusNone=>Fixed
      Assigned toNone=>wl
      Open/ClosedOpen=>Closed
      Planned ReleaseNone=>2.8.2

    Back to the top


    Powered by Savane 3.1-cleanup1