[oe-issues] [Bug 1915] New: gtk-engines-2.7.4.bb looking in share instead of lib for gtk+-2.0.pc pkgconfig

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Mon Feb 26 22:35:36 UTC 2007


http://bugs.openembedded.org/show_bug.cgi?id=1915

           Summary: gtk-engines-2.7.4.bb looking in share instead of lib for
                    gtk+-2.0.pc pkgconfig
           Product: Openembedded
           Version: unspecified
          Platform: ARM
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P4
         Component: Build
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: oe at jrayner.com
         QAContact: tinderbox-oe at gmx.net


Error:

Encountered during bitbake gpe-image

IOError: [Errno 2] No such file or directory:
'/data/oe/dev/balloon/tmp/staging/arm-linux/share/pkgconfig/gtk+-2.0.pc'

It does exists with the others files in lib/pkgconfig: 
/data/oe/dev/balloon/tmp/staging/arm-linux/lib/pkgconfig/gtk+-2.0.pc


Temporary solution:

Placing a copy of gtk+-2.0.pc in share/pkgconfig gets around the problem.


Log:

NOTE: package gtk-engines-2.7.4: started
NOTE: package gtk-engines-2.7.4-r0: task do_fetch: started
NOTE: package gtk-engines-2.7.4-r0: task do_fetch: completed
NOTE: package gtk-engines-2.7.4-r0: task do_unpack: started
NOTE: Unpacking /data/downloads/gtk-engines-2.7.4.tar.bz2 to
/data/oe/dev/balloon/tmp/work/gtk-engines-2.7.4-r0/
NOTE: package gtk-engines-2.7.4-r0: task do_unpack: completed
NOTE: package gtk-engines-2.7.4-r0: task do_patch: started
NOTE: package gtk-engines-2.7.4-r0: task do_patch: completed
NOTE: package gtk-engines-2.7.4-r0: task do_configure: started
NOTE: package gtk-engines-2.7.4-r0: task do_configure: completed
NOTE: package gtk-engines-2.7.4-r0: task do_compile: started
NOTE: package gtk-engines-2.7.4-r0: task do_compile: completed
NOTE: package gtk-engines-2.7.4-r0: task do_install: started
NOTE: package gtk-engines-2.7.4-r0: task do_install: completed
NOTE: package gtk-engines-2.7.4-r0: task do_package: started
ERROR: Error in executing:
/data/oe/dev/balloon/openembedded/packages/gtk-engines/gtk-engines_2.7.4.bb
ERROR: Exception:exceptions.IOError Message:[Errno 2] No such file or
directory:
'/data/oe/dev/balloon/tmp/staging/arm-linux/share/pkgconfig/gtk+-2.0.pc'
ERROR: Printing the environment of the function
ERROR:  0001:def populate_packages():
ERROR:  0002:   import os.path
ERROR:  0003:
ERROR:  0004:   engines_ver = ['gtk-2.0/', gtkbinver_find(d), '/engines']
ERROR:  0005:
ERROR:  0006:   engines_root = os.path.join(bb.data.getVar('libdir', d, 1),
''.join(engines_ver))
ERROR:  0007:   themes_root = os.path.join(bb.data.getVar('datadir', d, 1),
"themes")
ERROR:  0008:
ERROR: Error in executing:
/data/oe/dev/balloon/openembedded/packages/gtk-engines/gtk-engines_2.7.4.bb
ERROR: Exception:exceptions.IOError Message:[Errno 2] No such file or
directory:
'/data/oe/dev/balloon/tmp/staging/arm-linux/share/pkgconfig/gtk+-2.0.pc'
ERROR: Printing the environment of the function
ERROR:  0001:def package_do_package():
ERROR:  0002:   for f in (bb.data.getVar('PACKAGEFUNCS', d, 1) or '').split():
ERROR:  0003:           bb.build.exec_func(f, d)
ERROR:  0004:
ERROR: Error in executing:
/data/oe/dev/balloon/openembedded/packages/gtk-engines/gtk-engines_2.7.4.bb
ERROR: Exception:exceptions.IOError Message:[Errno 2] No such file or
directory:
'/data/oe/dev/balloon/tmp/staging/arm-linux/share/pkgconfig/gtk+-2.0.pc'
ERROR: Printing the environment of the function
ERROR:  0001:def package_ipk_do_package():
ERROR:  0002:   bb.build.exec_func('package_do_package', d)
ERROR:  0003:
ERROR: Error in executing:
/data/oe/dev/balloon/openembedded/packages/gtk-engines/gtk-engines_2.7.4.bb
ERROR: Exception:exceptions.IOError Message:[Errno 2] No such file or
directory:
'/data/oe/dev/balloon/tmp/staging/arm-linux/share/pkgconfig/gtk+-2.0.pc'
ERROR: Printing the environment of the function
ERROR:  0001:def do_package():
ERROR:  0002:   bb.build.exec_func('package_ipk_do_package', d)
ERROR:  0003:
Traceback (most recent call last):
  File "/data/oe/dev/balloon/bitbake/bin/bitbake", line 1162, in ?
    main()
  File "/data/oe/dev/balloon/bitbake/bin/bitbake", line 1157, in main
    cooker.cook( BBConfiguration( options ), args[1:] )
  File "/data/oe/dev/balloon/bitbake/bin/bitbake", line 973, in cook
    if self.buildProvider( k , False ) == 0:
  File "/data/oe/dev/balloon/bitbake/bin/bitbake", line 608, in buildProvider
    if self.tryBuild(fn, item, buildAllDeps, build_depends + [fn]):
  File "/data/oe/dev/balloon/bitbake/bin/bitbake", line 321, in tryBuild
    if not self.addRunDeps(fn, virtual , buildAllDeps):
  File "/data/oe/dev/balloon/bitbake/bin/bitbake", line 714, in addRunDeps
    if not self.buildRProvider(rdepend, buildAllDeps):
  File "/data/oe/dev/balloon/bitbake/bin/bitbake", line 682, in buildRProvider
    if self.tryBuild(fn, item, buildAllDeps):
  File "/data/oe/dev/balloon/bitbake/bin/bitbake", line 308, in tryBuild
    if self.buildProvider( dependency , buildAllDeps , build_depends ) == 0:
  File "/data/oe/dev/balloon/bitbake/bin/bitbake", line 608, in buildProvider
    if self.tryBuild(fn, item, buildAllDeps, build_depends + [fn]):
  File "/data/oe/dev/balloon/bitbake/bin/bitbake", line 328, in tryBuild
    return self.tryBuildPackage( fn, item, the_data )
  File "/data/oe/dev/balloon/bitbake/bin/bitbake", line 234, in tryBuildPackage
    bb.build.exec_task('do_%s' % self.configuration.cmd, the_data)
  File "/data/oe/dev/balloon/bitbake/lib/bb/build.py", line 288, in exec_task
    task_graph.walkdown(task, execute)
  File "/data/oe/dev/balloon/bitbake/lib/bb/__init__.py", line 1191, in
