All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 7352] New: [2014.08-rc3] diffutils-3.3 failed on building
@ 2014-09-03  3:11 bugzilla at busybox.net
  2014-09-03  5:06 ` [Buildroot] [Bug 7352] " bugzilla at busybox.net
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2014-09-03  3:11 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=7352

           Summary: [2014.08-rc3] diffutils-3.3 failed on building
           Product: buildroot
           Version: 2014.08
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: joymarquis at hotmail.com
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


Hi buildroot maintainer,

According to the error log, I found man/Makefile:Line-1301 might need to be
carefully considered:
>> cmp.1: $S/cmp.c cmp.x

I then did search for 
 * grep -r "[^a-zA-Z]S[ \t]*=" *
 * grep "\-s[^a-zA-Z]" *
to find some clue, but no luck...

Can you help to check if the "S=-s" is expected here?



Error log
=========

make[2]: Entering directory
`/top/buildroot/buildroot-2014.08-rc3/output/build/diffutils-3.3/src'
GEN      paths.h
GEN      version.c
GEN      version.h
/usr/bin/make  all-am
make[3]: Entering directory
`/top/buildroot/buildroot-2014.08-rc3/output/build/diffutils-3.3/src'
CC       version.o
CC       cmp.o
CC       analyze.o
CC       context.o
CC       diff.o
CC       dir.o
CC       ed.o
CC       ifdef.o
CC       io.o
CC       normal.o
CC       side.o
CC       util.o
CC       diff3.o
CC       sdiff.o
AR       libver.a
CCLD     cmp
CCLD     diff
CCLD     sdiff
CCLD     diff3
make[3]: Leaving directory
`/top/buildroot/buildroot-2014.08-rc3/output/build/diffutils-3.3/src'
make[2]: Leaving directory
`/top/buildroot/buildroot-2014.08-rc3/output/build/diffutils-3.3/src'
Making all in tests
make[2]: Entering directory
`/top/buildroot/buildroot-2014.08-rc3/output/build/diffutils-3.3/tests'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/top/buildroot/buildroot-2014.08-rc3/output/build/diffutils-3.3/tests'
Making all in doc
make[2]: Entering directory
`/top/buildroot/buildroot-2014.08-rc3/output/build/diffutils-3.3/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/top/buildroot/buildroot-2014.08-rc3/output/build/diffutils-3.3/doc'
Making all in man
make[2]: Entering directory
`/top/buildroot/buildroot-2014.08-rc3/output/build/diffutils-3.3/man'
make[2]: *** No rule to make target `-s/cmp.c', needed by `cmp.1'.  Stop.
make[2]: Leaving directory
`/top/buildroot/buildroot-2014.08-rc3/output/build/diffutils-3.3/man'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/top/buildroot/buildroot-2014.08-rc3/output/build/diffutils-3.3'
make: ***
[/top/buildroot/buildroot-2014.08-rc3/output/build/diffutils-3.3/.stamp_built]
Error 2


Thanks.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

* [Buildroot] [Bug 7352] [2014.08-rc3] diffutils-3.3 failed on building
  2014-09-03  3:11 [Buildroot] [Bug 7352] New: [2014.08-rc3] diffutils-3.3 failed on building bugzilla at busybox.net
@ 2014-09-03  5:06 ` bugzilla at busybox.net
  2014-09-03  6:44 ` bugzilla at busybox.net
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2014-09-03  5:06 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=7352

--- Comment #1 from Thomas De Schampheleire <patrickdepinguin@gmail.com> 2014-09-03 05:06:05 UTC ---
Please provide your .config file so we can reproduce. At this moment we have
insufficient information to help you.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

* [Buildroot] [Bug 7352] [2014.08-rc3] diffutils-3.3 failed on building
  2014-09-03  3:11 [Buildroot] [Bug 7352] New: [2014.08-rc3] diffutils-3.3 failed on building bugzilla at busybox.net
  2014-09-03  5:06 ` [Buildroot] [Bug 7352] " bugzilla at busybox.net
