having issues building nard

Ronny Nilsson rln-nard at arbetsmyra.dyndns.org
Sat Aug 23 23:32:33 CEST 2014


Do you get the circular symlink error by doing _nothing_ but a make 
consoleserver after extracting the SDK, or have you done _ANY_ changes? 
Tweaking the Makefiles can be intricate. The website documentation of those 
parts isn't finished yet. A good Hello World example is missing as well, it's 
on the todo-list.

You are using Debian 7.4, right? I've done testing with Debian 7.5 and had no 
such problems. :-/  I guess you have seen it already, but the instructions 
are in the website:
http://www.arbetsmyra.dyndns.org/nard/help.html#builddebian

/Ronny


---------------------------------------------------
> huh . i tried that and it didn't help . then i tried to just rm -rf
> and start from scratch and do a make consoleserver
>
> this time i end w/
>
> ```
> make[2]: Circular busybox-1.22.1 <- busybox-1.22.1 dependency dropped.
> make[2]: Circular
> /home/timball/junk/work/raspberrypi/nard/nard/intermediate/fs/bin/busybox
> <- busybox-1.22.1 dependency dropped.
> make[2]: Circular busybox-1.22.1/.nard-build <- busybox-1.22.1
> dependency dropped.
> make[2]: Circular busybox-1.22.1/.config <- busybox-1.22.1 dependency
> dropped. make[2]: Circular busybox-1.22.1/.nard-extract <- busybox-1.22.1
> dependency dropped.
> test -d "busybox-1.22.1 busybox-1.22.1" || mkdir -p "busybox-1.22.1
> busybox-1.22.1"; if test -e "busybox-1.22.1 busybox-1.22.1.tar.bz2";
> then tar --strip-components=1 -C "busybox-1.22.1 busybox-1.22.1" -xvjf
> "busybox-1.22.1 busybox-1.22.1.tar.bz2"; fi; if test -e
> "busybox-1.22.1 busybox-1.22.1.tar.gz"; then tar --strip-components=1
> -C "busybox-1.22.1 busybox-1.22.1" -xvzf "busybox-1.22.1
> busybox-1.22.1.tar.gz"; fi; test -d "busybox" || ln -s "busybox-1.22.1
> busybox-1.22.1" "busybox"; touch "busybox-1.22.1/.nard-extract"
> touch: cannot touch `busybox-1.22.1/.nard-extract': No such file or
> directory make[2]: *** [busybox-1.22.1/.nard-extract] Error 1
> make[2]: Leaving directory
> `/home/timball/junk/work/raspberrypi/nard/nard/apps/busybox'
> make[1]: *** [busybox/busybox-1.22.1] Error 2
> make[1]: Leaving directory
> `/home/timball/junk/work/raspberrypi/nard/nard/apps' make: *** [apps] Error
> 2
> ```
>
> which is some funny test . it ends up creating a busybox dir like this
>
> ```
> timball at smokehouse:~/junk/work/raspberrypi/nard/nard$  ls -la apps/busybox
> total 4332
> drwxr-xr-x  3 timball timball     146 Aug 22 16:31 .
> drwxr-xr-x 14 timball timball    4096 Jun 24 08:19 ..
> lrwxrwxrwx  1 timball timball      29 Aug 22 16:31 busybox ->
> busybox-1.22.1 busybox-1.22.1
> -rw-r--r--  1 timball timball 2201917 Jun 24 08:19 busybox-1.21.1.tar.bz2
> drwxr-xr-x  2 timball timball       6 Aug 22 16:31 busybox-1.22.1
> busybox-1.22.1 -rw-r--r--  1 timball timball 2218650 Jun 24 08:19
> busybox-1.22.1.tar.bz2 -rw-r--r--  1 timball timball      27 Jun 24 08:19
> .gitignore
> -rw-r--r--  1 timball timball    2201 Jun 24 08:19 Makefile
> ```
>
> i thought it'd be easy to tweak the Makefile ... nope !
>
> --timball



More information about the Nard mailing list