Skip to contentSkip to conversation

no fontconfig in $(TARGET_DIR)

Buildroot Lars Lockenvitz 2 participants 3 messages Jul 30, 2009 – Jul 31, 2009 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hello,

I don't use the newest buildroot version. I use rev 25671 from git. And have the problem that fontconfig is present in $(STAGING_DIR) but not in $(TARGET_DIR).
But the fontconfig.mk says:

FONTCONFIG_VERSION = 2.6.0
FONTCONFIG_SOURCE = fontconfig-$(FONTCONFIG_VERSION).tar.gz FONTCONFIG_SITE = http://fontconfig.org/release
FONTCONFIG_AUTORECONF = YES
FONTCONFIG_USE_CONFIG_CACHE = NO FONTCONFIG_INSTALL_STAGING = YES
FONTCONFIG_INSTALL_TARGET = YES
# This package does not like using the target cflags for some reason. FONTCONFIG_CONF_ENV = CFLAGS="-I$(STAGING_DIR)/usr/include/freetype2"

FONTCONFIG_CONF_OPT = --with-arch=$(GNU_TARGET_NAME) \
        --with-freetype-config="$(STAGING_DIR)/usr/bin/freetype-config" \
        --with-cache-dir=/var/cache/fontconfig \
        --with-expat="$(STAGING_DIR)/usr/lib" \
        --with-expat-lib=$(STAGING_DIR)/usr/lib \
        --with-expat-qincludes=$(STAGING_DIR)/usr/include \
        --disable-docs

FONTCONFIG_DEPENDENCIES = uclibc freetype expat

$(eval $(call AUTOTARGETS,package,fontconfig))

I can't see any error for this or something that let me know what the problem.
Is there a known problem or do someone a suggestion?

Regard
Lars

#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Lars" == Lars Lockenvitz <[email protected]> writes:

Lars> Hello,
Lars> I don't use the newest buildroot version. I use rev 25671 from git.

git show 25671
fatal: ambiguous argument '25671': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions

Lars> And have the problem that fontconfig is present in $(STAGING_DIR) but Lars> not in $(TARGET_DIR).

What exactly do you mean by that? Don't you have:

find -name fc-\* -o -name \*fontconfig\*
./usr/bin/fc-cache
./usr/bin/fc-match
./usr/bin/fc-cat
./usr/bin/fc-list
./usr/lib/libfontconfig.so.1.3.0
./usr/lib/libfontconfig.so.1
./usr/lib/libfontconfig.so
./tmp/fontconfig

If not, do you have a project_build_*/*/autotools-stamps/fontconfig_target_installed ?

What happens if you delete that file and rerun make?

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw
In reply to a message not in the archive
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Lars" == Lars Lockenvitz <[email protected]> writes:

Hi,

Quoted 2 lines
Quoted 2 lines

What happens if you delete that file and rerun make?

Lars> If I delete that file and rerun make it install it in target_dir. Lars> But I tried to create all from the beginning and now I have it in Lars> target_dir but not in staging_dir and I don't have a Lars> .stamp_staging_installed.
Lars> Why that now?

Hmm, I don't quite know. You don't use the -j option to make, do you?

How did you do a fresh rebuild (rm -rf *build_*; make)?

Could you retry with latest git and check if you still see the problem?

Signature · 1 line
Bye, Peter Korsgaard