walkdown
    ret = self.walkdown(p, callback, debug, usecache)
  File "/data/oe/dev/balloon/bitbake/lib/bb/__init__.py", line 1191, in
walkdown
    ret = self.walkdown(p, callback, debug, usecache)
  File "/data/oe/dev/balloon/bitbake/lib/bb/__init__.py", line 1191, in
walkdown
    ret = self.walkdown(p, callback, debug, usecache)
  File "/data/oe/dev/balloon/bitbake/lib/bb/__init__.py", line 1196, in
walkdown
    return callback(self, item)
  File "/data/oe/dev/balloon/bitbake/lib/bb/build.py", line 267, in execute
    exec_task(item, d)
  File "/data/oe/dev/balloon/bitbake/lib/bb/build.py", line 288, in exec_task
    task_graph.walkdown(task, execute)
  File "/data/oe/dev/balloon/bitbake/lib/bb/__init__.py", line 1196, in
walkdown
    return callback(self, item)
  File "/data/oe/dev/balloon/bitbake/lib/bb/build.py", line 277, in execute
    exec_func(item, localdata)
  File "/data/oe/dev/balloon/bitbake/lib/bb/build.py", line 98, in exec_func
    exec_func_python(func, d)
  File "/data/oe/dev/balloon/bitbake/lib/bb/build.py", line 117, in
exec_func_python
    utils.better_exec(comp,g,tmp, bb.data.getVar('FILE',d,1))
  File "/data/oe/dev/balloon/bitbake/lib/bb/utils.py", line 142, in better_exec
    exec code in context
  File "do_package", line 4, in ?
  File "do_package", line 2, in do_package
  File "/data/oe/dev/balloon/bitbake/lib/bb/build.py", line 98, in exec_func
    exec_func_python(func, d)
  File "/data/oe/dev/balloon/bitbake/lib/bb/build.py", line 117, in
