Bug 1307362

Summary: bouml: FTBFS in rawhide
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: boumlAssignee: Debarshi Ray <debarshir>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: debarshir, mclasen, raphael.groner, yselkowi
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: bouml-4.21-13.fc25 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-27 10:34:37 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: 1305208    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2016-02-13 21:06:18 UTC
Your package bouml failed to build from source in current rawhide.

http://koji.fedoraproject.org/koji/taskinfo?taskID=12808165

For details on mass rebuild see https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

Comment 1 Fedora Release Engineering 2016-02-13 21:06:21 UTC
Created attachment 1124156 [details]
build.log

Comment 2 Fedora Release Engineering 2016-02-13 21:06:22 UTC
Created attachment 1124157 [details]
root.log

Comment 3 Fedora Release Engineering 2016-02-13 21:06:23 UTC
Created attachment 1124158 [details]
state.log

Comment 4 Jan Kurik 2016-02-24 14:35:22 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase

Comment 5 Yaakov Selkowitz 2016-02-24 22:51:46 UTC
../JavaCat/Class.cpp: In static member function 'static bool Class::reverse(ClassContainer*, QCString, QCString, bool, bool, aVisibility, QCString&, QValueList<QValueList<UmlFormalParameter> >, bool, QPtrList<UmlItem>&)':
../JavaCat/Class.cpp:604:20: error: expected unqualified-id before 'nullptr'
      UmlArtifact * nullptr = 0;
                    ^~~~~~~

nullptr is a reserved word in C++11.  It may be sufficient to just remove this definition and rely on that nullptr.

Comment 6 Kevin Kofler 2016-08-06 11:51:23 UTC
Just comment out that line and rebuild.

Comment 7 Raphael Groner (DAASI International) 2016-08-08 07:41:08 UTC
@Debarshi Ray

Can you fix the package? See also bug #592893 about the outdated version.
There's also a fork named DoUML with support for Qt5.

Comment 8 Yaakov Selkowitz 2016-08-12 20:45:25 UTC
(In reply to Kevin Kofler from comment #6)
> Just comment out that line and rebuild.

Unfortunately not:

../JavaCat/Class.cpp: In static member function 'static bool Class::reverse(ClassContainer*, QCString, QCString, bool, bool, aVisibility, QCString&, QValueList<QValueList<UmlFormalParameter> >, bool, QPtrList<UmlItem>&)':
../JavaCat/Class.cpp:610:48: error: invalid initialization of non-const reference of type 'UmlArtifact*&' from an rvalue of type 'UmlArtifact*'
       pack->get_static_imports(), path, nullptr);
                                                ^
In file included from ../JavaCat/ClassContainer.h:30:0,
                 from ../JavaCat/Class.h:30,
                 from ../JavaCat/Class.cpp:36:
../JavaCat/UmlClass.h:50:10: note:   initializing argument 5 of 'void UmlClass::need_artifact(const QStringList&, bool, const QStringList&, const QCString&, UmlArtifact*&)'

The variable needs to be renamed instead; fix forthcoming.

Comment 9 Fedora Update System 2016-08-12 22:52:13 UTC
bouml-4.21-13.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-c63bdee249

Comment 10 Fedora Update System 2016-08-15 18:28:14 UTC
bouml-4.21-13.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-c63bdee249

Comment 11 Fedora Update System 2016-08-27 10:34:34 UTC
bouml-4.21-13.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.