Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 131209

Summary: emerge media-sound/gramofile fails on uclibc/x86/hardened
Product: Gentoo Linux Reporter: Natanael Copa <natanael.copa>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: embedded, sound
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 137756    
Bug Blocks:    
Attachments: gramofile-1.6-link.patch

Description Natanael Copa 2006-04-25 05:06:45 UTC
From the compile output:

bplay.c:95: warning: return type of 'main' is not `int'
bplay.c: In function `main':
bplay.c:114: warning: implicit declaration of function `basename'
bplay.c:114: warning: assignment makes pointer from integer without a cast
gcc -Wall -O2 -DUSEBUFFLOCK -DREDHAT50 -DLP2CD -DVUMETER    -c -o sndfunc.o sndfunc.c
gcc -Wall -O2 -DUSEBUFFLOCK -DREDHAT50 -DLP2CD -DVUMETER    -c -o shmbuf.o shmbuf.c
gcc  bplay.o sndfunc.o shmbuf.o ../yesnowindow.o ../boxes.o ../buttons.o ../textwindow.o ../errorwindow.o ../clrscr.o ../secshms.o -o bplay -lncurses
../secshms.o: In function `fsec2hmsf':
secshms.c:(.text+0xc8): undefined reference to `modf'
collect2: ld returned 1 exit status
make[1]: *** [bplay] Error 1
make[1]: Leaving directory `/var/tmp/portage/gramofile-1.6/work/gramofile-1.6/bplaysrc'
make: *** [makebplay] Error 2

emerge info:
Portage 2.0.54 (uclibc/x86/hardened, gcc-3.4.5, uclibc-0.9.28-r0, 2.6.16-gentoo-r2 i686)
=================================================================
System uname: 2.6.16-gentoo-r2 i686 Intel(R) Pentium(R) D CPU 3.00GHz
Gentoo Base System version 1.6.14
distcc 2.18.3 i386-gentoo-linux-uclibc (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
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
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-gentoo-linux-uclibc"
CFLAGS="-march=i386 -Os -pipe -fomit-frame-pointer"
CHOST="i386-gentoo-linux-uclibc"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -pipe"
DISTDIR="/var/cache/distfiles"
FEATURES="autoconfig buildpkg distlocks nodoc noinfo noman sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/var/cache/packages/default"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/alpine-portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X509 bitmap-fonts bzip2 cdr cracklib curl dri encode expat gd gmp hardened iproute2 ipv6 jpeg mad mhash minimal ncurses netboot ogg oss pci pcmcia pic png pppd readline rrdtool snmp speex ssl tdb truetype truetype-fonts type1-fonts uclibc udev usb vorbis winbind zlib userland_GNU kernel_linux elibc_uclibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Natanael Copa 2006-04-25 05:11:55 UTC
Created attachment 85450 [details, diff]
gramofile-1.6-link.patch

The proposed patch is tested on embedded (uclibc) and amd64.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2009-05-12 20:08:03 UTC
  12 May 2009; Samuli Suominen <ssuominen@gentoo.org>
  +gramofile-1.6-r1.ebuild, -gramofile-1.6_p3.ebuild,
  +files/gramofile-1.6-strlen_and_exit.patch,
  -files/gramofile-1.6_p3-64bit.patch,
  -files/gramofile-1.6_p3-implicit-declarations.patch:
  Apply Debian patchset wrt #137756, #131209 and #214442.

Should fix this one as well, lemme know if it still fails someway.