Attention is currently required from: pespin, fixeria.
Hello Jenkins Builder, fixeria, pespin,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/libosmo-pfcp/+/31741
to look at the new patch set (#3).
Change subject: build: fix linking gen__pfcp_ies_auto to use build-tree libosmo-gtlv
......................................................................
build: fix linking gen__pfcp_ies_auto to use build-tree libosmo-gtlv
Resolve some confusion in src/libosmo-pfcp/Makefile.am:
It builds
- the libosmo-pfcp library.
- the gen__pfcp_ies_auto tool to be used at build time.
The library has its own LDFLAGS directive, so it does not used the
global AM_LDFLAGS.
So there is no point to have AM_LDFLAGS, and then additional
gen__pfcp_ies_auto__LDADD, just have a gen__pfcp_ies_auto__LDFLAGS.
Put the locally built dependency libosmo-gtlv.la first in this LDFLAGS,
so that libtool takes it from the build tree, not a system installed lib
(if any).
Still keep the AM_CFLAGS, needed for #include paths for building
libosmo-pfcp objects. However, no vty #includes are used, so drop
LIBOSMOVTY_CFLAGS.
Related: OS#5942
Change-Id: I2e92238b214d8e79bab1095d6093139bad05bc66
---
M src/libosmo-pfcp/Makefile.am
1 file changed, 31 insertions(+), 10 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-pfcp refs/changes/41/31741/3
--
To view, visit https://gerrit.osmocom.org/c/libosmo-pfcp/+/31741
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-pfcp
Gerrit-Branch: master
Gerrit-Change-Id: I2e92238b214d8e79bab1095d6093139bad05bc66
Gerrit-Change-Number: 31741
Gerrit-PatchSet: 3
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newpatchset
Attention is currently required from: pespin, fixeria.
Hello Jenkins Builder, fixeria, pespin,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/libosmo-pfcp/+/31741
to look at the new patch set (#2).
Change subject: build: fix linking gen__pfcp_ies_auto to use build-tree libosmo-gtlv
......................................................................
build: fix linking gen__pfcp_ies_auto to use build-tree libosmo-gtlv
Resolve some confusion in src/libosmo-pfcp/Makefile.am:
It builds
- the libosmo-pfcp library.
- the gen__pfcp_ies_auto tool to be used at build time.
The library has its own LDFLAGS directive, so it does not used the
global AM_LDFLAGS.
So there is no point to have AM_LDFLAGS, and then additional
gen__pfcp_ies_auto__LDADD, just have a gen__pfcp_ies_auto__LDFLAGS.
Put the locally built dependency libosmo-gtlv.la first in this LDFLAGS,
so that libtool takes it from the build tree, not a system installed lib
(if any).
Still keep the AM_CFLAGS, needed for #include paths for building
libosmo-pfcp objects.
Related: OS#5942
Change-Id: I2e92238b214d8e79bab1095d6093139bad05bc66
---
M src/libosmo-pfcp/Makefile.am
1 file changed, 30 insertions(+), 10 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-pfcp refs/changes/41/31741/2
--
To view, visit https://gerrit.osmocom.org/c/libosmo-pfcp/+/31741
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-pfcp
Gerrit-Branch: master
Gerrit-Change-Id: I2e92238b214d8e79bab1095d6093139bad05bc66
Gerrit-Change-Number: 31741
Gerrit-PatchSet: 2
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newpatchset
Attention is currently required from: pespin, fixeria.
neels has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmo-pfcp/+/31741 )
Change subject: build: fix linking gen__pfcp_ies_auto to use build-tree libosmo-gtlv
......................................................................
Patch Set 1:
(1 comment)
File src/libosmo-pfcp/Makefile.am:
https://gerrit.osmocom.org/c/libosmo-pfcp/+/31741/comment/7f30d7fa_0347fc4c
PS1, Line 68: gen__pfcp_ies_auto_LDFLAGS
> this is the same fix: LDADD I presume appends libs to the AM_LDFLAGS from above. […]
erm ok, of course there is some linking phase for the library and it has LDFLAGS.
What i meant is the library linking doesn't need to link the actual objects it depends on -- so the LDFLAGS for libosmo-pfcp doesn't need to link libosmocore.so or libosmogsm.so. And what i meant is the library has its own LDFLAGS directive, so it doesn't use the global AM_LDFLAGS directive.
building the library still needs the CFLAGS for the #includes from the .c/.h files.
only the gen__pfcp_... tool needs to add the actual FOO_LIBS to LDFLAGS to build the executable. so it will have its own LDFLAGS now.
--
To view, visit https://gerrit.osmocom.org/c/libosmo-pfcp/+/31741
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-pfcp
Gerrit-Branch: master
Gerrit-Change-Id: I2e92238b214d8e79bab1095d6093139bad05bc66
Gerrit-Change-Number: 31741
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 09 Mar 2023 00:12:41 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: neels <nhofmeyr(a)sysmocom.de>
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: pespin, fixeria.
neels has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmo-pfcp/+/31741 )
Change subject: build: fix linking gen__pfcp_ies_auto to use build-tree libosmo-gtlv
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
also gen__pfcp_ies_auto is a build-time tool to generate TLV parsing code. So I guess no coverage analysis (presume is what COVERAGE is all about) is even needed for this. right? so i'll jst drop COVERAGE
--
To view, visit https://gerrit.osmocom.org/c/libosmo-pfcp/+/31741
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-pfcp
Gerrit-Branch: master
Gerrit-Change-Id: I2e92238b214d8e79bab1095d6093139bad05bc66
Gerrit-Change-Number: 31741
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 09 Mar 2023 00:03:26 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: pespin, fixeria.
neels has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmo-pfcp/+/31741 )
Change subject: build: fix linking gen__pfcp_ies_auto to use build-tree libosmo-gtlv
......................................................................
Patch Set 1:
(1 comment)
File src/libosmo-pfcp/Makefile.am:
https://gerrit.osmocom.org/c/libosmo-pfcp/+/31741/comment/2d5cf2d4_f0584f21
PS1, Line 68: gen__pfcp_ies_auto_LDFLAGS
> Regarding order: lower level libs (eg libosmcoore) should be *after* the libs depending on it. […]
this is the same fix: LDADD I presume appends libs to the AM_LDFLAGS from above. Since AM_LDFLAGS include LIBOSMOCORE_LIBS, then the local lib is appended by LDADD after libosmocore, which then fails. By using LDFLAGS, not LDADD, the order is being fixed, because no other libs are listed before libosmo-gtlv.a.
Now from a different angle, linking is only done for built programs. Since this Makefile.am builds only a library (not linked) and the gen__pfcp... program (linked), that means the global AM_LDFLAGS only applies to this gen__pfcp program anyway, so it makes no sense to set AM_LDFLAGS and then also have a separate LDFLAGS for the gen__pfcp program. I can just use either the global AM_LDFLAGS or a gen_pfcp_..._LDFLAGS. Hope this is correct now... certainly works on my box.
re: "COVERAGE_LDFLAGS should be in gen__pfcp_ies_auto_LDFLAGS . Why are they mixed up?"
But so far I don't understand why you would say that COVERAGE has to be in LDFLAGS, when both LDFLAGS and LDADD just end up adding cmdline args to the linker. should COVERAGE come first??
I presume LDFLAGS and LDADD are the same thing, one replaces the earlier LDFLAGS and the other doesn't replace but just append? I have no idea about COVERAGE_LDFLAGS, if that needs fixing let's do it in a separate patch. I don't even know what COVERAGE is supposed to do... just took it from another build tree.
--
To view, visit https://gerrit.osmocom.org/c/libosmo-pfcp/+/31741
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-pfcp
Gerrit-Branch: master
Gerrit-Change-Id: I2e92238b214d8e79bab1095d6093139bad05bc66
Gerrit-Change-Number: 31741
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 09 Mar 2023 00:01:10 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: comment
neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-pfcp/+/31760 )
Change subject: libosmo-pfcp.pc: move libosmogsm to Requires
......................................................................
libosmo-pfcp.pc: move libosmogsm to Requires
It appears Requires.private is not working as intended. Moving to
Requires seems to fix the problem I am seeing on my machine:
CCLD unique_ids_test
/usr/bin/ld: /usr/local/lib/libosmo-pfcp.so: undefined reference to `osmo_apn_to_str'
/usr/bin/ld: /usr/local/lib/libosmo-pfcp.so: undefined reference to `osmo_apn_from_str'
Change-Id: I319173c1fab068dfe1361ae6cd02f729461d4cf8
---
M libosmo-pfcp.pc.in
1 file changed, 17 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-pfcp refs/changes/60/31760/1
diff --git a/libosmo-pfcp.pc.in b/libosmo-pfcp.pc.in
index 58a6164..cafbdd3 100644
--- a/libosmo-pfcp.pc.in
+++ b/libosmo-pfcp.pc.in
@@ -6,7 +6,6 @@
Name: Osmocom PFCP library
Description: C Utility Library that implements the PFCP protocol and endpoint
Version: @VERSION@
-Requires: libosmo-gtlv, libosmocore, talloc
-Requires.private: libosmogsm
+Requires: libosmo-gtlv, libosmogsm, libosmocore, talloc
Libs: -L${libdir} -losmo-pfcp
Cflags: -I${includedir}/
--
To view, visit https://gerrit.osmocom.org/c/libosmo-pfcp/+/31760
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-pfcp
Gerrit-Branch: master
Gerrit-Change-Id: I319173c1fab068dfe1361ae6cd02f729461d4cf8
Gerrit-Change-Number: 31760
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-MessageType: newchange
Attention is currently required from: neels.
Hello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-msc/+/31742
to look at the new patch set (#2).
Change subject: make: doc/sequence_charts: use wildcards for EXTRA_DIST and CLEANFILES
......................................................................
make: doc/sequence_charts: use wildcards for EXTRA_DIST and CLEANFILES
Both EXTRA_DIST and CLEANFILES had missing entries. It is easy to
forget to keep them up to date. Rather use wildcards to always pick up
all relevant files.
(Not adding *.dot because there are no .dot charts here, yet.)
Change-Id: I3a18e4608a310169d7c9cd9c1b8ac9015a990920
---
M doc/sequence_charts/Makefile.am
1 file changed, 17 insertions(+), 8 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/42/31742/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/31742
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I3a18e4608a310169d7c9cd9c1b8ac9015a990920
Gerrit-Change-Number: 31742
Gerrit-PatchSet: 2
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Attention: neels <nhofmeyr(a)sysmocom.de>
Gerrit-MessageType: newpatchset