Bug 1605267

Summary: nuxwdog: FTBFS in Fedora rawhide
Product: [Fedora] Fedora Reporter: Mohan Boddu <mboddu>
Component: nuxwdogAssignee: Dinesh Prasanth <dmoluguw>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: alee, dmoluguw, edewata, kwright, mharmsen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-24 22:37:32 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: 1551327, 1602938    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Mohan Boddu 2018-07-20 14:38:17 UTC
nuxwdog failed to build from source in Fedora rawhide

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Please fix nuxwdog 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,
nuxwdog will be orphaned. Before branching of Fedora 30,
nuxwdog will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://fedoraproject.org/wiki/Fails_to_build_from_source

Comment 1 Mohan Boddu 2018-07-20 14:38:22 UTC
Created attachment 1465027 [details]
build.log

Comment 2 Mohan Boddu 2018-07-20 14:38:25 UTC
Created attachment 1465028 [details]
root.log

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

Comment 3 Mohan Boddu 2018-07-20 14:38:30 UTC
Created attachment 1465029 [details]
state.log

Comment 4 Igor Raits 2018-07-23 15:26:17 UTC
Matches:
configure: error: C++ compiler cannot create executables

Suggested fix:
BuildRequires:  gcc-c++

Comment 5 Dinesh Prasanth 2018-07-23 17:13:21 UTC
Adding BuildRequires gcc-c++ fixes one issue. After adding the suggested fix:

     [exec] RPM build errors:
     [exec] + make
     [exec] /var/tmp/rpm-tmp.yoGqHW: line 69: make: command not found
     [exec] error: Bad exit status from /var/tmp/rpm-tmp.yoGqHW (%build)
     [exec]     Bad exit status from /var/tmp/rpm-tmp.yoGqHW (%build)
     [exec] Result: 1

After adding BuildRequires make, following issue arises:

    [exec] RPM build errors:
     [exec] Please specify prototyping behavior for Nuxwdogclient.xs (see perlxs manual)
     [exec] Nuxwdogclient.xs:10:10: fatal error: EXTERN.h: No such file or directory
     [exec]  #include "EXTERN.h"
     [exec]           ^~~~~~~~~~
     [exec] compilation terminated.
     [exec] make[3]: *** [Makefile.real:336: Nuxwdogclient.o] Error 1
     [exec] make[2]: *** [Makefile:401: all-local] Error 2
     [exec] make[1]: *** [Makefile:1021: all-recursive] Error 1
     [exec] make: *** [Makefile:477: all] Error 2

Comment 7 Dinesh Prasanth 2018-07-23 18:45:20 UTC
Further investigating, adding BuildRequires: perl-devel solves the issue.

Comment 8 Dinesh Prasanth 2018-07-24 18:58:08 UTC
A build was successful: nuxwdog-1.0.4-2.fc29 [1]

[1] https://koji.fedoraproject.org/koji/buildinfo?buildID=1130345

Comment 9 Igor Raits 2018-07-24 22:37:32 UTC
There has been at least one successfull build after this bug got created.

nuxwdog-1.0.4-2.fc29: https://koji.fedoraproject.org/koji/buildinfo?buildID=1130345