Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 455376 - Building perl without threading fails
Summary: Building perl without threading fails
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: perl
Version: 5.2
Hardware: i386
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Marcela Mašláňová
QA Contact: desktop-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-07-15 08:39 UTC by Roman Sozinov
Modified: 2008-07-21 10:16 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-07-21 10:16:14 UTC
Target Upstream Version:


Attachments (Terms of Use)
rpm tmp file (deleted)
2008-07-15 08:39 UTC, Roman Sozinov
no flags Details

Description Roman Sozinov 2008-07-15 08:39:03 UTC
Description of problem:
Building perl-5.8.8-8 without threading fails with a error:
proto.h:1623: error: ‘void’ must be the only parameter
perl.c:4744: error: ‘void’ must be the only parameter
make: *** [perl.o] Error 1

Version-Release number of selected component (if applicable):
perl-5.8.8-10.el5_2.3

How reproducible:
Easy

Steps to Reproduce:
1. In perl.spec change %define threading 0 
2. rpmbuild -ba perl.spec

  
Actual results:
...
+ make -j2
`sh  cflags "optimize='-O2 -g -march=i386 -mcpu=i686'" miniperlmain.o` -fPIC
miniperlmain.c
`sh  cflags "optimize='-O2 -g -march=i386 -mcpu=i686'" perl.o` -fPIC perl.c
          CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -march=i386 -mcpu=i686  -Wall
          CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -march=i386 -mcpu=i686  -Wall
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
In file included from perl.h:3950,
                 from perl.c:82:
proto.h:1623: error: ‘void’ must be the only parameter
perl.c:4744: error: ‘void’ must be the only parameter
make: *** [perl.o] Error 1
make: *** Waiting for unfinished jobs....
error: Bad exit status from /var/tmp/rpm-tmp.16966 (%build)

Additional info:
File rpm-tmp.16966 is attached.
It was similar bug in Fedora https://bugzilla.redhat.com/show_bug.cgi?id=200440

Comment 1 Roman Sozinov 2008-07-15 08:39:03 UTC
Created attachment 311796 [details]
rpm tmp file

Comment 2 Marcela Mašláňová 2008-07-21 10:16:14 UTC
The character of the requested change does not justify modifying an Enterprise
product. 

We are also not supporting this feature in next releases of Fedora.


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