suzuke / pdk7105-tdt

tdt for pdk7105
0 stars 4 forks source link

make -jN will missing dependency #3

Open dlintw opened 10 years ago

dlintw commented 10 years ago

make -j$((nproc + 1)) yaud-xbmc-nightly

make: Circular .deps/cross-sh4-libgcc <- .deps/glibc dependency dropped.
cd /pdk7105-tdt/tdt/cvs/apps/xbmc-nightly && \
                source /pdk7105-tdt/tdt/cvs/cdk/build.env && \
                ./bootstrap && \
                ./configure \
                        --host=sh4-linux \
                        --prefix=/usr \
                        PKG_CONFIG=/pdk7105-tdt/tdt/tufsbox/host/bin/pkg-config \
                        PKG_CONFIG_PATH=/pdk7105-tdt/tdt/tufsbox/cdkroot/usr/lib/pkgconfig \
                        PYTHON_SITE_PKG=/pdk7105-tdt/tdt/tufsbox/cdkroot/usr/lib/python2.7/site-packages \
                        PYTHON_CPPFLAGS=-I/pdk7105-tdt/tdt/tufsbox/cdkroot/usr/include/python2.7 \
                        PY_PATH=/pdk7105-tdt/tdt/tufsbox/cdkroot/usr \
                        TEXTUREPACKER_NATIVE_ROOT=/usr \
                        SWIG_EXE=none \
                        JRE_EXE=none \
                        --disable-gl \
                        --enable-glesv1 \
                        --disable-gles \
                        --disable-sdl \
                        --enable-webserver \
                        --enable-nfs \
                        --disable-x11 \
                        --enable-samba \
                        --disable-mysql \
                        --disable-joystick \
                        --disable-rsxs \
                        --disable-projectm \
                        --disable-goom \
                        --disable-afpclient \
                        --disable-airplay \
                        --disable-airtunes \
                        --disable-dvdcss \
                        --disable-hal \
                        --disable-avahi \
                        --disable-optical-drive \
                        --disable-libbluray \
                        --disable-texturepacker \
                        --disable-udev \
                        --disable-libusb \
                        --disable-libcec \
                        --enable-gstreamer \
                        --disable-paplayer \
                        --enable-gstplayer \
                        --enable-dvdplayer \
                        --disable-pulse \
                        --disable-alsa \
                        --disable-ssh
