Summary: | sys-apps/util-linux-2.12r-p* can't be compiled against linux-headers-2.6.18 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mario Fetka (geos_one) <mario.fetka> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ben, gentoo, masterdriverz, nbensa |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | lseek patch |
Description
Mario Fetka (geos_one)
2006-10-10 23:19:44 UTC
Created attachment 99342 [details, diff]
lseek patch
this patch is a backport of the lseek patch
(it is already part of 2.13_pre*)
it replaces the mips lseek patch.
the origin of this patch is lfs-linux project
Comment on attachment 99342 [details, diff]
lseek patch
no, we want to minimize changes to 2.12 and backporting stuff from 2.13 does not qualify
should work now *** Bug 153300 has been marked as a duplicate of this bug. *** 13 days later, I still can't compile. ========================================================================== make[1]: Entering directory `/var/tmp/portage/sys-apps/util-linux-2.12r-r5/work/util-linux-2.12r/fdisk' i686-pc-linux-gnu-gcc -c -march=pentium4 -O2 -pipe -fomit-frame-pointer -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -DDISABLE_NLS -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -march=pentium4 -O2 -pipe -fomit-frame-pointer -fno-omit-frame-pointer fdisk.c -o fdisk.o i686-pc-linux-gnu-gcc -c -march=pentium4 -O2 -pipe -fomit-frame-pointer -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -DDISABLE_NLS -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -march=pentium4 -O2 -pipe -fomit-frame-pointer -fno-omit-frame-pointer llseek.c -o llseek.o llseek.c:34: error: expected declaration specifiers or '...' before '_llseek' llseek.c:34: error: expected declaration specifiers or '...' before 'fd' llseek.c:34: error: expected declaration specifiers or '...' before 'offset_high' llseek.c:35: error: expected declaration specifiers or '...' before 'offset_low' llseek.c:35: error: expected declaration specifiers or '...' before 'result' llseek.c:36: error: expected declaration specifiers or '...' before 'origin' llseek.c:50: warning: return type defaults to 'int' llseek.c: In function '_syscall5': llseek.c:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token llseek.c:68: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token llseek.c:34: error: parameter name omitted llseek.c:34: error: parameter name omitted llseek.c:34: error: parameter name omitted llseek.c:35: error: parameter name omitted llseek.c:35: error: parameter name omitted llseek.c:36: error: parameter name omitted llseek.c:93: error: expected '{' at end of input make[1]: *** [llseek.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from fdisk.c:24: fdisk.h:85: warning: type qualifiers ignored on function return type fdisk.c: In function 'get_partition_table_geometry': fdisk.c:810: warning: pointer targets in initialization differ in signedness fdisk.c: In function 'get_boot': fdisk.c:948: warning: pointer targets in passing argument 1 of 'valid_part_table_flag' differ in signedness fdisk.c:958: warning: pointer targets in passing argument 1 of 'valid_part_table_flag' differ in signedness fdisk.c:1002: warning: pointer targets in passing argument 1 of 'valid_part_table_flag' differ in signedness fdisk.c: At top level: fdisk.c:1256: warning: type qualifiers ignored on function return type make[1]: Leaving directory `/var/tmp/portage/sys-apps/util-linux-2.12r-r5/work/util-linux-2.12r/fdisk' make: *** [all] Error 1 !!! ERROR: sys-apps/util-linux-2.12r-r5 failed. Call stack: ebuild.sh, line 1568: Called dyn_compile ebuild.sh, line 937: Called src_compile util-linux-2.12r-r5.ebuild, line 141: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. ========================================================================== zoolook@venkman ~ $ emerge --info Portage 2.1.2_rc1-r1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r1 i686) ================================================================= System uname: 2.6.18-gentoo-r1 i686 Intel(R) Celeron(R) CPU 2.53GHz Gentoo Base System version 1.12.5 Last Sync: Mon, 30 Oct 2006 08:00:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.18 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/init.d /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /usr/X11R6/lib/X11/xkb" CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 acl acpi alsa arts crypt cups elibc_glibc gif imap input_devices_evdev input_devices_keyboard input_devices_mouse jack java kdeenablefinal kdehiddenvisibility kernel_linux ldap lirc_devices_all mmx mono nptl opengl pam pic readline sasl sse sse2 ssl tcpd threads unicode usb userland_GNU video_cards_nvidia zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS i dont remember why i closed this as fixed ... prob because it was working fine on my amd64 ... anyways, it should be fine now ... tested x86/ppc This isn't fixed. Just tried to install a new machine with ~x86 and encountered this. something is out of date on your system cause it works fine on mine Downloaded stage 3, chrooted, set up the configs, synced, tried to emerge -NDu world and it would fail on it. that sucks that doesnt say what version of linux-headers/util-linux you had I don't have access to stuff at the moment but it would have been whatever is on Stage3 mixed with whatever was ~x86 as of about 20 hours ago. I believe it was linux-headers-2.6.19.2-r1 but can't remember the version of util-linux, as I said it would have been trying to build whatever was latest ~ from yesterday. *** Bug 163161 has been marked as a duplicate of this bug. *** (In reply to comment #8) > something is out of date on your system cause it works fine on mine > I encountered this bug during a stage 1 install. |