This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

package not found

I've been trying to recover my software back to yesterday's build. Copies of various versions of the software exist on different machines (Windows and Linux). I managed to get a copy onto my Linux box. I did a make clean, make, installed it, and tested it. Everything was good.

Then I started making some changes on the Windows box (CCS library project for the codec itself) to get rid of some warnings. I zipped up the codec library directory on the Windows box and emailed it to myself on the Linux box. I then overwrote the Linux copy. I tried a make clean, make, but the build fails. The error is:

---------------------------------------------------------------------------------------------------------------------

# configuring vqm_results_server.x674 from package/cfg/vqm_results_server_x674.cfg ...
/opt/ti_tools/xdctools_3_10_05_61/xs -Dxdc.path=".;../DspServer;../DspServer/myCompany/vqm_results/ce/package;/opt/ti_tools/framework_components_2_22_01/packages;/opt/ti_tools/xdais_6_22_01/packages;/opt/ti_tools/framework_components_2_22_01/fctools/packages;/opt/ti_tools/bios_5_33_03/packages;/opt/ti_tools/biosutils_1_02_01/packages;/opt/ti_tools/linuxutils_2_22_01/packages;/opt/ti_tools/dsplink-1_61-prebuilt/packages;/opt/ti_tools/codec_engine_2_22/packages;/opt/ti_tools/codec_engine_2_22/examples;../DspServer/packages;../DspServer/myCompany/z1_servers/vqm_results_server;/opt/ti_tools/xdctools_3_10_05_61/packages;../../.." -Dxdc.root=/opt/ti_tools/xdctools_3_10_05_61 -Dxdc.hostOS=Linux -Dconfig.importPath=".;.;../DspServer;../DspServer/myCompany/vqm_results/ce/package;/opt/ti_tools/framework_components_2_22_01/packages;/opt/ti_tools/xdais_6_22_01/packages;/opt/ti_tools/framework_components_2_22_01/fctools/packages;/opt/ti_tools/bios_5_33_03/packages;/opt/ti_tools/biosutils_1_02_01/packages;/opt/ti_tools/linuxutils_2_22_01/packages;/opt/ti_tools/dsplink-1_61-prebuilt/packages;/opt/ti_tools/codec_engine_2_22/packages;/opt/ti_tools/codec_engine_2_22/examples;../DspServer/packages;../DspServer/myCompany/z1_servers/vqm_results_server;/opt/ti_tools/xdctools_3_10_05_61/packages;../../..;/opt/ti_tools/xdctools_3_10_05_61;/opt/ti_tools/xdctools_3_10_05_61/etc ;/opt/ti_tools/bios_5_33_03/packages/ti/bios/include" -Dxdc.bld.targets="" -DTOOLS=  -Dxdc.cfg.check.fatal=false xdc.cfg vqm_results_server.x674 package/cfg/vqm_results_server_x674.cfg package/cfg/vqm_results_server_x674
platform   = ti.platforms.evmOMAPL137
js: "/opt/ti_tools/xdctools_3_10_05_61/packages/xdc/xdc.tci", line 299: xdc.services.global.XDCException: xdc.PACKAGE_NOT_FOUND: can't locate the package 'myCompany.vqm_results.ce' along the path: '.;../DspServer;../DspServer/myCompany/vqm_results/ce/package;/opt/ti_tools/framework_components_2_22_01/packages;/opt/ti_tools/xdais_6_22_01/packages;/opt/ti_tools/framework_components_2_22_01/fctools/packages;/opt/ti_tools/bios_5_33_03/packages;/opt/ti_tools/biosutils_1_02_01/packages;/opt/ti_tools/linuxutils_2_22_01/packages;/opt/ti_tools/dsplink-1_61-prebuilt/packages;/opt/ti_tools/codec_engine_2_22/packages;/opt/ti_tools/codec_engine_2_22/examples;../DspServer/packages;../DspServer/myCompany/z1_servers/vqm_results_server;/opt/ti_tools/xdctools_3_10_05_61/packages;../../..;'. Ensure that the package path is set correctly.
    "./codec.cfg", line 8
    "./server.cfg", line 82
    "./package/cfg/vqm_results_server_x674.cfg", line 769
    "./package/cfg/vqm_results_server_x674.cfg", line 728
gmake[1]: *** [package/cfg/vqm_results_server_x674.xdl] Error 1
gmake[1]: *** [package/cfg/vqm_results_server_x674.xdl] Deleting file `package/cfg/vqm_results_server_x674cfg.cmd'
gmake[1]: *** [package/cfg/vqm_results_server_x674.xdl] Deleting file `package/cfg/vqm_results_server_x674cfg_c.c'
gmake[1]: *** [package/cfg/vqm_results_server_x674.xdl] Deleting file `package/cfg/vqm_results_server_x674cfg.s62'
gmake: *** [../DspServer/myCompany/z1_servers/vqm_results_server,.executables] Error 2
make: *** [.all-packages] Error 2

------------------------------------------------------------------------------------------

I thought that perhaps I had lost a file, so I went to my reserved copy to restore the missing file. I can't find a file that is missing. Then I thought that I should just re-generate the package. Surely that would fix the problem. Turns out that the genpackage tool is no longer on my machine. I suppose this happened when we changed xdstools from 3_10_03 to 3_10_5_61. I looked for some instructions about how to generate the package, but I can't find them.

Can someone point me in the right direction? I'd prefer to fix the problem without regenerating the package, but I'll settle for anything that fixes the make...

  • Flamingo said:
    js: "/opt/ti_tools/xdctools_3_10_05_61/packages/xdc/xdc.tci", line 299: xdc.services.global.XDCException: xdc.PACKAGE_NOT_FOUND: can't locate the package 'myCompany.vqm_results.ce' along the path: '.;../DspServer;../DspServer/myCompany/vqm_results/ce/package;/opt/ti_tools/framework_components_2_22_01/packages;/opt/ti_tools/xdais_6_22_01/packages;/opt/ti_tools/framework_components_2_22_01/fctools/packages;/opt/ti_tools/bios_5_33_03/packages;/opt/ti_tools/biosutils_1_02_01/packages;/opt/ti_tools/linuxutils_2_22_01/packages;/opt/ti_tools/dsplink-1_61-prebuilt/packages;/opt/ti_tools/codec_engine_2_22/packages;/opt/ti_tools/codec_engine_2_22/examples;../DspServer/packages;../DspServer/myCompany/z1_servers/vqm_results_server;/opt/ti_tools/xdctools_3_10_05_61/packages;../../..;'. Ensure that the package path is set correctly.

    Do you have "myCompany.vqm_results.ce" along the XDCPATH listed?  (FWIW, you should be able to remove the path above in red... that's a generated directory that I hope you haven't copied other packages into.)

    If all you did was copy a new codec .lib file over a pre-existing one, you really shouldn't have to re-build your codec package.

    There are some other debugging tips at the xdc.PACKAGE_NOT_FOUND error description here:

    http://rtsc.eclipse.org/docs-tip/XDCtools_Error_Codes#xdc.PACKAGE_NOT_FOUND

    Chris

  • Actually, I added that part in red because I hoped that it would solve the problem. The build worked fine before I added it.

    As it turned out, I rebooted the Linux box and it fixed the problem. Now if you have any ideas why that would work, let me know...[:)]