Opened 18 years ago

Closed 17 years ago

#9461 closed defect (worksforme)

Unable to upgrade port: fontconfig

Reported by: rob.longridge@… Owned by: kvv@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: DarwinPorts Cc: markd@…, rob.longridge@…
Port:

Description

---> Building fontconfig with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_graphics_fontconfig/work/fontconfig-2.3.2" && make all" returned error 2 Command output: fcfreetype.c:2710: error: (Each undeclared identifier is reported only once fcfreetype.c:2710: error: for each function it appears in.) fcfreetype.c:2710: error: parse error before 'tt_face' fcfreetype.c:2719: error: 'tt_face' undeclared (first use in this function) fcfreetype.c:2722: warning: implicit declaration of function 'FT_STREAM_POS' fcfreetype.c:2722: warning: nested extern declaration of 'FT_STREAM_POS' fcfreetype.c:2726: warning: implicit declaration of function 'FT_STREAM_SEEK' fcfreetype.c:2726: warning: nested extern declaration of 'FT_STREAM_SEEK' fcfreetype.c:2726: warning: implicit declaration of function 'FT_FRAME_ENTER' fcfreetype.c:2726: warning: nested extern declaration of 'FT_FRAME_ENTER' fcfreetype.c:2729: warning: implicit declaration of function 'FT_GET_USHORT' fcfreetype.c:2729: warning: nested extern declaration of 'FT_GET_USHORT' fcfreetype.c:2731: warning: implicit declaration of function 'FT_FRAME_EXIT' fcfreetype.c:2731: warning: nested extern declaration of 'FT_FRAME_EXIT' fcfreetype.c:2747: warning: implicit declaration of function 'FT_SET_ERROR' fcfreetype.c:2747: warning: nested extern declaration of 'FT_SET_ERROR' fcfreetype.c:2747: warning: implicit declaration of function 'FT_MEM_ALLOC_ARRAY' fcfreetype.c:2747: warning: nested extern declaration of 'FT_MEM_ALLOC_ARRAY' fcfreetype.c:2747: error: parse error before 'FT_ULong' fcfreetype.c:2756: warning: implicit declaration of function 'FT_GET_ULONG' fcfreetype.c:2756: warning: nested extern declaration of 'FT_GET_ULONG' fcfreetype.c:2787: warning: implicit declaration of function 'FT_FREE' fcfreetype.c:2787: warning: nested extern declaration of 'FT_FREE' fcfreetype.c:2714: warning: unused variable 'memory' fcfreetype.c: In function 'FcFontCapabilities': fcfreetype.c:2823: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness fcfreetype.c:2800: warning: unused variable 'memory' make[2]: * [fcfreetype.lo] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

Error: Unable to upgrade port: 1 ---> Building fontconfig with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_graphics_fontconfig/work/fontconfig-2.3.2" && make all" returned error 2 Command output: fcfreetype.c:2710: error: (Each undeclared identifier is reported only once fcfreetype.c:2710: error: for each function it appears in.) fcfreetype.c:2710: error: parse error before 'tt_face' fcfreetype.c:2719: error: 'tt_face' undeclared (first use in this function) fcfreetype.c:2722: warning: implicit declaration of function 'FT_STREAM_POS' fcfreetype.c:2722: warning: nested extern declaration of 'FT_STREAM_POS' fcfreetype.c:2726: warning: implicit declaration of function 'FT_STREAM_SEEK' fcfreetype.c:2726: warning: nested extern declaration of 'FT_STREAM_SEEK' fcfreetype.c:2726: warning: implicit declaration of function 'FT_FRAME_ENTER' fcfreetype.c:2726: warning: nested extern declaration of 'FT_FRAME_ENTER' fcfreetype.c:2729: warning: implicit declaration of function 'FT_GET_USHORT' fcfreetype.c:2729: warning: nested extern declaration of 'FT_GET_USHORT' fcfreetype.c:2731: warning: implicit declaration of function 'FT_FRAME_EXIT' fcfreetype.c:2731: warning: nested extern declaration of 'FT_FRAME_EXIT' fcfreetype.c:2747: warning: implicit declaration of function 'FT_SET_ERROR' fcfreetype.c:2747: warning: nested extern declaration of 'FT_SET_ERROR' fcfreetype.c:2747: warning: implicit declaration of function 'FT_MEM_ALLOC_ARRAY' fcfreetype.c:2747: warning: nested extern declaration of 'FT_MEM_ALLOC_ARRAY' fcfreetype.c:2747: error: parse error before 'FT_ULong' fcfreetype.c:2756: warning: implicit declaration of function 'FT_GET_ULONG' fcfreetype.c:2756: warning: nested extern declaration of 'FT_GET_ULONG' fcfreetype.c:2787: warning: implicit declaration of function 'FT_FREE' fcfreetype.c:2787: warning: nested extern declaration of 'FT_FREE' fcfreetype.c:2714: warning: unused variable 'memory' fcfreetype.c: In function 'FcFontCapabilities': fcfreetype.c:2823: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness fcfreetype.c:2800: warning: unused variable 'memory' make[2]: * [fcfreetype.lo] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

