Bug 426953

Summary: Building Ruqola v1.1 from source fails
Product: [Applications] Ruqola Reporter: tux93
Component: generalAssignee: Laurent Montel <montel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Build log from the openSUSE build system

Description tux93 2020-09-25 11:04:16 UTC
Created attachment 131927 [details]
Build log from the openSUSE build system

SUMMARY
I want to update the ruqola package on openSUSE, but building ruqola v1.1 fails with:
> [  566s] /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: /tmp/libruqolacore.so.1.1.0.reZaYm.ltrans8.ltrans.o: in function `DownloadAppsLanguagesJob::start()':
> [  566s] /home/abuild/rpmbuild/BUILD/ruqola-v1.1/src/core/downloadappslanguages/downloadappslanguagesjob.cpp:68: undefined reference to `RestApiUtil::adaptUrl(QString const&)'
> [  566s] collect2: error: ld returned 1 exit status
> [  566s] make[2]: *** [src/core/CMakeFiles/libruqolacore.dir/build.make:2009: bin/libruqolacore.so.1.1.0] Error 1
> [  566s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/ruqola-v1.1/build'
> [  566s] make[1]: *** [CMakeFiles/Makefile2:559: src/core/CMakeFiles/libruqolacore.dir/all] Error 2
> [  566s] make: *** [Makefile:149: all] Error 2

The full log is attached and can also be found at
https://build.opensuse.org/package/show/home:tux93:branches:KDE:Extra/ruqola

STEPS TO REPRODUCE
1. Branch current ruqola package from KDE:Extra
2. Update the source archive
3. Run `osc build`

OBSERVED RESULT
The build fails

EXPECTED RESULT
Build succeeds, a new package is created

SOFTWARE/OS VERSIONS
Linux: openSUSE Tumbleweed
Qt Version: 5.15.1

ADDITIONAL INFORMATION
Comment 1 Laurent Montel 2021-02-23 12:49:14 UTC
For me it's fixed long time ago