make[1]: Entering directory `/pdk7105-tdt/tdt/cvs/apps/xbmc-nightly'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/pdk7105-tdt/tdt/cvs/apps/xbmc-nightly'
make[1]: Entering directory `/pdk7105-tdt/tdt/cvs/apps/xbmc-nightly'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
make[1]: *** No rule to make target `xbmc/interfaces/python/generated/AddonModuleXbmc.cpp', needed by `codegenerated'.  Stop.
make[1]: Leaving directory `/pdk7105-tdt/tdt/cvs/apps/xbmc-nightly'
make: *** [/pdk7105-tdt/tdt/cvs/apps/xbmc-nightly/config.status] Error 2

make -j1 yaud-xbmc-nightly

make: Circular .deps/cross-sh4-libgcc <- .deps/glibc dependency dropped.
cd /pdk7105-tdt/tdt/cvs/apps/xbmc-nightly && \
                source /pdk7105-tdt/tdt/cvs/cdk/build.env && \
                ./bootstrap && \
                ./configure \
                        --host=sh4-linux \
                        --prefix=/usr \
                        PKG_CONFIG=/pdk7105-tdt/tdt/tufsbox/host/bin/pkg-config \
                        PKG_CONFIG_PATH=/pdk7105-tdt/tdt/tufsbox/cdkroot/usr/lib/pkgconfig \
                        PYTHON_SITE_PKG=/pdk7105-tdt/tdt/tufsbox/cdkroot/usr/lib/python2.7/site-packages \
                        PYTHON_CPPFLAGS=-I/pdk7105-tdt/tdt/tufsbox/cdkroot/usr/include/python2.7 \
                        PY_PATH=/pdk7105-tdt/tdt/tufsbox/cdkroot/usr \
                        TEXTUREPACKER_NATIVE_ROOT=/usr \
                        SWIG_EXE=none \
                        JRE_EXE=none \
                        --disable-gl \
                        --enable-glesv1 \
                        --disable-gles \
                        --disable-sdl \
                        --enable-webserver \
                        --enable-nfs \
                        --disable-x11 \
                        --enable-samba \
                        --disable-mysql \
                        --disable-joystick \
                        --disable-rsxs \
                        --disable-projectm \
                        --disable-goom \
                        --disable-afpclient \
                        --disable-airplay \
                        --disable-airtunes \
                        --disable-dvdcss \
                        --disable-hal \
                        --disable-avahi \
                        --disable-optical-drive \
                        --disable-libbluray \
                        --disable-texturepacker \
                        --disable-udev \
                        --disable-libusb \
                        --disable-libcec \
                        --enable-gstreamer \
                        --disable-paplayer \
                        --enable-gstplayer \
                        --enable-dvdplayer \
                        --disable-pulse \
                        --disable-alsa \
                        --disable-ssh
make[1]: Entering directory `/pdk7105-tdt/tdt/cvs/apps/xbmc-nightly'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/pdk7105-tdt/tdt/cvs/apps/xbmc-nightly'
make[1]: Entering directory `/pdk7105-tdt/tdt/cvs/apps/xbmc-nightly'
cd xbmc/interfaces/python; (/usr/bin/doxygen Doxyfile > /dev/null) 2>&1 | grep -v " warning: "
Notice: Output directory `./generated' does not exist. I have created it for you.
touch xbmc/interfaces/python/generated/doxygenxml
mkdir -p xbmc/interfaces/python/generated
/usr/bin/swig -w401 -c++ -o xbmc/interfaces/python/generated/AddonModuleXbmc.xml -xml -I./xbmc -xmllang python xbmc/interfaces/swig/AddonMod
uleXbmc.i
/usr/bin/java -cp "./lib/groovy/groovy-all-1.8.4.jar:./lib/groovy/commons-lang-2.6.jar:./tools/codegenerator:xbmc/interfaces/python" \
          groovy.ui.GroovyMain ./tools/codegenerator/Generator.groovy xbmc/interfaces/python/generated/AddonModuleXbmc.xml xbmc/interfaces/p
ython/PythonSwig.cpp.template xbmc/interfaces/python/generated/AddonModuleXbmc.cpp xbmc/interfaces/python/generated/doxygenxml
[xbmc/interfaces/python/generated/AddonModuleXbmc.xml, xbmc/interfaces/python/PythonSwig.cpp.template, xbmc/interfaces/python/generated/Addo
nModuleXbmc.cpp, xbmc/interfaces/python/generated/doxygenxml]
Processing "xbmc/interfaces/python/PythonSwig.cpp.template" using the module specification for module "xbmc/interfaces/python/generated/Addo
nModuleXbmc.xml"
writing
rm xbmc/interfaces/python/generated/AddonModuleXbmc.xml
mkdir -p xbmc/interfaces/python/generated
/usr/bin/swig -w401 -c++ -o xbmc/interfaces/python/generated/AddonModuleXbmcgui.xml -xml -I./xbmc -xmllang python xbmc/interfaces/swig/Addon
ModuleXbmcgui.i
/usr/bin/java -cp "./lib/groovy/groovy-all-1.8.4.jar:./lib/groovy/commons-lang-2.6.jar:./tools/codegenerator:xbmc/interfaces/python" \
          groovy.ui.GroovyMain ./tools/codegenerator/Generator.groovy xbmc/interfaces/python/generated/AddonModuleXbmcgui.xml xbmc/interface