Error: Unable to upgrade port: 1 ---> Building fontconfig with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_graphics_fontconfig/work/fontconfig-2.3.2" && make all" returned error 2 Command output: fcfreetype.c:2710: error: (Each undeclared identifier is reported only once fcfreetype.c:2710: error: for each function it appears in.) fcfreetype.c:2710: error: parse error before 'tt_face' fcfreetype.c:2719: error: 'tt_face' undeclared (first use in this function) fcfreetype.c:2722: warning: implicit declaration of function 'FT_STREAM_POS' fcfreetype.c:2722: warning: nested extern declaration of 'FT_STREAM_POS' fcfreetype.c:2726: warning: implicit declaration of function 'FT_STREAM_SEEK' fcfreetype.c:2726: warning: nested extern declaration of 'FT_STREAM_SEEK' fcfreetype.c:2726: warning: implicit declaration of function 'FT_FRAME_ENTER' fcfreetype.c:2726: warning: nested extern declaration of 'FT_FRAME_ENTER' fcfreetype.c:2729: warning: implicit declaration of function 'FT_GET_USHORT' fcfreetype.c:2729: warning: nested extern declaration of 'FT_GET_USHORT' fcfreetype.c:2731: warning: implicit declaration of function 'FT_FRAME_EXIT' fcfreetype.c:2731: warning: nested extern declaration of 'FT_FRAME_EXIT' fcfreetype.c:2747: warning: implicit declaration of function 'FT_SET_ERROR' fcfreetype.c:2747: warning: nested extern declaration of 'FT_SET_ERROR' fcfreetype.c:2747: warning: implicit declaration of function 'FT_MEM_ALLOC_ARRAY' fcfreetype.c:2747: warning: nested extern declaration of 'FT_MEM_ALLOC_ARRAY' fcfreetype.c:2747: error: parse error before 'FT_ULong' fcfreetype.c:2756: warning: implicit declaration of function 'FT_GET_ULONG' fcfreetype.c:2756: warning: nested extern declaration of 'FT_GET_ULONG' fcfreetype.c:2787: warning: implicit declaration of function 'FT_FREE' fcfreetype.c:2787: warning: nested extern declaration of 'FT_FREE' fcfreetype.c:2714: warning: unused variable 'memory' fcfreetype.c: In function 'FcFontCapabilities': fcfreetype.c:2823: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness fcfreetype.c:2800: warning: unused variable 'memory' make[2]: * [fcfreetype.lo] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

Error: Unable to upgrade port: 1

Change History (6)

comment:1 Changed 18 years ago by rob.longridge@…

Cc: rob.longridge@… added
Component: darwinbuilddports
Keywords: DarwinPorts added; darwinbuild removed
product: darwinbuildDarwinPorts
Version: current1.2

comment:2 Changed 18 years ago by markd@…

