bugThe FreeType Project - Bugs: bug #59288, Compile warning:...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #59288: Compile warning: ‘hb_ot_tags_from_script’ is deprecated

Submitter:  Wink Saville <winksaville>
Submitted:  Sat 17 Oct 2020 04:54:31 PM UTC
   
 
Severity:  3 - Normal Item Group:  None
Status:  Confirmed Privacy:  Public
Assigned to:  wl Open/Closed:  Open
Planned Release:  None

Sun 18 Oct 2020 04:46:41 AM UTC, comment #1: 

Thanks for the report.  This is a known issue, and it is harmless.

For the time being, please ignore it.

Werner LEMBERG <wl>
Group administrator
Sat 17 Oct 2020 04:54:31 PM UTC, original submission:  

Hopefully the following is enough information.

I compiled freetype2 using master as of 2020-10-17:

$ git log -1 --oneline
f9f6adb62 (HEAD -> master, origin/master, origin/HEAD) [truetype] Retain OVERLAP_SIMPLE and OVERLAP_COMPOUND.

On an Arch Linux system recently updated:

$ inxi -Fxz
System:    Kernel: 5.8.14-arch1-1 x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 4.6.7 Distro: Arch Linux
Machine:   Type: Desktop Mobo: ASRock model: X570 Creator serial: <filter> UEFI: American Megatrends v: P2.10 date: 12/16/2019
CPU:       Topology: 12-Core model: AMD Ryzen 9 3900X bits: 64 type: MT MCP arch: Zen 2 L2 cache: 6144 KiB
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 182494
           Speed: 2200 MHz min/max: 2200/3800 MHz Core speeds (MHz): 1: 2199 2: 2197 3: 2479 4: 2023 5: 2198 6: 2199 7: 2197
           8: 2193 9: 2200 10: 2196 11: 2199 12: 2197 13: 2200 14: 2200 15: 1859 16: 2583 17: 1859 18: 2198 19: 2195 20: 2196
           21: 2200 22: 2197 23: 2200 24: 2035
Graphics:  Device-1: NVIDIA TU116 [GeForce GTX 1660] vendor: Micro-Star MSI driver: nvidia v: 455.28 bus ID: 33:00.0
           Display: x11 server: X.org 1.20.9 driver: nvidia unloaded: modesetting resolution: <xdpyinfo missing>
           Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:     Device-1: NVIDIA TU116 High Definition Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus ID: 33:00.1
           Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio vendor: ASRock driver: snd_hda_intel v: kernel
           bus ID: 35:00.4
           Sound Server: ALSA v: k5.8.14-arch1-1
Network:   Device-1: Intel I211 Gigabit Network vendor: ASRock driver: igb v: 5.6.0-k port: b000 bus ID: 28:00.0
           IF: enp40s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
           Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: b000 bus ID: 29:00.0
           IF: wlp41s0 state: down mac: <filter>
           Device-3: Aquantia AQC107 NBase-T/IEEE 802.3bz Ethernet [AQtion] vendor: ASRock driver: atlantic v: kernel
           port: a000 bus ID: 2e:00.0
           IF: enp46s0 state: down mac: <filter>
Drives:    Local Storage: total: 465.76 GiB used: 128.72 GiB (27.6%)
           ID-1: /dev/nvme0n1 vendor: Sabrent model: Rocket 4.0 500GB size: 465.76 GiB
           ID-2: /dev/nvme1n1 vendor: Sabrent model: Rocket 4.0 500GB size: 465.76 GiB
Partition: ID-1: / size: 491.15 GiB used: 128.65 GiB (26.2%) fs: ext4 dev: /dev/dm-2
           ID-2: /boot size: 1.86 GiB used: 72.8 MiB (3.8%) fs: vfat dev: /dev/nvme0n1p1
Swap:      ID-1: swap-1 type: file size: 512.0 MiB used: 0 KiB (0.0%) file: /swapfile
Sensors:   System Temperatures: cpu: 47.9 C mobo: N/A
           Fan Speeds (RPM): N/A
Info:      Processes: 439 Uptime: 55m Memory: 31.29 GiB used: 3.34 GiB (10.7%) Init: systemd Compilers: gcc: 10.2.0
           clang: 10.0.1 Shell: bash v: 5.0.18 inxi: 3.1.03


And got the following warning:

libtool: compile:  gcc -pedantic -ansi -I/home/wink/prgs/freetype/clones/freetype2/src/autofit -I/home/wink/prgs/freetype/clones/freetype2/objs -I./builds/unix -I/home/wink/prgs/freetype/clones/freetype2/include -c -Wall -g -O2 -fvisibility=hidden -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" "-DFT_CONFIG_MODULES_H=<ftmodule.h>" "-DFT_CONFIG_OPTIONS_H=<ftoption.h>" -DFT2_BUILD_LIBRARY /home/wink/prgs/freetype/clones/freetype2/src/autofit/autofit.c  -fPIC -DPIC -o /home/wink/prgs/freetype/clones/freetype2/objs/.libs/autofit.o
In file included from /home/wink/prgs/freetype/clones/freetype2/src/autofit/autofit.c:33:
/home/wink/prgs/freetype/clones/freetype2/src/autofit/afshaper.c: In function ‘af_shaper_get_coverage’:
/home/wink/prgs/freetype/clones/freetype2/src/autofit/afshaper.c:135:5: warning: ‘hb_ot_tags_from_script’ is deprecated: Use 'hb_ot_tags_from_script_and_language' instead [-Wdeprecated-declarations]
  135 |     hb_ot_tags_from_script( script,
      |     ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/harfbuzz/hb-ot.h:34,
                 from /home/wink/prgs/freetype/clones/freetype2/src/autofit/afshaper.h:29,
                 from /home/wink/prgs/freetype/clones/freetype2/src/autofit/afglobal.h:26,
                 from /home/wink/prgs/freetype/clones/freetype2/src/autofit/afcjk.c:28,
                 from /home/wink/prgs/freetype/clones/freetype2/src/autofit/autofit.c:23:
/usr/include/harfbuzz/hb-ot-deprecated.h:63:1: note: declared here
   63 | hb_ot_tags_from_script (hb_script_t  script,
      | ^~~~~~~~~~~~~~~~~~~~~~

Wink Saville <winksaville>

 

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

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-10-18 wl StatusNone Confirmed
        Assigned toNone wl
    2020-10-17 winksaville Carbon-Copy- Added winksaville

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code