All of lore.kernel.org
 help / color / mirror / Atom feed
* recipe gsl-1.15
@ 2013-05-09 15:48 Edward Vidal
  2013-05-09 15:58 ` Tomas Frydrych
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Edward Vidal @ 2013-05-09 15:48 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 3133 bytes --]

Hello,
I am trying to write the recipe to add gsl-1.15 to core-image-sato.

First I did mdkir poky/meta/recipes-support/gsl

Is this the correct location for this recipe?

cp ~/POKY/gsl_1.15.bb ../meta/recipes-support/gsl/

This is the gsl_1.15.bb file
*************************************************
DESCRIPTION = "GNU Scientific Library (GSL)"
HOMEPAGE = "http://www.gnu.org/software/gsl/"

LICENSE = "GPLv3"
LIC_FILES_CHKSUM =
"file://NEWS;beginline=362;endline=363;md5=325d4344063147ef38e3ac2cbf1cc157"

SRC_URI = "http://mirror.rit.edu/gnu/gnu/gsl/gsl-${PV}.tar.gz"
SRC_URI[md5sum] = "494ffefd90eef4ada678c306bab4030b"
SRC_URI[sha256sum] =
"85b907e57902e2b7606ef3aef960302ffdd13bd9dc5b8fcbfa75e4f0bf340ea3"

S = "${WORKDIR}/gsl-${PV}"

inherit autotools
*************************************************
When I execute MACHINE=beagleboard bitbake gsl

Build Configuration:
BB_VERSION        = "1.19.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Fedora-18"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "beagleboard"
DISTRO            = "poky"
DISTRO_VERSION    = "1.3+snapshot-20130509"
TUNE_FEATURES     = "armv7a vfp neon"
TARGET_FPU        = "vfp-neon"
meta
meta-yocto
meta-yocto-bsp    = "master:84d45db4ddced96c736f106f8122eefadf925c41"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks

The fetch appears to work since in my repository I see the following:
/home/vidal/POKY/linux_src_dnloads/downloads/gsl-1.15.tar.gz
/home/vidal/POKY/linux_src_dnloads/downloads/gsl-1.15.tar.gz.done

In the file NEWS

    362 ** License updated to GNU GPL version 3.
    363
gsl-1.15]$ md5sum NEWS
325d4344063147ef38e3ac2cbf1cc157  NEWS

ERROR: gsl: The new md5 checksum is 73ea11aaa98f8c40401be7c60ee2a8e6
ERROR: gsl: Check if the license information has changed in
ERROR: Licensing Error: LIC_FILES_CHKSUM does not match, please fix
ERROR: Function failed: do_qa_configure
ERROR: Logfile of failure stored in:
/home/vidal/POKY/build050613/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/gsl/1.15-r0/temp/log.do_configure.5839
ERROR: Task 5 (/home/vidal/POKY/build050613/poky/meta/recipes-support/gsl/
gsl_1.15.bb, do_configure) failed with exit code '1'

/home/vidal/POKY/build050613/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/gsl/1.15-r0/temp/log.do_configure.5839
configure: WARNING: unrecognized options: --disable-silent-rules
DEBUG: Shell function do_configure finished
DEBUG: Executing python function do_qa_configure
NOTE: Checking autotools environment for common misconfiguration
ERROR: gsl: md5 data is not matching for
file://NEWS;beginline=362;endline=363;md5=325d4344063147ef38e3ac2cbf1cc157
ERROR: gsl: The new md5 checksum is 73ea11aaa98f8c40401be7c60ee2a8e6
ERROR: gsl: Check if the license information has changed in
ERROR: Licensing Error: LIC_FILES_CHKSUM does not match, please fix
DEBUG: Python function do_qa_configure finished

Any and all help will be appreciated.
Thanks
Ed Vidal Jr.

[-- Attachment #2: Type: text/html, Size: 3784 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: recipe gsl-1.15
  2013-05-09 15:48 recipe gsl-1.15 Edward Vidal
@ 2013-05-09 15:58 ` Tomas Frydrych
  2013-05-09 15:59 ` Burton, Ross
  2013-05-09 19:32 ` Philip Balister
  2 siblings, 0 replies; 7+ messages in thread
From: Tomas Frydrych @ 2013-05-09 15:58 UTC (permalink / raw)
  To: yocto

On 09/05/13 16:48, Edward Vidal wrote:
> "file://NEWS;beginline=362;endline=363;md5=325d4344063147ef38e3ac2cbf1cc157"

You should be hashing the actual license file, not the NEWS file. Also,
the above is only hashing one line of the file, while your md5 sum is
for the whole file.

