Bug 136766

Summary: digikam-0.8.0-3.src.rpm (Supplementary) doesn't rebuild on x86_64
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Detlef Reichelt <detlef>
Component: OtherAssignee: Stephan Binner <stbinner>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: meissner
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: config.log
digikam.log

Description Detlef Reichelt 2005-12-02 20:15:32 UTC
I have this error, when i rebuild the src-rpm:

../digikam/utilities/setup/libsetup.la
/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: ../../digikam/utilities/setup/.libs/libsetup.a(setupgeneral.o): relocation R_X86_64_PC32 against `QDir::operator!=(QDir const&) const' can not be used when making a shared object; recompile with -fPIC
/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[4]: *** [libdigikam.la] Error 1
Comment 1 Detlef Reichelt 2005-12-02 20:16:36 UTC
Created attachment 59746 [details]
config.log
Comment 2 Detlef Reichelt 2005-12-02 20:17:16 UTC
Created attachment 59747 [details]
digikam.log
Comment 3 Stephan Kulow 2006-01-16 12:24:08 UTC
it works in our build system and we can't debug your build failures. I guess you could ask on opensuse mailing lists
Comment 4 Detlef Reichelt 2006-02-03 16:24:09 UTC
(In reply to comment #3)
> it works in our build system and we can't debug your build failures. I guess
> you could ask on opensuse mailing lists

What's the different between your build system and my minimal-suse-installation? I have no other repos and installed only minimal with digikam-requires.

I think, it's a bug, see:

http://qa.mandriva.com/show_bug.cgi?id=18984
http://linux.derkeiler.com/Mailing-Lists/SuSE/2005-10/1374.html

Comment 5 Marcus Meissner 2006-02-03 19:15:01 UTC
somehow the files are not built with -fPIC

add it to CFLAGS and CXXFLAGS as workaround.
Comment 6 Detlef Reichelt 2006-02-04 09:49:16 UTC
(In reply to comment #5)
> somehow the files are not built with -fPIC
> add it to CFLAGS and CXXFLAGS as workaround.
 
That's always the first, what i try, no chance ;)