All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Autobuild reproduction and generation
@ 2016-12-26  8:15 Yu-Ting Kao
  2016-12-26  8:21 ` Thomas Petazzoni
  0 siblings, 1 reply; 8+ messages in thread
From: Yu-Ting Kao @ 2016-12-26  8:15 UTC (permalink / raw)
  To: buildroot

Hi all,

I want to contribute some patches for buildroot, and I found autobuild
<http://autobuild.buildroot.org/>system
?that can find bugs at commit early stage.?

1. How can I run this random build script and send it to autobuild system ?

2. How can I reproduce the issue which are posted at autobuild system ?
    All I know is that, copy the config file and build code manually. The
br-reproduce-build script seems not work normally.

?Any suggestions ??
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20161226/eb9141ba/attachment.html>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] Autobuild reproduction and generation
  2016-12-26  8:15 [Buildroot] Autobuild reproduction and generation Yu-Ting Kao
@ 2016-12-26  8:21 ` Thomas Petazzoni
  2016-12-26  9:07   ` Yu-Ting, Kao
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas Petazzoni @ 2016-12-26  8:21 UTC (permalink / raw)
  To: buildroot

Hello,

On Mon, 26 Dec 2016 16:15:19 +0800, Yu-Ting Kao wrote:

> I want to contribute some patches for buildroot, and I found autobuild
> <http://autobuild.buildroot.org/>system
> ?that can find bugs at commit early stage.?
> 
> 1. How can I run this random build script and send it to autobuild system ?

The script that runs on the autobuilder build machines is available in
the Git repository at https://git.buildroot.org/buildroot-test/, in
scripts/autobuild-run.

In order to submit your build results to autobuild.b.o, you need an
account, which I can create. But before that, you should run the script
standalone for a day or two, look at the generated build results to see
if there isn't anything obviously wrong (i.e not a real build failure,
but a build failure due to your installation).

> 2. How can I reproduce the issue which are posted at autobuild system ?
>     All I know is that, copy the config file and build code manually. The
> br-reproduce-build script seems not work normally.

I use the br-reproduce-build script and it works fine for me. Could you
be more specific about the issues you've encountered?

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] Autobuild reproduction and generation
  2016-12-26  8:21 ` Thomas Petazzoni
@ 2016-12-26  9:07   ` Yu-Ting, Kao
  2016-12-26  9:16     ` Thomas Petazzoni
  0 siblings, 1 reply; 8+ messages in thread
From: Yu-Ting, Kao @ 2016-12-26  9:07 UTC (permalink / raw)
  To: buildroot

Thank you for your reply.

I follow these steps at below:

1. wget command to get br-reproduce-build.
2. prepare a clean buildroot from git repo.
3. modify br-reproduce-build script. At line 6:

       BASE_GIT="${BASE_GIT:-/[MY_CLEAN_BUILDROOT_DIR_PATH]}"

4. Find the issue id that I want to reproduce. For example, "
http://autobuild.buildroot.org/results/358/358e2f02f42e08fe362ecd46e636c0048e77c21f/
<http://autobuild.buildroot.org/results/1d5/1d530863f727a097330be6bce29fe00e148bb587/>"'s
issue id is 358/358e2f02f42e08fe362ecd46e636c0048e77c21f

5. run "./br-reproduce-build 358/358e2f02f42e08fe362ecd46e636c0048e77c21f/"
6. The error log is (Cannot reach to the core of issue)

-------------------------------------------------------------------------------------------------------------------
2016-12-26 16:52:22 (997 KB/s) -
?/home/kao23/disk_2/358e2f02f42e08fe362ecd46e636c0048e77c21f/output/build/.br-i386-pentium4-full-2016.11-236-ge309abf.tar.bz2.UewivN/output?
saved [44346526/44346526]

