Bug 168278 - sys-apps/util-linux-2.12r-r5 fails to compile against linux-headers-2.6.20-r1
|
Bug#:
168278
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: base-system@gentoo.org
|
Reported By: dragonheart@gentoo.org
|
|
Component: baselayout
|
|
|
URL:
|
|
Summary: sys-apps/util-linux-2.12r-r5 fails to compile against linux-headers-2.6.20-r1
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2007-02-25 00:58 0000
|
The asm/page.h file nolonger exists. util-linux-2.13_pre7 includes a fix and
compiles ok.
_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\"
-DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -O2
-march=athlon-xp -pipe mkfs.cramfs.c -o mkfs.cramfs.o
fsck.cramfs.c:79:22: error: asm/page.h: No such file or directory
make[1]: *** [fsck.cramfs.o] Error 1
make[1]: *** Waiting for unfinished jobs....
mkfs.cramfs.c: In function 'mdfile':
mkfs.cramfs.c:210: warning: pointer targets in passing argument 2 of
'MD5Update' differ in signedness
mkfs.cramfs.c: In function 'write_superblock':
mkfs.cramfs.c:446: warning: pointer targets in passing argument 1 of
'__builtin_strncpy' differ in signedness
mkfs.cramfs.c:448: warning: pointer targets in passing argument 1 of
'__builtin_strncpy' differ in signedness
mkfs.cramfs.c: In function 'do_compress':
mkfs.cramfs.c:615: warning: pointer targets in passing argument 1 of 'compress'
differ in signedness
mkfs.cramfs.c:615: warning: pointer targets in passing argument 3 of 'compress'
differ in signedness
mkfs.cramfs.c: In function 'main':
mkfs.cramfs.c:883: warning: pointer targets in passing argument 2 of 'crc32'
differ in signedness
make[1]: Leaving directory
`/var/tmp/portage/sys-apps/util-linux-2.12r-r5/work/util-linux-2.12r/disk-utils'
make: *** [all] Error 1
!!! ERROR: sys-apps/util-linux-2.12r-r5 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 3284: Called src_compile
util-linux-2.12r-r5.ebuild, line 143: Called die
!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.
!!! A complete build log is located at
'/var/log/portage/sys-apps:util-linux-2.12r-r5:20070225-004252.log'.
beer boot # emerge --info
Portage 2.1.2-r11 (default-linux/x86/2006.0, gcc-4.1.2, glibc-2.4-r4,
2.6.18-gentoo-r1 i686)
=================================================================
System uname: 2.6.18-gentoo-r1 i686 AMD Athlon(tm) XP 3200+
Gentoo Base System version 1.12.6
Timestamp of tree: Sat, 24 Feb 2007 18:20:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python: 2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.61
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.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.4.3-r4, 1.5.22
virtual/os-headers: 2.6.20-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
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/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox
sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.internode.on.net/pub/gentoo"
LINGUAS="en en_GB"
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
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dfx 3dnow 3dnowex X X509 a52 aac acl acpi acpi4linux aim alsa amr ao
apache2 apm ares arts artswrappersuid asf audiofile avi bash-completion berkdb
bitmap-fonts bootsplash browserplugin bzip2 cairo caps cddb cdparanoia cdr
cle266 cli cracklib crypt css cups curl dbus dga directfb divx4linux djbfft dnd
dri dts dv dvb dvd dvdr dvdread dxr3 eds emboss encode erandom exif fbcon
ffmpeg flac flash fltk fmod foomaticdb fortran fuse gdbm gif gimpprint glitz
glut gnokii gnutls gphoto2 gpm gstreamer gtk2 hal hardenedphp hpn i8x0 ical
iconv icq idea idn imagemagic imagemagick imap imlib ipod ipv6 irda isdnlog
jabber java javascript jbig jikes jpeg jpeg2k kde kdeenablefinal lcms lcmsi
ldap libcaca libg++ libwww lm_sensors lzo mad mbox memlimit midi mikmod mmap
mmx mmxext mng modplug motif mozilla mozsvg mp3 mp4 mpeg msdav msn music
musicbrainz mysql ncurses net nls nptl nptlonly nsplugin oav ogg oggvorbis
openal openexr opengl oss pam pcap pcre pda pdf perl php png povray pppd python
qt qt3 qt4 quicktime readline reflection samba scanner sdl session slp sms snmp
socks5 spamassassin speex spell spl sse ssl svg symlink tcltk tcpd theora tiff
transcode transparent-proxy truetype truetype-fonts type1-fonts usb v4l v4l2
vcd vdr vhosts vidix visualization vorbis wmf x264 x86 xanim xcomposite xine
xinerama xml xml2 xorg xrandr xscreensaver xv xvid xvmc zlib"
ALSA_CARDS="intel8x0 bt87x" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare
dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw
multi null plug rate route share shm softvol" ELIBC="glibc"
INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB"
USERLAND="GNU" VIDEO_CARDS="ati radeon vga vesa fbdev"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS
*** Bug 168372 has been marked as a duplicate of this bug. ***
compiles not ok:
* checking ebuild checksums ;-) ...
[ ok ]
* checking auxfile checksums ;-) ...
[ ok ]
* checking miscfile checksums ;-) ...
[ ok ]
* checking util-linux-2.13-pre7.tar.bz2 ;-) ...
[ ok ]
* checking loop-AES-v3.1e.tar.bz2 ;-) ...
[ ok ]
>>> Unpacking source...
>>> Unpacking util-linux-2.13-pre7.tar.bz2 to /var/tmp/portage/sys-apps/util-linux-2.13_pre7/work
>>> Unpacking loop-AES-v3.1e.tar.bz2 to /var/tmp/portage/sys-apps/util-linux-2.13_pre7/work
!!! ERROR: sys-apps/util-linux-2.13_pre7 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_unpack
ebuild.sh, line 751: Called qa_call 'src_unpack'
environment, line 3287: Called src_unpack
util-linux-2.13_pre7.ebuild, line 40: Called die
!!! Sorry, no loop-AES support in this version
!!! If you need support, post the topmost build error, and the call stack if
relevant.
!!! A complete build log is located at
'/var/tmp/portage/sys-apps/util-linux-2.13_pre7/temp/build.log'.
Created an attachment (id=111417) [details]
util-linux-2.12r-r6.ebuild
Please try the attached ebuild.
Files needed:
#fix no asm/page.h compile error for fsck.cramfs.c
epatch "${FILESDIR}"/${PN}-2.12r-asm-page-h.patch
#same for swapon.c
epatch "${FILESDIR}"/${PN}-2.12r-asm-page-h-swapon-c.patch
Bumps loop-aes patch to 3.1f, hence the revisione bump.
Compiles for me on ~x86
*** Bug 168694 has been marked as a duplicate of this bug. ***
the files now respect the HAVE_asm_page_h define
*** Bug 169242 has been marked as a duplicate of this bug. ***
*** Bug 174147 has been marked as a duplicate of this bug. ***