ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] Adding a new package to ltib's root fileystem


From: Mike Goins
Subject: Re: [Ltib] Adding a new package to ltib's root fileystem
Date: Fri, 13 Jul 2012 06:29:10 -0400

On Thu, Jul 12, 2012 at 3:20 PM, Taylor Deith <address@hidden> wrote:
> Hello Ltib Gurus,
>
>
>
> I’m trying to add php 5.4.4 to my local ltib, and I have been following the
> straightforward directions on the FAQ page. To differentiate from php-5.0.4
> as delivered on freescales board-support-package, I’ve called my package
> php-updated. I’ve set up everything correctly, in so far as I can tell, up
> to step 5; however, when I ask Ltib to prepare/unpack the package – “$
> ./ltib –m prep –p <package-name>”; i.e, step 5 – I get one of two errors.
> The first is if I refer to <package-name> without a ‘.spec’ appended,
> whereupon the script reports:
>
>
>
> Cannot find spec file that contains the package name php-updated.
>
> If necessary please give the whole spec file name (with the .spec
> extension).
>
>
>
> traceback:
>
>  main::mk_buildlist:1917
>
>   main::validate_sn:1962
>
>    main::build_rpm:726
>
>     main::f_prep:992
>
>      main:560
>
>
>
>
>
> When supplying the full spec-file name, as in “./ltib –m prep –p
> <package-name>.spec”, the script goes on to look for the package on
> bitshrine, as opposed to /opt/freescale/pkgs. This fails when it can’t find
> the package on bitshrine:
>
>
>
>
>
> Processing: php-updated
>
> ====================
>
> Build path taken because: build key set, no prebuilt rpm,
>
> Testing network connectivity
>
> OK GPP:
>
>
>
> Try PHP-5.4.4.tar.bz2.md5 from the GPP
>
> http://bitshrine.org/gpp/PHP-5.4.4.tar.bz2.md5:
>
> 07:43:25 ERROR 404: Not Found.
>
> Try PHP-5.4.4.tar.bz2 from the GPP
>
> http://bitshrine.org/gpp/PHP-5.4.4.tar.bz2:
>
> 07:43:27 ERROR 404: Not Found.
>
> Can't get: PHP-5.4.4.tar.bz2 at ./ltib line 790.


Check that you did step 2:

2. Move this tarball to the LPP so ltib can find it.

mv <my_new_package>-x.y.tar.gz /opt/freescale/pkgs/


The later section "Where do the sources get downloaded from (what is
the LPP/GPP/PPP) " explains the behavior.

Also, I generally just revision the existing php.spec instead trying
to create a duplicate.  Less trouble and version control helps.


>
>
>
>
> f_prep() returned an error, exiting
>
> traceback:
>
>  main:560
>
>
>
> Exiting on error or interrupt
>
>
>
>
>
> Is there something I’ve likely missed while following the FAQ? I’ve ruled
> out typos and version reference issues. I’ve also examined PHP-5.0.4’s .spec
> against the templated .spec, and there appears to be nothing special in the
> %Prep section for either.
>
>
> _______________________________________________
> LTIB home page: http://ltib.org
>
> Ltib mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/ltib
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]