Tomas



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: recipe gsl-1.15
  2013-05-09 15:48 recipe gsl-1.15 Edward Vidal
  2013-05-09 15:58 ` Tomas Frydrych
@ 2013-05-09 15:59 ` Burton, Ross
  2013-05-09 16:50   ` Edward Vidal
  2013-05-09 19:32 ` Philip Balister
  2 siblings, 1 reply; 7+ messages in thread
From: Burton, Ross @ 2013-05-09 15:59 UTC (permalink / raw)
  To: Edward Vidal; +Cc: yocto

Hi,

On 9 May 2013 16:48, Edward Vidal <vidal.develone@gmail.com> wrote:
> I am trying to write the recipe to add gsl-1.15 to core-image-sato.
>
> First I did mdkir poky/meta/recipes-support/gsl
>
> Is this the correct location for this recipe?

It's a perfectly valid location.  The recipes folders have no defined
structure, you can arrange them as you want.

[snip]

> Any and all help will be appreciated.

You didn't actually say what the problem is.  I presume it's the error
you're getting about your license checksum.  Well, your md5sum command
is checksumming the entire file, and your LIC_FILES_CHKSUM is
checksumming a single line of the file, so I expect them to be
different.

Is the NEWS file the only place that says the license is GPLv3?  The
NEWS file should change with every release, so it's better to use a
top-level license file or a fragment from a source file instead.

Ross


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: recipe gsl-1.15
  2013-05-09 15:59 ` Burton, Ross
@ 2013-05-09 16:50   ` Edward Vidal
  2013-05-09 16:54     ` Burton, Ross
  0 siblings, 1 reply; 7+ messages in thread
From: Edward Vidal @ 2013-05-09 16:50 UTC (permalink / raw)
  To: Burton, Ross; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 3392 bytes --]

All,
The only place I saw ** License updated to GNU GPL version 3.  was in the
NEWS file.

I modified the recipe gsl_1.15.bb as follows
DESCRIPTION = "GNU Scientific Library (GSL)"
HOMEPAGE = "http://www.gnu.org/software/gsl/"

LICENSE = "GPLv3"
LIC_FILES_CHKSUM =
"file://NEWS;beginline=361;endline=362;md5=53ae5d8d6c3464f1ac8d1d7e72e3de6b"

SRC_URI = "http://mirror.rit.edu/gnu/gnu/gsl/gsl-${PV}.tar.gz"
SRC_URI[md5sum] = "494ffefd90eef4ada678c306bab4030b"
SRC_URI[sha256sum] =
"85b907e57902e2b7606ef3aef960302ffdd13bd9dc5b8fcbfa75e4f0bf340ea3"

S = "${WORKDIR}/gsl-${PV}"

inherit autotools

Now when I do the following:
MACHINE=beagleboard bitbake gsl
Loading cache: 100% |###########################################| ETA:
00:00:00
Loaded 1135 entries from dependency cache.
Parsing recipes: 100% |#########################################| Time:
00:00:00
Parsing of 825 .bb files complete (824 cached, 1 parsed). 1134 targets, 44
skipped, 0 masked, 0 errors.

Build Configuration:
BB_VERSION        = "1.19.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Fedora-18"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "beagleboard"
DISTRO            = "poky"
DISTRO_VERSION    = "1.3+snapshot-20130509"
TUNE_FEATURES     = "armv7a vfp neon"
TARGET_FPU        = "vfp-neon"
meta
meta-yocto
meta-yocto-bsp    = "master:84d45db4ddced96c736f106f8122eefadf925c41"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 692 tasks of which 680 didn't need to be
rerun and all succeeded.

In /home/vidal/POKY/build050613/poky/build/tmp/deploy/rpm/armv7a_vfp_neon I
see the following RPMs
ls gsl*
gsl-1.15-r0.armv7a_vfp_neon.rpm      gsl-doc-1.15-r0.armv7a_vfp_neon.rpm
gsl-dbg-1.15-r0.armv7a_vfp_neon.rpm
gsl-staticdev-1.15-r0.armv7a_vfp_neon.rpm
gsl-dev-1.15-r0.armv7a_vfp_neon.rpm

My question do I have to install the RPMS manually or when I do bitbake
core-image-sato-sdk-ex will these become part of the
core-image-sato-sdk-ex-beagleboard-20130506115850.rootfs.tar.bz2 or do I
have do something else.

What is the procedure to make this part of the Yocto project.

Any and all help will be appreciated.
Thanks
Ed Vidal Jr.


On Thu, May 9, 2013 at 9:59 AM, Burton, Ross <ross.burton@intel.com> wrote:

> Hi,
>
> On 9 May 2013 16:48, Edward Vidal <vidal.develone@gmail.com> wrote:
> > I am trying to write the recipe to add gsl-1.15 to core-image-sato.
> >
> > First I did mdkir poky/meta/recipes-support/gsl
> >
> > Is this the correct location for this recipe?
>
> It's a perfectly valid location.  The recipes folders have no defined
> structure, you can arrange them as you want.
>
> [snip]
>
> > Any and all help will be appreciated.
>
> You didn't actually say what the problem is.  I presume it's the error
> you're getting about your license checksum.  Well, your md5sum command
> is checksumming the entire file, and your LIC_FILES_CHKSUM is
> checksumming a single line of the file, so I expect them to be
> different.
>
> Is the NEWS file the only place that says the license is GPLv3?  The
> NEWS file should change with every release, so it's better to use a
> top-level license file or a fragment from a source file instead.
>
> Ross
>

[-- Attachment #2: Type: text/html, Size: 4485 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: recipe gsl-1.15
  2013-05-09 16:50   ` Edward Vidal
@ 2013-05-09 16:54     ` Burton, Ross
  2013-05-09 17:13       ` Edward Vidal
  0 siblings, 1 reply; 7+ messages in thread
From: Burton, Ross @ 2013-05-09 16:54 UTC (permalink / raw)
  To: Edward Vidal; +Cc: yocto

On 9 May 2013 17:50, Edward Vidal <vidal.develone@gmail.com> wrote:
> The only place I saw ** License updated to GNU GPL version 3.  was in the
> NEWS file.

GNU software typically includes a COPYING file with the license terms
in, use that entire file.

Ross


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: recipe gsl-1.15
  2013-05-09 16:54     ` Burton, Ross
@ 2013-05-09 17:13       ` Edward Vidal
  0 siblings, 0 replies; 7+ messages in thread
From: Edward Vidal @ 2013-05-09 17:13 UTC (permalink / raw)
  To: Burton, Ross; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 1464 bytes --]

Hello,
Below is the current gs_1.15.bb
DESCRIPTION = "GNU Scientific Library (GSL)"
HOMEPAGE = "http://www.gnu.org/software/gsl/"

LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"

SRC_URI = "http://mirror.rit.edu/gnu/gnu/gsl/gsl-${PV}.tar.gz"
SRC_URI[md5sum] = "494ffefd90eef4ada678c306bab4030b"
SRC_URI[sha256sum] =
"85b907e57902e2b7606ef3aef960302ffdd13bd9dc5b8fcbfa75e4f0bf340ea3"

S = "${WORKDIR}/gsl-${PV}"

inherit autotools

I currently running "MACHINE=beagleboard bitbake core-image-sato-sdk-ex"
which I use to include boost and qt-mobility-x11

meta/recipes-sato/imagescore-image-sato-sdk-ex
require core-image-sato.bb

DESCRIPTION = "Image with Sato support that includes everything within \
core-image-sato plus meta-toolchain, development headers and libraries to \
form a standalone SDK."

IMAGE_FEATURES += "dev-pkgs tools-sdk qt4-pkgs \
        tools-debug eclipse-debug tools-profile tools-testapps debug-tweaks
ssh-server-openssh "

IMAGE_INSTALL += "kernel-dev boost qt-mobility-x11"
Thanks Ed Vidal


On Thu, May 9, 2013 at 10:54 AM, Burton, Ross <ross.burton@intel.com> wrote:

> On 9 May 2013 17:50, Edward Vidal <vidal.develone@gmail.com> wrote:
> > The only place I saw ** License updated to GNU GPL version 3.  was in the
> > NEWS file.
>
> GNU software typically includes a COPYING file with the license terms
> in, use that entire file.
>
> Ross
>

