Op Sat, 12 Apr 2014 10:19:32 -0400
schreef Dennis Worthem <dwort...@msn.com>:

> `/home/dennis/temp/linux/gns4/linux-3.2.54/debian/build/build_i386_none_686-pae'
> set -o pipefail; \ find debian/linux-image-3.2.0-4gnewsense1-686-pae
> -name '*.ko' | sed
> 's|debian/linux-image-3.2.0-4gnewsense1-686-pae/lib/modules/3.2.0-4gnewsense1-686-pae/kernel/||'
> | while read module ; do \ objcopy
> --add-gnu-debuglink=debian/build/build_i386_none_686-pae/$module
> debian/linux-image-3.2.0-4gnewsense1-686-pae/lib/modules/3.2.0-4gnewsense1-686-pae/kernel/$module
> || exit; \ done objcopy: warning: could not create temporary file
> whilst copying
> 'debian/linux-image-3.2.0-4gnewsense1-686-pae/lib/modules/3.2.0-4gnewsense1-686-pae/kernel/debian/linux-image-3.2.0-4gnewsense1-686-pae/lib/modules/3.2.54-gnu1/kernel/net/l2tp/l2tp_eth.ko',
> (error: No such file or directory) make[2]: ***

find looks for *.ko file and then sed is supposed to strip some of the
path. You should run the find command by itself and see what paths it
outputs. I suspect that the sed command should be

s|debian/linux-image-3.2.0-4gnewsense1-686-pae/lib/modules/3.2.54-gnu1/kernel/||

Judging by debian/rules.real, the string seems to depend on
REAL_VERSION, which in turn depends on ABINAME. But as far as I can
tell the latter is set as it should be. Requires further investigation.

_______________________________________________
gNewSense-dev mailing list
gNewSense-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/gnewsense-dev

Reply via email to