Moin,

Erwin Rol wrote:
> The current master seems to be broken causing strange things to happen.
> I already talked about it with Marc on IRC but wanted to report it here
> too because maybe someone else has the same problems and is wondering why.
> 
> What i see is repeatedly errors like;
> 
> *** Error: Directory
> /data/Clients/Annax/Projects/ABE/RET/bsp/ECM945/os/platform-ECM945/packages/gst-plugins-good.tmp/ipkg
> does not exist
> 
> i686-n270-linux-gnu-strip: Warning:
> '/home/erwin/abe/RET/bsp/ECM945/os/platform-ECM945/packages/dbus.tmp/ipkg/usr/bin/dbus-cleanup-sockets'
> is not an ordinary file
> 
> install link:
>    src=libxcb.so.1.1.0
>    dst=/usr/lib/libxcb.so
> *** Error: Directory
> /home/erwin/abe/RET/bsp/ECM945/os/platform-ECM945/packages/libxcb.tmp/ipkg
> does not exist
> failed.
> make: ***
> [/home/erwin/abe/RET/bsp/ECM945/os/platform-ECM945/state/libxcb.targetinstall]
> Error 1
> 
> Those all seem to try to want to access a packages/PACKEGE.tmp/
> directory after that directory has already been deleted.

The original code is to create an ipkg and then regardless of success or
not clean up and return with the original error value.
I changed the code not to clean up in the error case and I see:

an error:
> started : dbus-python.targetinstall
> *** Error: Directory 
> /home/mkl/himalia-pengutronix/bsp/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-ARM-reference/packages/dbus-python.tmp/ipkg
>  does not exist

but the directory has been created.

> [...@himalia:ipkg]$ ll 
> /home/mkl/himalia-pengutronix/bsp/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-ARM-reference/packages/dbus-python.tmp/ipkg
> total 0
> drwxr-xr-x 4 mkl ptx 30 2010-03-17 23:50 ./
> drwxr-xr-x 3 mkl ptx 17 2010-03-17 23:50 ../
> drwxr-xr-x 2 mkl ptx 20 2010-03-17 23:50 CONTROL/
> drwxr-xr-x 3 mkl ptx 16 2010-03-17 23:50 usr/

mol pointed out it might be the other way round. ipkg might be running
before the directories are actually created. I'll investigate that.

> 
> I also saw the following error;
> 
> install link:
>   src=libxcb.so.1.1.0
>   dst=/usr/lib/libxcb.so
> tar: ./usr/lib/libxcb-randr.so: file changed as we read it
> Packaged contents of
> /home/erwin/abe/RET/bsp/ECM945/os/platform-ECM945/packages/libxcb.tmp/ipkg
> into
> /home/erwin/abe/RET/bsp/ECM945/os/platform-ECM945/packages/libxcb_1.5_i386.ipk
> 
> done.
> finished target libxcb.targetinstall
> 
> there it seems someone it trying to package things before some other
> stage is done.
> 
> 
> All those errors seem to point to some timing problem, and than a commit
> with a comment like "[install] handle all
> install_{copy,link,node,alternative} delayed in a script" sounds a bit
> scary.

I'll do a bisect to identify the offending commit.

cheers, Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
ptxdist mailing list
[email protected]

Reply via email to