Bug 5145 - do_package_write_rpm failed for libproxy
Summary: do_package_write_rpm failed for libproxy
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.5
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.5 M5
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-09-09 11:39 UTC by Stefan Stanacar
Modified: 2013-10-07 13:33 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Used to work)
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
log do_package_write_rpm (2.49 KB, application/octet-stream)
2013-09-09 11:39 UTC, Stefan Stanacar
no flags Details
libproxy.spec (6.80 KB, text/x-rpm-spec)
2013-09-09 11:40 UTC, Stefan Stanacar
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Stanacar 2013-09-09 11:39:30 UTC
Created attachment 1475 [details]
log do_package_write_rpm

I was building a qemuarm core-image-sato image from latest master and libproxy failed with this (though it used to work just a few days ago with 1.5_M4.rc3 ).

Build Configuration:
BB_VERSION        = "1.19.1"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Fedora-19"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "qemuarm"
DISTRO            = "poky"
DISTRO_VERSION    = "1.4+snapshot-20130909"
TUNE_FEATURES     = "armv5 thumb dsp"
TARGET_FPU        = "soft"
meta              
meta-yocto        
meta-yocto-bsp    = "master:2ab1bf27f79beadc45e86a26c85fc0b95ae3496f"


error: line 36: Dependency "../libproxy/libproxy.so" must begin with alpha-numeric, '_' or '/': Requires: ../libproxy/libproxy.so
| error: Package has no %description: libproxy-0.4.7-r6.armv5te
| Building target platforms: armv5te-poky-linux-gnueabi
| WARNING: /mnt/back/yocto/poky/build/tmp/work/armv5te-poky-linux-gnueabi/libproxy/0.4.7-r6/temp/run.BUILDSPEC.24106:1 exit 1 from
|   rpmbuild --nodeps --short-circuit --target armv5te-poky-linux-gnueabi --buildroot /mnt/back/yocto/poky/build/tmp/work/armv5te-poky-linux-gnueabi/libproxy/0.4.7-r6/package --define '_topdir /mnt/back/yocto/poky/build/tmp/work/armv5te-poky-linux-gnueabi/libproxy/0.4.7-r6' --define '_rpmdir /mnt/back/yocto/poky/build/tmp/work/armv5te-poky-linux-gnueabi/libproxy/0.4.7-r6/deploy-rpms/armv5te' --define '_build_name_fmt %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm' --define '_use_internal_dependency_generator 0' --define '__find_requires %{nil}' --define '__find_provides %{nil}' --define '_unpackaged_files_terminate_build 0' --define 'debug_package %{nil}' --define '_rpmfc_magic_path /mnt/back/yocto/poky/build/tmp/sysroots/x86_64-linux/usr/share/misc/magic.mgc' --define '_tmppath /mnt/back/yocto/poky/build/tmp/work/armv5te-poky-linux-gnueabi/libproxy/0.4.7-r6' -bb /mnt/back/yocto/poky/build/tmp/work/armv5te-poky-linux-gnueabi/libproxy/0.4.7-r6/libproxy.spec
| DEBUG: Python function do_package_rpm finished
| DEBUG: Python function do_package_write_rpm finished
| ERROR: Function failed: BUILDSPEC (log file is located at /mnt/back/yocto/poky/build/tmp/work/armv5te-poky-linux-gnueabi/libproxy/0.4.7-r6/temp/log.do_package_write_rpm.24106)
Comment 1 Stefan Stanacar 2013-09-09 11:40:05 UTC
Created attachment 1476 [details]
libproxy.spec
Comment 2 Saul Wold 2013-09-09 23:01:44 UTC
I can't seem to reproduce this, I the same setup could you do this in clean 
build area?  Other hints on reproducing would be great.
Comment 3 Stefan Stanacar 2013-09-10 06:55:22 UTC
It was a clean build dir, but my sstate-cache was somewhat old (I did cleansstate for libproxy a few times, didn't helped). I'll clean everything and try again. I didn't do that already because this happened on two different machines (one being an AB) with no sstate shared between them.
Comment 4 Chunrong Guo 2013-09-10 08:02:27 UTC
I have the same issue.
I built core-image-lsb-sdk image for beagleboard and libproxy failed .

Build Configuration:
BB_VERSION        = "1.19.1"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Fedora-19"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "beagleboard"
DISTRO            = "poky"
DISTRO_VERSION    = "1.4+snapshot-20130908"
TUNE_FEATURES     = "armv7a vfp neon"
TARGET_FPU        = "vfp-neon"
meta              
meta-yocto        
meta-yocto-bsp    = "master:2ab1bf27f79beadc45e86a26c85fc0b95ae3496f"
meta-fsl-ppc      = "master:1ddf5e66c635e086864ce15931628ce1a2d6ff0a"
 

ERROR: Logfile of failure stored in: /home/jenkins/jenkins/workspace/yocto-upstream-test/label/BJ-PC/machine/beagleboard/beagleboard/poky/master/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/libproxy/0.4.7-r6/temp/log.do_package_write_rpm.4966
Log data follows:
| DEBUG: Executing python function sstate_task_prefunc
| DEBUG: Python function sstate_task_prefunc finished
| DEBUG: Executing python function do_package_write_rpm
| DEBUG: Executing python function read_subpackage_metadata
| DEBUG: Python function read_subpackage_metadata finished
| DEBUG: Executing python function do_package_rpm
| DEBUG: Executing python function write_specfile
| NOTE: Creating RPM package for libproxy-dbg
| NOTE: Not creating empty RPM package for libproxy-staticdev
| NOTE: Creating RPM package for libproxy-dev
| NOTE: Not creating empty RPM package for libproxy-doc
| NOTE: Not creating empty RPM package for libproxy-locale
| NOTE: Creating RPM package for libproxy
| NOTE: Creating RPM package for libproxy
| DEBUG: Python function write_specfile finished
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function BUILDSPEC
| error: line 36: Dependency "../libproxy/libproxy.so" must begin with alpha-numeric, '_' or '/': Requires: ../libproxy/libproxy.so
| error: Package has no %description: libproxy-0.4.7-r6.armv7a_vfp_neon
Comment 5 Stefan Stanacar 2013-09-10 11:25:17 UTC
So as I assumed, a clean sstate didn't helped.
Perhaps I should be more clear that this happens only on arm targets (qemuarm, beagleboard), I don't have this issue on qemux86/x86-64.
Saul, I don't have any other hints other than what's already here: qemuarm and the rest is the default local.conf && bitbake libproxy, and it failed on Fedora 19 and Ubuntu 12.04.
Comment 7 Stefan Stanacar 2013-10-07 13:33:27 UTC
Marked as Verified.