Skip to contentSkip to conversation

New: LZMA 4.32.7, Required header file(s) are missing.

Buildroot bugzilla at busybox.net 1 participant 6 messages May 21, 2010 – Jun 7, 2010

lore
Share & tools
lore
#0 lore raw

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

Summary: LZMA 4.32.7, Required header file(s) are missing.
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: blocker
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: peter.katzmann at edag.de
CC: buildroot at uclibc.org
Estimated Hours: 0.0

Buildroot snapshot 21-05-2010

Building failed due to errore Required header file(s) are missing.

Signature · 3 lines
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.
#1 lore raw

[Buildroot] [Bug 1807] LZMA 4.32.7, Required header file(s) are missing.

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

--- Comment #1 from Peter Katzmann <[email protected]> --- Created attachment 1765
--> https://bugs.busybox.net/attachment.cgi?id=1765
buildroot config

Signature · 3 lines
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.
#2 lore raw

[Buildroot] [Bug 1807] LZMA 4.32.7, Required header file(s) are missing.

In reply to bugzilla at busybox.net

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

--- Comment #2 from Peter Katzmann <[email protected]> ---

  $ ./configure --target=armeb-linux --host=armeb-linux
--build=x86_64-unknown-linux-gnu --prefix=/usr --exec-prefix=/usr
--sysconfdir=/etc --disable-gtk-doc --disable-nls --disable-ipv6
--disable-debug

## --------- ##
## Platform. ##
## --------- ##

hostname = pet
uname -m = x86_64
uname -r = 2.6.31.12-0.2-desktop
uname -s = Linux
uname -v = #1 SMP PREEMPT 2010-03-16 21:25:39 +0100

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown

/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

configure:20322: result: no
configure:20326: checking utime.h presence
configure:20341:
/usr2/new/Source-ast162/build_env/buildroot/project_build_armeb/../toolchain/usr/bin/armeb-unknown-linux-uclibc-cpp -Os -pipe -Os -mtune=xscale -march=armv5te -mabi=apcs-gnu -msoft-float
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr2/new/Source-ast162/build_env/buildroot/project_build_armeb/../toolchain/usr/include -I/usr2/new/Source-ast162/build_env/buildroot/project_build_armeb/../toolchain/include --sysroot=/usr2/new/Source-ast162/build_env/buildroot/project_build_armeb/../toolchain/ -isysroot
/usr2/new/Source-ast162/build_env/buildroot/project_build_armeb/../toolchain
conftest.c
conftest.c:30:19: error: utime.h: No such file or directory
configure:20348: $? = 1
configure: failed program was:

| /* confdefs.h.  */
| #define PACKAGE_NAME "LZMA"
| #define PACKAGE_TARNAME "lzma"
| #define PACKAGE_VERSION "4.32.7"
| #define PACKAGE_STRING "LZMA 4.32.7"
| #define PACKAGE_BUGREPORT "lasse.collin at tukaani.org"
| #define PACKAGE "lzma"
| #define VERSION "4.32.7"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define STDC_HEADERS 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <utime.h>

configure:20362: result: no
configure:20395: checking for utime.h configure:20404: result: no
configure:20415: error: Required header file(s) are missing.

Signature · 3 lines
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.
#3 lore raw

[Buildroot] [Bug 1807] LZMA 4.32.7, Required header file(s) are missing.

In reply to bugzilla at busybox.net

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

Peter Korsgaard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED

--- Comment #3 from Peter Korsgaard <[email protected]> --- Strange, it builds here on another arm config. I cannot build your config as you forgot to attach your uclibc + busybox configs:

BR2_UCLIBC_CONFIG="$(BUILD_DIR)/../../configs/uclibc.config-pet" BR2_PACKAGE_BUSYBOX_CONFIG="$(BUILD_DIR)/../../configs/busybox26"

Signature · 3 lines
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.
#4 lore raw

[Buildroot] [Bug 1807] LZMA 4.32.7, Required header file(s) are missing.

In reply to bugzilla at busybox.net

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

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #4 from Thomas Petazzoni <[email protected]> --- I strongly think that the problem is that you compiled your uClibc without the UCLIBC_SUSV4_LEGACY option set to yes. When this option isn't set, the header file utime.h doesn't get installed (and the corresponding functions are not implemented in uClibc).

Our default configuration file for uClibc 0.9.31 (toolchain/uClibc/uClibc-0.9.31.config) enables this option. However, if you built an uClibc configuration file yourself, by default, uClibc disables this option.

It is definitely not possible in Buildroot to handle all possible combinations of C library configurations (we handle a few modifications like locale support or not, wide char support or not, IPv6 support or not, but we can't handle all of them).

So, I don't realistically see what we can do at the Buildroot level to fix this, except asking you to fix your uClibc configuration file :-)

Signature · 3 lines
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.
#5 lore raw

[Buildroot] [Bug 1807] LZMA 4.32.7, Required header file(s) are missing.

In reply to bugzilla at busybox.net

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

--- Comment #5 from Peter Katzmann <[email protected]> --- Problem was, as guessed, the old uclibc config.
After reworking this everything works fine

Signature · 3 lines
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.