From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19483 invoked by alias); 7 Apr 2013 11:30:56 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 31227 Received: (qmail 19378 invoked from network); 7 Apr 2013 11:30:44 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at sym2.noone.org does not designate permitted sender hosts) Date: Sun, 7 Apr 2013 13:24:03 +0200 From: Axel Beckert To: zsh-workers@zsh.org Subject: Re: Function tgoto implicitly converted to pointer Message-ID: <20130407112403.GJ9763@sym.noone.org> Mail-Followup-To: zsh-workers@zsh.org References: <1565658.2bmoXxmgiv@thuban> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1565658.2bmoXxmgiv@thuban> X-Operating-System: Linux 2.6.32-5-xen-amd64 X-Machine: sym2 x86_64 X-Editor: GNU Emacs 23.2.1 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAAAAAC3mUtaAAAABGdBTUEAALGPC/xhBQAAADh0RVh0U29mdHdhcmUAWFYgVmVyc2lvbiAzLjEwYSAgUmV2OiAxMi8yOS85NCAoUE5HIHBhdGNoIDEuMindFS5JAAACGElEQVQ4jXXQMU8UYRDG8f8shNjdDH4AbpfGDjAWlKiJiZ0ajL1aGCvsNCbGaCGG1koLaztaTYz6ATy+gOyehYmF3MxVxgg3FnDsHcTpJr/M+8w7Rf6nCsaVTTDqxbg9hoOXmw83H71+Eyfg4E1d7/Z2fG9rGkZbTQiu+K+3U/C+76lmkvAhJuDndnoAiftou4V84okAGclop4U/jYACZDTxrYWP0gkxVfAm/W//GLZpxIzwIN0Hn8dw0B+IWkZmQmRsj2HfhwokEklHfNCCiQCRgAR7YyhQVRVTCKCzP4Y5zBBE0t0zY3Q8oQaBqqAMlVEcgVQd9706zGirAFium8HXumlMIeMwqQCInju+2+uB6MRENupdpMt8pRlHZyuAW0F+Mb6XSIVqtxjD+iVmVqqystLEzFTGT92YqRaXpNT5eTVjeJhbALPnrTxLUZUKZsgxcNm64hAOYisT/xhF+oKTGU5RegtC3Rt6eEDi/QnIevdTx9Md2EMmYBRmCQR1026FCGQQJJExsRUqgkMGaWSbwYLnoO4T6VgpbQbdELPMBAHWWrhYrcxXnYgAsatPWygkFCBD4K62MAsOTqA6szYRPpsu6e6Y8mPiVrBMNuGIMrgwBUu4p2DgG1Ownu6hpuTv7hScefHAzAC/yRRw5U5pALMbJ4AUALvHSZhxgHPXTsHcdWD1GadAHr9avP+c0wCr7263Df8ASLwXWHWs+KIAAAAHdElNRQfYBQEBODPr Organization: DeuxChevaux.org -- The =?iso-8859-1?Q?Citr?= =?iso-8859-1?B?b+tu?= 2CV Database User-Agent: Mutt/1.5.20 (2009-06-14) Hi, On Sat, Apr 06, 2013 at 02:19:48PM -0400, Nick Bryda wrote: > I'm getting a build error with 5.0.2 on Ubuntu 12.10. The error is > > Function `tgoto' implicitly converted to pointer at > ../../../Src/Zle/zle_refresh.c:2361 I only found this in the Debian build-logs for ia64[1]: ../../Src/prompt.c: In function 'set_colour_attribute': ../../Src/prompt.c:1936:3: warning: implicit declaration of function 'tgoto' [-Wimplicit-function-declaration] [1] https://buildd.debian.org/status/fetch.php?pkg=zsh&arch=ia64&ver=5.0.2-2&stamp=1357759754 This looks slightly different than what you get. We used gcc-4.6_4.6.3-8 for that build. The Ubuntu build used gcc-4.7_4.7.2-2ubuntu1, so this maybe an issue which isn't triggered with gcc 4.6. But then again, those messages are also present in older versions, namely 4.3.17, on basically all architectures: https://buildd.debian.org/~brlink/packages/z/zsh.html (sorry, no automated checks for the 5.0.2 experimental builds yet). > Our automated build log filter Is that blhc? > detected the problem(s) above that will likely cause your package to > segfault on architectures where the size of a pointer is greater > than the size of an integer, such as ia64 and amd64. Can't remember having any such issues on ia64 and especially not amd64, except that one-liner segfault posted here a few weeks ago. > More information can be found at: > http://wiki.debian.org/ImplicitPointerConversions This doesn't sound at all like a gcc 4.7 specific issue (as I suspected initially) since this page hasn't been touched since 2009 and mentions stuff from 2007. > The full build log is available here > https://launchpadlibrarian.net/136382500/buildlog_ubuntu-quantal-amd64.zsh_5.0.2-0ubuntu1~ppaqq1_FAILEDTOBUILD.txt.gz Can you give me a pointer to your source package (or the Diff to the Debian package), too? Kind regards, Axel -- /~\ Plain Text Ribbon Campaign | Axel Beckert \ / Say No to HTML in E-Mail and News | abe@deuxchevaux.org (Mail) X See http://www.asciiribbon.org/ | abe@noone.org (Mail+Jabber) / \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)