@ 2014-09-03  6:44 ` bugzilla at busybox.net
  2014-09-03  8:43 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2014-09-03  6:44 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=7352

--- Comment #2 from joymarquis at hotmail.com 2014-09-03 06:44:50 UTC ---
Created attachment 5576
  --> https://bugs.busybox.net/attachment.cgi?id=5576
Failed .config file for diffutils compiling failure

Attached is the .config file which was failed on diffutils compile.

Please also comment if needing me to try some adjustments.


Thanks for your reply.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

* [Buildroot] [Bug 7352] [2014.08-rc3] diffutils-3.3 failed on building
  2014-09-03  3:11 [Buildroot] [Bug 7352] New: [2014.08-rc3] diffutils-3.3 failed on building bugzilla at busybox.net
  2014-09-03  5:06 ` [Buildroot] [Bug 7352] " bugzilla at busybox.net
  2014-09-03  6:44 ` bugzilla at busybox.net
@ 2014-09-03  8:43 ` bugzilla at busybox.net
  2014-09-03  9:24 ` bugzilla at busybox.net
  2014-09-03  9:43 ` bugzilla at busybox.net
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2014-09-03  8:43 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=7352

--- Comment #3 from Thomas De Schampheleire <patrickdepinguin@gmail.com> 2014-09-03 08:43:51 UTC ---
I cannot reproduce this issue. Variable S is:
S=../src
here, which I checked by editing man/Makefile and adding
$(warning S=$(S))
above the line that you showed (where cmp.c is referenced).

This S variable is set from man/Makefile itself, as follows: (line 1069)

S = $(top_srcdir)/src

and top_srcdir is above:

top_srcdir = ..

Looking at man/Makefile.in, the definition of S is fixed, while top_srcdir is
derived from @top_srcdir at . This variable is set from the autoconf value
ac_top_srcdir, which in turn is derived by the configure script using some
logic around line 2198.

Can you try:
make diffutils-dirclean diffutils 

to make sure there is nothing odd going on, and if the problem persists add
some echo statements in the configure script to see how the value of
ac_top_srcdir is derived for you.

Please also send the output of the configure command from the build log, for me
it is:

>>> diffutils 3.3 Configuring
(cd /home/tdescham/repo/contrib/buildroot-bugs/output/build/diffutils-3.3/ &&
rm -rf config.cache &&
PATH="/home/tdescham/repo/contrib/buildroot-bugs/output/host/bin:/home/tdescham/repo/contrib/buildroot-bugs/output/host/sbin:/home/tdescham/repo/contrib/buildroot-bugs/output/host/usr/bin:/home/tdescham/repo/contrib/buildroot-bugs/output/host/usr/sbin:/home/tdescham/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
AR="/home/tdescham/repo/contrib/buildroot-bugs/output/host/usr/bin/mips-linux-gnu-ar"
AS="/home/tdescham/repo/contrib/buildroot-bugs/output/host/usr/bin/mips-linux-gnu-as"
LD="/home/tdescham/repo/contrib/buildroot-bugs/output/host/usr/bin/mips-linux-gnu-ld"
NM="/home/tdescham/repo/contrib/buildroot-bugs/output/host/usr/bin/mips-linux-gnu-nm"
CC="/home/tdescham/repo/contrib/buildroot-bugs/output/host/usr/bin/mips-linux-gnu-gcc"
GCC="/home/tdescham/repo/contrib/buildroot-bugs/output/host/usr/bin/mips-linux-gnu-gcc"
CPP="/home/tdescham/repo/contrib/buildroot-bugs/output/host/usr/bin/mips-linux-gnu-cpp"
CXX="/home/tdescham/repo/contrib/buildroot-bugs/output/host/usr/bin/mips-linux-gnu-g++"
FC="/home/tdescham/repo/contrib/buildroot-bugs/output/host/usr/bin/mips-linux-gnu-gfortran"
RANLIB="/home/tdescham/repo/contrib/buildroot-bugs/output/host/usr/bin/mips-linux-gnu-ranlib"
READELF="/home/tdescham/repo/contrib/buildroot-bugs/output/host/usr/bin/mips-linux-gnu-readelf"
STRIP="/home/tdescham/repo/contrib/buildroot-bugs/output/host/usr/bin/mips-linux-gnu-strip"
OBJCOPY="/home/tdescham/repo/contrib/buildroot-bugs/output/host/usr/bin/mips-linux-gnu-objcopy"
OBJDUMP="/home/tdescham/repo/contrib/buildroot-bugs/output/host/usr/bin/mips-linux-gnu-objdump"
AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as"
CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc"
CXX_FOR_BUILD="/usr/bin/g++" FC_FOR_BUILD="/usr/bin/ld"
LD_FOR_BUILD="/usr/bin/ld"
CPPFLAGS_FOR_BUILD="-I/home/tdescham/repo/contrib/buildroot-bugs/output/host/usr/include"
CFLAGS_FOR_BUILD="-O2
-I/home/tdescham/repo/contrib/buildroot-bugs/output/host/usr/include"
CXXFLAGS_FOR_BUILD="-O2
-I/home/tdescham/repo/contrib/buildroot-bugs/output/host/usr/include"
LDFLAGS_FOR_BUILD="-L/home/tdescham/repo/contrib/buildroot-bugs/output/host/lib
-L/home/tdescham/repo/contrib/buildroot-bugs/output/host/usr/lib
-Wl,-rpath,/home/tdescham/repo/contrib/buildroot-bugs/output/host/usr/lib"
FCFLAGS_FOR_BUILD=""
DEFAULT_ASSEMBLER="/home/tdescham/repo/contrib/buildroot-bugs/output/host/usr/bin/mips-linux-gnu-as"
DEFAULT_LINKER="/home/tdescham/repo/contrib/buildroot-bugs/output/host/usr/bin/mips-linux-gnu-ld"
CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -pipe
-march=1004kc -mtune=1004kc -mdspr2 -mmt -O3 -g2" CXXFLAGS="-D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -pipe -march=1004kc -mtune=1004kc
-mdspr2 -mmt -O3 -g2" LDFLAGS="" FCFLAGS=""
PKG_CONFIG="/home/tdescham/repo/contrib/buildroot-bugs/output/host/usr/bin/pkg-config"
STAGING_DIR="/home/tdescham/repo/contrib/buildroot-bugs/output/host/usr/mipsel-buildroot-linux-gnu/sysroot"
ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes
ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes
gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes
ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes
lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no  ./configure
--target=mipsel-buildroot-linux-gnu --host=mipsel-buildroot-linux-gnu
--build=x86_64-unknown-linux-gnu --prefix=/usr --exec-prefix=/usr
--sysconfdir=/etc --program-prefix="" --disable-gtk-doc --disable-doc
--disable-docs --disable-documentation --with-xmlto=no --with-fop=no
--disable-dependency-tracking   --enable-ipv6 --enable-static --enable-shared  
)
configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-doc,
--disable-docs, --disable-documentation, --with-xmlto, --with-fop,
--enable-ipv6, --enable-static, --enable-shared

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