WARNING: no hash file for br-i386-pentium4-full-2016.11-236-ge309abf.tar.bz2
>>> toolchain-external-custom  Extracting
bzcat
/home/kao23/disk_2/358e2f02f42e08fe362ecd46e636c0048e77c21f/buildroot/dl/br-i386-pentium4-full-2016.11-236-ge309abf.tar.bz2
| tar --strip-components=1 -C
/home/kao23/disk_2/358e2f02f42e08fe362ecd46e636c0048e77c21f/output/build/toolchain-external-custom
--exclude='usr/lib/locale/*'   -xf -
rm -rf
/home/kao23/disk_2/358e2f02f42e08fe362ecd46e636c0048e77c21f/output/host/opt/ext-toolchain
mkdir -p
/home/kao23/disk_2/358e2f02f42e08fe362ecd46e636c0048e77c21f/output/host/opt/ext-toolchain
mv
/home/kao23/disk_2/358e2f02f42e08fe362ecd46e636c0048e77c21f/output/build/toolchain-external-custom/*
/home/kao23/disk_2/358e2f02f42e08fe362ecd46e636c0048e77c21f/output/host/opt/ext-toolchain/
>>> toolchain-external-custom  Patching
>>> toolchain-external-custom  Configuring
Cannot execute cross-compiler
'/home/kao23/disk_2/358e2f02f42e08fe362ecd46e636c0048e77c21f/output/host/opt/ext-toolchain/bin/i686-linux-gcc.br_real'
make[1]: ***
[/home/kao23/disk_2/358e2f02f42e08fe362ecd46e636c0048e77c21f/output/build/toolchain-external-custom/.stamp_configured]
Error 1
make: *** [_all] Error 2


7. Sometimes may show

----------------------------------------------------------------------------------------------------

--2016-12-26 16:59:07--
http://autobuild.buildroot.org/results/358/358e2f02f42e08fe362ecd46e636c0048e77c21f//gitid
Resolving autobuild.buildroot.org (autobuild.buildroot.org)... 94.23.254.152
Connecting to autobuild.buildroot.org
(autobuild.buildroot.org)|94.23.254.152|:80...
connected.
HTTP request sent, awaiting response... 200 OK
Length: 40 [text/plain]
Saving to:
?/home/kao23/disk_2/358e2f02f42e08fe362ecd46e636c0048e77c21f//gitid?

100%[=========================================================================>]
40          --.-K/s   in 0s

2016-12-26 16:59:08 (1.59 MB/s) -
?/home/kao23/disk_2/358e2f02f42e08fe362ecd46e636c0048e77c21f//gitid? saved
[40/40]

fatal: destination path 'buildroot' already exists and is not an empty
directory.
Cannot clone Buildroot Git repository


Thanks !

2016-12-26 16:21 GMT+08:00 Thomas Petazzoni <
thomas.petazzoni@free-electrons.com>:

> Hello,
>
> On Mon, 26 Dec 2016 16:15:19 +0800, Yu-Ting Kao wrote:
>
> > I want to contribute some patches for buildroot, and I found autobuild
> > <http://autobuild.buildroot.org/>system
> > ?that can find bugs at commit early stage.?
> >
> > 1. How can I run this random build script and send it to autobuild
> system ?
>
> The script that runs on the autobuilder build machines is available in
> the Git repository at https://git.buildroot.org/buildroot-test/, in
> scripts/autobuild-run.
>
> In order to submit your build results to autobuild.b.o, you need an
> account, which I can create. But before that, you should run the script
> standalone for a day or two, look at the generated build results to see
> if there isn't anything obviously wrong (i.e not a real build failure,
> but a build failure due to your installation).
>
> > 2. How can I reproduce the issue which are posted at autobuild system ?
> >     All I know is that, copy the config file and build code manually. The
> > br-reproduce-build script seems not work normally.
>
> I use the br-reproduce-build script and it works fine for me. Could you
> be more specific about the issues you've encountered?
>
> Thanks!
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux and Kernel engineering
> http://free-electrons.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20161226/86d88479/attachment.html>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] Autobuild reproduction and generation
  2016-12-26  9:07   ` Yu-Ting, Kao
@ 2016-12-26  9:16     ` Thomas Petazzoni
  2016-12-26 14:32       ` Yu-Ting, Kao
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas Petazzoni @ 2016-12-26  9:16 UTC (permalink / raw)
  To: buildroot

Hello,

On Mon, 26 Dec 2016 17:07:08 +0800, Yu-Ting, Kao wrote:

> 2016-12-26 16:52:22 (997 KB/s) -
> ?/home/kao23/disk_2/358e2f02f42e08fe362ecd46e636c0048e77c21f/output/build/.br-i386-pentium4-full-2016.11-236-ge309abf.tar.bz2.UewivN/output?
> saved [44346526/44346526]
> 
> WARNING: no hash file for br-i386-pentium4-full-2016.11-236-ge309abf.tar.bz2
> >>> toolchain-external-custom  Extracting  
> bzcat
> /home/kao23/disk_2/358e2f02f42e08fe362ecd46e636c0048e77c21f/buildroot/dl/br-i386-pentium4-full-2016.11-236-ge309abf.tar.bz2
> | tar --strip-components=1 -C
> /home/kao23/disk_2/358e2f02f42e08fe362ecd46e636c0048e77c21f/output/build/toolchain-external-custom
> --exclude='usr/lib/locale/*'   -xf -
> rm -rf
> /home/kao23/disk_2/358e2f02f42e08fe362ecd46e636c0048e77c21f/output/host/opt/ext-toolchain
> mkdir -p
> /home/kao23/disk_2/358e2f02f42e08fe362ecd46e636c0048e77c21f/output/host/opt/ext-toolchain
> mv
> /home/kao23/disk_2/358e2f02f42e08fe362ecd46e636c0048e77c21f/output/build/toolchain-external-custom/*
> /home/kao23/disk_2/358e2f02f42e08fe362ecd46e636c0048e77c21f/output/host/opt/ext-toolchain/
> >>> toolchain-external-custom  Patching
> >>> toolchain-external-custom  Configuring  
> Cannot execute cross-compiler
> '/home/kao23/disk_2/358e2f02f42e08fe362ecd46e636c0048e77c21f/output/host/opt/ext-toolchain/bin/i686-linux-gcc.br_real'
> make[1]: ***
> [/home/kao23/disk_2/358e2f02f42e08fe362ecd46e636c0048e77c21f/output/build/toolchain-external-custom/.stamp_configured]
> Error 1
> make: *** [_all] Error 2

This one is because for some reason the pre-built toolchain doesn't
work for you. Please
run ./output/host/opt/ext-toolchain/bin/i686-linux-gcc manually to see
what is the error message.

> 7. Sometimes may show
> 
> ----------------------------------------------------------------------------------------------------
> 
> --2016-12-26 16:59:07--
> http://autobuild.buildroot.org/results/358/358e2f02f42e08fe362ecd46e636c0048e77c21f//gitid
> Resolving autobuild.buildroot.org (autobuild.buildroot.org)... 94.23.254.152
> Connecting to autobuild.buildroot.org
> (autobuild.buildroot.org)|94.23.254.152|:80...
> connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 40 [text/plain]
> Saving to:
> ?/home/kao23/disk_2/358e2f02f42e08fe362ecd46e636c0048e77c21f//gitid?
> 
> 100%[=========================================================================>]  
> 40          --.-K/s   in 0s
> 
> 2016-12-26 16:59:08 (1.59 MB/s) -
> ?/home/kao23/disk_2/358e2f02f42e08fe362ecd46e636c0048e77c21f//gitid? saved
> [40/40]
> 
> fatal: destination path 'buildroot' already exists and is not an empty
> directory.
> Cannot clone Buildroot Git repository

You have already tried to build this same build id, so Buildroot has
already been cloned. The script is not prepared for that, it assumes
you build only once a given build id. If you want to build it two time,
you are supposed to
remove /home/kao23/disk_2/358e2f02f42e08fe362ecd46e636c0048e77c21f/
between the two builds.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] Autobuild reproduction and generation
  2016-12-26  9:16     ` Thomas Petazzoni
@ 2016-12-26 14:32       ` Yu-Ting, Kao
  2016-12-26 14:39         ` Thomas Petazzoni
  0 siblings, 1 reply; 8+ messages in thread
From: Yu-Ting, Kao @ 2016-12-26 14:32 UTC (permalink / raw)
  To: buildroot

Hello,

I have another problem and it appears many times on many autobuild issue
IDs.


The error log at below.
--------------------------------------------------------------------------------------------------------------------

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

remote: Counting objects: 129, done.
remote: Compressing objects: 100% (75/75), done.
remote: Total 129 (delta 89), reused 78 (delta 54)
Receiving objects: 100% (129/129), 22.50 KiB | 0 bytes/s, done.
Resolving deltas: 100% (89/89), completed with 29 local objects.
From git://git.busybox.net/buildroot
 * [new branch]          2012.11.x  -> origin/2012.11.x
 * [new branch]          2013.08.x  -> origin/2013.08.x
 * [new branch]          2015.08.x  -> origin/2015.08.x
 * [new branch]          2015.11.x  -> origin/2015.11.x
 * [new branch]          2016.08.x  -> origin/2016.08.x
 * [new branch]          2016.11.x  -> origin/2016.11.x
   320d73ab1..a1914921e  master     -> origin/master
 * [new branch]          next       -> origin/next
HEAD is now at a1914921e... collectd: fix option passed to the snmp
dependency
/usr/bin/make -j1
O=/home/kao23/buildroot-contri/99381d37002db28566d1aba257418a38c9edee39/output
HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" silentoldconfig
mkdir -p
/home/kao23/buildroot-contri/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config/lxdialog
PKG_CONFIG_PATH="" /usr/bin/make CC="/usr/bin/gcc" HOSTCC="/usr/bin/gcc" \

obj=/home/kao23/buildroot-contri/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config
-C support/kconfig -f Makefile.br conf
/usr/bin/gcc -D_GNU_SOURCE -DCURSES_LOC="<ncurses.h>" -DLOCALE
 -I/home/kao23/buildroot-contri/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config
-DCONFIG_=\"\"  -MM *.c >
/home/kao23/buildroot-contri/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config/.depend
2>/dev/null || :
/usr/bin/gcc -D_GNU_SOURCE -DCURSES_LOC="<ncurses.h>" -DLOCALE
 -I/home/kao23/buildroot-contri/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config
-DCONFIG_=\"\"   -c conf.c -o
/home/kao23/buildroot-contri/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config/conf.o
/usr/bin/gcc -D_GNU_SOURCE -DCURSES_LOC="<ncurses.h>" -DLOCALE
 -I/home/kao23/buildroot-contri/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config
-DCONFIG_=\"\"  -I. -c
/home/kao23/buildroot-contri/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config/zconf.tab.c
-o
/home/kao23/buildroot-contri/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config/zconf.tab.o
/usr/bin/gcc -D_GNU_SOURCE -DCURSES_LOC="<ncurses.h>" -DLOCALE
 -I/home/kao23/buildroot-contri/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config
-DCONFIG_=\"\"
/home/kao23/buildroot-contri/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config/conf.o
/home/kao23/buildroot-contri/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config/zconf.tab.o
 -o
/home/kao23/buildroot-contri/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config/conf
rm
/home/kao23/buildroot-contri/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config/zconf.tab.c
  GEN
/home/kao23/buildroot-contri/99381d37002db28566d1aba257418a38c9edee39/output/Makefile
BR2_DEFCONFIG=''
KCONFIG_AUTOCONFIG=/home/kao23/buildroot-contri/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config/auto.conf
KCONFIG_AUTOHEADER=/home/kao23/buildroot-contri/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config/autoconf.h
KCONFIG_TRISTATE=/home/kao23/buildroot-contri/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config/tristate.config
BR2_CONFIG=/home/kao23/buildroot-contri/99381d37002db28566d1aba257418a38c9edee39/output/.config
HOST_GCC_VERSION="5"
BUILD_DIR=/home/kao23/buildroot-contri/99381d37002db28566d1aba257418a38c9edee39/output/build
SKIP_LEGACY=
/home/kao23/buildroot-contri/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config/conf
--silentoldconfig Config.in
*
* Restart config...
*
*
* Build options
*
Location to save buildroot config (BR2_DEFCONFIG) [$(CONFIG_DIR)/defconfig]
$(CONFIG_DIR)/defconfig
Download dir (BR2_DL_DIR) [$(TOPDIR)/dl] $(TOPDIR)/dl
Host dir (BR2_HOST_DIR) [$(BASE_DIR)/host] $(BASE_DIR)/host
Number of jobs to run simultaneously (0 for auto) (BR2_JLEVEL) [0] 0
Enable compiler cache (BR2_CCACHE) [N/y/?] n
build packages with debugging symbols (BR2_ENABLE_DEBUG) [N/y/?] n
strip command for binaries on target
> 1. strip (BR2_STRIP_strip)
  2. none (BR2_STRIP_none)
choice[1-2]: 1
executables that should not be stripped (BR2_STRIP_EXCLUDE_FILES) []
directories that should be skipped when stripping (BR2_STRIP_EXCLUDE_DIRS)
[]
gcc optimization level
  1. optimization level 0 (BR2_OPTIMIZE_0)
  2. optimization level 1 (BR2_OPTIMIZE_1)
  3. optimization level 2 (BR2_OPTIMIZE_2)
  4. optimization level 3 (BR2_OPTIMIZE_3)
  5. optimize for debugging (BR2_OPTIMIZE_G)
> 6. optimize for size (BR2_OPTIMIZE_S)
choice[1-6?]: 6
Enable google-breakpad support (BR2_GOOGLE_BREAKPAD_ENABLE) [N/y/?] (NEW)
aborted!

Console input/output is redirected. Run 'make oldconfig' to update
configuration.

Makefile:882: recipe for target 'silentoldconfig' failed
make[2]: *** [silentoldconfig] Error 1
Makefile:538: recipe for target
'/home/kao23/buildroot-contri/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config/auto.conf'
failed
make[1]: ***
[/home/kao23/buildroot-contri/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config/auto.conf]
Error 2
Makefile:79: recipe for target '_all' failed
make: *** [_all] Error 2

2016-12-26 17:16 GMT+08:00 Thomas Petazzoni <
thomas.petazzoni@free-electrons.com>:

> Hello,
>
> On Mon, 26 Dec 2016 17:07:08 +0800, Yu-Ting, Kao wrote:
>
> > 2016-12-26 16:52:22 (997 KB/s) -
> > ?/home/kao23/disk_2/358e2f02f42e08fe362ecd46e636c0
> 048e77c21f/output/build/.br-i386-pentium4-full-2016.11-
> 236-ge309abf.tar.bz2.UewivN/output?
> > saved [44346526/44346526]
> >
> > WARNING: no hash file for br-i386-pentium4-full-2016.11-
> 236-ge309abf.tar.bz2
> > >>> toolchain-external-custom  Extracting
> > bzcat
> > /home/kao23/disk_2/358e2f02f42e08fe362ecd46e636c0
> 048e77c21f/buildroot/dl/br-i386-pentium4-full-2016.11-236-ge309abf.tar.bz2
> > | tar --strip-components=1 -C
> > /home/kao23/disk_2/358e2f02f42e08fe362ecd46e636c0
> 048e77c21f/output/build/toolchain-external-custom
> > --exclude='usr/lib/locale/*'   -xf -
> > rm -rf
> > /home/kao23/disk_2/358e2f02f42e08fe362ecd46e636c0
> 048e77c21f/output/host/opt/ext-toolchain
> > mkdir -p
> > /home/kao23/disk_2/358e2f02f42e08fe362ecd46e636c0
> 048e77c21f/output/host/opt/ext-toolchain
> > mv
> > /home/kao23/disk_2/358e2f02f42e08fe362ecd46e636c0
> 048e77c21f/output/build/toolchain-external-custom/*
> > /home/kao23/disk_2/358e2f02f42e08fe362ecd46e636c0
> 048e77c21f/output/host/opt/ext-toolchain/
> > >>> toolchain-external-custom  Patching
> > >>> toolchain-external-custom  Configuring
> > Cannot execute cross-compiler
> > '/home/kao23/disk_2/358e2f02f42e08fe362ecd46e636c0
> 048e77c21f/output/host/opt/ext-toolchain/bin/i686-linux-gcc.br_real'
> > make[1]: ***
> > [/home/kao23/disk_2/358e2f02f42e08fe362ecd46e636c0
> 048e77c21f/output/build/toolchain-external-custom/.stamp_configured]
> > Error 1
> > make: *** [_all] Error 2
>
> This one is because for some reason the pre-built toolchain doesn't
> work for you. Please
> run ./output/host/opt/ext-toolchain/bin/i686-linux-gcc manually to see
> what is the error message.
>
> > 7. Sometimes may show
> >
> > ------------------------------------------------------------
> ----------------------------------------
> >
> > --2016-12-26 16:59:07--
> > http://autobuild.buildroot.org/results/358/
> 358e2f02f42e08fe362ecd46e636c0048e77c21f//gitid
> > Resolving autobuild.buildroot.org (autobuild.buildroot.org)...
> 94.23.254.152
> > Connecting to autobuild.buildroot.org
> > (autobuild.buildroot.org)|94.23.254.152|:80...
> > connected.
> > HTTP request sent, awaiting response... 200 OK
> > Length: 40 [text/plain]
> > Saving to:
> > ?/home/kao23/disk_2/358e2f02f42e08fe362ecd46e636c0048e77c21f//gitid?
> >
> > 100%[=======================================================
> ==================>]
> > 40          --.-K/s   in 0s
> >
> > 2016-12-26 16:59:08 (1.59 MB/s) -
> > ?/home/kao23/disk_2/358e2f02f42e08fe362ecd46e636c0048e77c21f//gitid?
> saved
> > [40/40]
> >
> > fatal: destination path 'buildroot' already exists and is not an empty
> > directory.
> > Cannot clone Buildroot Git repository
>
> You have already tried to build this same build id, so Buildroot has
> already been cloned. The script is not prepared for that, it assumes
> you build only once a given build id. If you want to build it two time,
> you are supposed to
> remove /home/kao23/disk_2/358e2f02f42e08fe362ecd46e636c0048e77c21f/
> between the two builds.
>
> Best regards,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux and Kernel engineering
> http://free-electrons.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20161226/5c2bc847/attachment.html>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] Autobuild reproduction and generation
  2016-12-26 14:32       ` Yu-Ting, Kao
@ 2016-12-26 14:39         ` Thomas Petazzoni
  2016-12-27  1:57           ` Yu-Ting, Kao
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas Petazzoni @ 2016-12-26 14:39 UTC (permalink / raw)
  To: buildroot

Hello,

On Mon, 26 Dec 2016 22:32:37 +0800, Yu-Ting, Kao wrote:

> I have another problem and it appears many times on many autobuild issue
> IDs.

Please send the full log, i.e from the point where you start the
br-reproduce-build command. Also, again, please make sure that the
99381d37002db28566d1aba257418a38c9edee39 directory doesn't exist before
issuing the command.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] Autobuild reproduction and generation
  2016-12-26 14:39         ` Thomas Petazzoni
@ 2016-12-27  1:57           ` Yu-Ting, Kao
  2016-12-27  9:45             ` Thomas Petazzoni
  0 siblings, 1 reply; 8+ messages in thread
From: Yu-Ting, Kao @ 2016-12-27  1:57 UTC (permalink / raw)
  To: buildroot

Hi,

I checked the 99381d37002db28566d1aba257418a38c9edee39 directory is deleted.

the error log at below
----------------------------------------------------------------------------------------------------------------------

> ./br-reproduce-build 99381d37002db28566d1aba257418a38c9edee39
--2016-12-27 09:53:24--
http://autobuild.buildroot.org/results/993/99381d37002db28566d1aba257418a38c9edee39/config
Resolving autobuild.buildroot.org (autobuild.buildroot.org)... 94.23.254.152
Connecting to autobuild.buildroot.org
(autobuild.buildroot.org)|94.23.254.152|:80...
connected.
HTTP request sent, awaiting response... 200 OK
Length: 69588 (68K) [text/plain]
Saving to:
?/home/kao23/disk_2/99381d37002db28566d1aba257418a38c9edee39/config?

100%[=========================================================================>]
69,588      80.9KB/s   in 0.8s

2016-12-27 09:53:26 (80.9 KB/s) -
?/home/kao23/disk_2/99381d37002db28566d1aba257418a38c9edee39/config? saved
[69588/69588]

--2016-12-27 09:53:26--
http://autobuild.buildroot.org/results/993/99381d37002db28566d1aba257418a38c9edee39/gitid
Resolving autobuild.buildroot.org (autobuild.buildroot.org)... 94.23.254.152
Connecting to autobuild.buildroot.org
(autobuild.buildroot.org)|94.23.254.152|:80...
connected.
HTTP request sent, awaiting response... 200 OK
Length: 40 [text/plain]
Saving to:
?/home/kao23/disk_2/99381d37002db28566d1aba257418a38c9edee39/gitid?

100%[=========================================================================>]
40          --.-K/s   in 0s

2016-12-27 09:53:27 (534 KB/s) -
?/home/kao23/disk_2/99381d37002db28566d1aba257418a38c9edee39/gitid? saved
[40/40]

Cloning into 'buildroot'...
done.
Checking out files: 100% (8828/8828), done.
remote: Counting objects: 263, done.
remote: Compressing objects: 100% (209/209), done.
remote: Total 263 (delta 182), reused 78 (delta 54)
Receiving objects: 100% (263/263), 49.65 KiB | 88.00 KiB/s, done.
Resolving deltas: 100% (182/182), completed with 40 local objects.
From git://git.busybox.net/buildroot
   3eddce6..a191492  master     -> origin/master
 * [new branch]      2012.11.x  -> origin/2012.11.x
 * [new branch]      2013.08.x  -> origin/2013.08.x
 * [new branch]      2015.08.x  -> origin/2015.08.x
 * [new branch]      2015.11.x  -> origin/2015.11.x
 * [new branch]      2016.08.x  -> origin/2016.08.x
 * [new branch]      2016.11.x  -> origin/2016.11.x
 * [new branch]      next       -> origin/next
Note: checking out 'a1914921ebc3c5d5720d7249e3dc2e5d030471f4'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at a191492... collectd: fix option passed to the snmp dependency
/usr/bin/make -j1
O=/home/kao23/disk_2/99381d37002db28566d1aba257418a38c9edee39/output
HOSTCC="/usr/lib/ccache/gcc" HOSTCXX="/usr/lib/ccache/g++" silentoldconfig
mkdir -p
/home/kao23/disk_2/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config/lxdialog
PKG_CONFIG_PATH="" /usr/bin/make CC="/usr/lib/ccache/gcc"
HOSTCC="/usr/lib/ccache/gcc" \

obj=/home/kao23/disk_2/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config
-C support/kconfig -f Makefile.br conf
/usr/lib/ccache/gcc -I/usr/include/ncursesw   -DCURSES_LOC="<ncurses.h>"
-DNCURSES_WIDECHAR=1 -DLOCALE
 -I/home/kao23/disk_2/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config
-DCONFIG_=\"\"  -MM *.c >
/home/kao23/disk_2/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config/.depend
2>/dev/null || :
/usr/lib/ccache/gcc -I/usr/include/ncursesw   -DCURSES_LOC="<ncurses.h>"
-DNCURSES_WIDECHAR=1 -DLOCALE
 -I/home/kao23/disk_2/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config
-DCONFIG_=\"\"   -c conf.c -o
/home/kao23/disk_2/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config/conf.o
/usr/lib/ccache/gcc -I/usr/include/ncursesw   -DCURSES_LOC="<ncurses.h>"
-DNCURSES_WIDECHAR=1 -DLOCALE
 -I/home/kao23/disk_2/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config
-DCONFIG_=\"\"  -I. -c
/home/kao23/disk_2/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config/zconf.tab.c
-o
/home/kao23/disk_2/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config/zconf.tab.o
/usr/lib/ccache/gcc -I/usr/include/ncursesw   -DCURSES_LOC="<ncurses.h>"
-DNCURSES_WIDECHAR=1 -DLOCALE
 -I/home/kao23/disk_2/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config
-DCONFIG_=\"\"
/home/kao23/disk_2/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config/conf.o
/home/kao23/disk_2/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config/zconf.tab.o
 -o
/home/kao23/disk_2/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config/conf
rm
/home/kao23/disk_2/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config/zconf.tab.c
  GEN
/home/kao23/disk_2/99381d37002db28566d1aba257418a38c9edee39/output/Makefile
BR2_DEFCONFIG=''
KCONFIG_AUTOCONFIG=/home/kao23/disk_2/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config/auto.conf
KCONFIG_AUTOHEADER=/home/kao23/disk_2/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config/autoconf.h
KCONFIG_TRISTATE=/home/kao23/disk_2/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config/tristate.config
BR2_CONFIG=/home/kao23/disk_2/99381d37002db28566d1aba257418a38c9edee39/output/.config
HOST_GCC_VERSION="4 8"
BUILD_DIR=/home/kao23/disk_2/99381d37002db28566d1aba257418a38c9edee39/output/build
SKIP_LEGACY=
/home/kao23/disk_2/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config/conf
--silentoldconfig Config.in
*
* Restart config...
*
*
* Build options
*
Location to save buildroot config (BR2_DEFCONFIG) [$(CONFIG_DIR)/defconfig]
$(CONFIG_DIR)/defconfig
Download dir (BR2_DL_DIR) [$(TOPDIR)/dl] $(TOPDIR)/dl
Host dir (BR2_HOST_DIR) [$(BASE_DIR)/host] $(BASE_DIR)/host
Number of jobs to run simultaneously (0 for auto) (BR2_JLEVEL) [0] 0
Enable compiler cache (BR2_CCACHE) [N/y/?] n
build packages with debugging symbols (BR2_ENABLE_DEBUG) [N/y/?] n
strip command for binaries on target
> 1. strip (BR2_STRIP_strip)
  2. none (BR2_STRIP_none)
choice[1-2]: 1
executables that should not be stripped (BR2_STRIP_EXCLUDE_FILES) []
directories that should be skipped when stripping (BR2_STRIP_EXCLUDE_DIRS)
[]
gcc optimization level
  1. optimization level 0 (BR2_OPTIMIZE_0)
  2. optimization level 1 (BR2_OPTIMIZE_1)
  3. optimization level 2 (BR2_OPTIMIZE_2)
  4. optimization level 3 (BR2_OPTIMIZE_3)
  5. optimize for debugging (BR2_OPTIMIZE_G)
> 6. optimize for size (BR2_OPTIMIZE_S)
choice[1-6?]: 6
Enable google-breakpad support (BR2_GOOGLE_BREAKPAD_ENABLE) [N/y/?] (NEW)
aborted!

Console input/output is redirected. Run 'make oldconfig' to update
configuration.

make[2]: *** [silentoldconfig] Error 1
make[1]: ***
[/home/kao23/disk_2/99381d37002db28566d1aba257418a38c9edee39/output/build/buildroot-config/auto.conf]
Error 2
make: *** [_all] Error 2


2016-12-26 22:39 GMT+08:00 Thomas Petazzoni <
thomas.petazzoni@free-electrons.com>:

> Hello,
>
> On Mon, 26 Dec 2016 22:32:37 +0800, Yu-Ting, Kao wrote:
>
> > I have another problem and it appears many times on many autobuild issue
> > IDs.
>
> Please send the full log, i.e from the point where you start the
> br-reproduce-build command. Also, again, please make sure that the
> 99381d37002db28566d1aba257418a38c9edee39 directory doesn't exist before
> issuing the command.
>
> Best regards,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux and Kernel engineering
> http://free-electrons.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20161227/1973cbe2/attachment.html>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] Autobuild reproduction and generation
  2016-12-27  1:57           ` Yu-Ting, Kao
@ 2016-12-27  9:45             ` Thomas Petazzoni
  0 siblings, 0 replies; 8+ messages in thread
From: Thomas Petazzoni @ 2016-12-27  9:45 UTC (permalink / raw)
  To: buildroot

Hello,

On Tue, 27 Dec 2016 09:57:03 +0800, Yu-Ting, Kao wrote:

> I checked the 99381d37002db28566d1aba257418a38c9edee39 directory is deleted.

Thanks, I have reproduced and fixed the issue. See commit
https://git.buildroot.org/buildroot-test/commit/?id=1959fb62be4e0f967c47d5afdef8966723e7fd4e
for all the explanations.

Thanks for having reported the problem!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-12-27  9:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-26  8:15 [Buildroot] Autobuild reproduction and generation Yu-Ting Kao
2016-12-26  8:21 ` Thomas Petazzoni
2016-12-26  9:07   ` Yu-Ting, Kao
2016-12-26  9:16     ` Thomas Petazzoni
2016-12-26 14:32       ` Yu-Ting, Kao
2016-12-26 14:39         ` Thomas Petazzoni
2016-12-27  1:57           ` Yu-Ting, Kao
2016-12-27  9:45             ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.