Bug 351750 - ical2vcal broken interpreter
Summary: ical2vcal broken interpreter
Status: RESOLVED UNMAINTAINED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-25 12:30 UTC by Harald Sitter
Modified: 2018-01-31 17:14 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 Harald Sitter 2015-08-25 12:30:35 UTC
korganizer/data/ical2vcal.cmake

has the shebang

> #! @PERL@

korganizer/CMakeLists.txt has the following to get this fixed up

> set(PERL ${PERL_EXECUTABLE})
> configure_file(
>  ${CMAKE_CURRENT_SOURCE_DIR}/data/ical2vcal.cmake ${CMAKE_CURRENT_BINARY_DIR}/ical2vcal @ONLY
> )

BUT it appears perllibs (where perl_exeuctable woudl be set) is not actually find_package'd making the resulting script come out with a broken shebang

> #!  

i.e. empty interpreter.


Reproducible: Always
Comment 1 Allen Winter 2015-08-25 12:43:39 UTC
"how did this ever work" TM

There is nothing in the kdepim buildsystem that looks for Perl nor PERL_EXECUTABLE
Comment 2 Allen Winter 2015-08-25 18:21:00 UTC
this is a pretty useless feature anyway.

I'd like to see it dropped post 4.14

Do you need this fix in 4.14.x ? else, I would rather drop it completely.
Comment 3 Allen Winter 2015-08-31 21:02:37 UTC
Git commit 1e9e4eff42ac3974e2b012ba135b3b40224de0b6 by Allen Winter.
Committed on 31/08/2015 at 20:57.
Pushed by winterz into branch 'KDE/4.14'.

[korganizer] cmake discovery for Perl needed for ical2vcal
if Perl not found, then no menu item for "Import UNIX Ical Tool"
MERGE: Discuss in Phabricator Task. IMO: let's remove this

M  +19   -11   korganizer/CMakeLists.txt
M  +2    -2    korganizer/actionmanager.cpp

http://commits.kde.org/kdepim/1e9e4eff42ac3974e2b012ba135b3b40224de0b6
Comment 4 Denis Kurz 2017-06-23 20:21:07 UTC
This bug has never been confirmed for a Kontact version that is based on KDE Frameworks, except possibly a Technology Preview version 5.0.x. Those versions differ significantly from the old 4.x series. Therefore, I plan to close it in around two or three months. In the meantime, it is set to WAITINGFORINFO to give reporters the opportunity to check if it is still valid. As soon as someone confirms it for a recent version (at least 5.1, ideally even more recent), I'll gladly reopen it.

Please understand that we lack the manpower to triage bugs reported for versions almost two years beyond their end of life.
Comment 5 Denis Kurz 2018-01-31 17:14:29 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.1 aka 15.12; preferably much more recent), please open a new one unless it already exists. Thank you for all your input.