Date: Wed, 31 May 2006 16:44:52 GMT From: Yuri Pankov <yuri.pankov@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/98229: www/mod_musicindex needs -fPIC on amd64 Message-ID: <200605311644.k4VGiqH0096132@www.freebsd.org> Resent-Message-ID: <200605311650.k4VGoEY5060495@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 98229 >Category: ports >Synopsis: www/mod_musicindex needs -fPIC on amd64 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed May 31 16:50:13 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Yuri Pankov >Release: 7.0-CURRENT/amd64 >Organization: >Environment: FreeBSD klamath.irbis.net.ru 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Sun May 28 02:33:08 MSD 2006 root@klamath.irbis.net.ru:/usr/obj/usr/src/sys/KLAMATH amd64 >Description: www/mod_musicindex needs -fPIC added to CFLAGS to build correctly on amd64 >How-To-Repeat: cd /usr/ports/www/mod_musicindex ; make: ===> Vulnerability check disabled, database not found ===> Extracting for mod_musicindex-0.99.7_3 => MD5 Checksum OK for libapache-mod-musicindex_0.99.7.tar.gz. => SHA256 Checksum OK for libapache-mod-musicindex_0.99.7.tar.gz. ===> Patching for mod_musicindex-0.99.7_3 ===> Applying FreeBSD patches for mod_musicindex-0.99.7_3 ===> mod_musicindex-0.99.7_3 depends on file: /usr/local/sbin/apxs - found ===> mod_musicindex-0.99.7_3 depends on executable: gmake - found ===> mod_musicindex-0.99.7_3 depends on shared library: vorbis.3 - found ===> mod_musicindex-0.99.7_3 depends on shared library: id3tag.0 - found ===> mod_musicindex-0.99.7_3 depends on shared library: mad.2 - found ===> mod_musicindex-0.99.7_3 depends on shared library: FLAC.7 - found ===> Configuring for mod_musicindex-0.99.7_3 ===> Building for mod_musicindex-0.99.7_3 cc -DHAS_MP3 -DHAS_OGG -DHAS_FLAC -DEAPI -I/usr/local/include/apache2 -O -g -pipe -I/usr/local/include -Wall -pedantic -o config.o -c config.c cc -DHAS_MP3 -DHAS_OGG -DHAS_FLAC -DEAPI -I/usr/local/include/apache2 -O -g -pipe -I/usr/local/include -Wall -pedantic -o html.o -c html.c cc -DHAS_MP3 -DHAS_OGG -DHAS_FLAC -DEAPI -I/usr/local/include/apache2 -O -g -pipe -I/usr/local/include -Wall -pedantic -o http.o -c http.c cc -DHAS_MP3 -DHAS_OGG -DHAS_FLAC -DEAPI -I/usr/local/include/apache2 -O -g -pipe -I/usr/local/include -Wall -pedantic -o inf.o -c inf.c cc -DHAS_MP3 -DHAS_OGG -DHAS_FLAC -DEAPI -I/usr/local/include/apache2 -O -g -pipe -I/usr/local/include -Wall -pedantic -o playlist.o -c playlist.c cc -DHAS_MP3 -DHAS_OGG -DHAS_FLAC -DEAPI -I/usr/local/include/apache2 -O -g -pipe -I/usr/local/include -Wall -pedantic -o mod_musicindex.o -c mod_musicindex.c cc -DHAS_MP3 -DHAS_OGG -DHAS_FLAC -DEAPI -I/usr/local/include/apache2 -O -g -pipe -I/usr/local/include -Wall -pedantic -o cache.o -c cache.c cc -DHAS_MP3 -DHAS_OGG -DHAS_FLAC -DEAPI -I/usr/local/include/apache2 -O -g -pipe -I/usr/local/include -Wall -pedantic -o playlist-mp3.o -c playlist-mp3.c cc -DHAS_MP3 -DHAS_OGG -DHAS_FLAC -DEAPI -I/usr/local/include/apache2 -O -g -pipe -I/usr/local/include -Wall -pedantic -o playlist-ogg.o -c playlist-ogg.c cc -DHAS_MP3 -DHAS_OGG -DHAS_FLAC -DEAPI -I/usr/local/include/apache2 -O -g -pipe -I/usr/local/include -Wall -pedantic -o playlist-flac.o -c playlist-flac.c cc -shared -O -g -pipe -I/usr/local/include -Wall -pedantic -DHAS_MP3 -DHAS_OGG -DHAS_FLAC -DEAPI -L/usr/local/lib -lid3tag -lmad -lvorbis -lvorbisfile -lFLAC -o mod_musicindex.so config.o html.o http.o inf.o playlist.o mod_musicindex.o cache.o playlist-mp3.o playlist-ogg.o playlist-flac.o /usr/bin/ld: config.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC config.o: could not read symbols: Bad value gmake: *** [mod_musicindex.so] Error 1 *** Error code 2 Stop in /usr/ports/www/mod_musicindex. >Fix: --- Makefile.orig Wed May 31 20:44:09 2006 +++ Makefile Wed May 31 20:43:58 2006 @@ -23,7 +23,7 @@ FLAC.7:${PORTSDIR}/audio/flac CPPFLAGS= -DHAS_MP3 -DHAS_OGG -DHAS_FLAC -CFLAGS+= -I${LOCALBASE}/include +CFLAGS+= -I${LOCALBASE}/include -fPIC #WANT_APACHE= YES USE_GMAKE= yes >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605311644.k4VGiqH0096132>