[Bug 377665] New: Cyrus-Imapd .src doesn't compile on Suse 10.3 x86_64
https://bugzilla.novell.com/show_bug.cgi?id=377665 Summary: Cyrus-Imapd .src doesn't compile on Suse 10.3 x86_64 Product: openSUSE 10.3 Version: Final Platform: Other OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: paternot@snap.com.br QAContact: qa@suse.de Found By: --- I needed to change the way Cyrus-Imap behave with 8 bit characters on the email header. To do this I downloaded the .src (cyrus-imapd-2.3.8-51.src.rpm) from the repository (http://download.opensuse.org/distribution/10.3/repo/src-oss/suse/src/). Before making any changes on the code, I run (inside the /usr/src/packages/SPECS) the comand "rpmbuild -bb cyrus-imapd.spec". Just to make sure everithing was compiling OK. And it wasn't. The error is pasted below: "### Making depend in /usr/src/packages/BUILD/cyrus-imapd-2.3.8/lib make[1]: Entering directory `/usr/src/packages/BUILD/cyrus-imapd-2.3.8/lib' makedepend -I.. -I/usr/include -I../et -DHAVE_CONFIG_H -I. -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -I/usr/include/kerberosIV -I/usr/lib64/sasl2/include *.c ./*.c 1>makedepend.log 2>&1 make[1]: *** [depend] Error 1 make[1]: Leaving directory `/usr/src/packages/BUILD/cyrus-imapd-2.3.8/lib' make: *** [depend] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.71080 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.71080 (%build)" I have installed the ambient for kernel devel (VMWare compile tools OK), for C++ deve, for rpm devel and the dependecies asked by both the .src and the build script. I'll create 2 attachs: one with the full compile exit and another with the rpm-tmp.71080 file. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=377665
User paternot@snap.com.br added comment
https://bugzilla.novell.com/show_bug.cgi?id=377665#c1
--- Comment #1 from Marcelo Rodrigues
https://bugzilla.novell.com/show_bug.cgi?id=377665
User paternot@snap.com.br added comment
https://bugzilla.novell.com/show_bug.cgi?id=377665#c2
--- Comment #2 from Marcelo Rodrigues
https://bugzilla.novell.com/show_bug.cgi?id=377665
Cyril Hrubis
https://bugzilla.novell.com/show_bug.cgi?id=377665
User rhafer@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=377665#c3
Ralf Haferkamp
https://bugzilla.novell.com/show_bug.cgi?id=377665
User paternot@snap.com.br added comment
https://bugzilla.novell.com/show_bug.cgi?id=377665#c4
--- Comment #4 from Marcelo Rodrigues
https://bugzilla.novell.com/show_bug.cgi?id=377665
User paternot@snap.com.br added comment
https://bugzilla.novell.com/show_bug.cgi?id=377665#c5
--- Comment #5 from Marcelo Rodrigues
https://bugzilla.novell.com/show_bug.cgi?id=377665
User rhafer@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=377665#c6
Ralf Haferkamp
Where can I find the "build" script? In the build.rpm. For details on how use it please refer to: http://en.opensuse.org/SUSE_Build_Tutorial
I thought that using "rpmbuild <option> <spec file>" was a standart way of compiling .src packages. It is one way to do it, yes. But it has the disadvantage, that it might hose the system on which you are building. E.g. in failures. The build-script sets up a chroot system which is completely isolated from the installed system.
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=377665
User rhafer@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=377665#c7
Ralf Haferkamp
Created an attachment (id=207822) --> (https://bugzilla.novell.com/attachment.cgi?id=207822) [details] The makedepend.log file
This is the "makedepend.log" file. It's quite short, with just one line:
"makedepend: error: cannot open "no-strict-aliasing"" It seems that something is wrong with the makedepend you have installed.l Please check from which packages it is provided with: rpm -qf `which makedepend`
And remove that package with "rpm -e". cyrus-imapd should build without makedepend. Please report back if that worked. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=377665
User paternot@snap.com.br added comment
https://bugzilla.novell.com/show_bug.cgi?id=377665#c8
Marcelo Rodrigues
https://bugzilla.novell.com/show_bug.cgi?id=377665
User paternot@snap.com.br added comment
https://bugzilla.novell.com/show_bug.cgi?id=377665#c9
--- Comment #9 from Marcelo Rodrigues
Is it an error with the cyrus .src.rpm or a problem with the "makedepend" package? I guess neither of both. I guess that the makedepend that cyrus-imapd expects does have nothing to do with the one that the xorg-x11-util-devel packages
https://bugzilla.novell.com/show_bug.cgi?id=377665
User rhafer@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=377665#c10
Ralf Haferkamp
https://bugzilla.novell.com/show_bug.cgi?id=377665
User paternot@snap.com.br added comment
https://bugzilla.novell.com/show_bug.cgi?id=377665#c11
--- Comment #11 from Marcelo Rodrigues
https://bugzilla.novell.com/show_bug.cgi?id=377665
User rhafer@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=377665#c12
--- Comment #12 from Ralf Haferkamp
participants (1)
-
bugzilla_noreply@novell.com