[Bug 269903] New: libkdcraw no longer compiles due to a linking error

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 269903] New: libkdcraw no longer compiles due to a linking error

Bugzilla from tittiatcoke@gmail.com
https://bugs.kde.org/show_bug.cgi?id=269903

           Summary: libkdcraw no longer compiles due to a linking error
           Product: digikam
           Version: 2.0.0
          Platform: openSUSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: libkdcraw
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           2.0.0 (using Devel)
OS:                Linux

When building the latest libkdcraw library, the following compiler error occurs
:

/usr/bin/c++  -fPIC -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector -funwind-tables -fasynchronous-unwind-tables -g
-Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts
-Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS
-fno-check-new -fno-common -Werror=return-type -Woverloaded-virtual
-fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -O4
-DNDEBUG -DQT_NO_DEBUG -Wl,--enable-new-dtags -Wl,--fatal-warnings
-Wl,--no-undefined -lc -Wl,-Bsymbolic-functions  -shared
-Wl,-soname,libkdcraw.so.20 -o ../lib/libkdcraw.so.20.0.0
CMakeFiles/kdcraw.dir/kdcraw_automoc.o CMakeFiles/kdcraw.dir/kdcraw.o
CMakeFiles/kdcraw.dir/kdcraw_p.o CMakeFiles/kdcraw.dir/dcrawsettingswidget.o
CMakeFiles/kdcraw.dir/dcrawinfocontainer.o
CMakeFiles/kdcraw.dir/rawdecodingsettings.o CMakeFiles/kdcraw.dir/rcombobox.o
CMakeFiles/kdcraw.dir/rnuminput.o CMakeFiles/kdcraw.dir/rexpanderbox.o
CMakeFiles/kdcraw.dir/squeezedcombobox.o
-L/usr/src/packages/BUILD/libkdcraw-4.6.41_20110401/build/lib
../lib/liblibraw.a /usr/lib64/libkdeui.so.5.7.0 /usr/lib64/libkio.so.5.7.0 -lm
-llcms -ljpeg -lgomp /usr/lib64/libQtNetwork.so /usr/lib64/libQtXml.so
/usr/lib64/libkdeui.so.5.7.0 /usr/lib64/libkdecore.so.5.7.0
/usr/lib64/libQtDBus.so /usr/lib64/libQtCore.so -lpthread
/usr/lib64/libQtGui.so /usr/lib64/libQtSvg.so
/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld:
../lib/liblibraw.a(libraw_cxx.o): relocation R_X86_64_32 against
`.rodata.str1.1' can not be used when making a shared object; recompile with
-fPIC
../lib/liblibraw.a: could not read symbols: Bad value

As that libkdcraw no longer compiles, also digikam and kipi-plugins no longer
builds. This happened only after the changes of today,

Reproducible: Always

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 269903] libkdcraw no longer compiles due to a linking error

Bugzilla from davidxross@yahoo.co.uk
https://bugs.kde.org/show_bug.cgi?id=269903





--- Comment #1 from david ross <davidxross yahoo co uk>  2011-04-02 09:27:24 ---
Created an attachment (id=58514)
 --> (http://bugs.kde.org/attachment.cgi?id=58514)
fix linking problem

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 269903] libkdcraw no longer compiles due to a linking error [patch]

Gilles Caulier-4
In reply to this post by Bugzilla from tittiatcoke@gmail.com
https://bugs.kde.org/show_bug.cgi?id=269903


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
            Summary|libkdcraw no longer         |libkdcraw no longer
                   |compiles due to a linking   |compiles due to a linking
                   |error                       |error [patch]




--- Comment #2 from Gilles Caulier <caulier gilles gmail com>  2011-04-02 10:23:24 ---
Thanks for the patch

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 269903] libkdcraw no longer compiles due to a linking error [patch]

Gilles Caulier-4
In reply to this post by Bugzilla from tittiatcoke@gmail.com
https://bugs.kde.org/show_bug.cgi?id=269903


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--- Comment #3 from Gilles Caulier <caulier gilles gmail com>  2011-04-02 10:32:18 ---
Git commit 9061f79a6da25ce497bc8e8fd4cb6457f02883f6 by Gilles Caulier.
Committed on 02/04/2011 at 10:35.
Pushed by cgilles into branch 'master'.

apply patch #58514
BUGS: 269903

M  +2    -1    CMakeLists.txt    

http://commits.kde.org/libkdcraw/9061f79a6da25ce497bc8e8fd4cb6457f02883f6

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Bug 269903] libkdcraw no longer compiles due to a linking error [patch]

Guillaume Paumier
On Sat, Apr 2, 2011 at 10:32 AM, Gilles Caulier
<[hidden email]> wrote:

> https://bugs.kde.org/show_bug.cgi?id=269903
>
> Git commit 9061f79a6da25ce497bc8e8fd4cb6457f02883f6 by Gilles Caulier.
> Committed on 02/04/2011 at 10:35.
> Pushed by cgilles into branch 'master'.
>
> apply patch #58514
> BUGS: 269903
>
> M  +2    -1    CMakeLists.txt
>
> http://commits.kde.org/libkdcraw/9061f79a6da25ce497bc8e8fd4cb6457f02883f6

Note: this probably needs to be done in a few other places as well.
I'm getting the exact same error when Linking CXX shared module
../../../../lib/kipiplugin_dngconverter.so.

--
Guillaume Paumier
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Bug 269903] libkdcraw no longer compiles due to a linking error [patch]

Gilles Caulier-4
Guillaume,

I don't have this error here, probably because all my computer are in
32 bits, not 64bits (win, tux, mac)

Please give me a patch to apply against git master.

Gilles Caulier

2011/4/2 Guillaume Paumier <[hidden email]>:

> On Sat, Apr 2, 2011 at 10:32 AM, Gilles Caulier
> <[hidden email]> wrote:
>> https://bugs.kde.org/show_bug.cgi?id=269903
>>
>> Git commit 9061f79a6da25ce497bc8e8fd4cb6457f02883f6 by Gilles Caulier.
>> Committed on 02/04/2011 at 10:35.
>> Pushed by cgilles into branch 'master'.
>>
>> apply patch #58514
>> BUGS: 269903
>>
>> M  +2    -1    CMakeLists.txt
>>
>> http://commits.kde.org/libkdcraw/9061f79a6da25ce497bc8e8fd4cb6457f02883f6
>
> Note: this probably needs to be done in a few other places as well.
> I'm getting the exact same error when Linking CXX shared module
> ../../../../lib/kipiplugin_dngconverter.so.
>
> --
> Guillaume Paumier
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 269903] libkdcraw no longer compiles due to a linking error [patch]

Gilles Caulier-4
In reply to this post by Bugzilla from tittiatcoke@gmail.com
https://bugs.kde.org/show_bug.cgi?id=269903

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |2.0.0

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel