Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125685 - media-sound/audacious: emerge won't stop on error
Summary: media-sound/audacious: emerge won't stop on error
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-10 02:32 UTC by Till Heikamp
Modified: 2006-03-19 05:43 UTC (History)
1 user (show)

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


Attachments
audacious build log (audacious-install,97.57 KB, text/plain)
2006-03-18 16:47 UTC, Jory A. Pratt
Details
ouput of insn failure (ccWgnSm9.out,920.27 KB, text/plain)
2006-03-18 16:54 UTC, Jory A. Pratt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Till Heikamp 2006-03-10 02:32:22 UTC
emerge won't stop on error

Reproducible:
- always, add -D_FILE_OFFSET_BITS=64 to CFLAGS
- maybe any compile error (see description below)

Version:
media-sound/audacious-0.2.1
media-sound/audacious-0.2.2
(media-sound/audacious-0.2-r1 stops with a message that -D_FILE_OFFSET_BITS=64 is unsupported)

solution:
- maybe filtering out -D_FILE_OFFSET_BITS=64
- fixing the makefile

hello people,

today i tried to emerge audacious but when i tried to start it the binary was missing:
Code:
>>> Merging media-sound/audacious-0.2.1 to /
--- /usr/
--- /usr/bin/
--- /usr/lib/
>>> /usr/lib/audacious/
>>> /usr/lib/audacious/Input/


surprise, surprise. scrolled upwards in the terminal window and noticed this:

Code:
[finished subobjective: images]
[building binary objective: audacious]
        CC     build_stamp.c
        CC     genevent.c
        CC     skin.c
        CC     util.c
In file included from util.c:49:
/usr/include/fts.h:41:3: #error "<fts.h> cannot be used with -D_FILE_OFFSET_BITS==64"
        CC     output.c
make[2]: *** [util.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[finished binary objective: audacious]
[all objectives built]
[finished subobjective: audacious]
[building subobjective: po]
[finished subobjective: po]
[building subobjective: icons]
[all objectives built]
[finished subobjective: icons]
[building subobjective: skin]
[all objectives built]
[finished subobjective: skin]
[all objectives built]
>>> Source compiled.
>>> Test phase [not enabled]: media-sound/audacious-0.2.1

>>> Install audacious-0.2.1 into /var/tmp/portage/audacious-0.2.1/image/ category media-sound


which pointed me to the "solution" to remove the -D_FILE_OFFSET_BITS=64 setting from CFLAGS. added this one to cflags after having problems to download a 4,3 GB ISO file with wget and someone told me this is to enable large file support.
CFLAGS="-O2 -mtune=i686 -march=i686 -fomit-frame-pointer -pipe -D_FILE_OFFSET_BITS=64"
but why doesn't emerge stop at this point ?

Code:
   INSTALL     plugin.h
   INSTALL     audacious
/bin/install: cannot stat `audacious': No such file or directory
make[1]: *** [install] Error 1
[installing subobjective: po]
mkdir -p -- /var/tmp/portage/audacious-0.2.1/image//usr/share/locale/de/LC_MESSAGES
installing de.gmo as /var/tmp/portage/audacious-0.2.1/image//usr/share/locale/de/LC_MESSAGES/audacious.mo
[installing subobjective: icons]


or at this point ? unfortunately i've no idea what's the reason for this, a sloppy makefile ?

it's somewhat annoying to see that packages often do not compile with specific CFLAGS which work good with other ebuilds and ther is no /etc/portage/packages.cflags :(
sure, some ebuilds are stripping CFLAGS which are known not to work but i personally don't think this is the right approach.

any ideas ?



till@till ~ $ emerge info
*** Deprecated use of action 'info', use '--info' instead
Portage 2.1_pre5-r4 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.13-gentoo-r2 i686)
=================================================================
System uname: 2.6.13-gentoo-r2 i686 AMD Athlon(tm) XP 3200+
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -march=i686 -fomit-frame-pointer -pipe -D_FILE_OFFSET_BITS=64"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -mtune=i686 -march=i686 -fomit-frame-pointer -pipe -D_FILE_OFFSET_BITS=64"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE"
LINGUAS="de"
MAKEOPTS="-j2 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aac acpi alsa apache2 apm avi bash-completion berkdb bitmap-fonts cairo cdparanoia cdr crypt cups divx4linux dri dv dvb dvd dvdr dvdread emboss encode fbcon ffmpeg firefox foomaticdb fortran ftp gcj gd gdbm gecko-sdk gif gnome gpm gstreamer gtk gtk2 hal icq imagemagick imap imlib jpeg libg++ libwww lirc mad mbox mikmod mime mmx mono motif mp3 mpeg msn ncurses nls nptl nptlonly nsplugin nvidia ogg oggvorbis opengl oss pam pdflib perl pic pie png posix python quicktime readline samba sdl spell sqlite sse ssl svg tcpd truetype truetype-fonts type1-fonts udev unicode usb v4l vorbis win32codecs wxwindows xine xml xpm xv xvid zlib elibc_glibc kernel_linux linguas_de userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, LDFLAGS
Comment 1 Tony Vroon (RETIRED) gentoo-dev 2006-03-10 11:16:50 UTC
Don't file bugs if you set unsupported global CFLAGS.
Comment 2 Jory A. Pratt 2006-03-18 16:46:32 UTC
As there is more of an issue then reported reopening with build log.
Comment 3 Jory A. Pratt 2006-03-18 16:47:12 UTC
Created attachment 82505 [details]
audacious build log

If you would like anything holler I will test.
Comment 4 Jory A. Pratt 2006-03-18 16:54:59 UTC
Created attachment 82506 [details]
ouput of insn failure
Comment 5 Till Heikamp 2006-03-18 17:23:38 UTC
according to a forum user, the first problem is fixed in audacious svn now, so emerge should stop in future versions if an error occurs.
http://forums.gentoo.org/viewtopic-t-441896-highlight-.html
Comment 6 Tony Vroon (RETIRED) gentoo-dev 2006-03-19 05:43:46 UTC
Please do not report ICE's as a problem with the application itself. Contact GCC@ and file a separate bug. The build system will try to stop on errors in SVN, this will be in the next release.