RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 520469 - postgresql-8.3.7-2.fc12 fails to build on s390x during the RHEL-6 mass rebuild
Summary: postgresql-8.3.7-2.fc12 fails to build on s390x during the RHEL-6 mass rebuild
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: systemtap
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Frank Ch. Eigler
QA Contact: Petr Muller
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-08-31 15:53 UTC by Karsten Hopp
Modified: 2016-09-20 02:05 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-01-20 18:56:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Karsten Hopp 2009-08-31 15:53:35 UTC
Description of problem:
The rebuild aborts with the following error, full log available at the URL below:
dtrace  -G -s utils/probes.d access/SUBSYS.o bootstrap/SUBSYS.o catalog/SUBSYS.o parser/SUBSYS.o commands/SUBSYS.o executor/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o main/SUBSYS.o nodes/SUBSYS.o optimizer/SUBSYS.o port/SUBSYS.o postmaster/SUBSYS.o regex/SUBSYS.o rewrite/SUBSYS.o storage/SUBSYS.o tcop/SUBSYS.o tsearch/SUBSYS.o utils/SUBSYS.o ../../src/timezone/SUBSYS.o -o utils/probes.o
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -march=z9-109 -mtune=z10 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -L../../src/port -Wl,--as-needed  -Wl,-E access/SUBSYS.o bootstrap/SUBSYS.o catalog/SUBSYS.o parser/SUBSYS.o commands/SUBSYS.o executor/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o main/SUBSYS.o nodes/SUBSYS.o optimizer/SUBSYS.o port/SUBSYS.o postmaster/SUBSYS.o regex/SUBSYS.o rewrite/SUBSYS.o storage/SUBSYS.o tcop/SUBSYS.o tsearch/SUBSYS.o utils/SUBSYS.o ../../src/timezone/SUBSYS.o utils/probes.o ../../src/port/libpgport_srv.a -lxslt -lxml2 -lpam -lssl -lcrypto -lkrb5 -lcom_err -lgssapi_krb5 -lcrypt -ldl -lm -lldap -o postgres
gcc: utils/probes.o: No such file or directory
make[2]: Leaving directory `/builddir/build/BUILD/postgresql-8.3.7/src/backend'


  
Actual results:

https://brewweb.devel.redhat.com/taskinfo?taskID=1944098

Comment 2 RHEL Program Management 2009-08-31 16:28:33 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 3 Tom Lane 2009-09-01 14:15:23 UTC
What version of systemtap was this built with?  Do other arches besides s390x get the same failure?

The systemtap guys aver that this should have been fixed by a mid-August patch, and that the problem existing before that was not platform-specific.

Comment 4 Karsten Hopp 2009-09-01 15:16:26 UTC
systemtap-sdt-devel-0.9.9-2.fc12 was used for this build, 
the diff to systemtap-sdt-devel-0.9.9-3.fc12 doesn't look like it could fix the postgresql buildproblem.

Do you mind if I build a package with a temporary fix (disable dtrace on s390x)
 so that the RHEL-6 rebuild can continue ?

Comment 5 Tom Lane 2009-09-04 22:38:50 UTC
Investigation verifies that the problem is dtrace is creating the probes.o file in ., rather than in utils/ where requested.  This is a known systemtap bug but the fix is *not* yet in rawhide.  Reassigning.

Comment 7 Frank Ch. Eigler 2009-09-09 18:00:10 UTC
Tom et al., please try again with the patched systemtap (-sdt-devel) 0.9.9-4.fc12.

Comment 8 Tom Lane 2009-09-09 18:10:36 UTC
Note that the latest postgresql builds (8.4.1, 8.3.8) work around this by not bothering to build the stub probes.o file at all.  So you'd need to re-test with an older SRPM to see the effect.

Comment 10 Denise Dumas 2010-01-20 16:34:30 UTC
Guys, is this still an issue? And if not, can someone please set the BZ to Mod? Because this will block Beta 1 if still happening...

Comment 11 Frank Ch. Eigler 2010-01-20 17:25:16 UTC
We believe the recent versions of stap fix this problem,
as has postgres redundantly by not using the formerly
buggy functionality.  Recent .el6 postgres packages are fine.

Comment 12 Tom Lane 2010-01-20 18:56:16 UTC
I retrieved postgresql-8.3.7-2.fc12.src.rpm from the archives and can confirm that it builds as expected against systemtap-sdt-devel-1.1-1.el6.s390x, which is the current version according to pknirsch's test machine.  The probes.o file is created in the expected subdirectory.


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