Since I do not understand why this line failed, I looked for the definition of 
$(unstage) hoping the result to better understand why the make failed
I found a few lines:

> find . -type f -print0 | xargs -0 grep -e "unstage[[:space:]]*=" /dev/null
./toolchain/src/binutils/binutils-2.25/Makefile.in:unstage = :
./toolchain/src/binutils/binutils-2.25/Makefile.in:unstage = if [ -f stage_last 
]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else 
:; fi
./toolchain/src/binutils/binutils-2.25/Makefile.tpl:unstage = :
./toolchain/src/binutils/binutils-2.25/Makefile.tpl:unstage = if [ -f 
stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || 
exit 1; else :; fi
./toolchain/src/gcc/gcc-4.9/Makefile.in:unstage = :
./toolchain/src/gcc/gcc-4.9/Makefile.in:unstage = if [ -f stage_last ]; then [ 
-f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
./toolchain/src/gcc/gcc-4.9/Makefile.tpl:unstage = :
./toolchain/src/gcc/gcc-4.9/Makefile.tpl:unstage = if [ -f stage_last ]; then [ 
-f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
./toolchain/src/gcc/gcc-4.8.3/Makefile.in:unstage = :
./toolchain/src/gcc/gcc-4.8.3/Makefile.in:unstage = if [ -f stage_last ]; then 
[ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
./toolchain/src/gcc/gcc-4.8.3/Makefile.tpl:unstage = :
./toolchain/src/gcc/gcc-4.8.3/Makefile.tpl:unstage = if [ -f stage_last ]; then 
[ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
./toolchain/gcc/arm/arm-linux-androideabi/build/binutils/Makefile:unstage = :
./toolchain/gcc/arm/arm-linux-androideabi/build/gcc/Makefile:unstage = :
./toolchain/gcc/host/build/binutils/Makefile:unstage = :
./toolchain/gcc/host/build/gcc/Makefile:unstage = :

However, I still do not understand, perhaps it's too warm for me out there :(

- Fil Lupin.

On Sunday, June 21st, 2026 at 2:12 PM, Fil Lupin via Replicant 
<[email protected]> wrote:

> Hi,
> getting back to the instructions, in `getSource-6.0.sh`, I first skipped 
> "#i9305 patches" but I noticed "#generic (scintill) replicant 6.0 patches {", 
> so I ran them this time
> 
> Then
> ```
> make clean
> ./vendor/replicant/build-toolchain 2>&1 | tee "${thepwd}/0.txt"
> ```
> 
> ```
> make[1]: Leaving directory 
> '/home/fil/ReplicantBuilds-messy-update/replicant-6.0/toolchain/gcc/arm/arm-linux-androideabi/build/gcc'
> Makefile:846: recipe for target 'all' failed
> make: *** [all] Error 2
> ```
> The line 846 of the Makefile is the first line after "all:" in:
> 
> ```
> # The target built for a native non-bootstrap build.
> .PHONY: all
> all:
>     @: $(MAKE); $(unstage)
>     @r=`${PWD_COMMAND}`; export r; \
>     s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
>         $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
>     && :
> ```
> I do not understand `$(unstage)` so I do not get where is the error.
> 
> - Fil Lupin.
> 
> On Saturday, June 20th, 2026 at 7:30 AM, Fil Lupin via Replicant 
> <[email protected]> wrote:
> 
> > Hi Josh,
> > another good point.
> >
> > ${REPLICANTDIT}/kernel/samsung/ only contains 2 directories:
> >
> > espresso10/
> > tuna/
> >
> > I'll try to get back the content...
> >
> > Thank you
> >
> > - Fil Lupin.
> >
> > On Friday, June 19th, 2026 at 6:04 PM, J05HYYY <[email protected]> 
> > wrote:
> >
> > > On Fri, 19 Jun 2026 14:00:00 +0000
> > > Fil Lupin via Replicant <[email protected]> wrote:
> > >
> > > > Hi,
> > > > I was able to continue until the make step.
> > > > Currently, it still stops with error
> > > > ---
> > > > build/core/copy_headers.mk:15: warning: ignoring old recipe for
> > > > target
> > > > '/home/ACCOUNT/ReplicantBuilds-messy-update/replicant-6.0/out/target/product/i9300/obj/include/libsecmm/SsbSipMfcApi.h'
> > > > find: 'dummy': No such file or directory
> > > > build/core/base_rules.mk:559: warning: overriding recipe for target
> > > > '/home/ACCOUNT/ReplicantBuilds-messy-update/replicant-6.0/out/target/product/i9300/root/res/images/charger/battery_fail.png'
> > > > build/core/base_rules.mk:559: warning: ignoring old recipe for target
> > > > '/home/ACCOUNT/ReplicantBuilds-messy-update/replicant-6.0/out/target/product/i9300/root/res/images/charger/battery_fail.png'
> > > > PRODUCT_COPY_FILES
> > > > device/samsung/smdk4412-common/rootdir/init.trace.rc:root/init.trace.rc
> > > > ignored. PRODUCT_COPY_FILES
> > > > device/samsung/smdk4412-common/configs/audio_effects.conf:system/etc/audio_effects.conf
> > > > ignored. No private recovery resources for TARGET_DEVICE i9300
> > > > build/core/tasks/kernel.mk:166:
> > > > ***************************************************************
> > > > build/core/tasks/kernel.mk:167: * Using prebuilt kernel binary
> > > > instead of source              * build/core/tasks/kernel.mk:168: *
> > > > THIS IS DEPRECATED, AND WILL BE DISCONTINUED                *
> > > > build/core/tasks/kernel.mk:169: * Please configure your device to
> > > > download the kernel         * build/core/tasks/kernel.mk:170: *
> > > > source repository to kernel/samsung/smdk4412
> > > > build/core/tasks/kernel.mk:171: * See
> > > > http://wiki.lineageos.org/w/Doc:_integrated_kernel_building
> > > > build/core/tasks/kernel.mk:172: * for more information
> > > >                         * build/core/tasks/kernel.mk:173:
> > > > *************************************************************** make:
> > > > *** No rule to make target
> > > > '/home/ACCOUNT/ReplicantBuilds-messy-update/replicant-6.0/out/target/product/i9300/kernel',
> > > > needed by
> > > > '/home/ACCOUNT/ReplicantBuilds-messy-update/replicant-6.0/out/target/product/i9300/recovery.img'.
> > > >  Stop.
> > > >
> > > > #### make failed to build some targets (01:21 (mm:ss)) ####
> > > > ---
> > >
> > > Can you check that the directory 
> > > "${REPLICANTDIR}/kernel/samsung/smdk4412" exists?
> > >
> > > Maybe the code didn't checkout well.
> > >
> > > Replicant http git frontend very slow and timing-out sometimes from where 
> > > I am BTW. I haven't tried downloading anything via Replicant git 
> > > recently, but could be the cause of the problem (ie. Infrastructure 
> > > problems, when downloading the source code). For that, you will need to 
> > > speak to someone like GNUtoo if they are still about nowadays to give the 
> > > server a fix/reboot and try download the sources again.
> > >
> > > Maybe someone can confirm?
> > >
> > > Josh
> > >
> > _______________________________________________
> > Replicant mailing list
> > [email protected]
> > https://lists.osuosl.org/mailman/listinfo/replicant
> >
> _______________________________________________
> Replicant mailing list
> [email protected]
> https://lists.osuosl.org/mailman/listinfo/replicant
> 
_______________________________________________
Replicant mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/replicant

Reply via email to