[digikam] [Bug 361275] New: Compile time error: undefined reference while linking renamecustomizertest

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

[digikam] [Bug 361275] New: Compile time error: undefined reference while linking renamecustomizertest

bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=361275

            Bug ID: 361275
           Summary: Compile time error: undefined reference while linking
                    renamecustomizertest
           Product: digikam
           Version: unspecified
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Advanced Rename
          Assignee: [hidden email]
          Reporter: [hidden email]

When I try to compile digikam from git, it fails on linking
renamecustomizertest:

[ 88%] Linking CXX executable renamecustomizertest
../../utilities/importui/libimportui.a(renamecustomizer.cpp.o): In function
`Digikam::RenameCustomizer::RenameCustomizer(QWidget*, QString const&)':
/media/karry/data/src/digikam/utilities/importui/widgets/renamecustomizer.cpp:143:
undefined reference to
`Digikam::AdvancedRenameWidget::AdvancedRenameWidget(QWidget*)'

...and many more. See attached logs for more details

My current head is:
d3a20a0cd682dddcc6f9ff8f5990028232d845b5

Attached patch solves this problem. But I don't know if my fix is correct...

Reproducible: Always

Steps to Reproduce:
1. cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr ..
2. make

--
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
|

[digikam] [Bug 361275] Compile time error: undefined reference while linking renamecustomizertest

bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=361275

--- Comment #1 from Lukáš Karas <[hidden email]> ---
Created attachment 98185
  --> https://bugs.kde.org/attachment.cgi?id=98185&action=edit
cmake log

--
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
|

[digikam] [Bug 361275] Compile time error: undefined reference while linking renamecustomizertest

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=361275

--- Comment #2 from Lukáš Karas <[hidden email]> ---
Created attachment 98186
  --> https://bugs.kde.org/attachment.cgi?id=98186&action=edit
make log

--
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
|

[digikam] [Bug 361275] Compile time error: undefined reference while linking renamecustomizertest

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=361275

--- Comment #3 from Lukáš Karas <[hidden email]> ---
Created attachment 98187
  --> https://bugs.kde.org/attachment.cgi?id=98187&action=edit
CMakeLists.txt patch that fixes build

--
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
|

[digikam] [Bug 361275] Compile time error: undefined reference while linking renamecustomizertest

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=361275

Maik Qualmann <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #4 from Maik Qualmann <[hidden email]> ---
Have you digiKam after this instructions compiled?

https://www.digikam.org/download?q=download/GIT

Maik

--
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
|

[digikam] [Bug 361275] Compile time error: undefined reference while linking renamecustomizertest

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=361275

--- Comment #5 from Lukáš Karas <[hidden email]> ---
No. When I compile it by these instructions, it fails too. On linking
renamecustomizertest...

Are you able to reproduce? I can try to prepare Docker image if you will have
problems to reproduce this bug...

--
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
|

[digikam] [Bug 361275] Compile time error: undefined reference while linking renamecustomizertest

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=361275

--- Comment #6 from Maik Qualmann <[hidden email]> ---
With your CMakeLists patch crashes now the renamecustomizertest at end. Compile
or linking problems do not exist here.

Maik

--
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
|

[digikam] [Bug 361275] Compile time error: undefined reference while linking renamecustomizertest

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=361275

--- Comment #7 from Lukáš Karas <[hidden email]> ---
Created attachment 98232
  --> https://bugs.kde.org/attachment.cgi?id=98232&action=edit
Docker image based on ubuntu:xenial that help to reproduce compile problem

--
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
|

[digikam] [Bug 361275] Compile time error: undefined reference while linking renamecustomizertest

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=361275

--- Comment #8 from Lukáš Karas <[hidden email]> ---
Created attachment 98233
  --> https://bugs.kde.org/attachment.cgi?id=98233&action=edit
make log with docker image

--
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
|

[digikam] [Bug 361275] Compile time error: undefined reference while linking renamecustomizertest

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=361275

--- Comment #9 from Lukáš Karas <[hidden email]> ---
Linker problem exists on latest Ubuntu Xenial (unreleased yet). You can
reproduce it when you install Docker on your machine, download attached
Dockerfile to directory "dk-build-ubuntu-test" and try to compile digikam in
container based on this image...

# build docker image:
docker build --tag dk-build-ubuntu-test:latest dk-build-ubuntu-test

# try to compile digikam in container:
docker run --rm=true -it dk-build-ubuntu-test /usr/bin/make

--
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
|

[digikam] [Bug 361275] Compile time error: undefined reference while linking renamecustomizertest

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=361275

--- Comment #10 from Maik Qualmann <[hidden email]> ---
The compiler error is to reproduce in the docker Image.  I look for the cause
tonight.

Maik

--
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
|

[digikam] [Bug 361275] Compile time error: undefined reference while linking renamecustomizertest

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=361275

Maik Qualmann <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
   Version Fixed In|                            |5.0.0
      Latest Commit|                            |http://commits.kde.org/digi
                   |                            |kam/ff5d2c0ea8fda5e7c11838f
                   |                            |a0650cc13355939b1
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #11 from Maik Qualmann <[hidden email]> ---
Git commit ff5d2c0ea8fda5e7c11838fa0650cc13355939b1 by Maik Qualmann.
Committed on 05/04/2016 at 17:37.
Pushed by mqualmann into branch 'master'.

fix crash from advancedrenametest and compile error from renamecustomizertest
FIXED-IN: 5.0.0

M  +2    -1    NEWS
M  +7    -9    tests/advancedrename/CMakeLists.txt
M  +5    -1    utilities/importui/widgets/renamecustomizer.h

http://commits.kde.org/digikam/ff5d2c0ea8fda5e7c11838fa0650cc13355939b1

--
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
|

[digikam] [Bug 361275] Compile time error: undefined reference while linking renamecustomizertest

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=361275

--- Comment #12 from Lukáš Karas <[hidden email]> ---
Thank Maik, good job.

--
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