From owner-freebsd-ports@FreeBSD.ORG Sun Jan 25 15:55:38 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7BCFEA61; Sun, 25 Jan 2015 15:55:38 +0000 (UTC) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3A017329; Sun, 25 Jan 2015 15:55:37 +0000 (UTC) Received: from [93.104.2.207] (helo=c720-r276659) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1YFPX6-0004SL-Lq; Sun, 25 Jan 2015 16:55:28 +0100 Date: Sun, 25 Jan 2015 16:55:26 +0100 From: Matthias Apitz To: Dimitry Andric Subject: Re: head/graphics/svgalib does not build in poudriere Message-ID: <20150125155526.GA2744@c720-r276659> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , Dimitry Andric , freebsd-ports@freebsd.org, zeising@FreeBSD.org References: <20150125075122.GA1377@c720-r276659> <20150125101145.GA1906@c720-r276659> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 11.0-CURRENT r269739 (i386) User-Agent: Mutt/1.5.23 (2014-03-12) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 93.104.2.207 Cc: freebsd-ports@freebsd.org, zeising@FreeBSD.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jan 2015 15:55:38 -0000 El día Sunday, January 25, 2015 a las 04:44:39PM +0100, Dimitry Andric escribió: > On 25 Jan 2015, at 11:11, Matthias Apitz wrote: > > > > El día Sunday, January 25, 2015 a las 08:51:22AM +0100, Matthias Apitz escribió: > ... > >> This is in head r276659, ports r377801 and with poudriere 3.1.1 on > >> amd64; the port graphics/svgalib fails to build (only) in poudriere with: > >> > >> ... > >> clang -Wall -Wstrict-prototypes -Wall -Wstrict-prototypes -fPIC > >> -I/wrkdirs/usr/ports/graphics/svgalib/work/svgalib-1.4.3/include -I. > >> -fstack-protector -fno-strict-aliasing -I../include -L../sharedlib -o > >> restorefont restorefont.o -lvga -lm > >> ../sharedlib/libvga.so: undefined reference to `_outb' > >> clang: error: linker command failed with exit code 1 (use -v to see > >> invocation) > ... > >> the offending code is in src/paradise.c: > >> > >> ... > >> void inline _outb(unsigned port,unsigned value) > >> { > >> #ifdef DEBUG > >> printf ("0x%x, 0x%x\n",port,value); > >> #endif > >> outb(port,value); > >> } > > Try compiling the port with USE_CSTD=gnu89, or change the function > signature to: > > static inline void _outb(unsigned port,unsigned value) > > -Dimitry Dimitry, The port compiles fine the normal way: # cd graphics/svgalib # make package without your proposed change; it does not compile in poudriere. And to incorporate your change it would need an additional patch file, is this what you want me to do? Thanks matthias -- Matthias Apitz, guru@unixarea.de, http://www.unixarea.de/ +49-170-4527211 1989-2014: The Wall was torn down so that we go to war together again. El Muro ha sido derribado para que nos unimos en ir a la guerra otra vez. Diese Grenze wurde aufgehoben damit wir gemeinsam wieder in den Krieg ziehen.