You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2005/01/20 23:38:25 UTC
[Bug 4090] New: Can't build RPM on fedora core 3 x86_64
http://bugzilla.spamassassin.org/show_bug.cgi?id=4090
Summary: Can't build RPM on fedora core 3 x86_64
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P5
Component: Packaging: RPM
AssignedTo: dev@spamassassin.apache.org
ReportedBy: felicity@kluge.net
Made a tarball using "make dist", then "rpmbuild -tb Mail...tar.gz":
[...]
+ /usr/bin/make -j2 spamc/libspamc.so
/usr/bin/make -f spamc/Makefile spamc/libspamc.so
make[1]: Entering directory `/home/felicity/src/RPMS/BUILD/Mail-SpamAssassin-3.1.0'
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
gcc -Wl,-E -Wl,-rpath,/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE
spamc/libspamc.c spamc/utils.c \
-o spamc/libspamc.so -shared -ldl
/usr/bin/ld: /tmp/ccOa7AEM.o: relocation R_X86_64_32S against `a local symbol'
can not be used when making a shared object; recompile with -fPIC
/tmp/ccOa7AEM.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [spamc/libspamc.so] Error 1
make[1]: Leaving directory `/home/felicity/src/RPMS/BUILD/Mail-SpamAssassin-3.1.0'
make: *** [spamc/libspamc.so] Error 2
error: Bad exit status from /home/felicity/src/RPMS/BROOT/rpm-tmp.52964 (%build)
I'm not sure why it's compiling with a perl library at all.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4090] Can't build RPM on fedora core 3 x86_64
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4090
------- Additional Comments From felicity@kluge.net 2005-01-20 14:39 -------
Created an attachment (id=2612)
--> (http://bugzilla.spamassassin.org/attachment.cgi?id=2612&action=view)
disables libspamc.so build
I used this kluge patch to bypass building the libspamc.so file, since I don't
need it on my box.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4090] Can't build RPM on fedora core 3 x86_64
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4090
------- Additional Comments From felicity@kluge.net 2005-02-10 19:19 -------
Created an attachment (id=2650)
--> (http://bugzilla.spamassassin.org/attachment.cgi?id=2650&action=view)
spamc Makefile
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4090] Can't build RPM on fedora core 3 x86_64
Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4090
spamassassin@dostech.ca changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[review] Can't build RPM on |Can't build RPM on fedora
|fedora core 3 x86_64 |core 3 x86_64
Status Whiteboard|can be committed |currently worked around...
| |needs real fix
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4090] [review] Can't build RPM on fedora core 3 x86_64
Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4090
jm@jmason.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status Whiteboard|needs 2 votes |needs 1 vote
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4090] [review] Can't build RPM on fedora core 3 x86_64
Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4090
------- Additional Comments From jm@jmason.org 2006-02-22 11:02 -------
+1 , but let's leave this bug open (milestone: future) for a better fix.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4090] [review] Can't build RPM on fedora core 3 x86_64
Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4090
felicity@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.1.1 |Future
------- Additional Comments From felicity@apache.org 2006-02-28 04:52 -------
3.1:
Sending spamassassin.spec
Transmitting file data .
Committed revision 381551.
3.2:
Sending spamassassin.spec
Transmitting file data .
Committed revision 381552.
:)
Moving to "Future" milestone for later work to fix the actual issue in the Makefile.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4090] Can't build RPM on fedora core 3 x86_64
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4090
------- Additional Comments From spamassassin-contrib@msquadrat.de 2005-02-10 12:50 -------
tzzz, Theo, I would have expected a better bug report from you ;~)
If this is still an issue, please attach the Makefile and spamc/Makefile.
Might be some EU::MM oddity. Oh, is that really Perl 5.8.5 you compile with?
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4090] Can't build RPM on fedora core 3 x86_64
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4090
------- Additional Comments From jm@jmason.org 2005-01-20 15:03 -------
I don't think it is linking against a perl lib -- but I do think the perl's
build CFLAGS for .so object C files are wrong. it should be using -fPIC surely?
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4090] Can't build RPM on fedora core 3 x86_64
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4090
------- Additional Comments From felicity@kluge.net 2005-01-20 17:34 -------
Subject: Re: Can't build RPM on fedora core 3 x86_64
On Thu, Jan 20, 2005 at 03:03:59PM -0800, bugzilla-daemon@bugzilla.spamassassin.org wrote:
> I don't think it is linking against a perl lib -- but I do think the perl's
> build CFLAGS for .so object C files are wrong. it should be using -fPIC surely?
Yeah, I'm not so good at the gcc flags, but there's no reason for spamc to be
accessing anything with perl at all IMO.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4090] [review] Can't build RPM on fedora core 3 x86_64
Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4090
felicity@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Can't build RPM on fedora |[review] Can't build RPM on
|core 3 x86_64 |fedora core 3 x86_64
Status Whiteboard| |needs 2 votes
------- Additional Comments From felicity@apache.org 2006-02-22 05:16 -------
since there hasn't been any movement on this issue in ages, I suggest that we just apply patch 2612. it
disables the build of libspamc.so, which I don't think anyone uses (it's not necessary for our code anyway).
I've been using this patch for a long time, and while it's not the best fix, it's all we can do at the moment it
seems.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4090] Can't build RPM on fedora core 3 x86_64
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4090
Bob@Menschel.net changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|Undefined |3.1.1
------- Additional Comments From Bob@Menschel.net 2005-04-30 21:50 -------
Triage: Since no "autoconf guru" has spoken up, assigning a provisional 3.1.1
target milestone.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4090] Can't build RPM on fedora core 3 x86_64
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4090
------- Additional Comments From felicity@kluge.net 2005-02-10 19:17 -------
Subject: Re: Can't build RPM on fedora core 3 x86_64
On Thu, Feb 10, 2005 at 12:50:53PM -0800, bugzilla-daemon@bugzilla.spamassassin.org wrote:
> If this is still an issue, please attach the Makefile and spamc/Makefile.
> Might be some EU::MM oddity. Oh, is that really Perl 5.8.5 you compile with?
Ok, I'll be putting up the Makefiles in a minute.
Based on svn 153328. "perl -V" (standard for FC3):
Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
Platform:
osname=linux, osvers=2.4.21-14.elsmp, archname=x86_64-linux-thread-multi
uname='linux dolly.build.redhat.com 2.4.21-14.elsmp #1 smp wed apr 14 18:44:22 edt 2004 x86_64 x86_64 x86_64 gnulinux '
config_args='-des -Doptimize=-O2 -g -pipe -m64 -Dversion=5.8.5 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Dlibpth=/usr/local/lib64 /lib64 /usr/lib64 -Dprivlib=/usr/lib/perl5/5.8.5 -Dsitelib=/usr/lib/perl5/site_perl/5.8.5 -Dvendorlib=/usr/lib/perl5/vendor_perl/5.8.5 -Darchlib=/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi -Dsitearch=/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi -Dvendorarch=/usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi -Darchname=x86_64-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr -Dinc_version_list=5.8.4 5.8.3 5.8.2 5.8.1 5.8.0'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=define uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
optimize='-O2 -g -pipe -m64',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/include/gdbm'
ccversion='', gccversion='3.4.2 20041006 (Red Hat 3.4.2-5)', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='gcc', ldflags =''
libpth=/usr/local/lib64 /lib64 /usr/lib64
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.3.3.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.3.3'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE'
cccdlflags='-fPIC', lddlflags='-shared'
Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS USE_64_BIT_INT USE_64_BIT_ALL USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Built under linux
Compiled at Oct 12 2004 12:51:00
@INC:
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi
/usr/lib/perl5/5.8.5
/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.8.4/x86_64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.8.3/x86_64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.8.2/x86_64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.8.1/x86_64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.8.0/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl/5.8.3
/usr/lib/perl5/site_perl/5.8.2
/usr/lib/perl5/site_perl/5.8.1
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.8.4/x86_64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.8.3/x86_64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.8.2/x86_64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.8.1/x86_64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.8.0/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl/5.8.4
/usr/lib/perl5/vendor_perl/5.8.3
/usr/lib/perl5/vendor_perl/5.8.2
/usr/lib/perl5/vendor_perl/5.8.1
/usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl
.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4090] [review] Can't build RPM on fedora core 3 x86_64
Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4090
spamassassin@dostech.ca changed:
What |Removed |Added
----------------------------------------------------------------------------
Status Whiteboard|needs 1 vote |can be committed
------- Additional Comments From spamassassin@dostech.ca 2006-02-28 03:22 -------
+1
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4090] Can't build RPM on fedora core 3 x86_64
Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4090
felicity@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kuolung@ms.kuolung.net
------- Additional Comments From felicity@apache.org 2005-11-18 17:51 -------
*** Bug 4692 has been marked as a duplicate of this bug. ***
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4090] Can't build RPM on fedora core 3 x86_64
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4090
------- Additional Comments From spamassassin-contrib@msquadrat.de 2005-02-11 00:10 -------
The bug is in configure.in, line 154:
# we cheat, since we *know* we have Perl installed ;)
CCDLFLAGS=`perl -e 'use Config; print $Config::Config{ccdlflags}'`
LDDLFLAGS=`perl -e 'use Config; print $Config::Config{lddlflags}'`
Apart from the fact that our libs inherit all DLFLAGS perl was compiled with,
this is also wrong because it might pick up the wrong perl in the path. Any
autoconf guru around who knows how to fix this?
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4090] Can't build RPM on fedora core 3 x86_64
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4090
------- Additional Comments From felicity@kluge.net 2005-02-10 19:18 -------
Created an attachment (id=2649)
--> (http://bugzilla.spamassassin.org/attachment.cgi?id=2649&action=view)
Makefile
output from straight "perl Makefile.PL < /dev/null"
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.