From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ip2.televic.com ([81.82.194.222]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1SbXGM-0004q2-Q8 for ptxdist@pengutronix.de; Mon, 04 Jun 2012 15:24:06 +0200 From: De Smedt Johannes Date: Mon, 4 Jun 2012 15:24:00 +0200 Message-ID: <4FCCB6F0.2090100@televic.com> Content-Type: multipart/mixed; boundary="_004_4FCCB6F02090100televiccom_" MIME-Version: 1.0 Subject: [ptxdist] update package Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: "ptxdist@pengutronix.de" --_004_4FCCB6F02090100televiccom_ Content-Type: multipart/alternative; boundary="_000_4FCCB6F02090100televiccom_" --_000_4FCCB6F02090100televiccom_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I wanted to update the version of one of the local source packages I use (f= sl-mm-codeclib). So I edited the .make file in the rules directory. The onl= y thing that I changed, is the version (from 1.9.6 to 2.0.3) and the md5 ch= ecksum. I changed nothing else in the file. After changing the .make file; I ran "ptxdist clean fsl-mm-codeclib" follow= ed by "ptxdist go" This is the error I get: ------------------------------------- target: fsl-mm-codeclib.targetinstall ------------------------------------- install_init: preparing for image creation of 'fsl-mm-codeclib'... install_init: @ARCH@ -> armel install_init: @PACKAGE@ -> fsl-mm-codeclib install_init: @VERSION@ -> 2.0.3 install_init: @DEPENDS@ -> install_init: preinst not available install_init: postinst not available install_init: prerm not available install_init: postrm not available install_fixup: @PRIORITY@ -> optional ... done. install_fixup: @SECTION@ -> base ... done. install_fixup: @AUTHOR@ -> "Michael Olbrich <= mailto:m.olbrich\@pengutronix.de>" ... done. install_fixup: @DESCRIPTION@ -> missing ... done. xpkg_finish: collecting license (unknown) ... done. xpkg_finish: creating opkg package ... Error: ptxd_lib_install: cannot find library 'lib_mp3_dec_arm9_elinux'! failed I looked at the ptxdist sources and found the errormessage in scripts/lib/p= txd_make_xpkg_pkg.sh After some analisys, I discovered that the ptxd_lib_install failed because = the find command (on line 636 from scripts/lib/ptxd_make_xpkg_pkg.sh) retur= ned 2 filenames (the .so and the .so.2.10.0). I tried limiting the find to only return one result, but without success. F= inally I remove the '*' after '.so' so only the .so file would be found. This made the fsl-mm-codeclib.targetinstall successfull, but other calls we= re now unsuccessfull. I have successfully built all my packages by adding/removing the * in the s= ource (& recompiling ptxdist). Now my questions: 1) Why did the targetinstall fail in the first place (the only thing that c= hanged was the package version (the install_lib command was already there) 2) Since my fix isn't really a fix (other things fail); how can I fix the b= uild? Regards, Johannes -- [cid:part1.00080907.05010208@televic.com] Johannes De Smedt R&D Associate www.televic.com Mobile +32 499 644 686 Televic NV * Leo Bekaertlaan 1 * 8870 Izegem * Belgium Company number 0402.757.955 * RPR Kortrijk --_000_4FCCB6F02090100televiccom_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable =20 Hi,

I wanted to update the version of one of the local source packages I use (fsl-mm-codeclib). So I edited the .make file in the rules directory. The only thing that I changed, is the version (from 1.9.6 to 2.0.3) and the md5 checksum. I changed nothing else in the file.
After changing the .make file; I ran "ptxdist clean fsl-mm-codeclib" followed by "ptxdist go"
This is the error I get:
-------------------------------------
target: fsl-mm-codeclib.targetinstall
-------------------------------------

