Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106429 - net-www/mod_mp3 stable request
Summary: net-www/mod_mp3 stable request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on: 106421
Blocks:
  Show dependency tree
 
Reported: 2005-09-18 15:59 UTC by Michael Stewart (vericgar) (RETIRED)
Modified: 2006-01-25 18:07 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Stewart (vericgar) (RETIRED) gentoo-dev 2005-09-18 15:59:58 UTC
Please test and stable mod_mp3-0.40-r1 for new-style apache.
Comment 1 AJ Armstrong 2005-09-21 18:55:43 UTC
Tested for amd64.  Build fails with a -fPIC error:
-----------------------------------
/usr/sbin/apxs -c -I`/usr/sbin/apxs -q INCLUDEDIR` src/mod_mp3.o
src/directives.o src/ice.o src/load.o src/shout.o src/utility.o src/ogg.o
src/common.o src/id3.o src/log.o src/internal_dispatch.o src/encode.o
[Wed Sep 21 19:51:17 2005] [warn] Connection to lingerd socket
(/var/run/lingerd/lingerd.sock) failed
[Wed Sep 21 19:51:17 2005] [warn] Connection to lingerd socket
(/var/run/lingerd/lingerd.sock) failed
gcc -shared -o src/mod_mp3.so src/mod_mp3.o src/directives.o src/ice.o
src/load.o src/shout.o src/utility.o src/ogg.o src/common.o src/id3.o src/log.o
src/internal_dispatch.o src/encode.o -L/usr/lib64 -lm -lcrypt -ldb-4.2 -lmm
-lexpat -lgdbm -lgdbm_compat -lpthread
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
src/mod_mp3.o: relocation R_X86_64_32S against `a local symbol' can not be used
when making a shared object; recompile with -fPIC
src/mod_mp3.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
apxs:Break: Command failed with rc=1
make: *** [mod_mp3.so] Error 1
-----------------------------------

Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks multilib-strict sandbox sfperms strict test"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/etc/portage/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 alsa avi berkdb bitmap-fonts crypt cups eds emboss encode foomaticdb
fortran gdbm gif gpm gstreamer gtk2 imlib ipv6 java jpeg libwww lzw lzw-tiff mp3
mpeg ncurses nls opengl pam pdflib perl png python quicktime readline sdl spell
ssl tcpd tetex tiff truetype-fonts type1-fonts usb userlocales xpm xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 2 Simon Stelling (RETIRED) gentoo-dev 2005-10-04 14:27:13 UTC
we're currently testing a new alias system, sorry for the bugspam
Comment 3 Tobias Scherbaum (RETIRED) gentoo-dev 2005-11-01 11:00:23 UTC
Marked pcc stable.
Comment 4 Patrick McLean gentoo-dev 2005-11-22 12:18:15 UTC
Still erroring out on amd64:

> /usr/sbin/apxs -c -I`/usr/sbin/apxs -q INCLUDEDIR` -L/usr/lib/mysql
-lmysqlclient -L/usr/lib -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto 
src/mod_mp3.o src/directives.o src/ice.o src/load.o src/shout.o src/utility.o
src/ogg.o src/common.o src/id3.o src/log.o src/internal_dispatch.o src/encode.o
src/mysql_dispatch.o
> gcc -shared -o src/mod_mp3.so src/mod_mp3.o src/directives.o src/ice.o
src/load.o src/shout.o src/utility.o src/ogg.o src/common.o src/id3.o src/log.o
src/internal_dispatch.o src/encode.o src/mysql_dispatch.o -L/usr/lib/mysql
-L/usr/lib -L/usr/lib64 -lmysqlclient -lz -lcrypt -lnsl -lm -lssl -lcrypto
-L/usr/lib64 -lm -lcrypt -ldb-4.2 -lmm -lexpat -lgdbm -lgdbm_compat -lpthread
> /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
warning: creating a DT_TEXTREL in object.
> /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
src/mod_mp3.o: relocation R_X86_64_PC32 against `mp3_dispatches' can not be used
when making a shared object; recompile with -fPIC
> /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
final link failed: Bad value
> collect2: ld returned 1 exit status
> apxs:Break: Command failed with rc=1
> make: *** [mod_mp3.so] Error 1
> 
> !!! ERROR: net-www/mod_mp3-0.40-r1 failed.
> !!! Function src_compile, Line 38, Exitcode 2
> !!! make failed


Here's the emerge info:

Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.13-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r2 x86_64 Intel(R) Pentium(R) 4 CPU 3.40GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -fomit-frame-pointer -ffast-math -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control /var/www"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=nocona -O2 -fomit-frame-pointer -ffast-math -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks multilib-strict sandbox sfperms strict"
GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://gentoo.cs.mcgill.ca/gentoo-portage"
USE="amd64 apache apache2 avi bash-completion berkdb bitmap-fonts bzip2 crypt
cups eds emacs emboss encode expat foomaticdb fortran gcj gdbm gif gmp gnutls
gstreamer gtk2 hardened idn imap imlib ithreads java jpeg junit libwww lzw
lzw-tiff memlimit mhash mp3 mpeg mysql ncurses nfs nis nls no-old-linux nonfsv4
nptl nptlonly pam pdflib perl php png postgres ppds python readline ruby samba
spell sqlite ssl tcpd tiff truetype truetype-fonts type1-fonts udev usb
userlocales winbind xml xml2 xpm zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

Comment 5 Simon Stelling (RETIRED) gentoo-dev 2005-12-24 06:49:43 UTC
this package has no ~amd64 at all, so it's for sure no candidate for stablization
Comment 6 Gustavo Zacarias (RETIRED) gentoo-dev 2006-01-25 18:07:37 UTC
Nuking all of the sparc/~sparc keywords towards -sparc since it really doesn't work for us, just makes some nice noises. Probably some bad ass non endian safe code to blame.
And there are far better solutions around like gnump3d.