Jenkins and XDG_DATA_DIRS

Ben Cooksley bcooksley at kde.org
Sun Apr 3 00:05:27 UTC 2016


On Sun, Apr 3, 2016 at 2:49 AM, David Faure <faure at kde.org> wrote:
> On Saturday 02 April 2016 11:48:12 Ben Cooksley wrote:
>> On Sat, Apr 2, 2016 at 2:13 AM, David Faure <faure at kde.org> wrote:
>> > On Thursday 31 March 2016 22:16:57 Ben Cooksley wrote:
>> >> The file /srv/jenkins/install/ubuntu/x86_64/g++/kf5-qt5/frameworks/kcoreaddons/inst/usr/share/mime/packages/kde5.xml
>> >> exists
>> >
>> > OK.
>> >
>> >> I can confirm that update-mime-database is present on the system
>> >
>> > OK.
>> >
>> >> although there is nothing in
>> >> /srv/jenkins/install/ubuntu/x86_64/g++/kf5-qt5/frameworks/kcoreaddons/inst/usr/share/mime/
>> >> apart from the 'packages' folder - don't know if this means anything
>> >> though.
>> >
>> > This means "make install" in kcoreaddons didn't run update-mime-database.
>>
>> Any way to tell if it is doing this from the log?
>
> This should appear in the make install output:
>
> -- Updating MIME database at /d/kde/inst/kde_frameworks/share/mime
>
> (right after the line that talks about installing share/mime/packages/kde5.xml)

I'm afraid it doesn't, which is probably the issue.

>
>> I can't see any visible indication in the existing kcoreaddons logs.
>
> Which version of shared-mime-info is installed? (We need >= 0.70).

Same version as in Ubuntu Wily, which should definitely be new enough.

>
>> > Or -more likely- that the files generated by updated-mime-database didn't get copied over
>> > to the final location (i.e. the one above). Is there such a temporary location for installing
>> > before things get copied over to the final destination? Did something change in the CI
>> > scripts in that respect? (e.g. copying individual files rather than the whole install dir?)
>>
>> Nothing has changed in regards to staging, then transfer to the final
>> location. I think the install prefix we use now may have changed
>> though.
>
> OK.

Cheers,
Ben

>
> --
> David Faure, faure at kde.org, http://www.davidfaure.fr
> Working on KDE Frameworks 5
>


More information about the Kde-frameworks-devel mailing list