lzo2 2.07-2/2.08-1 breaks OpenVPN

Problems with packages? Post here, using [tags] of the package name.

Re: lzo2 2.07-2/2.08-1 breaks OpenVPN

Postby archon » Thu Oct 02, 2014 9:28 pm

rhester72's link is broken for me. Can anyone reupload?
archon
 
Posts: 11
Joined: Thu Aug 28, 2014 5:32 pm

Re: lzo2 2.07-2/2.08-1 breaks OpenVPN

Postby Socaltom » Thu Oct 02, 2014 11:09 pm

for my 2 cents, I believe my openvpn connection is faster without the lzo compression. ( at least on my Pogoplug). Its likely a different story on a faster processor.
Tom
used to be owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
used to be Adminstrator for
Goflex net, Black V3, Black V2
Now I have a couple of raspberry pi ( 3+ and 4)
Socaltom
 
Posts: 571
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side

Re: lzo2 2.07-2/2.08-1 breaks OpenVPN

Postby hydro » Fri Oct 03, 2014 10:35 am

$this->bbcode_second_pass_quote('archon', 'r')hester72's link is broken for me. Can anyone reupload?

My posting contains a (less prominently positioned) link to the package I use.
VDR on DockStar / Pogoplug E02: http://linux.bplaced.net/
hydro
 
Posts: 210
Joined: Wed Jun 15, 2011 2:03 pm
Location: Germany

Re: lzo2 2.07-2/2.08-1 breaks OpenVPN

Postby archon » Sun Oct 05, 2014 9:30 am

Thanks, it worked. pacman -Syu keeps asking to replace lzo2 with lzo, so I added it to IgnorePkg.
archon
 
Posts: 11
Joined: Thu Aug 28, 2014 5:32 pm

Re: lzo2 2.07-2/2.08-1 breaks OpenVPN

Postby mpadilla2 » Fri Nov 21, 2014 8:04 pm

Looks like the lzo PKGBUILD has
$this->bbcode_second_pass_code('', 'pkgname=lzo')

but then has
$this->bbcode_second_pass_code('', 'provides=("lzo2=$pkgver")
replaces=('lzo2')
conflicts=('lzo2')')

On my alarm installation on pogo e02 I have the same problem with openvpn not working due to lzo2. However, on my system the pkgname shows as lzo which matches the above and is in keeping with the rename of lzo2 to lzo . But as can be seen above it will "provide" lzo2. So even though all packages have been changed to depend on lzo, the lzo package itself still "provides" lzo2 which is not in keeping with the rename of lzo2 to lzo.

I've installed abs, copied /var/abs/core/lzo to my home directory and built it using the following modified in the PKGBUILD using hydro's suggestion as a base. It's working great so far:

increment package release:
$this->bbcode_second_pass_code('', 'pkgrel=4')

update provides, replaces, conflicts with lzo. Some users may still have lzo2 installed while others may have lzo. To address this just include both in provides, replaces, conflicts.:
$this->bbcode_second_pass_code('', 'provides=("lzo2=$pkgver" "lzo=$pkgver")
replaces=('lzo2' 'lzo')
conflicts=('lzo2' 'lzo')')

add CFLAG to allow building on arm otherwise tests fail on my pogo e02 and it doesn't build:
$this->bbcode_second_pass_code('', 'CFLAGS="-DLZO_DEBUG" ./configure --prefix=/usr --enable-shared')

This problem is in upstream archlinux. I've been searching everywhere I can think of to determine how to submit a change to this PKGBUILD in upstream but cannot locate it. If anyone knows how let me know.

Also, since I had to add a CFLAG to get it to build on pogo e02 I believe this can be added to archlinuxarm PKGBUILDs.
mpadilla2
 
Posts: 44
Joined: Sat Mar 08, 2014 6:59 pm

Re: lzo2 2.07-2/2.08-1 breaks OpenVPN

Postby WarheadsSE » Fri Nov 21, 2014 9:53 pm

Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: lzo2 2.07-2/2.08-1 breaks OpenVPN

Postby mpadilla2 » Fri Nov 21, 2014 10:23 pm

Done. Bug for lzo. Thank you!
mpadilla2
 
Posts: 44
Joined: Sat Mar 08, 2014 6:59 pm

Re: lzo2 2.07-2/2.08-1 breaks OpenVPN

Postby mpadilla2 » Fri Nov 21, 2014 11:23 pm

Ok. great learning experience!

No changes needed. Just a rebuild of lzo and install will allow openvpn to work.
mpadilla2
 
Posts: 44
Joined: Sat Mar 08, 2014 6:59 pm

Re: lzo2 2.07-2/2.08-1 breaks OpenVPN

Postby Guidobelix » Tue Nov 25, 2014 7:36 am

Thank you for that, I will try tonight! I have been fighting with that problem for a while, to the point that I have decided to stick with an old rootfs that I know is working.
Question for the developers: dooes that mean that there is a problem with the binary file in the repos? Otherwise I don't see why a simple recompile should fix the issue.... :?:
Guidobelix
 
Posts: 45
Joined: Fri Jun 21, 2013 6:52 am

Re: lzo2 2.07-2/2.08-1 breaks OpenVPN

Postby mpadilla2 » Tue Nov 25, 2014 4:57 pm

In the bug that I had opened they recommended comparing the repo package to the recompile that I did from the abs pull. I have not had the chance to do that yet since Thanksgiving is right around the corner. However, I do intend on doing the comparison to see what is different. If it ends up being a bug I will open a new ticket unless someone else beats me to it!
mpadilla2
 
Posts: 44
Joined: Sat Mar 08, 2014 6:59 pm

PreviousNext

Return to Packages

Who is online

Users browsing this forum: No registered users and 2 guests