Bug 424508 - KItemViews builds but install empty .h-files
Summary: KItemViews builds but install empty .h-files
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kitemviews
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-21 16:33 UTC by pierrre.kde
Modified: 2020-08-06 19:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pierrre.kde 2020-07-21 16:33:44 UTC
SUMMARY

Issue while compiling with kdesrc-build from current state in git. kitemviews builds, but kiconthemes does not, as kitemviews faulty. After workaround below build goes further.

STEPS TO REPRODUCE
1.Command for compiling up to problem:
kdesrc-build --refresh-build --stop-before=kitemviews --stop-on-failure kitemviews

2.Command causing issue:
kdesrc-build --refresh-build --resume-from=kitemviews  --stop-on-failure kitemviews
Build is reported as succesfull, but header files copied during installation are empty:
-rw-r--r-- 1 pi pi 4305 Jul 12 21:59 src/kitemviews/src/klistwidgetsearchline.h
-rw-r--r-- 1 pi pi 0 Jul 12 21:59 usr/include/KF5/KItemViews/klistwidgetsearchline.h

 
3. Workaround, deleting .h and calling kdesrc-build again, without cleaning:
rm /home/pi/kde/usr/include/KF5/KItemViews/*.h
kdesrc-build --resume-from=kitemviews  --no-src --stop-on-failure kitemviews

.h are not empty anymore, kiconthemes builds.

OBSERVED RESULT
usr/include/KF5/KItemViews/*.h are empty

EXPECTED RESULT
usr/include/KF5/KItemViews/*.h copied from src/kitemviews/src/


SOFTWARE/OS VERSIONS
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 10 (buster)
Release:	10
Codename:	buster
Linux/KDE Plasma: Linux raspberrypi 4.19.118-v7l+ #1311 SMP Mon Apr 27 14:26:42 BST 2020 armv7l GNU/Linux /
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
## Remote URLs:

origin	https://invent.kde.org/frameworks/kitemviews.git (fetch)
origin	ssh://git@invent.kde.org/frameworks/kitemviews.git (push)

## Remote Branches:

  origin/HEAD -> origin/master
  origin/master

## Local Branches:

* master

## Most Recent Commit:

commit 99ec8d4f83ca283d059baec182c38b2e22d7f7fb

Qt Version: branch 5.15

ADDITIONAL INFORMATION
/home/pi/kde is a mount point for a USB-Drive.
Comment 1 pierrre.kde 2020-08-06 19:40:31 UTC
Gone as of now, unclear where issue was. (cmake version, or wrong paths in base system outside kdesrc-buid.