Bug 8022 - Rebuilding with older release causes errors
Summary: Rebuilding with older release causes errors
Status: VERIFIED DUPLICATE of bug 7880
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 1.9
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Alexandru Damian
QA Contact: Mihail Stanciu
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-07-16 11:59 UTC by Mihail Stanciu
Modified: 2015-07-16 12:51 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Unknown (Hard to categorize)
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mihail Stanciu 2015-07-16 11:59:39 UTC
Tested on 1.9 M1 RC2: f9ea480e6c26fea46c3011c4e9d0e2de3d5c81b4

Steps to reproduce:
1. Create new 'yocto master' project
2. build 'core-image-minimal'. wait until build completes.
3. switch to 'fido' release
4. build 'core-image-minimal'

Expected result:
Second build should complete successfully.

Observed result:
Build fails with many(40+) errors similar to:
QA Issue: Package version for package libgcc-dbg went backwards which would break package feeds from (0:4.9.3-r0 to 0:4.9.2-r0) [version-going-backwards]

Looking further into this, the errors are valid and expected under this particular use case.

Suggestions:
Either we need to make Toaster recognize this problem in the future and run the "cleanall" command automatically when it is encountered or add a notification clarifying this case in particular and provide an easy way for users to clean the cache - maybe a "Clear cache" button that runs a "cleanall" command in the background?
Comment 1 Mihail Stanciu 2015-07-16 12:50:16 UTC
Found existing bug 7880 that describes the same underlying issue. Marking as duplicate.

*** This bug has been marked as a duplicate of bug 7880 ***
Comment 2 Mihail Stanciu 2015-07-16 12:51:37 UTC
Verified.