-
Notifications
You must be signed in to change notification settings - Fork 306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: usrmerge /usr/sbin packages that had prior merges #44098
base: main
Are you sure you want to change the base?
Conversation
55332d2
to
8a60aa1
Compare
839e78e
to
4d63d89
Compare
Missing busybox |
4009e25
to
d4a3a5d
Compare
d4a3a5d
to
477c856
Compare
0828995
to
0eaf22b
Compare
Pulling changes that need coreutils as a build or test dependency into here. |
0eaf22b
to
ff37d2b
Compare
Please use 👍 or 👎 on this comment to indicate if you agree or disagree with the recommendation. To provide more detailed feedback please comment on the recommendation prefixed with /ai-verify: e.g. /ai-verify partially helpful but I also added bash to the build environment Gen AI suggestions to solve the build error: Based on the error output, here's my analysis and solution: • Detected Error: "chgrp: cannot access '/home/build/melange-out/postfix/usr/bin/postdrop': No such file or directory" • Error Category: Build Configuration • Failure Point: Post-installation file permission setting • Root Cause Analysis: The build is failing because it's trying to set group permissions on postdrop in /usr/bin, but the files are actually being installed in /usr/sbin during the build process. • Suggested Fix: pipeline:
- runs: |
# Change this line:
# for i in postdrop postqueue; do
# chgrp postdrop "${{targets.contextdir}}"/usr/bin/$i
# chmod g+s "${{targets.contextdir}}"/usr/bin/$i
# done
# To this:
for i in postdrop postqueue; do
chgrp postdrop "${{targets.contextdir}}"/usr/sbin/$i
chmod g+s "${{targets.contextdir}}"/usr/sbin/$i
done • Explanation: • Additional Notes:
• References:
|
Please use 👍 or 👎 on this comment to indicate if you agree or disagree with the recommendation. To provide more detailed feedback please comment on the recommendation prefixed with /ai-verify: e.g. /ai-verify partially helpful but I also added bash to the build environment Gen AI suggestions to solve the build error: Based on the error output, I can provide a specific analysis and solution: • Detected Error: "chgrp: cannot access '/home/build/melange-out/postfix/usr/bin/postdrop': No such file or directory" • Error Category: Build Configuration • Failure Point: Post-installation file permission setting • Root Cause Analysis: The build is failing because it's trying to set group permissions on postdrop in /usr/bin, but the files are actually being installed in /usr/sbin instead. This is due to Postfix's default installation paths. • Suggested Fix: pipeline:
- runs: |
# Earlier build steps...
# Update this section
for i in postdrop postqueue; do
chgrp postdrop "${{targets.contextdir}}"/usr/sbin/$i
chmod g+s "${{targets.contextdir}}"/usr/sbin/$i
done • Explanation:
• Additional Notes:
• References:
|
75a0181
to
46e258f
Compare
46e258f
to
66bbd2b
Compare
Signed-off-by: Amelia Crate <[email protected]>
Signed-off-by: Amelia Crate <[email protected]>
Signed-off-by: Amelia Crate <[email protected]>
Signed-off-by: Amelia Crate <[email protected]>
Signed-off-by: Amelia Crate <[email protected]>
Signed-off-by: Amelia Crate <[email protected]>
Signed-off-by: Amelia Crate <[email protected]>
Signed-off-by: Amelia Crate <[email protected]>
Signed-off-by: Amelia Crate <[email protected]>
Signed-off-by: Amelia Crate <[email protected]>
Signed-off-by: Amelia Crate <[email protected]>
Signed-off-by: Amelia Crate <[email protected]>
Signed-off-by: Amelia Crate <[email protected]>
Signed-off-by: Amelia Crate <[email protected]>
Signed-off-by: Amelia Crate <[email protected]>
Signed-off-by: Amelia Crate <[email protected]>
Signed-off-by: Amelia Crate <[email protected]>
66bbd2b
to
ab64fef
Compare
Signed-off-by: Amelia Crate <[email protected]>
ab64fef
to
e055afb
Compare
Signed-off-by: Amelia Crate <[email protected]>
Signed-off-by: Amelia Crate <[email protected]>
e055afb
to
a098b6b
Compare
Same as #43122, but these packages had prior usr merges (either /bin or /sbin)