From owner-freebsd-ports-bugs@FreeBSD.ORG Wed May 31 16:50:35 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FB5F16ACD5 for ; Wed, 31 May 2006 16:50:35 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEB0F43D8A for ; Wed, 31 May 2006 16:50:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k4VGoEfc060496 for ; Wed, 31 May 2006 16:50:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k4VGoEY5060495; Wed, 31 May 2006 16:50:14 GMT (envelope-from gnats) Resent-Date: Wed, 31 May 2006 16:50:14 GMT Resent-Message-Id: <200605311650.k4VGoEY5060495@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Yuri Pankov Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 408F316A7B4 for ; Wed, 31 May 2006 16:44:53 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EC6F43D5C for ; Wed, 31 May 2006 16:44:52 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k4VGiquA096133 for ; Wed, 31 May 2006 16:44:52 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k4VGiqH0096132; Wed, 31 May 2006 16:44:52 GMT (envelope-from nobody) Message-Id: <200605311644.k4VGiqH0096132@www.freebsd.org> Date: Wed, 31 May 2006 16:44:52 GMT From: Yuri Pankov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/98229: www/mod_musicindex needs -fPIC on amd64 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 May 2006 16:50:39 -0000 >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: