Ticket #2182 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

[openembedded] build fails due to duplicates in PACKAGE_ARCHS

Reported by: joel Owned by: openmoko-devel
Priority: normal Milestone:
Component: unknown Version: unspecified
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: no PatchReviewResult:
Reproducible:

Description

I had to remove "armv4t" in om-gta02.conf (see diff below) since tune-arm920t.inc is included and also defines "armv4t".

/joel

Error:

$ cd shr-testing; make image
. conf/topdir.conf && test "`pwd`" = "$TOPDIR" || echo
"TOPDIR='`pwd`'" > conf/topdir.conf
. ./setup-env; exec bitbake "shr-image"
ERROR:  Openembedded's config sanity checker detected a potential
misconfiguration.
   Either fix the cause of this error or at your own risk disable the
checker (see sanity.conf).
   Following is the list of potential problems / advisories:

   Error, Your PACKAGE_ARCHS field contains duplicates. Perhaps you
set EXTRA_PACKAGE_ARCHS twice accidently through some tune file?

make: *** [image] Error 1

Diff for shr-testing/openembedded:

  • conf/machine/om-gta02.conf

    diff --git a/conf/machine/om-gta02.conf b/conf/machine/om-gta02.conf
    index f3e746b..37c5c89 100644
    a b  
    55#----------------------------------------------------------------------------- 
    66 
    77TARGET_ARCH = "arm" 
    8 PACKAGE_EXTRA_ARCHS = "armv4t" 
     8# PACKAGE_EXTRA_ARCHS = "armv4t" 
    99 
    1010PREFERRED_PROVIDER_virtual/kernel ?= "linux-openmoko" 
    1111PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive-glamo"  

Change History

comment:1 Changed 4 years ago by john_lee

  • Status changed from new to closed
  • Resolution set to fixed

I just fixed that a few minutes ago. Thanks for reporting!

Note: See TracTickets for help on using tickets.