On Tue, 13 Feb 2007, Anders Norrbring <[EMAIL PROTECTED]> wrote:-

>All of a sudden, my create_package_descr fails to complete.. I haven't
>edited anything by myself, so if there has been changes introduced,
>they've been made by the 10.2 system auto-update.
>
>Can someone please advice?
>
># create_package_descr -d rpm/ -o setup/descr/ -x setup/descr/EXTRA_PROV
>
>
>using settings:
>datadirs: rpm/
>languages: english
>output dir: setup/descr/
> is not a directory: ignoring
>extra_provides: setup/descr/EXTRA_PROV
>Can't call method "size" on an undefined value at
>/usr/bin/create_package_descr line 171.
>.......................................................................
>...........

I had the same problem which was caused by broken links[0]. My
solution[1] was to get rid of them using:

find -L -type l -exec rm '{}' \;

Check to see if you have a zero-byte file or a broken link under rpm/.
You'll probably find that was the cause.


[0] I create a local mirror of the update server using rsync, and then
run create_package_descr on my local mirror. For some reason, some of
the links created by rsync point to non-existent files and
create_package_descr was falling over because of it.

[1] The second solution was to use --exclude src/*.spm as another option
for rsync.

Regards,
        David Bolt

-- 
Member of Team Acorn checking nodes at 50 Mnodes/s: http://www.distributed.net/
AMD1800 1GB WinXP/SUSE 9.3  | AMD2400 256MB SuSE 9.3  | A3010 4MB RISCOS 3.11
AMD2600(64) 512MB SUSE 10.0 | AMD2400 768MB SUSE 10.0 | A4000 4MB RISCOS 3.11
AMD2800(64) 512MB SUSE 10.1 | RPC600 129MB RISCOS 3.6 | Falcon 14MB TOS 4.02
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to