s/python/PythonSwig.cpp.template xbmc/interfaces/python/generated/AddonModuleXbmcgui.cpp xbmc/interfaces/python/generated/doxygenxml
[xbmc/interfaces/python/generated/AddonModuleXbmcgui.xml, xbmc/interfaces/python/PythonSwig.cpp.template, xbmc/interfaces/python/generated/A
ddonModuleXbmcgui.cpp, xbmc/interfaces/python/generated/doxygenxml]
Processing "xbmc/interfaces/python/PythonSwig.cpp.template" using the module specification for module "xbmc/interfaces/python/generated/Addo
nModuleXbmcgui.xml"
writing
rm xbmc/interfaces/python/generated/AddonModuleXbmcgui.xml
mkdir -p xbmc/interfaces/python/generated
/usr/bin/swig -w401 -c++ -o xbmc/interfaces/python/generated/AddonModuleXbmcplugin.xml -xml -I./xbmc -xmllang python xbmc/interfaces/swig/Ad
donModuleXbmcplugin.i
/usr/bin/java -cp "./lib/groovy/groovy-all-1.8.4.jar:./lib/groovy/commons-lang-2.6.jar:./tools/codegenerator:xbmc/interfaces/python" \
          groovy.ui.GroovyMain ./tools/codegenerator/Generator.groovy xbmc/interfaces/python/generated/AddonModuleXbmcplugin.xml xbmc/interf
aces/python/PythonSwig.cpp.template xbmc/interfaces/python/generated/AddonModuleXbmcplugin.cpp xbmc/interfaces/python/generated/doxygenxml
[xbmc/interfaces/python/generated/AddonModuleXbmcplugin.xml, xbmc/interfaces/python/PythonSwig.cpp.template, xbmc/interfaces/python/generate
d/AddonModuleXbmcplugin.cpp, xbmc/interfaces/python/generated/doxygenxml]
^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[AProcessing "xbmc/interfaces/python/PythonSwig.cpp.template" using th
e module specification for module "xbmc/interfaces/python/generated/AddonModuleXbmcplugin.xml"
writing
rm xbmc/interfaces/python/generated/AddonModuleXbmcplugin.xml
mkdir -p xbmc/interfaces/python/generated
/usr/bin/swig -w401 -c++ -o xbmc/interfaces/python/generated/AddonModuleXbmcaddon.xml -xml -I./xbmc -xmllang python xbmc/interfaces/swig/Add
onModuleXbmcaddon.i
/usr/bin/java -cp "./lib/groovy/groovy-all-1.8.4.jar:./lib/groovy/commons-lang-2.6.jar:./tools/codegenerator:xbmc/interfaces/python" \
          groovy.ui.GroovyMain ./tools/codegenerator/Generator.groovy xbmc/interfaces/python/generated/AddonModuleXbmcaddon.xml xbmc/interfa
ces/python/PythonSwig.cpp.template xbmc/interfaces/python/generated/AddonModuleXbmcaddon.cpp xbmc/interfaces/python/generated/doxygenxml
[xbmc/interfaces/python/generated/AddonModuleXbmcaddon.xml, xbmc/interfaces/python/PythonSwig.cpp.template, xbmc/interfaces/python/generated
/AddonModuleXbmcaddon.cpp, xbmc/interfaces/python/generated/doxygenxml]
Processing "xbmc/interfaces/python/PythonSwig.cpp.template" using the module specification for module "xbmc/interfaces/python/generated/Addo
nModuleXbmcaddon.xml"
writing
.....
dlintw commented 10 years ago

If I want to append a line to /pdk7105-tdt/tdt/cvs/apps/xbmc-nightly/Makefile. Where is the correct place to put the patch?

.NOTPARALLEL: 

http://publib.boulder.ibm.com/infocenter/cchelp/v7r0m0/index.jsp?topic=/com.ibm.rational.clearcase.books.cc_build_windows.doc/setting_up_a_parallel_build.htm

suzuke commented 10 years ago

There is not direct way to modified the xbmc Makefile, you may dirty edit the make/xbmc-nightly.mk file "do.prepare" region or somewhere you like to append a line to xbmc Makefile.

Edit: There is a easy way that is to modified Patches/xbmc-nightly.mk and add what you need. This should be the correct way to append a line to xbmc Makefile.