Re: x11/nvidia-driver no longer works under -current (r338323)

2018-08-26 Thread tech-lists

On 26/08/2018 13:05, John wrote:

Hi,

On Sun, 26 Aug 2018, at 13:02, Tomoaki AOKI wrote:

Hi, John.
It's broken again by r338318. (Previously broken by r338107.)

If your previous src rev is older, you could be bitten by these.
If so, update ports tree at latest rev and try the latest single patch
below [1]. The patch itself is [2], applicable on top of /usr/ports.

[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230780
[2] https://bz-attachments.freebsd.org/attachment.cgi?id=196559


awesome, thank you I'll try that and let you know how I get on.



Thanks again, it's all working now :D

--
J.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: x11/nvidia-driver no longer works under -current (r338323)

2018-08-26 Thread John
Hi,

On Sun, 26 Aug 2018, at 13:02, Tomoaki AOKI wrote:
> Hi, John.
> It's broken again by r338318. (Previously broken by r338107.)
> 
> If your previous src rev is older, you could be bitten by these.
> If so, update ports tree at latest rev and try the latest single patch
> below [1]. The patch itself is [2], applicable on top of /usr/ports.
> 
> [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230780
> [2] https://bz-attachments.freebsd.org/attachment.cgi?id=196559

awesome, thank you I'll try that and let you know how I get on.
-- 
J.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: x11/nvidia-driver no longer works under -current (r338323)

2018-08-26 Thread Tomoaki AOKI
Hi, John.
It's broken again by r338318. (Previously broken by r338107.)

If your previous src rev is older, you could be bitten by these.
If so, update ports tree at latest rev and try the latest single patch
below [1]. The patch itself is [2], applicable on top of /usr/ports.

[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230780
[2] https://bz-attachments.freebsd.org/attachment.cgi?id=196559


On Sun, 26 Aug 2018 12:07:05 +0100
John  wrote:

> Hello lists,
> 
> x11/nvidia-driver is broken again. 
> 
> Context: FreeBSD-12-ALPHA3 r338323 /  ports 478102 / amd64.
> 
> Tried to build with make distclean clean rmconfig && make MAKE_JOBS_UNSAFE=yes
> 
> It fails here:
> 
> =kernel -Wno-sign-compare -Wno-format-extra-args -UDEBUG -U_DEBUG -DNDEBUG 
> -Werror=undef  -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I. -I../common/inc 
> -I. -I/usr/src/sys
>  -I/usr/src/sys/contrib/ck/include -fno-common  -fno-omit-frame-pointer 
> -mno-omit-leaf-frame-pointer   -MD  -MF.depend.nvidia_pci.o -MTnvidia_pci.o 
> -mcmodel=kernel -mno-r
> ed-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables 
> -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls 
> -Wnested-externs -Wstrict-prototy
> pes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef 
> -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs 
> -fdiagnostics-show-option -Wno-unkn
> own-pragmas -Wno-error-tautological-compare -Wno-error-empty-body 
> -Wno-error-parentheses-equality -Wno-error-unused-function 
> -Wno-error-pointer-sign -Wno-error-shift-nega
> tive-value -Wno-address-of-packed-member  -mno-aes -mno-avx  
> -std=iso9899:1999 -c nvidia_pci.c -o nvidia_pci.o
> cc  -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"390.77\" 
> -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2 
> -fno-strict-aliasing -mno-red-zone -mcmodel
> =kernel -Wno-sign-compare -Wno-format-extra-args -UDEBUG -U_DEBUG -DNDEBUG 
> -Werror=undef  -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I. -I../common/inc 
> -I. -I/usr/src/sys
>  -I/usr/src/sys/contrib/ck/include -fno-common  -fno-omit-frame-pointer 
> -mno-omit-leaf-frame-pointer   -MD  -MF.depend.nvidia_subr.o -MTnvidia_subr.o 
> -mcmodel=kernel -mno
> -red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables 
> -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls 
> -Wnested-externs -Wstrict-proto
> types -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef 
> -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs 
> -fdiagnostics-show-option -Wno-un
> known-pragmas -Wno-error-tautological-compare -Wno-error-empty-body 
> -Wno-error-parentheses-equality -Wno-error-unused-function 
> -Wno-error-pointer-sign -Wno-error-shift-ne
> gative-value -Wno-address-of-packed-member  -mno-aes -mno-avx  
> -std=iso9899:1999 -c nvidia_subr.c -o nvidia_subr.o
> *** Error code 1
> 
> Stop.
> make[4]: stopped in 
> /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-390.77/src/nvidia
> *** Error code 1
> 
> Stop.
> make[3]: stopped in 
> /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-390.77/src
> *** Error code 1
> 
> Stop.
> make[2]: stopped in 
> /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-390.77
> *** Error code 1
> 
> Stop.
> make[1]: stopped in /usr/ports/x11/nvidia-driver
> *** Error code 1
> 
> Stop.
> 
> Stop.
> make: stopped in /usr/ports/x11/nvidia-driver
> 
> I can post more output if you need it.
> 
> thanks,
> -- 
>  J.
> ___
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
> 


-- 
Tomoaki AOKI
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: x11/nvidia-driver no longer works under -current (r338323)

2018-08-26 Thread John
Hello,

On Sun, 26 Aug 2018, at 12:12, Kubilay Kocak wrote:
> On 26/08/2018 9:07 pm, John wrote:
> > Hello lists,
> > 
> > x11/nvidia-driver is broken again.
> > 
> > Context: FreeBSD-12-ALPHA3 r338323 /  ports 478102 / amd64.
> > 
> > Tried to build with make distclean clean rmconfig && make 
> > MAKE_JOBS_UNSAFE=yes
> > 
> > It fails here:
> 
> Hi John,
> 
> It fails earlier, can you find and paste the 'error: ' line(s) ?
> 
> More importantly though, ports shouldn't be using -Werror so a good 
> first step would be to identify its source and remove it.

I've put the entire output at https://rpi3.zyxst.net/errors/desktop/output2.txt

Please let me know if this is insufficient or if you need me to do anything 
else.

thanks,
-- 
J.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: x11/nvidia-driver no longer works under -current (r338323)

2018-08-26 Thread David Wolfskill
On Sun, Aug 26, 2018 at 09:12:05PM +1000, Kubilay Kocak wrote:
> ...
> > It fails here:
> 
> Hi John,
> 
> It fails earlier, can you find and paste the 'error: ' line(s) ?
> 

I expect the observed failure is related to the message Alan Cox sent
yesterday:

| Subject: Re: nvidia-driver build error (last ports, FreeBSD-HEAD)
| From: Alan Cox 
| Message-ID: <4a20ff49-9dc7-736f-9339-2bbbfae1e...@rice.edu>
| Date: Sat, 25 Aug 2018 14:48:55 -0500
| 
| ...
| The last change in this series has been committed to HEAD.  With that
| change, you will want to remove the first argument, which should be an
| arena pointer,  from kmem_free() calls.
| 
| Alan

Peace,
david
-- 
David H. Wolfskill  da...@catwhisker.org
Trump is gaslighting us: https://www.bbc.com/news/world-us-canada-44959300

See http://www.catwhisker.org/~david/publickey.gpg for my public key.


signature.asc
Description: PGP signature


Re: x11/nvidia-driver no longer works under -current (r338323)

2018-08-26 Thread Kubilay Kocak

On 26/08/2018 9:07 pm, John wrote:

Hello lists,

x11/nvidia-driver is broken again.

Context: FreeBSD-12-ALPHA3 r338323 /  ports 478102 / amd64.

Tried to build with make distclean clean rmconfig && make MAKE_JOBS_UNSAFE=yes

It fails here:


Hi John,

It fails earlier, can you find and paste the 'error: ' line(s) ?

More importantly though, ports shouldn't be using -Werror so a good 
first step would be to identify its source and remove it.



=kernel -Wno-sign-compare -Wno-format-extra-args -UDEBUG -U_DEBUG -DNDEBUG 
-Werror=undef  -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I. -I../common/inc 
-I. -I/usr/src/sys
  -I/usr/src/sys/contrib/ck/include -fno-common  -fno-omit-frame-pointer 
-mno-omit-leaf-frame-pointer   -MD  -MF.depend.nvidia_pci.o -MTnvidia_pci.o 
-mcmodel=kernel -mno-r
ed-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables 
-ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototy
pes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign 
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs 
-fdiagnostics-show-option -Wno-unkn
own-pragmas -Wno-error-tautological-compare -Wno-error-empty-body 
-Wno-error-parentheses-equality -Wno-error-unused-function 
-Wno-error-pointer-sign -Wno-error-shift-nega
tive-value -Wno-address-of-packed-member  -mno-aes -mno-avx  -std=iso9899:1999 
-c nvidia_pci.c -o nvidia_pci.o
cc  -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"390.77\" -D__KERNEL__ 
-DNVRM -Wno-unused-function -Wuninitialized -O2 -fno-strict-aliasing -mno-red-zone 
-mcmodel
=kernel -Wno-sign-compare -Wno-format-extra-args -UDEBUG -U_DEBUG -DNDEBUG 
-Werror=undef  -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I. -I../common/inc 
-I. -I/usr/src/sys
  -I/usr/src/sys/contrib/ck/include -fno-common  -fno-omit-frame-pointer 
-mno-omit-leaf-frame-pointer   -MD  -MF.depend.nvidia_subr.o -MTnvidia_subr.o 
-mcmodel=kernel -mno
-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables 
-ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-proto
types -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef 
-Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs 
-fdiagnostics-show-option -Wno-un
known-pragmas -Wno-error-tautological-compare -Wno-error-empty-body 
-Wno-error-parentheses-equality -Wno-error-unused-function 
-Wno-error-pointer-sign -Wno-error-shift-ne
gative-value -Wno-address-of-packed-member  -mno-aes -mno-avx  
-std=iso9899:1999 -c nvidia_subr.c -o nvidia_subr.o
*** Error code 1

Stop.
make[4]: stopped in 
/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-390.77/src/nvidia
*** Error code 1

Stop.
make[3]: stopped in 
/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-390.77/src
*** Error code 1

Stop.
make[2]: stopped in 
/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-390.77
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/x11/nvidia-driver
*** Error code 1

Stop.

Stop.
make: stopped in /usr/ports/x11/nvidia-driver

I can post more output if you need it.

thanks,


___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


x11/nvidia-driver no longer works under -current (r338323)

2018-08-26 Thread John
Hello lists,

x11/nvidia-driver is broken again. 

Context: FreeBSD-12-ALPHA3 r338323 /  ports 478102 / amd64.

Tried to build with make distclean clean rmconfig && make MAKE_JOBS_UNSAFE=yes

It fails here:

=kernel -Wno-sign-compare -Wno-format-extra-args -UDEBUG -U_DEBUG -DNDEBUG 
-Werror=undef  -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I. -I../common/inc 
-I. -I/usr/src/sys
 -I/usr/src/sys/contrib/ck/include -fno-common  -fno-omit-frame-pointer 
-mno-omit-leaf-frame-pointer   -MD  -MF.depend.nvidia_pci.o -MTnvidia_pci.o 
-mcmodel=kernel -mno-r
ed-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables 
-ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototy
pes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign 
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs 
-fdiagnostics-show-option -Wno-unkn
own-pragmas -Wno-error-tautological-compare -Wno-error-empty-body 
-Wno-error-parentheses-equality -Wno-error-unused-function 
-Wno-error-pointer-sign -Wno-error-shift-nega
tive-value -Wno-address-of-packed-member  -mno-aes -mno-avx  -std=iso9899:1999 
-c nvidia_pci.c -o nvidia_pci.o
cc  -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"390.77\" -D__KERNEL__ 
-DNVRM -Wno-unused-function -Wuninitialized -O2 -fno-strict-aliasing 
-mno-red-zone -mcmodel
=kernel -Wno-sign-compare -Wno-format-extra-args -UDEBUG -U_DEBUG -DNDEBUG 
-Werror=undef  -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I. -I../common/inc 
-I. -I/usr/src/sys
 -I/usr/src/sys/contrib/ck/include -fno-common  -fno-omit-frame-pointer 
-mno-omit-leaf-frame-pointer   -MD  -MF.depend.nvidia_subr.o -MTnvidia_subr.o 
-mcmodel=kernel -mno
-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables 
-ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-proto
types -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef 
-Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs 
-fdiagnostics-show-option -Wno-un
known-pragmas -Wno-error-tautological-compare -Wno-error-empty-body 
-Wno-error-parentheses-equality -Wno-error-unused-function 
-Wno-error-pointer-sign -Wno-error-shift-ne
gative-value -Wno-address-of-packed-member  -mno-aes -mno-avx  
-std=iso9899:1999 -c nvidia_subr.c -o nvidia_subr.o
*** Error code 1

Stop.
make[4]: stopped in 
/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-390.77/src/nvidia
*** Error code 1

Stop.
make[3]: stopped in 
/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-390.77/src
*** Error code 1

Stop.
make[2]: stopped in 
/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-390.77
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/x11/nvidia-driver
*** Error code 1

Stop.

Stop.
make: stopped in /usr/ports/x11/nvidia-driver

I can post more output if you need it.

thanks,
-- 
 J.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"