Mailinglist Archive: opensuse-buildservice (148 mails)

< Previous Next >
[opensuse-buildservice] linux-libc-dev in ubuntu/debian repo project config
  • From: Roman Valov <roman.valov@xxxxxxxxxxxxx>
  • Date: Wed, 19 Jan 2011 19:48:06 +0300
  • Message-id: <1295455046.9767.20.camel@valov>
Hello,

I'm using local obs instance to build ubuntu kernel packages. Currently
I just take two tar.gz and dsc files from ubuntu repositories and commit
them into build service package.

At the beginning of build process, there is need to compile several
tools to use on build machine (i.e. fixdep, scripts/basic/fixdep.c in
kernel source tree). Last one requires include file linux/limits.h which
should be provided by linux-libc-dev package.

However this package is marked is Build-Essential, it's not installed in
the build environment:

...
installing libc6-dev
dpkg: libc6-dev: dependency problems, but configuring anyway as you requested:
libc6-dev depends on linux-libc-dev; however:
Package linux-libc-dev is not installed.
...

Currently as a workaround, I manually add this package into
Build-Depends field of dsc file and thus able to complete kernel package
build process. But I suppose it's a matter of project config for
ubuntu/debian repositories. Is it possible to fix these configs?

Here is a part of build log:

...
make ARCH=i386 EXTRAVERSION=-27-generic CONFIG_DEBUG_SECTION_MISMATCH=y
SUBLEVEL=32 KBUILD_BUILD_VERSION="49" LOCALVERSION=
O=/usr/src/packages/BUILD/debian/build/build-generic silentoldconfig
prepare scripts
make[1]: Entering directory `/usr/src/packages/BUILD'
make[3]: Nothing to be done for `/usr/src/packages/BUILD/Makefile'.
HOSTCC scripts/basic/fixdep
In file included from /usr/include/bits/posix1_lim.h:157,
from /usr/include/limits.h:145,
from
/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h:122,
from
/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h:7,
from
/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h:11,
from /usr/src/packages/BUILD/scripts/basic/fixdep.c:114:
/usr/include/bits/local_lim.h:39:26: error: linux/limits.h: No such file or
directory
In file included from /usr/include/sys/socket.h:40,
from /usr/include/netinet/in.h:25,
from /usr/include/arpa/inet.h:23,
from /usr/src/packages/BUILD/scripts/basic/fixdep.c:116:
/usr/include/bits/socket.h:366:24: error: asm/socket.h: No such file or
directory
/usr/src/packages/BUILD/scripts/basic/fixdep.c: In function 'use_config':
/usr/src/packages/BUILD/scripts/basic/fixdep.c:204: error: 'PATH_MAX'
undeclared (first use in this function)
/usr/src/packages/BUILD/scripts/basic/fixdep.c:204: error: (Each undeclared
identifier is reported only once
/usr/src/packages/BUILD/scripts/basic/fixdep.c:204: error: for each function it
appears in.)
/usr/src/packages/BUILD/scripts/basic/fixdep.c:204: warning: unused variable 's'
/usr/src/packages/BUILD/scripts/basic/fixdep.c: In function 'parse_dep_file':
/usr/src/packages/BUILD/scripts/basic/fixdep.c:304: error: 'PATH_MAX'
undeclared (first use in this function)
/usr/src/packages/BUILD/scripts/basic/fixdep.c:304: warning: unused variable 's'
make[5]: *** [scripts/basic/fixdep] Error 1
make[4]: *** [scripts_basic] Error 2
make[3]: *** [sub-make] Error 2
make[2]: *** [silentoldconfig] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/usr/src/packages/BUILD'
make: *** [/usr/src/packages/BUILD/debian/stamps/stamp-prepare-tree-generic]
Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups