* PRserver support broken in Dora?
@ 2014-03-27 6:02 Holger Hans Peter Freyther
2014-03-27 8:28 ` Richard Purdie
2014-03-27 11:37 ` Martin Jansa
0 siblings, 2 replies; 4+ messages in thread
From: Holger Hans Peter Freyther @ 2014-03-27 6:02 UTC (permalink / raw)
To: poky
Good Morning,
I am sorry to be a bit vagued. I have an in-house application, I modified
the CONFFILES_${PN} line of app-name_git.bb and then issued bitbake app-name.
My expectation was that somehow the signature will be different app-name
will be re-built and the resulting PKGR will be r1.X+1.
In practice nothing is being re-built. JaMa pointed out I can use the
"bitbake -S" option to display the signature but when doing "bitbake -S
app-name" nothing relevant will be printed on the screen. I tried to use
strace to see if it writes to a file but the trace is way too long to
find something relevant.
My local.conf is added below. Could it be that the AUTOPR handling in
Dora is broken? Any idea of where I can look at to see why the revisions
are never incremented?
holger
change to the recipe:
@@ -13,7 +13,7 @@ DEPENDS = "qtbase libsystemd-qt tufao1"
inherit qmake5
FILES_${PN} += "${systemd_unitdir}"
-CONFFILES_${PN} = "${sysconfdir}/sysctl.d/99-sysmocom-forwarding.conf"
+CONFFILES_${PN} = "${sysconfdir}/sysctl.d/99-sysmocom-forwarding.conf ${sysconfdir}/somedir"
do_install() {
# Install the main application
local.conf:
MACHINE ??= "sysmobts-v2"
DISTRO ?= "poky"
PACKAGE_CLASSES ?= "package_ipk"
EXTRA_IMAGE_FEATURES = "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K"
CONF_VERSION = "1"
DISTRO_FEATURES_append = " systemd "
VIRTUAL-RUNTIME_init_manager = "systemd"
MACHINE_FEATURES_BACKFILL_CONSIDERED = "rtc"
FULL_OPTIMIZATION="-O2 -pipe ${DEBUG_FLAGS} -fno-omit-frame-pointer"
DEBUGFILEDIRECTORY-dbg = "/usr/lib/debug"
PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src"
PRSERV_HOST = "localhost:0"
INHERIT += "rm_work"
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: PRserver support broken in Dora?
2014-03-27 6:02 PRserver support broken in Dora? Holger Hans Peter Freyther
@ 2014-03-27 8:28 ` Richard Purdie
2014-05-12 13:50 ` Holger Hans Peter Freyther
2014-03-27 11:37 ` Martin Jansa
1 sibling, 1 reply; 4+ messages in thread
From: Richard Purdie @ 2014-03-27 8:28 UTC (permalink / raw)
To: Holger Hans Peter Freyther; +Cc: poky
On Thu, 2014-03-27 at 07:02 +0100, Holger Hans Peter Freyther wrote:
> I am sorry to be a bit vagued. I have an in-house application, I modified
> the CONFFILES_${PN} line of app-name_git.bb and then issued bitbake app-name.
> My expectation was that somehow the signature will be different app-name
> will be re-built and the resulting PKGR will be r1.X+1.
>
> In practice nothing is being re-built. JaMa pointed out I can use the
> "bitbake -S" option to display the signature but when doing "bitbake -S
> app-name" nothing relevant will be printed on the screen. I tried to use
> strace to see if it writes to a file but the trace is way too long to
> find something relevant.
>
> My local.conf is added below. Could it be that the AUTOPR handling in
> Dora is broken? Any idea of where I can look at to see why the revisions
> are never incremented?
Looking at the code, I suspect this is a bug which still exists in
master. I think fix is to find this in meta/classes/package.bbclass:
# Since bitbake can't determine which variables are accessed during package
# iteration, we need to list them here:
PACKAGEVARS = "FILES RDEPENDS RRECOMMENDS SUMMARY DESCRIPTION RSUGGESTS RPROVIDES RCONFLICTS PKG ALLOW_EMPTY pkg_postinst pkg_postrm INITSCRIPT_NAME INITSCRIPT_PARAMS DEBIAN_NOAUTONAME ALTERNATIVE PKGE PKGV PKGR USERADD_PARAM GROUPADD_PARAM"
and add CONFFILES to that list. The sstate checksum will then reflect
changes to CONFFILES.
Can you see if that helps?
Cheers,
Richard
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: PRserver support broken in Dora?
2014-03-27 6:02 PRserver support broken in Dora? Holger Hans Peter Freyther
2014-03-27 8:28 ` Richard Purdie
@ 2014-03-27 11:37 ` Martin Jansa
1 sibling, 0 replies; 4+ messages in thread
From: Martin Jansa @ 2014-03-27 11:37 UTC (permalink / raw)
To: Holger Hans Peter Freyther; +Cc: poky
[-- Attachment #1: Type: text/plain, Size: 2421 bytes --]
On Thu, Mar 27, 2014 at 07:02:04AM +0100, Holger Hans Peter Freyther wrote:
> Good Morning,
>
> I am sorry to be a bit vagued. I have an in-house application, I modified
> the CONFFILES_${PN} line of app-name_git.bb and then issued bitbake app-name.
> My expectation was that somehow the signature will be different app-name
> will be re-built and the resulting PKGR will be r1.X+1.
>
> In practice nothing is being re-built. JaMa pointed out I can use the
> "bitbake -S" option to display the signature but when doing "bitbake -S
> app-name" nothing relevant will be printed on the screen. I tried to use
> strace to see if it writes to a file but the trace is way too long to
> find something relevant.
STAMPS_DIR (tmp-eglibc/stamps)
> My local.conf is added below. Could it be that the AUTOPR handling in
> Dora is broken? Any idea of where I can look at to see why the revisions
> are never incremented?
>
> holger
>
> change to the recipe:
> @@ -13,7 +13,7 @@ DEPENDS = "qtbase libsystemd-qt tufao1"
> inherit qmake5
>
> FILES_${PN} += "${systemd_unitdir}"
>
> -CONFFILES_${PN} = "${sysconfdir}/sysctl.d/99-sysmocom-forwarding.conf"
> +CONFFILES_${PN} = "${sysconfdir}/sysctl.d/99-sysmocom-forwarding.conf ${sysconfdir}/somedir"
>
> do_install() {
> # Install the main application
>
>
> local.conf:
> MACHINE ??= "sysmobts-v2"
> DISTRO ?= "poky"
> PACKAGE_CLASSES ?= "package_ipk"
> EXTRA_IMAGE_FEATURES = "debug-tweaks"
> USER_CLASSES ?= "buildstats image-mklibs image-prelink"
> PATCHRESOLVE = "noop"
> BB_DISKMON_DIRS = "\
> STOPTASKS,${TMPDIR},1G,100K \
> STOPTASKS,${DL_DIR},1G,100K \
> STOPTASKS,${SSTATE_DIR},1G,100K \
> ABORT,${TMPDIR},100M,1K \
> ABORT,${DL_DIR},100M,1K \
> ABORT,${SSTATE_DIR},100M,1K"
> CONF_VERSION = "1"
>
> DISTRO_FEATURES_append = " systemd "
> VIRTUAL-RUNTIME_init_manager = "systemd"
>
> MACHINE_FEATURES_BACKFILL_CONSIDERED = "rtc"
>
> FULL_OPTIMIZATION="-O2 -pipe ${DEBUG_FLAGS} -fno-omit-frame-pointer"
> DEBUGFILEDIRECTORY-dbg = "/usr/lib/debug"
> PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src"
> PRSERV_HOST = "localhost:0"
>
> INHERIT += "rm_work"
> --
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: PRserver support broken in Dora?
2014-03-27 8:28 ` Richard Purdie
@ 2014-05-12 13:50 ` Holger Hans Peter Freyther
0 siblings, 0 replies; 4+ messages in thread
From: Holger Hans Peter Freyther @ 2014-05-12 13:50 UTC (permalink / raw)
To: Richard Purdie; +Cc: poky
On Thu, Mar 27, 2014 at 08:28:49AM +0000, Richard Purdie wrote:
Hi,
> Can you see if that helps?
sorry. I never got around to test it. I notice that you added a
commit to poky on the 7th of April. I assume the issue is resolved?
holger
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-05-12 13:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-27 6:02 PRserver support broken in Dora? Holger Hans Peter Freyther
2014-03-27 8:28 ` Richard Purdie
2014-05-12 13:50 ` Holger Hans Peter Freyther
2014-03-27 11:37 ` Martin Jansa
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.