install_init:    preparing for image creation of 'fsl-mm-codeclib'...
install_init:    @ARCH@ -> armel
install_init:    @PACKAGE@ -> fsl-mm-codeclib
install_init:    @VERSION@ -> 2.0.3
install_init:    @DEPENDS@ ->
install_init:    preinst not available
install_init:    postinst not available
install_init:    prerm not available
install_init:    postrm not available
install_fixup:    @PRIORITY@ -> optional ... done.<= br> install_fixup:    @SECTION@ -> base ... done.
install_fixup:    @AUTHOR@ -> "Michael Olbrich <m.olbrich\@pengutronix.de>" ... done.
install_fixup:    @DESCRIPTION@ -> missing ... done= .
xpkg_finish:    collecting license (unknown) ... done.=
xpkg_finish:    creating opkg package ...
Error: ptxd_lib_install: cannot find library 'lib_mp3_dec_arm9_elinux'!
failed

I looked at the ptxdist sources and found the errormessage in scripts/lib/ptxd_make_xpkg_pkg.sh
After some analisys, I discovered that the ptxd_lib_install failed because the find command (on line 636 from scripts/lib/ptxd_make_xpkg_pkg.sh) returned 2 filenames (the .so and the .so.2.10.0).
I tried limiting the find to only return one result, but without success. Finally I remove the '*' after '.so' so only the .so file would be found.
This made the fsl-mm-codeclib.targetinstall successfull, but other calls were now unsuccessfull.

I have successfully built all my packages by adding/removing the * in the source (& recompiling ptxdist).

Now my questions:
1) Why did the targetinstall fail in the first place (the only thing that changed was the package version (the install_lib command was already there)
2) Since my fix isn't really a fix (other things fail); how can I fix the build?

Regards,
Johannes

--

3D"Televi=

Johannes De Smedt

R&D Associate

 

 

www.televic.com

Mobile +32 499 644 686

 

 

Televic NV • Leo Bekaertlaan 1 • 8870 Izegem • B= elgium
Company number 0402.757.955 ̶= 6; RPR Kortrijk

 

--_000_4FCCB6F02090100televiccom_-- --_004_4FCCB6F02090100televiccom_ Content-Type: image/gif; name="logo.gif" Content-Description: logo.gif Content-Disposition: attachment; filename="logo.gif"; size=1431; creation-date="Mon, 04 Jun 2012 15:24:00 GMT"; modification-date="Mon, 04 Jun 2012 15:24:00 GMT" Content-ID: Content-Transfer-Encoding: base64 R0lGODlhzQBdAMQAAP///6nQRtTnounz0b/cdIiIiLu7u0RERPr888nijPT56K7TUnd3d9/tuVVV VWZmZuTwxbTWXbnZac/ll9nqrt3d3czMzMTfgO7u7u/23KqqqpmZmTMzMyIiIhEREQAAACH5BAAA AAAALAAAAADNAF0AAAX/ICCOZGmeaKqubOu+cCzPdG3feK7vfO//wKBwSCwaj8ikcslsOp/QqHRK rVqv2Kx2y+16v+CweEwum8/otHrNbrvf8Lh8Tq/b7/i8fs/v+/+AgYKDhIWGhz0CAYsEV4qMiESP AY1Wk5WRQZeOi5R3GQShBBlPm5admHQ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F1AyQAYXTUAFRxQgANAa2CyAxh0fbUG YRfAgAYkbF3AARgY0AHQI4zNgMombw0A0UaTzQDQY89dQdciDD543Et7cPbfdy+tONAGcDA3ABqU jDYAbvt9ANdCa811/+EPwG2FAWK7jXLoFSAttNKAc7404AYY8MDSrFvgQO0lGB3107IDgDIHtXPw N9BG127B67Mj//ftqDOO+PTJQy800Si3bgADuIuActSIux480lWQL0LT4mPwwAOHM39817Vv0P4I GFjwM97ni/B7CeADQDzRsdOdATTgvtjZLn7S81r+NnBAA7SMfFgzwO6m1zLYhe19iIua+aawwaaJ Dm/ry18FyEY2zJ1tfiIY4dZMp7+S0W16eVua/h4XOxVernAOQOHkEpg/talsh+Tr3AGW1rmyOeAA F/zg+PAnsiY68YlQjKIUp0jFKlrxiljMoha3yMUuevGLYAyjGMdIxhQymvGMaEyjGtfIxja68Y1w rFgIAAA7 --_004_4FCCB6F02090100televiccom_ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --_004_4FCCB6F02090100televiccom_--