#1298 closed defect (fixed)
Packaging in OpenEmbedded and Arch broken by CHICKEN 4.11.0
Reported by: | Mario Domenech Goulart | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 4.12.0 |
Component: | core tools | Version: | 4.11.0 |
Keywords: | chicken-install, OpenEmbedded, Arch | Cc: | otavio@…, fabio.berton@… |
Estimated difficulty: | medium |
Description
Otavio Salvador and Tom Willemse reported packaging issues in OpenEmbedded? and Arch Linux, respectively. The symptom is that some files are getting packaged into multiple packages. Package managers complain about that when installing packages (same file is provided by multiple packages).
In the case of OpenEmbedded?, the issue was observed when installing eggs using the cross-chicken. The code which implements the call to chicken-install is https://github.com/OSSystems/meta-chicken/blob/master/classes/chicken_install.bbclass#L44
Change History (5)
comment:1 Changed 8 years ago by
Estimated difficulty: | → medium |
---|---|
Milestone: | someday → 4.12.0 |
comment:2 Changed 8 years ago by
comment:3 Changed 8 years ago by
The behavior change has been introduced by e090c524b782e3bc982299b4c021a5fc96db36e4 . On a second thought, the behavior in 4.11 makes sense, as eggs installed in an alternative prefix by 4.10 are basically useless if they have dependencies and dependencies are not explicitly installed in the alternative prefix.
On the other hand, the behavior in 4.11 makes packaging individual eggs very difficult for packagers.
comment:4 Changed 8 years ago by
Maybe the solution for packagers is using information from .setup-info files. It's not a perfect solution because egg authors still can install stuff without using install-{extension,script,program}.
comment:5 Changed 8 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Should be fixed with the new -no-install-deps
option introduced by ea1b8f4.
Below you can find a relatively simple way to demonstrate the difference in behavior between CHICKEN 4.10.0 and 4.11.0, which is likely to be causing the issue reported in this ticket.
The following script will be used to demonstrate the problem:
To reproduce the issue (assuming CHICKENs are installed under $HOME/local) using the channels egg (only miscmacros is a dependency):
Run chicken-install-wrapper.sh with 4.10.0:
Now run chicken-install-wrapper.sh with 4.11.0:
Note that 4.11.0 also installs miscmacros in the directory specified with -p (~/eggs-4.11.0). 4.10.0 does not install miscmacros in the directory specified with -p (~/eggs-4.10.0).