Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: socat do not build for ppc64 architecture because missing linux/errqueue.h Version-Release number of selected component (if applicable): socat 1.7.2.4 Steps to Reproduce: 1. fedpkg clone -a socat 2. fedpkg srpm socat 3. fedpkg build socat Actual results: === gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -D_GNU_SOURCE -Wall -Wno-parentheses -DHAVE_CONFIG_H -I. -I. -c -o xio-unix.o xio-unix.c xio-socket.c: In function 'xiocheckpeer': xio-socket.c:1705:8: warning: unused variable 'result' [-Wunused-variable] int result; ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -D_GNU_SOURCE -Wall -Wno-parentheses -DHAVE_CONFIG_H -I. -I. -c -o xio-ip.o xio-ip.c xio-ip.c: In function 'xiolog_ancillary_ip': xio-ip.c:520:12: error: dereferencing pointer to incomplete type err->ee_errno, '\0', err->ee_origin, '\0', err->ee_type, '\0', ^ === Additional info:
Created attachment 979922 [details] socat_1.7.2.4_fix_linux_errqueue_h_not_found.patch the attached patch allow to solve reported build error. After that will need to solve bug #1107350 related to test errors.
my above suggested patch is in fact a revert of http://repo.or.cz/w/socat.git/commit/8371aa3dc01cdb257303171b8a48cfd713e4a697 that has been embedded in last socat 1.7.2.4 upstream. So in fact need a new patch that would work in all cases.
Created attachment 982801 [details] errqueue.patch
(In reply to Michel Normand from comment #2) > my above suggested patch is in fact a revert of > http://repo.or.cz/w/socat.git/commit/ > 8371aa3dc01cdb257303171b8a48cfd713e4a697 that has been embedded in last > socat 1.7.2.4 upstream. > > So in fact need a new patch that would work in all cases. I received the attached patch errqueue.patch from upstream maintainer to replace mine, and the referenced scratch builds confirm that build completed with it. http://koji.fedoraproject.org/koji/taskinfo?taskID=8699913 http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=2287715 http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=1709923 Paul, Could you commit this patch in fedora db ?
(In reply to Michel Normand from comment #4) > (In reply to Michel Normand from comment #2) > > my above suggested patch is in fact a revert of > > http://repo.or.cz/w/socat.git/commit/ > > 8371aa3dc01cdb257303171b8a48cfd713e4a697 that has been embedded in last > > socat 1.7.2.4 upstream. > > > > So in fact need a new patch that would work in all cases. > > I received the attached patch errqueue.patch from upstream maintainer > to replace mine, and the referenced scratch builds confirm that build > completed with it. > > http://koji.fedoraproject.org/koji/taskinfo?taskID=8699913 > http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=2287715 > http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=1709923 > > Paul, > Could you commit this patch in fedora db ? in addition to above patch, my scratch build do have a spec change ignoring tests errors to bypass the other bug #1107350 === @@ -52,7 +55,7 @@ install -m 0644 *.sh %{buildroot}/%{_docdir}/socat/ export TERM=ansi export OD_C=/usr/bin/od # intermittently, a test sometimes just fails and hangs, mostly on arm -timeout 30m make test +timeout 30m make test || : %files %doc BUGREPORTS CHANGES DEVELOPMENT EXAMPLES FAQ PORTING ===
This message is a reminder that Fedora 21 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 21. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '21'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 21 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 21 changed to end-of-life (EOL) status on 2015-12-01. Fedora 21 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.