Skip to contentSkip to conversation

[Openvpn-devel] [[email protected]...: Still Failing: OpenVPN/openvpn#874 (master - 7473f32)]

Openvpn-devel Gert Doering 2 participants 5 messages Jun 23, 2019 – Jun 30, 2019

lore
Share & tools
lore

Gert Doering

author Acked-by David Sommerseth
#0 lore raw

Hi,

travis CI builds for MacOS fail (and have failed for quite some time, it seems) because LZO is not installed as pre-requisite - the configure run in the log below ends in line 632 with

configure: error: lzo enabled but missing

... but it *should* be built by ".travis/build-deps.sh" - so it seems that script is failing. In any case it is not communicating errors back to the caller, because otherwise we'd see the output in the main travis build log...

Not sure what is needed to fix these two issues

- get output from build-deps.sh in case of failure
- make the failure go away

A naive reading of build-deps.sh seems to suggest that "build_lzo" is only ever called on MinGW cross-builds and not on MacOS - so, that would explain why it's not failing. But then, how to teach Travis that we want LZO?

Anyway, I leave this for somebody who understands Travis-CI better than I do to fix and send a patch.

gert

----- Forwarded message from Travis CI <[email protected]...> -----

Date: Sun, 23 Jun 2019 18:44:30 +0000
From: Travis CI <[email protected]...>
To: [email protected]..., [email protected]...
Subject: Still Failing: OpenVPN/openvpn#874 (master - 7473f32)

Build Update for OpenVPN/openvpn
-------------------------------------

Build: #874
Status: Still Failing

Duration: 20 mins and 54 secs
Commit: 7473f32 (master)
Author: Steffan Karger
Message: configure.ac: add lzo CFLAGS/LIBS to the test flags

This fixes "make check" builds on systems with lzo on a non-standard location.

Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg18482.html

View the changeset: https://github.com/OpenVPN/openvpn/compare/06f65a0cbfcb...7473f326366f

View the full build log and details: https://travis-ci.org/OpenVPN/openvpn/builds/549429549?utm_medium=notification&utm_source=email

--

You can unsubscribe from build emails from the OpenVPN/openvpn repository going to https://travis-ci.org/account/preferences/unsubscribe?repository=6518989&utm_medium=notification&utm_source=email.
Or unsubscribe from *all* email updating your settings at https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification&utm_source=email.
Or configure specific recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications.

----- End forwarded message -----

Signature · 6 lines
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             [email protected]...
#1 lore raw

Thank you for the investigation, Gert.
I'll have a look soon

Quoted 94 lines · Gert Doering

Hi,

travis CI builds for MacOS fail (and have failed for quite some time, it seems) because LZO is not installed as pre-requisite - the configure run in the log below ends in line 632 with

configure: error: lzo enabled but missing

... but it *should* be built by ".travis/build-deps.sh" - so it seems that script is failing. In any case it is not communicating errors back to the caller, because otherwise we'd see the output in the main travis build log...

Not sure what is needed to fix these two issues

- get output from build-deps.sh in case of failure
- make the failure go away

A naive reading of build-deps.sh seems to suggest that "build_lzo" is only ever called on MinGW cross-builds and not on MacOS - so, that would explain why it's not failing. But then, how to teach Travis that we want LZO?

Anyway, I leave this for somebody who understands Travis-CI better than I do to fix and send a patch.

gert

----- Forwarded message from Travis CI <[email protected]...> -----

Date: Sun, 23 Jun 2019 18:44:30 +0000
From: Travis CI <[email protected]...>
To: [email protected]..., [email protected]...
Subject: Still Failing: OpenVPN/openvpn#874 (master - 7473f32)

Build Update for OpenVPN/openvpn
-------------------------------------

Build: #874
Status: Still Failing

Duration: 20 mins and 54 secs
Commit: 7473f32 (master)
Author: Steffan Karger
Message: configure.ac: add lzo CFLAGS/LIBS to the test flags

This fixes "make check" builds on systems with lzo on a non-standard location.

Message-Id: <[email protected]...> URL:
https://www.mail-archive.com/[email protected]/msg18482.html

View the changeset:
https://github.com/OpenVPN/openvpn/compare/06f65a0cbfcb...7473f326366f

View the full build log and details:
https://travis-ci.org/OpenVPN/openvpn/builds/549429549?utm_medium=notification&utm_source=email

--

You can unsubscribe from build emails from the OpenVPN/openvpn repository going to
https://travis-ci.org/account/preferences/unsubscribe?repository=6518989&utm_medium=notification&utm_source=email
.
Or unsubscribe from *all* email updating your settings at
https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification&utm_source=email
.
Or configure specific recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications.

----- End forwarded message -----

--
"If was one thing all people took for granted, was conviction that if you
feed honest figures into a computer, honest figures come out. Never
doubted
it myself till I met a computer with a sense of humor."
Robert A. Heinlein, The Moon is a Harsh
Mistress

Gert Doering - Munich, Germany
[email protected]...
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#2 lore raw

I submitted a fix

https://patchwork.openvpn.net/project/openvpn2/list/?series=506

пн, 24 июн. 2019 г. в 11:17, Илья Шипицин <[email protected]...>:

Quoted 100 lines

Thank you for the investigation, Gert.
I'll have a look soon

Quoted 94 lines · Gert Doering

Hi,

travis CI builds for MacOS fail (and have failed for quite some time, it seems) because LZO is not installed as pre-requisite - the configure run in the log below ends in line 632 with

configure: error: lzo enabled but missing

... but it *should* be built by ".travis/build-deps.sh" - so it seems that script is failing. In any case it is not communicating errors back to the caller, because otherwise we'd see the output in the main travis build log...

Not sure what is needed to fix these two issues

- get output from build-deps.sh in case of failure
- make the failure go away

A naive reading of build-deps.sh seems to suggest that "build_lzo" is only ever called on MinGW cross-builds and not on MacOS - so, that would explain why it's not failing. But then, how to teach Travis that we want LZO?

Anyway, I leave this for somebody who understands Travis-CI better than I do to fix and send a patch.

gert

----- Forwarded message from Travis CI <[email protected]...> -----

Date: Sun, 23 Jun 2019 18:44:30 +0000
From: Travis CI <[email protected]...>
To: [email protected]..., [email protected]...
Subject: Still Failing: OpenVPN/openvpn#874 (master - 7473f32)

Build Update for OpenVPN/openvpn
-------------------------------------

Build: #874
Status: Still Failing

Duration: 20 mins and 54 secs
Commit: 7473f32 (master)
Author: Steffan Karger
Message: configure.ac: add lzo CFLAGS/LIBS to the test flags

This fixes "make check" builds on systems with lzo on a non-standard location.

Message-Id: <[email protected]...> URL:
https://www.mail-archive.com/[email protected]/msg18482.html

View the changeset:
https://github.com/OpenVPN/openvpn/compare/06f65a0cbfcb...7473f326366f

View the full build log and details:
https://travis-ci.org/OpenVPN/openvpn/builds/549429549?utm_medium=notification&utm_source=email

--

You can unsubscribe from build emails from the OpenVPN/openvpn repository going to
https://travis-ci.org/account/preferences/unsubscribe?repository=6518989&utm_medium=notification&utm_source=email
.
Or unsubscribe from *all* email updating your settings at
https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification&utm_source=email
.
Or configure specific recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications.

----- End forwarded message -----

--
"If was one thing all people took for granted, was conviction that if you
feed honest figures into a computer, honest figures come out. Never
doubted
it myself till I met a computer with a sense of humor."
Robert A. Heinlein, The Moon is a Harsh
Mistress

Gert Doering - Munich, Germany
[email protected]...
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#3 lore raw

Hi,

Quoted 3 lines · ???????? ??????????????

I submitted a fix

https://patchwork.openvpn.net/project/openvpn2/list/?series=506

I've seen the fix, thanks.

Do you have documentation somewhere (which I did not find) how this stuff works? That is, why is this the right fix?

(I have no idea about travis-ci but would like to understand things better)

gert

Signature · 6 lines
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             [email protected]...
#4 lore raw

Documentation lacks. The reason of failure is caching homebrew. It is not common practice, we should either drop cache or enforce update

Quoted 28 lines · Gert Doering

Hi,

Quoted 3 lines · ???????? ??????????????

I submitted a fix

https://patchwork.openvpn.net/project/openvpn2/list/?series=506

I've seen the fix, thanks.

Do you have documentation somewhere (which I did not find) how this stuff works? That is, why is this the right fix?

(I have no idea about travis-ci but would like to understand things better)

gert

--
"If was one thing all people took for granted, was conviction that if you
feed honest figures into a computer, honest figures come out. Never
doubted
it myself till I met a computer with a sense of humor."
Robert A. Heinlein, The Moon is a Harsh
Mistress

Gert Doering - Munich, Germany
[email protected]...