Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 211573 - sys-apps/util-linux-2.13.1: ionice fails to compile on mips
Summary: sys-apps/util-linux-2.13.1: ionice fails to compile on mips
Status: RESOLVED DUPLICATE of bug 190613
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: MIPS Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-26 22:38 UTC by Mike Hammill
Modified: 2008-02-26 23:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
complete emerge log (util_linux.log,42.69 KB, text/plain)
2008-02-26 22:41 UTC, Mike Hammill
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Hammill 2008-02-26 22:38:39 UTC
Whereas sys-apps/util-linux-2.13.0.1 compiles without problem, sys-apps/util-linux-2.13-1 fails with message:

mips-unknown-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..  -include ../config.h -I../include -DLOCALEDIR=\"/usr/share/lo
cale\"  -fsigned-char -O2 -march=mips4 -pipe -mabi=32 -MT ionice.o -MD -MP -MF .deps/ionice.Tpo -c -o ionice.o ionice.c
ionice.c:42:4: error: #error "Unsupported arch"
make[2]: *** [ionice.o] Error 1


Reproducible: Always

Steps to Reproduce:
1. compile (note: have not tried w/o ccache or w/o -j2

Actual Results:  
Fails with above message.

Expected Results:  
shiny new util-linux

# emerge --info
Portage 2.1.4.4 (default-linux/mips/2007.1-dev/generic-be/o32, gcc-4.1.2, glibc-2.3.6-r4, 2.6.23.14-mipsgit-20080206 mips64)
=================================================================
System uname: 2.6.23.14-mipsgit-20080206 mips64 R5000 V2.1 FPU V1.0
Timestamp of tree: Mon, 25 Feb 2008 12:16:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.3-r1, 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.6.3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="mips ~mips"
CBUILD="mips-unknown-linux-gnu"
CFLAGS="-O2 -march=mips4 -pipe -mabi=32"
CHOST="mips-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=mips4 -pipe -mabi=32"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sfperms strict unmerge-orphans user-fetch userfetch"
GENTOO_MIRRORS="http://ftp.linux.ee/pub/gentoo/distfiles/ http://ftp.rhnet.is/pub/gentoo/ http://mirror.gentoo.no/ http://gentoo.osuosl.org/ http://ftp.du.se/pub/os/gentoo"
LC_ALL="en_US.utf8"
LINGUAS="en_US en_GB sv_SE sv"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://giddy.michael.hammill.name/gentoo-portage"
USE="/ bash-completion berkdb bitmap-fonts cli cracklib fam fortran gdbm gpm iconv isdnlog libwww mailwrapper midi mips mudflap nls no-old-linux nptl nptlonly openmp pam pcre perl pppd python readline reflection sdl session spl ssl tcpd truetype-fonts type1-fonts unicode vram xorg" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en_GB sv_SE sv" USERLAND="GNU" VIDEO_CARDS="dummy fbdev impact newport v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mike Hammill 2008-02-26 22:41:54 UTC
Created attachment 144707 [details]
complete emerge log

Sorry, have not had time to look into what is causing the bug.
Comment 2 Mike Hammill 2008-02-26 22:44:03 UTC
Please excuse typo in my text (subject line is correct).  It is util-linux-2.13.1 (not util-linux-2.13-1) that fails.
Comment 3 SpanKY gentoo-dev 2008-02-26 23:02:31 UTC
added back in the workaround as 2.13.1 doesnt have the cleanup fix that was integrated into newer versions

*** This bug has been marked as a duplicate of bug 190613 ***