Opened 14 years ago

Closed 14 years ago

#28169 closed defect (worksforme)

error when building texlive-bin

Reported by: karl_puperze@… Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: texlive-bin

Description

I get a conversion error when building texlive-bin (see attached log).

Attachments (1)

main.log (394.3 KB) - added by karl_puperze@… 14 years ago.

Download all attachments as: .zip

Change History (6)

Changed 14 years ago by karl_puperze@…

Attachment: main.log added

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to dports@…

Please remember to cc the maintainer.

comment:2 Changed 14 years ago by drkp (Dan Ports)

Status: newassigned

Relevant part of the log:

:info:build /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I./dvisvgm-1.0.2/src -I./dvisvgm-1.0.2/potracelib -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive-bin/work/texlive-20100720-source/texk -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive-bin/work/texlive-20100720-source/texk -I/opt/local/include/freetype2 -I/opt/local/include     -Wimplicit -Wreturn-type -Wno-unknown-pragmas -pipe -O2 -arch x86_64 -MT FontManager.o -MD -MP -MF .deps/FontManager.Tpo -c -o FontManager.o `test -f 'dvisvgm-1.0.2/src/FontManager.cpp' || echo './'`dvisvgm-1.0.2/src/FontManager.cpp
:info:build dvisvgm-1.0.2/src/FontEngine.cpp: In function 'bool trace_outline(FT_FaceRec_*, int, Glyph&, bool)':
:info:build dvisvgm-1.0.2/src/FontEngine.cpp:321: error: invalid conversion from 'int (*)(FT_Vector*, void*)' to 'int (*)(const FT_Vector*, void*)'
:info:build dvisvgm-1.0.2/src/FontEngine.cpp:321: error: invalid conversion from 'int (*)(FT_Vector*, void*)' to 'int (*)(const FT_Vector*, void*)'
:info:build dvisvgm-1.0.2/src/FontEngine.cpp:321: error: invalid conversion from 'int (*)(FT_Vector*, FT_Vector*, void*)' to 'int (*)(const FT_Vector*, const FT_Vector*, void*)'
:info:build dvisvgm-1.0.2/src/FontEngine.cpp:321: error: invalid conversion from 'int (*)(FT_Vector*, FT_Vector*, FT_Vector*, void*)' to 'int (*)(const FT_Vector*, const FT_Vector*, const FT_Vector*, void*)'
:info:build make[3]: *** [FontEngine.o] Error 1
:info:build make[3]: *** Waiting for unfinished jobs....
:info:build mv -f .deps/FontManager.Tpo .deps/FontManager.Po
:info:build make[2]: *** [all] Error 2
:info:build make[1]: *** [all-recursive] Error 1
:info:build make: *** [all-recursive] Error 1
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive-bin/work/texlive-20100720-source" && /usr/bin/make -j2 all " returned error 2

comment:3 Changed 14 years ago by drkp (Dan Ports)

This looks like an error related to using an old version of freetype that has a few different definitions in its header file. It should work fine with the version of freetype in the freetype2 port, and indeed it works fine for me.

Do you have another version of freetype installed, maybe in /usr/local, or via Fink?

comment:4 in reply to:  3 Changed 14 years ago by karl_puperze@…

I upgraded freetype from version 2.4.0 to 2.4.4 and it works now. Thank you so much!

comment:5 Changed 14 years ago by mf2k (Frank Schima)

Resolution: worksforme
Status: assignedclosed
Note: See TracTickets for help on using tickets.