* [Buildroot] [Bug 7352] [2014.08-rc3] diffutils-3.3 failed on building
  2014-09-03  3:11 [Buildroot] [Bug 7352] New: [2014.08-rc3] diffutils-3.3 failed on building bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2014-09-03  8:43 ` bugzilla at busybox.net
@ 2014-09-03  9:24 ` bugzilla at busybox.net
  2014-09-03  9:43 ` bugzilla at busybox.net
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2014-09-03  9:24 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=7352

--- Comment #4 from joymarquis at hotmail.com 2014-09-03 09:24:25 UTC ---
Hi Thomas,

The problem is root caused with the debug method you mentioned:
 * this is a user environment setting problem instead of buildroot issue.
 * the "S" variable in Makefile is overridden by the command alias "alias
make='make S=-s'".

Problem disappeared after manually execute "unalias make" and run make again.

Sorry for taking your time helping to rebuild the source code.
And really appreciate for your help on this false alarm.


Background for how it happen:
The alias "alias make='make S=-s'" was preset in /etc/bash.bashrc for most of
our Linux box, I was told by admin that this is required by internal project
build.


Thanks!

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

* [Buildroot] [Bug 7352] [2014.08-rc3] diffutils-3.3 failed on building
  2014-09-03  3:11 [Buildroot] [Bug 7352] New: [2014.08-rc3] diffutils-3.3 failed on building bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2014-09-03  9:24 ` bugzilla at busybox.net
@ 2014-09-03  9:43 ` bugzilla at busybox.net
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2014-09-03  9:43 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=7352

Thomas De Schampheleire <patrickdepinguin@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #5 from Thomas De Schampheleire <patrickdepinguin@gmail.com> 2014-09-03 09:43:47 UTC ---
Thanks for your feedback, I was indeed starting to think in that direction.
I'm glad this is resolved for you.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

end of thread, other threads:[~2014-09-03  9:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-03  3:11 [Buildroot] [Bug 7352] New: [2014.08-rc3] diffutils-3.3 failed on building bugzilla at busybox.net
2014-09-03  5:06 ` [Buildroot] [Bug 7352] " bugzilla at busybox.net
2014-09-03  6:44 ` bugzilla at busybox.net
2014-09-03  8:43 ` bugzilla at busybox.net
2014-09-03  9:24 ` bugzilla at busybox.net
2014-09-03  9:43 ` bugzilla at busybox.net

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.