exec_func_python
    utils.better_exec(comp,g,tmp, bb.data.getVar('FILE',d,1))
  File "/data/oe/dev/balloon/bitbake/lib/bb/utils.py", line 142, in better_exec
    exec code in context
  File "package_ipk_do_package", line 4, in ?
  File "package_ipk_do_package", line 2, in package_ipk_do_package
  File "/data/oe/dev/balloon/bitbake/lib/bb/build.py", line 98, in exec_func
    exec_func_python(func, d)
  File "/data/oe/dev/balloon/bitbake/lib/bb/build.py", line 117, in
exec_func_python
    utils.better_exec(comp,g,tmp, bb.data.getVar('FILE',d,1))
  File "/data/oe/dev/balloon/bitbake/lib/bb/utils.py", line 142, in better_exec
    exec code in context
  File "package_do_package", line 5, in ?
  File "package_do_package", line 3, in package_do_package
  File "/data/oe/dev/balloon/bitbake/lib/bb/build.py", line 98, in exec_func
    exec_func_python(func, d)
  File "/data/oe/dev/balloon/bitbake/lib/bb/build.py", line 117, in
exec_func_python
    utils.better_exec(comp,g,tmp, bb.data.getVar('FILE',d,1))
  File "/data/oe/dev/balloon/bitbake/lib/bb/utils.py", line 142, in better_exec
    exec code in context
  File "populate_packages", line 193, in ?
  File "populate_packages", line 4, in populate_packages
  File "<bb>", line 4, in gtkbinver_find
IOError: [Errno 2] No such file or directory:
'/data/oe/dev/balloon/tmp/staging/arm-linux/share/pkgconfig/gtk+-2.0.pc'



OE Build Configuration:
BB_VERSION     = "1.6.7"
OE_REVISION    = "650fcbfd291def11d156e76de0f2118830712e66"
TARGET_ARCH    = "arm"
TARGET_OS      = "linux"
MACHINE        = "balloon3"
DISTRO         = "balloon"
DISTRO_VERSION = "unstable-20070226"
TARGET_FPU     = "soft"


DISTRO file:

#-----------------------------------------------------------------------------
#@TYPE: Distribution
#@NAME: Balloon
#@DESCRIPTION: BalloonBoard Configuration
#
#-----------------------------------------------------------------------------

#
# Header
#
DISTRO = "balloon"
DISTRO_NAME = "BalloonBoard"

DISTRO_VERSION = "unstable-${DATE}"

# DISTRO_TYPE control behaviour of some recipes
# dropbear allow password-less root logins for "debug"
# kernel can be set to export logs to screen/serial
DISTRO_TYPE = "debug"
#DISTRO_TYPE = "release"


#
# Packaging and output format
#
# we want IPKG packages and Debian style naming
INHERIT += " package_ipk debian"

# enable if build for many machines
#INHERIT += " multimachine"

#IMAGE_FSTYPES = "tar.gz ext2.gz jffs2"
IMAGE_FSTYPES = "tar.gz"

# fix it to one date but allow to override in local.conf if needed
# fixed SRCDATE for many packages
#require conf/distro/include/sane-srcdates.inc
#SRCDATE ?= "20060927"


#
# toolchain
#
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}binutils:binutils-cross"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}libc-for-gcc:glibc"

PREFERRED_VERSION_binutils = "2.16"
PREFERRED_VERSION_binutils-cross = "2.16"
#PREFERRED_VERSION_binutils-cross = "2.15.94.0.1"
#PREFERRED_VERSION_binutils = "2.15.94.0.1"

PREFERRED_VERSION_gcc = "3.4.4"
PREFERRED_VERSION_gcc-cross = "3.4.4"
PREFERRED_VERSION_gcc-cross-initial = "3.4.4"

PREFERRED_VERSION_glibc = "2.3.5+cvs20050627"

# glibc provides iconv and intl
PREFERRED_PROVIDER_virtual/libiconv = "glibc"
PREFERRED_PROVIDER_virtual/libintl = "glibc"


#
# target system settings
#
#TARGET_OS = "linux-uclibc"
TARGET_OS = "linux"