Cc: markd@… added

Did or does port uninstall -f fontconfig, port clean --all fontconfig, port install fontconfig resolve this?

comment:3 Changed 18 years ago by rob.longridge@…

(In reply to comment #1)

Did or does port uninstall -f fontconfig, port clean --all fontconfig, port install fontconfig resolve this?

Unfortunately not.

rob$ sudo port -f uninstall fontconfig ---> Unable to uninstall fontconfig 2.3.2_0, the following ports depend on it: ---> cairo ---> Xft2 ---> cairo Warning: Uninstall forced. Proceeding despite dependencies. ---> Deactivating fontconfig 2.3.2_0 ---> Uninstalling fontconfig 2.3.2_0

rob$ sudo port clean --all fontconfig ---> Cleaning fontconfig

rob$ sudo port install fontconfig ---> Fetching fontconfig ---> Attempting to fetch fontconfig-2.3.2.tar.gz from http://fontconfig.org/release/ ---> Verifying checksum(s) for fontconfig ---> Extracting fontconfig ---> Configuring fontconfig ---> Building fontconfig with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_graphics_fontconfig/work/fontconfig-2.3.2" && make all" returned error 2 Command output: fcfreetype.c:2710: error: (Each undeclared identifier is reported only once fcfreetype.c:2710: error: for each function it appears in.) fcfreetype.c:2710: error: parse error before 'tt_face' fcfreetype.c:2719: error: 'tt_face' undeclared (first use in this function) fcfreetype.c:2722: warning: implicit declaration of function 'FT_STREAM_POS' fcfreetype.c:2722: warning: nested extern declaration of 'FT_STREAM_POS' fcfreetype.c:2726: warning: implicit declaration of function 'FT_STREAM_SEEK' fcfreetype.c:2726: warning: nested extern declaration of 'FT_STREAM_SEEK' fcfreetype.c:2726: warning: implicit declaration of function 'FT_FRAME_ENTER' fcfreetype.c:2726: warning: nested extern declaration of 'FT_FRAME_ENTER' fcfreetype.c:2729: warning: implicit declaration of function 'FT_GET_USHORT' fcfreetype.c:2729: warning: nested extern declaration of 'FT_GET_USHORT' fcfreetype.c:2731: warning: implicit declaration of function 'FT_FRAME_EXIT' fcfreetype.c:2731: warning: nested extern declaration of 'FT_FRAME_EXIT' fcfreetype.c:2747: warning: implicit declaration of function 'FT_SET_ERROR' fcfreetype.c:2747: warning: nested extern declaration of 'FT_SET_ERROR' fcfreetype.c:2747: warning: implicit declaration of function 'FT_MEM_ALLOC_ARRAY' fcfreetype.c:2747: warning: nested extern declaration of 'FT_MEM_ALLOC_ARRAY' fcfreetype.c:2747: error: parse error before 'FT_ULong' fcfreetype.c:2756: warning: implicit declaration of function 'FT_GET_ULONG' fcfreetype.c:2756: warning: nested extern declaration of 'FT_GET_ULONG' fcfreetype.c:2787: warning: implicit declaration of function 'FT_FREE' fcfreetype.c:2787: warning: nested extern declaration of 'FT_FREE' fcfreetype.c:2714: warning: unused variable 'memory' fcfreetype.c: In function 'FcFontCapabilities': fcfreetype.c:2823: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness fcfreetype.c:2800: warning: unused variable 'memory' make[2]: * [fcfreetype.lo] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

Error: /opt/local/bin/port: Status 1 encountered during processing.

comment:4 Changed 18 years ago by markd@…

Cc: markd@… added; markd@… removed

I would try the same process for freetype. It looks like freetype may be causing the problem for fontconfig.

comment:5 Changed 17 years ago by markd@…

Any luck with rebuilding freetype?

comment:6 Changed 17 years ago by markd@…

Resolution: worksforme
Status: newclosed

If this is still a problem it may be reopened.

Note: See TracTickets for help on using tickets.