Thursday, July 05, 2018

Re: NEW: [2/2] x11/kde-applications/k3b

Quoting Stuart Henderson <stu@spacehopper.org>:

> On 2018/07/05 07:52, Landry Breuil wrote:
>> On Wed, Jul 04, 2018 at 10:35:37PM +0200, Rafael Sadowski wrote:
>> > ok, according to our standard KDE procedure (only unhook old one until
>> > no one whispers)?
>>
>> Well, it would be nice to have someone actually test it with a cd drive....
>
> Good luck finding the 0 or 1 people who are in all the following categories,
>
> those that run OpenBSD
> those using KDE
> those with a CD writer
> those who will actually test diffs
>
> ;)

I had tried to do this with -current this past week and had the
following problems:

On my ports builder box I got the following error:

builder.lab.foretell.ca$ make install
===> Checking files for k3b-17.12.3
`/home/distfiles/k3b-17.12.3.tar.xz' is up to date.
(SHA256) k3b-17.12.3.tar.xz: OK
===> Verifying specs: c++ c++abi pthread FLAC FLAC++ KF5Archive
KF5Attica KF5Auth KF5Bookmarks KF5Cddb KF5Codecs KF5Completion
KF5ConfigCore KF5ConfigGui KF5ConfigWidgets KF5CoreAddons
KF5FileMetaData KF5I18n KF5IconThemes KF5ItemViews KF5JobWidgets
KF5KCMUtils KF5KIOCore KF5KIOFileWidgets KF5KIOWidgets KF5NewStuff
KF5NewStuffCore KF5Notifications KF5NotifyConfig KF5Service KF5Solid
KF5WidgetsAddons KF5XmlGui Qt5Concurrent Qt5Core Qt5DBus Qt5Gui
Qt5Network Qt5WebKit Qt5WebKitWidgets Qt5Widgets Qt5Xml avcodec
avformat avutil c dvdread iconv m mad mp3lame ogg samplerate sndfile
tag vorbis vorbisfile
Missing library for KF5Cddb>=0.0
Fatal error
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2164
'/usr/ports/pobj/k3b-17.12.3/.buildwantlibs')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2469
'/usr/ports/pobj/k3b-17.12.3/.extract_done')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1930
'/usr/ports/packages/amd64/all/k3b-17.12.3.tgz')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2403
'_internal-package')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2382 'package')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1948
'/var/db/pkg/k3b-17.12.3/+CONTENTS')
*** Error 1 in /usr/ports/x11/kde-applications/k3b
(/usr/ports/infrastructure/mk/bsd.port.mk:2382 'install')

So I manually built the following package:

-rw-r--r-- 3 vijay vijay 791475 Jun 27 19:51 libkcddb-17.12.3.tgz

Intent was to install KDE4 on a different system, put in the ports
tree there, and then try to build the package.

So I installed KDE4 on my new laptop (its a ThinkPad Carbon X1 -- so
it could be a problem with the machine and nothing to do with OpenBSD)
and unfortunately get the following error there:

Jun 28 12:54:56 stu1 reorder_kernel: kernel relinking done
Jun 28 12:55:24 stu1 console-kit-daemon[15339]: WARNING: Error waiting
for native console 3 activation: Permission denied
Jun 28 12:55:24 stu1 console-kit-daemon[15339]: WARNING: Error waiting
for native console 1 activation: Permission denied
Jun 28 12:55:24 stu1 console-kit-daemon[15339]: WARNING: Error waiting
for native console 4 activation: Permission denied
Jun 28 12:55:24 stu1 console-kit-daemon[15339]: WARNING: Error waiting
for native console 2 activation: Permission denied
Jun 28 12:55:43 stu1 /bsd: lock order reversal:
Jun 28 12:55:43 stu1 /bsd: 1st 0xffffffff81ded020 &sched_lock
(&sched_lock) @ /usr/src/sys/kern/kern_synch.c:444
Jun 28 12:55:43 stu1 /bsd: 2nd 0xffff80000022b270 &dev_priv->irq_lock
(&dev_priv->irq_lock) @ /usr/src/sys/dev/pci/drm/i915/intel_lrc.c:1645
Jun 28 12:55:43 stu1 /bsd: lock order "&dev_priv->irq_lock"(mutex) ->
"&sched_lock"(sched_lock) first seen at:
Jun 28 12:55:43 stu1 /bsd: #0 witness_checkorder+0x4c0
Jun 28 12:55:43 stu1 /bsd: #1 ___mp_lock+0x70
Jun 28 12:55:43 stu1 /bsd: #2 wakeup_n+0x39
Jun 28 12:55:43 stu1 /bsd: #3 task_add+0x93
Jun 28 12:55:43 stu1 /bsd: #4 gen6_rps_boost+0x129
Jun 28 12:55:43 stu1 /bsd: #5 __i915_wait_request+0x155
Jun 28 12:55:43 stu1 /bsd: #6
i915_gem_object_wait_rendering__nonblocking+0x1d6
Jun 28 12:55:43 stu1 /bsd: #7 i915_gem_set_domain_ioctl+0xdb
Jun 28 12:55:43 stu1 /bsd: #8 drm_do_ioctl+0x221
Jun 28 12:55:43 stu1 /bsd: #9 drmioctl+0xf9
Jun 28 12:55:43 stu1 /bsd: #10 VOP_IOCTL+0x5a
Jun 28 12:55:43 stu1 /bsd: #11 vn_ioctl+0x6b
Jun 28 12:55:43 stu1 /bsd: #12 sys_ioctl+0x477
Jun 28 12:55:43 stu1 /bsd: #13 syscall+0x32a
Jun 28 12:55:43 stu1 /bsd: #14 Xsyscall_untramp+0xe4
Jun 28 12:55:43 stu1 /bsd: lock order "&sched_lock"(sched_lock) ->
"&dev_priv->irq_lock"(mutex) first seen at:
Jun 28 12:55:43 stu1 /bsd: #0 witness_checkorder+0x4c0
Jun 28 12:55:43 stu1 /bsd: #1 _mtx_enter+0x31
Jun 28 12:55:43 stu1 /bsd: #2 gen8_logical_ring_put_irq+0x36
Jun 28 12:55:43 stu1 /bsd: #3 __i915_wait_request+0x367
Jun 28 12:55:43 stu1 /bsd: #4 intel_mmio_flip_work_func+0x3e
Jun 28 12:55:43 stu1 /bsd: #5 taskq_thread+0x6d

Still I thought I would go ahead and try to build. Created the ports
tree, Did a tar xvzf k3b_libkcddb-17.12.3.tar.gz, make clean=all &&
make install and got the following

.
.
.
.
.

*** Error 1 in /home/ports/devel/py-babel
(/home/ports/infrastructure/mk/bsd.port.mk:2382 'install')
*** Error 1 in /home/ports/textproc/py-sphinx
(/home/ports/infrastructure/mk/bsd.port.mk:2061
'/home/ports/pobj/py-sphinx-1.4.8/.dep-devel-py-babel')
*** Error 1 in /home/ports/textproc/py-sphinx
(/home/ports/infrastructure/mk/bsd.port.mk:2469
'/home/ports/pobj/py-sphinx-1.4.8/.extract_done')
*** Error 1 in /home/ports/textproc/py-sphinx
(/home/ports/infrastructure/mk/bsd.port.mk:1930
'/home/ports/packages/amd64/all/py-sphinx-1.4.8p0.tgz')
*** Error 1 in /home/ports/textproc/py-sphinx
(/home/ports/infrastructure/mk/bsd.port.mk:2403 '_internal-package')
*** Error 1 in /home/ports/textproc/py-sphinx
(/home/ports/infrastructure/mk/bsd.port.mk:2382 'package')
*** Error 1 in /home/ports/textproc/py-sphinx
(/home/ports/infrastructure/mk/bsd.port.mk:1948
'/var/db/pkg/py-sphinx-1.4.8p0/+CONTENTS')
*** Error 1 in /home/ports/textproc/py-sphinx
(/home/ports/infrastructure/mk/bsd.port.mk:2382 'install')
*** Error 1 in /home/ports/devel/kf5/extra-cmake-modules
(/home/ports/infrastructure/mk/bsd.port.mk:2061
'/home/ports/pobj/extra-cmake-modules-5.46.0/.dep-textproc-py-sphinx')
*** Error 1 in /home/ports/devel/kf5/extra-cmake-modules
(/home/ports/infrastructure/mk/bsd.port.mk:2469
'/home/ports/pobj/extra-cmake-modules-5.46.0/.extract_done')
*** Error 1 in /home/ports/devel/kf5/extra-cmake-modules
(/home/ports/infrastructure/mk/bsd.port.mk:1930
'/home/ports/packages/amd64/no-arch/extra-cmake-modules-5.46.0.tgz')
*** Error 1 in /home/ports/devel/kf5/extra-cmake-modules
(/home/ports/infrastructure/mk/bsd.port.mk:2403 '_internal-package')
*** Error 1 in /home/ports/devel/kf5/extra-cmake-modules
(/home/ports/infrastructure/mk/bsd.port.mk:2382 'package')
*** Error 1 in /home/ports/devel/kf5/extra-cmake-modules
(/home/ports/infrastructure/mk/bsd.port.mk:1948
'/var/db/pkg/extra-cmake-modules-5.46.0/+CONTENTS')
*** Error 1 in /home/ports/devel/kf5/extra-cmake-modules
(/home/ports/infrastructure/mk/bsd.port.mk:2382 'install')
*** Error 1 in . (/home/ports/infrastructure/mk/bsd.port.mk:2061
'/home/ports/pobj/k3b-17.12.3/.dep-STEM-ge-5.46.0-devel-kf5-extra-cmake-modules')
*** Error 1 in . (/home/ports/infrastructure/mk/bsd.port.mk:2469
'/home/ports/pobj/k3b-17.12.3/.extract_done')
*** Error 1 in . (/home/ports/infrastructure/mk/bsd.port.mk:1930
'/home/ports/packages/amd64/all/k3b-17.12.3.tgz')
*** Error 1 in . (/home/ports/infrastructure/mk/bsd.port.mk:2403
'_internal-package')
*** Error 1 in . (/home/ports/infrastructure/mk/bsd.port.mk:2382 'package')
*** Error 1 in . (/home/ports/infrastructure/mk/bsd.port.mk:1948
'/var/db/pkg/k3b-17.12.3/+CONTENTS')
*** Error 1 in /home/ports/x11/kde-applications/k3b
(/home/ports/infrastructure/mk/bsd.port.mk:2382 'install')
stu1.lab.foretell.ca$

What is a useful way to tackle this? Since I tried installing -current
and KDE on a new drive, got ports from CVS, and failed to build the
package, I am wondering if I am missing something simple.

My ports mk.conf has

PORTSDIR=/usr/ports
DISTDIR=/home/distfiles
SUDO=/usr/bin/doas

I tried to build with dpb (with BUILD_USER=vijay) as well as with make
clean all and both failed.

Please let me know if you have any suggestions.

Thanks very much,

Vijay


Vijay Sankar, M.Eng., P.Eng.
ForeTell Technologies Limited
vsankar@foretell.ca

No comments:

Post a Comment