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 1406892 - Base Runtime FTBFS: rsh-0.17-80.fc25
Summary: Base Runtime FTBFS: rsh-0.17-80.fc25
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: rsh
Version: 25
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Michal Ruprich
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: BaseRuntimeFTBFS
TreeView+ depends on / blocked
 
Reported: 2016-12-21 18:43 UTC by Stephen Gallagher
Modified: 2017-01-04 17:18 UTC (History)
5 users (show)

Fixed In Version: rsh-0.17-81.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-04 17:18:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Stephen Gallagher 2016-12-21 18:43:10 UTC
Description of problem:
When attempting to rebuild portions of the frozen package set of Fedora 25, we discovered that rsh fails to build due to a reliance on an ancient BSD-derived code construct. The reason for this failure is that support for this feature was dropped in glibc 2.24 (see: https://sourceware.org/glibc/wiki/Release/2.24#Packaging_Changes)

Version-Release number of selected component (if applicable):
rsh-0.17-80.fc25

How reproducible:
Every time

Steps to Reproduce:
1. fedpkg clone rsh
2. fedpkg mock-build

Actual results:

rlogin.c: In function 'catch_child':
rlogin.c:424:13: error: storage size of 'status' isn't known
  union wait status;

Expected results:
Successful build of the package.

Additional info:
This is needed as part of the Base Runtime effort.

Please find attached a patch that converts login.c to using the modern approach for dealing with wait3() calls.

If you feel it is acceptable, please pull it in and commit it to dist-git.

If you feel the patch is unacceptable, please respond within two weeks with an explanation of why. If we hear no response before then, a provenpackager will make the change so that we can unblock the Base Runtime effort.


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