FreeNAS 11.2-RC1 --> any day now

Status
Not open for further replies.

hervon

Patron
Joined
Apr 23, 2012
Messages
353
So it did not go so well after all. After upgrading to RC1 I cannot install Urbackup anymore in a jail. I get an error went using the make command. I'm lost. This version of urbackup 2.3.3 worked fine before ...

Code:
make			
make  all-recursive
Making all in .
c++ -DHAVE_CONFIG_H -I.  -I/usr/local/include -I/usr/local/include   -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5  -DNDEBUG  -I/usr/include -I/usr/include -D_THREAD_SAFE -pthread -DLINUX -DSTATIC_PLUGIN   -DVARDIR='"/usr/local/var"'  -DBINDIR='"/usr/local/bin"' -DDATADIR='"/usr/local/share"'	-g -O2 -MT urbackupsrv-Server.o -MD -MP -MF .deps/urbackupsrv-Server.Tpo -c -o urbackupsrv-Server.o `test -f 'Server.cpp' || echo './'`Server.cpp
In file included from Server.cpp:44:
./md5.h:149:2: error: unknown type name 'byte'; did you mean 'CryptoPP::byte'?
		byte digest[CryptoPP::Weak::MD5::DIGESTSIZE];
		^~~~
		CryptoPP::byte
/usr/local/include/cryptopp/config.h:237:23: note: 'CryptoPP::byte' declared here
typedef unsigned char byte;
					  ^
In file included from Server.cpp:52:
In file included from ./utf8/utf8.h:31:
./utf8/utf8/checked.h:120:58: warning: '&' within '|' [-Wbitwise-op-parentheses]
			*(result++) = static_cast<uint8_t>((cp >> 6) & 0x3f	 | 0x80);
											   ~~~~~~~~~~^~~~~~	 ~
./utf8/utf8/checked.h:120:58: note: place parentheses around the '&' expression to silence this warning
			*(result++) = static_cast<uint8_t>((cp >> 6) & 0x3f	 | 0x80);
														 ^
											   (			   )
./utf8/utf8/checked.h:125:58: warning: '&' within '|' [-Wbitwise-op-parentheses]
			*(result++) = static_cast<uint8_t>((cp >> 12)& 0x3f	 | 0x80);
											   ~~~~~~~~~~^~~~~~	 ~
./utf8/utf8/checked.h:125:58: note: place parentheses around the '&' expression to silence this warning
			*(result++) = static_cast<uint8_t>((cp >> 12)& 0x3f	 | 0x80);
														 ^
											   (			   )
./utf8/utf8/checked.h:126:58: warning: '&' within '|' [-Wbitwise-op-parentheses]
			*(result++) = static_cast<uint8_t>((cp >> 6) & 0x3f	 | 0x80);
											   ~~~~~~~~~~^~~~~~	 ~
./utf8/utf8/checked.h:126:58: note: place parentheses around the '&' expression to silence this warning
			*(result++) = static_cast<uint8_t>((cp >> 6) & 0x3f	 | 0x80);
														 ^
											   (			   )
In file included from Server.cpp:52:
In file included from ./utf8/utf8.h:32:
./utf8/utf8/unchecked.h:48:62: warning: '&' within '|' [-Wbitwise-op-parentheses]
				*(result++) = static_cast<uint8_t>((cp >> 6) & 0x3f   | 0x80);
												   ~~~~~~~~~~^~~~~~   ~
./utf8/utf8/unchecked.h:48:62: note: place parentheses around the '&' expression to silence this warning
				*(result++) = static_cast<uint8_t>((cp >> 6) & 0x3f   | 0x80);
															 ^
												   (			   )
./utf8/utf8/unchecked.h:53:62: warning: '&' within '|' [-Wbitwise-op-parentheses]
				*(result++) = static_cast<uint8_t>((cp >> 12)& 0x3f   | 0x80);
												   ~~~~~~~~~~^~~~~~   ~
./utf8/utf8/unchecked.h:53:62: note: place parentheses around the '&' expression to silence this warning
				*(result++) = static_cast<uint8_t>((cp >> 12)& 0x3f   | 0x80);
															 ^
												   (			   )
./utf8/utf8/unchecked.h:54:62: warning: '&' within '|' [-Wbitwise-op-parentheses]
				*(result++) = static_cast<uint8_t>((cp >> 6) & 0x3f   | 0x80);
												   ~~~~~~~~~~^~~~~~   ~
./utf8/utf8/unchecked.h:54:62: note: place parentheses around the '&' expression to silence this warning
				*(result++) = static_cast<uint8_t>((cp >> 6) & 0x3f   | 0x80);
															 ^
												   (			   )
6 warnings and 1 error generated.
*** Error code 1

Stop.
make[2]: stopped in /urbackup/urbackup-server-2.3.3.0
*** Error code 1

Stop.
make[1]: stopped in /urbackup/urbackup-server-2.3.3.0
*** Error code 1

Stop.
make: stopped in /urbackup/urbackup-server-2.3.3.0
 
Last edited:

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Did you install and update the ports tree before you tried to install it?
 

hervon

Patron
Joined
Apr 23, 2012
Messages
353
Did you install and update the ports tree before you tried to install it?

This is what I did. Is that right ?
portsnap extract
portsnap fetch
portsnap update
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
portsnap fetch extract update You have to fetch the updates before you can extract them and then update the ports tree for the first time. Further updates just run portsnap fetch update
 

hervon

Patron
Joined
Apr 23, 2012
Messages
353
portsnap fetch extract update You have to fetch the updates before you can extract them and then update the ports tree for the first time. Further updates just run portsnap fetch update
Just tried it. Same issue. :( I'm lost.
 

hervon

Patron
Joined
Apr 23, 2012
Messages
353
I managed to 'make' urbackup successfully by reverting cryptopp from 7.0.0 to 5.6.5_4. I still get those warnings though. Any clue ?
 

enemy85

Guru
Joined
Jun 10, 2011
Messages
757
You can run the migration script to create new iocage jails based on the warden ones, then delete the warden ones when you are happy to live with only the iocage ones.

just updated 11.1-U6 -> 11.2 RC1
old plugins still works, even if not listed in the new gui (neither the jails).
where do i found the migration script? i'd like to give it a try
 

emk2203

Guru
Joined
Nov 11, 2012
Messages
573
update to RC1 from BETA 3:
vi broken in jails
devfs rules sets not working any more
=> vpn jails Ko (device tun unavailable)
=> dhcpjail KO (devicce bpf unavailable)

rollback to beta 3 every things ok
Can confirm here with my system. How is it possible that vi is broken?
 

ronclark

Dabbler
Joined
Dec 5, 2017
Messages
40
I upgraded from 11.1.U6 to 11.2.RC. I was excited to see all the new updates.
well I had to go back to 11.1.U6 sadly. smb was slow and dropped connections, slow UI with time outs.
I guess I'll wait for the next release update.
I love that I can choose my boot environment.

I am running a R710 with 20g of Ram and 3vdevs in raidz1
 

Rusty!

Dabbler
Joined
May 24, 2017
Messages
20
just updated 11.1-U6 -> 11.2 RC1
old plugins still works, even if not listed in the new gui (neither the jails).
where do i found the migration script? i'd like to give it a try
It's called migrate_warden.py
 

manzoo

Dabbler
Joined
Aug 2, 2018
Messages
13
i tried also with an upgrade to RC2, no result even if the referenced bug was solved.
-DHCP server not working due to the lack of bpf device
-openvpn clients and server due to the lack of tun devices
 
Status
Not open for further replies.
Top