# use softfloat binaries to gain speed on ARM machines
TARGET_FPU_arm = "soft"
TARGET_FPU_armeb = "soft"

#Make sure we use 2.6 on machines with a 2.4/2.6 selector
KERNEL = "kernel26"
MACHINE_KERNEL_VERSION = "2.6"

#DEBUG_OPTIMIZATION = "-O -g3"
#DEBUG_BUILD = "1"
#INHIBIT_PACKAGE_STRIP = "1"


#
# extra checking for needed tools
#

# set minimal version of BitBake needed
BB_MIN_VERSION = "1.6.0"

# check for required tools and minimal BitBake version
INHERIT += "sanity"

#
# Bootstrap & Init
#
PREFERRED_PROVIDER_task-bootstrap = "task-bootstrap"

#
# Framebuffer & X
#
PREFERRED_PROVIDER_virtual/xserver ?= "xserver-kdrive"
PREFERRED_PROVIDER_xserver ?= "xserver-kdrive"
PREFERRED_PROVIDER_virtual/libx11 ?= "diet-x11"

require conf/distro/include/preferred-xorg-versions-X11R7.1.inc
PREFERRED_VERSION_xserver-kdrive = "X11R7.1-1.1.0"
PREFERRED_VERSION_gtk+ = "2.10.6"


#
# GPE
#
PREFERRED_VERSION_fontconfig = "2.3.95"
PREFERRED_VERSION_freetype = "2.2.1"
PREFERRED_VERSION_cairo = "1.2.2"

PREFERRED_VERSION_dbus ?= "0.92"
PREFERRED_VERSION_dbus-glib ?= "0.71"
PREFERRED_PROVIDER_dbus-glib = "dbus-glib"

PREFERRED_PROVIDER_virtual/libsdl       ?= "libsdl-x11"
PREFERRED_PROVIDER_virtual/libxine      ?= "libxine-x11"
require conf/distro/include/preferred-gpe-versions-2.8.inc

PREFERRED_PROVIDER_libgpewidget ?= "libgpewidget"

# Others:
PREFERRED_PROVIDER_virtual/db ?= "db"
PREFERRED_PROVIDER_virtual/db-native ?= "db-native"

PREFERRED_PROVIDER_gconf ?= "gconf-dbus"
PREFERRED_PROVIDER_gnome-vfs ?= "gnome-vfs"
PREFERRED_PROVIDER_tslib ?= "tslib"
PREFERRED_PROVIDER_tslib-conf ?= "tslib"
PREFERRED_PROVIDER_ntp = "ntp"
PREFERRED_PROVIDER_hotplug = "udev"
PREFERRED_PROVIDER_libxss = "libxss"

PREFERRED_VERSION_gstreamer ?= "0.10.6"

PREFERRED_PROVIDER_hostap-conf ?= "hostap-conf"
PREFERRED_PROVIDER_hostap-modules_h2200 ?= "hostap-modules"
PREFERRED_PROVIDER_hostap-modules_hx4700 ?= "hostap-modules"
PREFERRED_VERSION_hostap-modules ?= "0.4.7"


#
# Opie
#
#QTE_VERSION = "2.3.10"
#PALMTOP_USE_MULTITHREADED_QTE = "yes"
#require conf/distro/include/preferred-opie-versions.inc

#
# Enlightenment
#
#require conf/distro/include/preferred-e-versions.inc


MACHINE file:

#@TYPE: Machine
#@Name: Balloon3
#@DESCRIPTION: Machine configuration for Balloon3 Platform 

TARGET_ARCH = "arm"

GUI_MACHINE_CLASS = "smallscreen"
IPKG_EXTRA_ARCHS = "armv5te"

#PREFERRED_PROVIDER_virtual/kernel = "${MACHINE}-kernel"
PREFERRED_PROVIDER_virtual/kernel = "linux-balloon3"

MODUTILS = "26"

BOOTSTRAP_EXTRA_RDEPENDS += "kernel udev sysfsutils apm irda-utils udev-utils
ppp ppp-dialin module-init-tools"

include conf/machine/include/tune-xscale.conf

# used by sysvinit_2
SERIAL_CONSOLE = "115200 ttyS0"

# used by opie-collections.inc
ROOT_FLASH_SIZE = "32"


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the Openembedded-issues mailing list