Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1923464

Summary: libyui-mga-qt: FTBFS in Fedora rawhide/f34
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: libyui-mga-qtAssignee: Neal Gompa <ngompa13>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 34CC: besser82, gmarr, law, lupinix.fedora, msebor, ngompa13
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: AcceptedFreezeException
Fixed In Version: libyui-mga-qt-1.1.0-3.fc34 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-03-03 21:06:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1868278, 1829023    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2021-02-01 16:55:16 UTC
libyui-mga-qt failed to build from source in Fedora rawhide/f34

https://koji.fedoraproject.org/koji/taskinfo?taskID=60910841


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Please fix libyui-mga-qt at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
libyui-mga-qt will be orphaned. Before branching of Fedora 35,
libyui-mga-qt will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2021-02-01 16:55:20 UTC
Created attachment 1753396 [details]
build.log

Comment 2 Fedora Release Engineering 2021-02-01 16:55:21 UTC
Created attachment 1753397 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2021-02-01 16:55:22 UTC
Created attachment 1753398 [details]
state.log

Comment 4 Ben Cotton 2021-02-09 15:52:45 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle.
Changing version to 34.

Comment 5 Fedora Release Engineering 2021-02-14 04:25:22 UTC
Dear Maintainer,

your package has an open Fails To Build From Source bug for Fedora 34.
Action is required from you.

If you can fix your package to build, perform a build in koji, and either create
an update in bodhi, or close this bug without creating an update, if updating is
not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to
acknowledge this. If you have already fixed this issue, please close this Bugzilla report.

Following the policy for such packages [2], your package will be orphaned if
this bug remains in NEW state more than 8 weeks (not sooner than 2021-03-29).

A week before the mass branching of Fedora 35 according to the schedule [3],
any packages not successfully rebuilt at least on Fedora 33 will be
retired regardless of the status of this bug.

[1] https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/
[2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
[3] https://fedorapeople.org/groups/schedule/f-35/f-35-key-tasks.html

Comment 6 Fedora Release Engineering 2021-02-14 04:25:23 UTC
Dear Maintainer,

your package has an open Fails To Build From Source bug for Fedora 34.
Action is required from you.

If you can fix your package to build, perform a build in koji, and either create
an update in bodhi, or close this bug without creating an update, if updating is
not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to
acknowledge this. If you have already fixed this issue, please close this Bugzilla report.

Following the policy for such packages [2], your package will be orphaned if
this bug remains in NEW state more than 8 weeks (not sooner than 2021-03-29).

A week before the mass branching of Fedora 35 according to the schedule [3],
any packages not successfully rebuilt at least on Fedora 33 will be
retired regardless of the status of this bug.

[1] https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/
[2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
[3] https://fedorapeople.org/groups/schedule/f-35/f-35-key-tasks.html

Comment 7 Jeff Law 2021-02-25 16:16:28 UTC
Martin, same as libyui-ncurses.  Just looking to evaluate if the diagnostic is valid so we can determine what the next steps are.  Thanks.

Comment 8 Martin Sebor 2021-02-25 17:55:07 UTC
This looks like the same problem as in libyui-ncurses, a false positive due to a bug in the warning:

/builddir/build/BUILD/libyui-mga-qt-1.1.0/src/YMGAQWidgetFactory.cc: In member function 'YMGAQWidgetFactory::createCBTable(YWidget*, YTableHeader*, YCBTableMode)':
/builddir/build/BUILD/libyui-mga-qt-1.1.0/src/YMGAQWidgetFactory.cc:60:69: error: 'operator delete(void*)' called on pointer returned from a mismatched allocation function [-Werror=mismatched-new-delete]
   60 |     YMGA_QCBTable * table = new YMGA_QCBTable( parent, header, mode );
      |                                                                     ^
/builddir/build/BUILD/libyui-mga-qt-1.1.0/src/YMGAQWidgetFactory.cc:60:69: note: returned from 'YWidget::operator new(unsigned int)'

The warning mentions operator delete but points to a new expression.

Comment 9 Martin Sebor 2021-02-25 18:00:52 UTC
Actually, I missed something: the note says "returned from 'YWidget::operator new(unsigned int)'" i.e., it's a member operator new() that allocated the memory but the global operator delete that might be implicitly invoked during unwinding.   We need to see the translation unit to tell if it's a bug in the warning or in the code.

Comment 10 Fedora Update System 2021-02-28 17:09:35 UTC
FEDORA-2021-0672b91c97 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-0672b91c97

Comment 11 Fedora Blocker Bugs Application 2021-02-28 17:10:48 UTC
Proposed as a Freeze Exception for 34-beta by Fedora user ngompa using the blocker tracking app because:

 This fixes a FTBFS for the libyui libraries (used by dnfdragora) in F34.

Comment 12 Fedora Update System 2021-02-28 19:13:18 UTC
FEDORA-2021-0672b91c97 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-0672b91c97`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-0672b91c97

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Geoffrey Marr 2021-03-01 21:22:08 UTC
Discussed during the 2021-03-01 blocker review meeting: [0]

The decision to classify this bug as an "AcceptedFreezeException (Beta)" was made as it is a noticeable issue that cannot be fixed with an update.

[0] https://meetbot.fedoraproject.org/fedora-blocker-review/2021-03-01/f34-blocker-review.2021-03-01-17.01.txt

Comment 14 Fedora Update System 2021-03-03 21:06:21 UTC
FEDORA-2021-0672b91c97 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Red Hat Bugzilla 2023-09-12 03:52:57 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days