[-- Attachment #2: Type: text/html, Size: 2310 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: recipe gsl-1.15
  2013-05-09 15:48 recipe gsl-1.15 Edward Vidal
  2013-05-09 15:58 ` Tomas Frydrych
  2013-05-09 15:59 ` Burton, Ross
@ 2013-05-09 19:32 ` Philip Balister
  2 siblings, 0 replies; 7+ messages in thread
From: Philip Balister @ 2013-05-09 19:32 UTC (permalink / raw)
  To: Edward Vidal; +Cc: yocto

There is already a recipe for gsl in meta-oe:

./meta-oe/recipes-support/gsl/gsl_1.12.bb

We be happy to take a patch to update it to a current gsl.

Philip

On 05/09/2013 11:48 AM, Edward Vidal wrote:
> Hello,
> I am trying to write the recipe to add gsl-1.15 to core-image-sato.
> 
> First I did mdkir poky/meta/recipes-support/gsl
> 
> Is this the correct location for this recipe?
> 
> cp ~/POKY/gsl_1.15.bb ../meta/recipes-support/gsl/
> 
> This is the gsl_1.15.bb file
> *************************************************
> DESCRIPTION = "GNU Scientific Library (GSL)"
> HOMEPAGE = "http://www.gnu.org/software/gsl/"
> 
> LICENSE = "GPLv3"
> LIC_FILES_CHKSUM =
> "file://NEWS;beginline=362;endline=363;md5=325d4344063147ef38e3ac2cbf1cc157"
> 
> SRC_URI = "http://mirror.rit.edu/gnu/gnu/gsl/gsl-${PV}.tar.gz"
> SRC_URI[md5sum] = "494ffefd90eef4ada678c306bab4030b"
> SRC_URI[sha256sum] =
> "85b907e57902e2b7606ef3aef960302ffdd13bd9dc5b8fcbfa75e4f0bf340ea3"
> 
> S = "${WORKDIR}/gsl-${PV}"
> 
> inherit autotools
> *************************************************
> When I execute MACHINE=beagleboard bitbake gsl
> 
> Build Configuration:
> BB_VERSION        = "1.19.0"
> BUILD_SYS         = "x86_64-linux"
> NATIVELSBSTRING   = "Fedora-18"
> TARGET_SYS        = "arm-poky-linux-gnueabi"
> MACHINE           = "beagleboard"
> DISTRO            = "poky"
> DISTRO_VERSION    = "1.3+snapshot-20130509"
> TUNE_FEATURES     = "armv7a vfp neon"
> TARGET_FPU        = "vfp-neon"
> meta
> meta-yocto
> meta-yocto-bsp    = "master:84d45db4ddced96c736f106f8122eefadf925c41"
> 
> NOTE: Resolving any missing task queue dependencies
> NOTE: Preparing runqueue
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> 
> The fetch appears to work since in my repository I see the following:
> /home/vidal/POKY/linux_src_dnloads/downloads/gsl-1.15.tar.gz
> /home/vidal/POKY/linux_src_dnloads/downloads/gsl-1.15.tar.gz.done
> 
> In the file NEWS
> 
>     362 ** License updated to GNU GPL version 3.
>     363
> gsl-1.15]$ md5sum NEWS
> 325d4344063147ef38e3ac2cbf1cc157  NEWS
> 
> ERROR: gsl: The new md5 checksum is 73ea11aaa98f8c40401be7c60ee2a8e6
> ERROR: gsl: Check if the license information has changed in
> ERROR: Licensing Error: LIC_FILES_CHKSUM does not match, please fix
> ERROR: Function failed: do_qa_configure
> ERROR: Logfile of failure stored in:
> /home/vidal/POKY/build050613/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/gsl/1.15-r0/temp/log.do_configure.5839
> ERROR: Task 5 (/home/vidal/POKY/build050613/poky/meta/recipes-support/gsl/
> gsl_1.15.bb, do_configure) failed with exit code '1'
> 
> /home/vidal/POKY/build050613/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/gsl/1.15-r0/temp/log.do_configure.5839
> configure: WARNING: unrecognized options: --disable-silent-rules
> DEBUG: Shell function do_configure finished
> DEBUG: Executing python function do_qa_configure
> NOTE: Checking autotools environment for common misconfiguration
> ERROR: gsl: md5 data is not matching for
> file://NEWS;beginline=362;endline=363;md5=325d4344063147ef38e3ac2cbf1cc157
> ERROR: gsl: The new md5 checksum is 73ea11aaa98f8c40401be7c60ee2a8e6
> ERROR: gsl: Check if the license information has changed in
> ERROR: Licensing Error: LIC_FILES_CHKSUM does not match, please fix
> DEBUG: Python function do_qa_configure finished
> 
> Any and all help will be appreciated.
> Thanks
> Ed Vidal Jr.
> 
> 
> 
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
> 


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-05-09 19:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-09 15:48 recipe gsl-1.15 Edward Vidal
2013-05-09 15:58 ` Tomas Frydrych
2013-05-09 15:59 ` Burton, Ross
2013-05-09 16:50   ` Edward Vidal
2013-05-09 16:54     ` Burton, Ross
2013-05-09 17:13       ` Edward Vidal
2013-05-09 19:32 ` Philip Balister

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.