Bug 198545 - PORTS_MODULES=x11/nvidia-driver-340 build error: signal 22
Summary: PORTS_MODULES=x11/nvidia-driver-340 build error: signal 22
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Alexey Dokuchaev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-12 16:03 UTC by Anton Shterenlikht
Modified: 2018-02-10 23:53 UTC (History)
5 users (show)

See Also:
miwi: maintainer-feedback? (danfe)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Shterenlikht 2015-03-12 16:03:43 UTC
10.1-STABLE #27 r277808 amd64

$ cat /etc/src.conf 
PORTS_MODULES=x11/nvidia-driver-340 net/bwn-firmware-kmod

$ make -j1 buildkernel

*skip*

===> Ports module x11/nvidia-driver-340 (all)
cd ${PORTSDIR:-/usr/ports}/x11/nvidia-driver-340; PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/legacy/bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin  SRC_BASE=/usr/src  OSVERSION=1001507  WRKDIRPREFIX=/usr/obj/usr/src/sys/MINKY make -B clean all
===>  Cleaning for nvidia-driver-340-340.76
*** [all] Stopped -- signal 22

After that the build process seems to hang.
I have to terminate it with CTRL/C

I can install the port via pkg, no problems:

$ pkg info -xo nvid
nvidia-driver-340-340.76       x11/nvidia-driver-340
Comment 1 Chris Hutchinson 2015-03-12 18:06:51 UTC
(In reply to mexas from comment #0)
> 10.1-STABLE #27 r277808 amd64
> 
> $ cat /etc/src.conf 
> PORTS_MODULES=x11/nvidia-driver-340 net/bwn-firmware-kmod
> 
> $ make -j1 buildkernel
> 
> *skip*
> 
> ===> Ports module x11/nvidia-driver-340 (all)
> cd ${PORTSDIR:-/usr/ports}/x11/nvidia-driver-340;
> PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/
> bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/legacy/bin:/
> usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/
> tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin 
> SRC_BASE=/usr/src  OSVERSION=1001507 
> WRKDIRPREFIX=/usr/obj/usr/src/sys/MINKY make -B clean all
> ===>  Cleaning for nvidia-driver-340-340.76
> *** [all] Stopped -- signal 22
> 
> After that the build process seems to hang.
> I have to terminate it with CTRL/C
> 
> I can install the port via pkg, no problems:
> 
> $ pkg info -xo nvid
> nvidia-driver-340-340.76       x11/nvidia-driver-340

I just recently (5 days ago) performed a fresh install, and
built/installed world/kernel. I also had an nvidia driver
listed in src.conf(5), and my build also failed, as a
result. The problem appears to be that all the necessary
bootstrap bits to support the nvidia blob, are not yet
available. Because, when I simply removed (commented) the
src.conf(5) enrty, and finished building/installing world/kernel.
I was then able to build/install the nvidia blob from the ports tree.

HTH

--Chris
Comment 2 Anton Shterenlikht 2015-03-13 09:44:36 UTC
It did work for x11/nvidia-driver, before x11/nvidia-driver-340
was introduced. Also, it seems to work for David Wolfskill <david@catwhisker.org>.
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2017-03-05 10:45:40 UTC
Hi,

Is this pr still relevant?
Comment 4 Walter Schwarzenfeld freebsd_triage 2018-01-17 07:47:10 UTC
Same question: Is this still relevant?
Comment 5 Walter Schwarzenfeld freebsd_triage 2018-02-10 23:53:55 UTC
10.1 is EOL. There are a lot of updates of the nvidia-driver. So I assume it is overcome by events
and close here.