Bug 1605267 - nuxwdog: FTBFS in Fedora rawhide
Summary: nuxwdog: FTBFS in Fedora rawhide
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: nuxwdog
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dinesh Prasanth
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1551327 F29FTBFS
TreeView+ depends on / blocked
 
Reported: 2018-07-20 14:38 UTC by Mohan Boddu
Modified: 2019-06-01 00:28 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-24 22:37:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (12.82 KB, text/plain)
2018-07-20 14:38 UTC, Mohan Boddu
no flags Details
root.log (32.00 KB, text/plain)
2018-07-20 14:38 UTC, Mohan Boddu
no flags Details
state.log (623 bytes, text/plain)
2018-07-20 14:38 UTC, Mohan Boddu
no flags Details

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


Note You need to log in before you can comment on or make changes to this bug.