Bug #219
closed
xcc preconfig referencing non-existant uClibc config
Added by Hammel about 11 years ago.
Updated almost 11 years ago.
Category:
00 - Basic Build Issues
Description
Output from xcc build:
### 2013-08-22 08:30:07 AM Running preconfig
cp: cannot stat '/home/mjhammel/src/ximba/raspberrypi/src/src/xcc/uClibc.rpi': No such file or directory
This is a leftover from when PiBox was using uClibc, which it no longer does.
- Status changed from New to In Progress
- % Done changed from 0 to 50
Looking to see what this affects.
mjhammel(tty4)$ grep -i uclibc configs/*
configs/buildroot.cfg:BUILDROOT_URL := http://buildroot.uclibc.org/downloads
configs/xcc.cfg:XCC_UCLIBC_CONFIG := $(UC)
configs/xcc.cfg.rpi:# UC = uClibc configuration file
configs/xcc.cfg.rpi:UC = uClibc.$(HW)
configs/xcc.mk:# (Buildroot's xcc only builds for uClibc).
configs/xcc.mk: cp $(DIR_XCC)/$(XCC_UCLIBC_CONFIG) $(XCC_BLDDIR)/.$(XCC_UCLIBC_CONFIG); \
configs/xcc.mk.rpi.1.15.2: @sed -i 's%\[UCLIBC_CONFIG\]%$(XCC_BLDDIR)/.$(XCC_UCLIBC_CONFIG)%g' $(XCC_BLDDIR)/.config
configs/xcc.mk.rpi.1.15.2: @sed -i 's%$(XCC_BLDDIR)/.$(XCC_UCLIBC_CONFIG)%\[UCLIBC_CONFIG\]%g' $(XCC_CONFIG)
configs/xcc.mk.rpi.1.15.2: ln -s ld-uClibc.so.0 ld-linux.so.2
configs/xcc.mk.rpi.1.18.0: @sed -i 's%\[UCLIBC_CONFIG\]%$(XCC_BLDDIR)/.$(XCC_UCLIBC_CONFIG)%g' $(XCC_BLDDIR)/.config
configs/xcc.mk.rpi.1.18.0: @sed -i 's%$(XCC_BLDDIR)/.$(XCC_UCLIBC_CONFIG)%\[UCLIBC_CONFIG\]%g' $(XCC_CONFIG)
configs/xcc.mk.rpi.1.19.0: @sed -i 's%\[UCLIBC_CONFIG\]%$(XCC_BLDDIR)/.$(XCC_UCLIBC_CONFIG)%g' $(XCC_BLDDIR)/.config
configs/xcc.mk.rpi.1.19.0: @sed -i 's%$(XCC_BLDDIR)/.$(XCC_UCLIBC_CONFIG)%\[UCLIBC_CONFIG\]%g' $(XCC_CONFIG)
mjhammel(tty4)$ grep UC configs/*
configs/xcc.cfg:XCC_UCLIBC_CONFIG := $(UC)
configs/xcc.cfg: @echo "UC : $(UC)"
configs/xcc.cfg.rpi:# UC = uClibc configuration file
configs/xcc.cfg.rpi:UC = uClibc.$(HW)
configs/xcc.mk: cp $(DIR_XCC)/$(XCC_UCLIBC_CONFIG) $(XCC_BLDDIR)/.$(XCC_UCLIBC_CONFIG); \
configs/xcc.mk.rpi.1.15.2: @sed -i 's%\[UCLIBC_CONFIG\]%$(XCC_BLDDIR)/.$(XCC_UCLIBC_CONFIG)%g' $(XCC_BLDDIR)/.config
configs/xcc.mk.rpi.1.15.2: @sed -i 's%$(XCC_BLDDIR)/.$(XCC_UCLIBC_CONFIG)%\[UCLIBC_CONFIG\]%g' $(XCC_CONFIG)
configs/xcc.mk.rpi.1.18.0: @sed -i 's%\[UCLIBC_CONFIG\]%$(XCC_BLDDIR)/.$(XCC_UCLIBC_CONFIG)%g' $(XCC_BLDDIR)/.config
configs/xcc.mk.rpi.1.18.0: @sed -i 's%$(XCC_BLDDIR)/.$(XCC_UCLIBC_CONFIG)%\[UCLIBC_CONFIG\]%g' $(XCC_CONFIG)
configs/xcc.mk.rpi.1.19.0: @sed -i 's%\[UCLIBC_CONFIG\]%$(XCC_BLDDIR)/.$(XCC_UCLIBC_CONFIG)%g' $(XCC_BLDDIR)/.config
configs/xcc.mk.rpi.1.19.0: @sed -i 's%$(XCC_BLDDIR)/.$(XCC_UCLIBC_CONFIG)%\[UCLIBC_CONFIG\]%g' $(XCC_CONFIG)
mjhammel(tty4)$ grep UC src/xcc/*
grep: src/xcc/opkg: Is a directory
grep: src/xcc/patches: Is a directory
grep: src/xcc/tests: Is a directory
So it appears it was copying the uClibc config to the xcc bld dir and then trying to reference it in the xcc config. However there are no references to it ([UCLIBC_CONFIG]) in the current configs. So these can all be safely removed.
I'm in the middle of buildroot and kernel updates so I'll come back to this later.
- Target version changed from 1.0 - Atreides to 0.8.0
Moving to 0.8 release target.
- % Done changed from 50 to 60
xcc built kernel fine. Now building rootfs. Need to rebuild gles too.
After all are built they will be tested on the target. If that works, the xcc changes can be committed.
- Status changed from In Progress to Closed
- % Done changed from 60 to 100
Verified xcc builds all components just fine.
Changes pushed upstream.
Closing issue.
Also available in: Atom
PDF