From owner-freebsd-ports@FreeBSD.ORG Fri Dec 11 22:29:16 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68C831065676 for ; Fri, 11 Dec 2009 22:29:16 +0000 (UTC) (envelope-from gcr+freebsd-ports@tharned.org) Received: from roadkill.tharned.org (roadkill.tharned.org [75.145.12.185]) by mx1.freebsd.org (Postfix) with ESMTP id 2D6F98FC1B for ; Fri, 11 Dec 2009 22:29:15 +0000 (UTC) Received: from mobile002.mycingular.net ([32.179.73.127]) (authenticated bits=0) by roadkill.tharned.org (8.14.3/8.14.3) with ESMTP id nBBMTAlV036893 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 11 Dec 2009 16:29:14 -0600 (CST) (envelope-from gcr+freebsd-ports@tharned.org) X-DKIM: Sendmail DKIM Filter v2.8.3 roadkill.tharned.org nBBMTAlV036893 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tharned.org; s=2009; t=1260570555; bh=3DBUsGkSj3keXlnDRqKDRm3VlZxAp+51nm7L/b5Mg9I=; l=6773; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type; b=g6ShhYcTdBjj18LnJNnAgVcU9VfczuFOdbLXnK7rxRMF+fRGzg2nG3EthoG+beFpB QABuPBlsbPjD8UxtkF84hfPU76tVeygQ36aqlGtxP3LKqvcVoFxKZm5RorK0QxMlCz 9lq07PNs7HKPdcm8YkVRX4IhgA0HG/yDpkhzsEgI= Date: Fri, 11 Dec 2009 16:29:02 -0600 (CST) From: Greg Rivers To: freebsd-ports@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.3 (roadkill.tharned.org [75.145.12.185]); Fri, 11 Dec 2009 16:29:15 -0600 (CST) Subject: deskutils/calibre build error X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Dec 2009 22:29:16 -0000 The deskutils/calibre port fails to build on both 7.2-STABLE and 8.0-STABLE i386: # portinstall -cv calibre ---> Session started at: Thu, 10 Dec 2009 22:45:09 -0600 [Gathering depends for deskutils/calibre ..........[snip]............ done] ---> Fresh installation of deskutils/calibre started at: Thu, 10 Dec 2009 22:47:57 -0600 ---> Installing 'calibre-0.6.18' from a port (deskutils/calibre) ---> Build of deskutils/calibre started at: Thu, 10 Dec 2009 22:48:00 -0600 ---> Building '/usr/ports/deskutils/calibre' ===> Cleaning for calibre-0.6.18 ===> Vulnerability check disabled, database not found ===> Found saved configuration for calibre-0.6.18 => calibre-0.6.18.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from http://calibre.kovidgoyal.net/downloads/. fetch: http://calibre.kovidgoyal.net/downloads/calibre-0.6.18.tar.gz: Moved Permanently => Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. calibre-0.6.18.tar.gz 100% of 9 MB 831 kBps 00m00s ===> Extracting for calibre-0.6.18 => MD5 Checksum OK for calibre-0.6.18.tar.gz. => SHA256 Checksum OK for calibre-0.6.18.tar.gz. ===> Patching for calibre-0.6.18 ===> Applying FreeBSD patches for calibre-0.6.18 ===> calibre-0.6.18 depends on package: py*-setuptools>=0 - found ===> calibre-0.6.18 depends on package: py*-sip>=0 - found ===> calibre-0.6.18 depends on package: py*-qt4-core>=0 - found ===> calibre-0.6.18 depends on package: py*-qt4-gui>=0 - found ===> calibre-0.6.18 depends on file: /usr/local/bin/python2.6 - found ===> calibre-0.6.18 depends on package: qt4-qmake>=4.5.3 - found ===> calibre-0.6.18 depends on package: qt4-moc>=4.5.3 - found ===> calibre-0.6.18 depends on shared library: MagickWand.2 - found ===> calibre-0.6.18 depends on shared library: fontconfig.1 - found ===> calibre-0.6.18 depends on shared library: poppler-qt4.3 - found ===> calibre-0.6.18 depends on shared library: wmflite - found ===> calibre-0.6.18 depends on shared library: podofo - found ===> calibre-0.6.18 depends on shared library: intl - found ===> Configuring for calibre-0.6.18 ===> Building for calibre-0.6.18 * * Running build * ####### Building extension pdfreflow ####### c++ -O2 -pipe -march=prescott -I/usr/local/include -fno-strict-aliasing -fPIC -O2 -pipe -march=prescott -I/usr/local/include -fno-strict-aliasing -pthread -I/usr/local/include/python2.6 -I/usr/local/include/poppler -I/usr/local/include/ImageMagick -I/usr/include -c /usr/ports/deskutils/calibre/work/calibre/src/calibre/ebooks/pdf/images.cpp -o /usr/ports/deskutils/calibre/work/calibre/build/objects/pdfreflow/images.o c++ -O2 -pipe -march=prescott -I/usr/local/include -fno-strict-aliasing -fPIC -O2 -pipe -march=prescott -I/usr/local/include -fno-strict-aliasing -pthread -I/usr/local/include/python2.6 -I/usr/local/include/poppler -I/usr/local/include/ImageMagick -I/usr/include -c /usr/ports/deskutils/calibre/work/calibre/src/calibre/ebooks/pdf/main.cpp -o /usr/ports/deskutils/calibre/work/calibre/build/objects/pdfreflow/main.o c++ -O2 -pipe -march=prescott -I/usr/local/include -fno-strict-aliasing -fPIC -O2 -pipe -march=prescott -I/usr/local/include -fno-strict-aliasing -pthread -I/usr/local/include/python2.6 -I/usr/local/include/poppler -I/usr/local/include/ImageMagick -I/usr/include -c /usr/ports/deskutils/calibre/work/calibre/src/calibre/ebooks/pdf/links.cpp -o /usr/ports/deskutils/calibre/work/calibre/build/objects/pdfreflow/links.o c++ -O2 -pipe -march=prescott -I/usr/local/include -fno-strict-aliasing -fPIC -O2 -pipe -march=prescott -I/usr/local/include -fno-strict-aliasing -pthread -I/usr/local/include/python2.6 -I/usr/local/include/poppler -I/usr/local/include/ImageMagick -I/usr/include -c /usr/ports/deskutils/calibre/work/calibre/src/calibre/ebooks/pdf/reflow.cpp -o /usr/ports/deskutils/calibre/work/calibre/build/objects/pdfreflow/reflow.o /usr/ports/deskutils/calibre/work/calibre/src/calibre/ebooks/pdf/reflow.cpp: In member function 'virtual void calibre_reflow::XMLOutputDev::drawImageMask(GfxState*, Object*, Stream*, int, int, GBool, GBool, GBool)': /usr/ports/deskutils/calibre/work/calibre/src/calibre/ebooks/pdf/reflow.cpp:672: error: no matching function for call to 'calibre_reflow::XMLOutputDev::drawImageMask(GfxState*&, Object*&, Stream*&, int&, int&, GBool&, GBool&)' /usr/local/include/poppler/OutputDev.h:238: note: candidates are: virtual void OutputDev::drawImageMask(GfxState*, Object*, Stream*, int, int, GBool, GBool, GBool) Traceback (most recent call last): File "setup.py", line 99, in sys.exit(main()) File "setup.py", line 85, in main command.run_all(opts) File "/usr/ports/deskutils/calibre/work/calibre/setup/__init__.py", line 159, in run_all self.run_cmd(self, opts) File "/usr/ports/deskutils/calibre/work/calibre/setup/__init__.py", line 155, in run_cmd cmd.run(opts) File "/usr/ports/deskutils/calibre/work/calibre/setup/extensions.py", line 242, in run self.build(ext, dest) File "/usr/ports/deskutils/calibre/work/calibre/setup/extensions.py", line 279, in build subprocess.check_call(cmd) File "/usr/local/lib/python2.6/subprocess.py", line 488, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['c++', '-O2', '-pipe', '-march=prescott', '-I/usr/local/include', '-fno-strict-aliasing', '-fPIC', '-O2', '-pipe', '-march=prescott', '-I/usr/local/include', '-fno-strict-aliasing', '-pthread', '-I/usr/local/include/python2.6', '-I/usr/local/include/poppler', '-I/usr/local/include/ImageMagick', '-I/usr/include', '-c', '/usr/ports/deskutils/calibre/work/calibre/src/calibre/ebooks/pdf/reflow.cpp', '-o', '/usr/ports/deskutils/calibre/work/calibre/build/objects/pdfreflow/reflow.o']' returned non-zero exit status 1 *** Error code 1 Stop in /usr/ports/deskutils/calibre. *** Error code 1 Stop in /usr/ports/deskutils/calibre. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall20091210-39614-1tmwjsx-0 env make ** Fix the problem and try again. ---> Build of deskutils/calibre ended at: Thu, 10 Dec 2009 22:48:44 -0600 (consumed 00:00:44) ---> Fresh installation of deskutils/calibre ended at: Thu, 10 Dec 2009 22:48:44 -0600 (consumed 00:00:46) ---> ** Install tasks 1: 0 done, 0 ignored, 0 skipped and 1 failed ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) ! deskutils/calibre (bad C++ code) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed ---> Session ended at: Thu, 10 Dec 2009 22:48:44 -0600 (consumed 00:03:34) # Any suggestions? -- Greg Rivers