Bug 1987781 - orafce: FTBFS in Fedora rawhide/f35
Summary: orafce: FTBFS in Fedora rawhide/f35
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: orafce
Version: 35
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zuzana Miklankova
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F35FTBFS F36FTBFS
TreeView+ depends on / blocked
 
Reported: 2021-07-29 16:17 UTC by Fedora Release Engineering
Modified: 2021-09-20 07:57 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-09-20 07:57:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (28.95 KB, text/plain)
2021-07-29 16:18 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2021-07-29 16:18 UTC, Fedora Release Engineering
no flags Details
state.log (966 bytes, text/plain)
2021-07-29 16:18 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2021-07-29 16:17:56 UTC
orafce failed to build from source in Fedora rawhide/f35

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Please fix orafce 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,
orafce will be orphaned. Before branching of Fedora 36,
orafce 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-07-29 16:18:01 UTC
Created attachment 1808250 [details]
build.log

Comment 2 Fedora Release Engineering 2021-07-29 16:18:03 UTC
Created attachment 1808251 [details]
root.log

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

Comment 3 Fedora Release Engineering 2021-07-29 16:18:06 UTC
Created attachment 1808252 [details]
state.log

Comment 4 Fedora Release Engineering 2021-08-01 04:31:36 UTC
Dear Maintainer,

your package has an open Fails To Build From Source bug for Fedora 35.
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-09-23).

A week before the mass branching of Fedora 36 according to the schedule [3],
any packages not successfully rebuilt at least on Fedora 34 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-36/f-36-key-tasks.html

Comment 5 Ben Cotton 2021-08-10 13:25:58 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 35 development cycle.
Changing version to 35.

Comment 6 Zuzana Miklankova 2021-09-07 10:47:48 UTC
As can be seen in build.log:


pipe.c:94:3: error: redefinition of 'pipe' as different kind of symbol
} pipe;
  ^
/usr/include/unistd.h:437:12: note: previous definition is here
extern int pipe (int __pipedes[2]) __THROW __wur;
           ^

the problem is in redefinition of the symbol "pipe" - at first in unistd.h as extern function, then as typedef in pipe.c.

The compilation error can be solved, e.g., with renaming the 'pipe' typedef.

However, the orafce is buildable in Fedora 34 (and previous), and it is not solved yet, why specifically in Fedora 35 the build started to break.
The gcc version is same for both Fedora 34 and 35 (gcc-11.2.1-1), "unistd.h" too did not change (in this matter) between these versions.

Comment 7 Zuzana Miklankova 2021-09-17 07:42:31 UTC
>The gcc version is same for both Fedora 34 and 35 (gcc-11.2.1-1), "unistd.h" too did not change (in this matter) between these versions.

This is incorrect, GCC changed from gcc-11.0.0-0.18 to gcc-11.2.1-1, but the change does not have effect on this bug (tested).

Other possibly significant changes:
postgresql-server-devel-13.1-1 -> postgresql-server-devel-13.4-1

In Fedora 35 are firstly introduced (among others):
postgresql-private-devel-13.4-1
postgresql-private-libs-13.4-1

Comment 8 Zuzana Miklankova 2021-09-17 14:06:40 UTC
Fixed in orafce upstream - the pipe typedef was renamed.
Created PR with version bump: https://src.fedoraproject.org/rpms/orafce/pull-request/3

Comment 9 Filip Januš 2021-09-20 07:57:54 UTC
Thanks zmiklank your PR[1] was merged and built[2].  


[1] https://src.fedoraproject.org/rpms/orafce/pull-request/3 
[2] https://koji.fedoraproject.org/koji/taskinfo?taskID=75988432


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