pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kde4 users?



On Thu, Oct 31, 2019 at 10:02:33AM +0000, Dave Tyson wrote:
> On Wednesday, 30 October 2019 21:47:58 GMT Kamil Rytarowski wrote:
> > On 30.10.2019 21:27, Dave Tyson wrote:
> > > On Wed, 30 Oct 2019 at 14:53, Kamil Rytarowski <n54%gmx.com@localhost> 
> wrote:
> > >> Are there kde4 users in pkgsrc that can still build kde4?
> > >> 
> > >> There are strong suspects with probability of certainty that it is
> > >> broken in several ways and incomplete.
> > > 
> > > I've been building kde4 on NetBSD  with amd64 kernel over the last few
> > > years using the kde4 meta-pkg with mixed success.
> > > 
> > > The last build which was fairly painless was pkgsrc-2019Q2 under NetBSD
> > > 8_1.STABLE but I had to mess around and comment out a few packages to get
> > > it to complete. Most stuff seems to work OK under light testing except
> > > kmail - this core dumps on invocation, but works fine if started under
> > > gdb :-) I think that last time kmail just worked was about 3 years ago
> > > under NetBSD 7. I was intending to use this NetBSD 8 release to update a
> > > Lenovo T400 which still runs NetBSD 7 but would really prefer to run
> > > NetBSD 9.
> > > 
> > > A recent attempt compiling kde4 under NetBSD 9_beta and pkgsrc-2019Q3 was
> > > pretty hopeless - I have forgotten the exact problem, but it was a serious
> > > incompatibility between an updated package library and a kde component
> > > which used it.  The kde4 package collection is now seriously out of
> > > kilter with updated dependency components in pkgsrc and the problem is
> > > getting worse with each pkgsrc update  so I doubt if it will ever work
> > > without a lot of effort which would be better directed at kde5.
> > > 
> > > Dave
> > 
> > Thank you for your feedback.
> > 
> > Regarding kmail, please try as root:
> > 
> > sysctl -w security.pax.mprotect.enabled=0
> > 
> > gdb disables (relaxes) restrictions and this is the symptom o PaX
> > MPROTECT violation.
> 
> Hi Kamil,
> 
> Thanks for the tip - I did wonder about trying disabling mprotect a while 
> back, but it slipped my mind. Yes - that fixed the problem so kmail just works.
> 
> To get the 2019Q2 kde4 meta package to finish building under NetBSD-8 I had to 
> comment out the build of localize and kate in the Makefile. 
> 
> Mark Davies did recently update pkgsrc-wip to pull in the latest versions of 
> the kde5 packages, and I may try and find time this winter to look at libinput 
> etc.
> 
> Cheers,
> Dave
> 
> 

I did the packaging equivalent of

paxctl +m /usr/pkg/bin/kmail
paxctl +m /usr/pkg/bin/kontact
paxctl +m /usr/pkg/bin/blogilo
paxctl +m /usr/pkg/bin/knode

Let me know if that's sufficient. I only tried to run the various
kdepim4 binaries.


Home | Main Index | Thread Index | Old Index