Patchwork [1/2] cronie: upgrade to 1.4.11

login
register
mail settings
Submitter Cristiana Voicu
Date Aug. 16, 2013, 8:30 a.m.
Message ID <f9e441cc3a1beefe5e6463ed1db730f8803af38c.1376641437.git.cristiana.voicu@intel.com>
Download mbox | patch
Permalink /patch/55915/
State New
Headers show

Comments

Cristiana Voicu - Aug. 16, 2013, 8:30 a.m.
LIC_FILES_CHKSUM changed because cron.h doesn't exist anymore.
Replaced it with cron.c.

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
---
 .../cronie/{cronie_1.4.9.bb => cronie_1.4.11.bb}   |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
 rename meta/recipes-extended/cronie/{cronie_1.4.9.bb => cronie_1.4.11.bb} (92%)
Paul Eggleton - Aug. 19, 2013, 8:24 a.m.
Hi Cristiana,

On Friday 16 August 2013 11:30:49 Cristiana Voicu wrote:
> LIC_FILES_CHKSUM changed because cron.h doesn't exist anymore.
> Replaced it with cron.c.
>...

A couple of people have reported this doesn't build, and I've confirmed it this morning:

| mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 --sysroot=/media/large/tmp/sysroots/qemumips -DHAVE_CONFIG_H -I. -I/media/large/tmp/work/mips32-poky-linux/cronie/1.4.11-r0/cronie-1.4.11/src -I..     -O2 -pipe -g -feliminate-unused-debug-types -c /media/large/tmp/work/mips32-poky-linux/cronie/1.4.11-r0/cronie-1.4.11/src/database.c
| /media/large/tmp/work/mips32-poky-linux/cronie/1.4.11-r0/cronie-1.4.11/src/security.c:32:27: fatal error: cronie_common.h: No such file or directory
|  #include "cronie_common.h"
|                            ^
| compilation terminated.
| /media/large/tmp/work/mips32-poky-linux/cronie/1.4.11-r0/cronie-1.4.11/src/crontab.c:59:27: fatal error: cronie_common.h: No such file or directory
|  #include "cronie_common.h"
|                            ^
| compilation terminated.
| make[3]: *** [security.o] Error 1
| make[3]: *** Waiting for unfinished jobs....
| make[3]: *** [crontab.o] Error 1
| /media/large/tmp/work/mips32-poky-linux/cronie/1.4.11-r0/cronie-1.4.11/src/cron.c:52:27: fatal error: cronie_common.h: No such file or directory
|  #include "cronie_common.h"
|                            ^
| compilation terminated.
| make[3]: *** [cron.o] Error 1
| make[3]: Leaving directory `/media/large/tmp/work/mips32-poky-linux/cronie/1.4.11-r0/build/src'
| make[2]: *** [all] Error 2
| make[2]: Leaving directory `/media/large/tmp/work/mips32-poky-linux/cronie/1.4.11-r0/build/src'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/media/large/tmp/work/mips32-poky-linux/cronie/1.4.11-r0/build'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (log file is located at /media/large/tmp/work/mips32-poky-linux/cronie/1.4.11-r0/temp/log.do_compile.22142)

Cheers,
Paul
Paul Eggleton - Aug. 19, 2013, 8:31 a.m.
On Monday 19 August 2013 09:24:54 Paul Eggleton wrote:
> Hi Cristiana,
> 
> On Friday 16 August 2013 11:30:49 Cristiana Voicu wrote:
> > LIC_FILES_CHKSUM changed because cron.h doesn't exist anymore.
> > Replaced it with cron.c.
> >
> >...
> 
> A couple of people have reported this doesn't build, and I've confirmed it
> this morning:

Ah, I see Saul already sent a patch for this, sorry I didn't see it before.

Cheers,
Paul
Cristiana Voicu - Aug. 20, 2013, 6:23 a.m.
Hi Paul,

I saw the error today, yesterday I was ooo. Sorry for the mistake.
Cristiana

-----Original Message-----
From: Paul Eggleton [mailto:paul.eggleton@linux.intel.com] 
Sent: Monday, August 19, 2013 11:31 AM
To: Voicu, Cristiana
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH 1/2] cronie: upgrade to 1.4.11

On Monday 19 August 2013 09:24:54 Paul Eggleton wrote:
> Hi Cristiana,
> 
> On Friday 16 August 2013 11:30:49 Cristiana Voicu wrote:
> > LIC_FILES_CHKSUM changed because cron.h doesn't exist anymore.
> > Replaced it with cron.c.
> >
> >...
> 
> A couple of people have reported this doesn't build, and I've 
> confirmed it this morning:

Ah, I see Saul already sent a patch for this, sorry I didn't see it before.

Cheers,
Paul

Patch

diff --git a/meta/recipes-extended/cronie/cronie_1.4.9.bb b/meta/recipes-extended/cronie/cronie_1.4.11.bb
similarity index 92%
rename from meta/recipes-extended/cronie/cronie_1.4.9.bb
rename to meta/recipes-extended/cronie/cronie_1.4.11.bb
index b338c37..5b12448 100644
--- a/meta/recipes-extended/cronie/cronie_1.4.9.bb
+++ b/meta/recipes-extended/cronie/cronie_1.4.11.bb
@@ -9,7 +9,7 @@  BUGTRACKER = "mmaslano@redhat.com"
 # Internet Systems Consortium License
 LICENSE = "ISC & BSD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=963ea0772a2adbdcd607a9b2ec320c11 \
-                    file://src/cron.h;endline=20;md5=b425c334265026177128353a142633b4 \
+                    file://src/cron.c;endline=20;md5=b425c334265026177128353a142633b4 \
                     file://src/popen.c;beginline=3;endline=31;md5=edd50742d8def712e9472dba353668a9"
 
 SECTION = "utils"
@@ -18,8 +18,6 @@  DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
 RDEPENDS_${PN} = "${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_DEPS}', '', d)}"
 PAM_DEPS = "libpam libpam-runtime pam-plugin-access pam-plugin-loginuid"
 
-PR = "r0"
-
 SRC_URI = "https://fedorahosted.org/releases/c/r/cronie/cronie-${PV}.tar.gz \
            file://crond.init \
            file://crontab \
@@ -28,8 +26,8 @@  SRC_URI = "https://fedorahosted.org/releases/c/r/cronie/cronie-${PV}.tar.gz \
 PAM_SRC_URI = "file://crond_pam_config.patch"
 
 
-SRC_URI[md5sum] = "9133195e5e6f824ef460f5ccc533f1b7"
-SRC_URI[sha256sum] = "bd7f6f118460c452bd1217a24b80fd3c000425d3de28731b98354a81a2133e92"
+SRC_URI[md5sum] = "2ba645cf54de17f138ef70312843862f"
+SRC_URI[sha256sum] = "fd08084cedddbb42499f80ddb7f2158195c3555c2ff40ee11d4ece2f9864d7be"
 
 inherit autotools update-rc.d useradd