From owner-freebsd-ports-bugs@freebsd.org Fri Jul 15 19:12:03 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A0EA4B9A9C4 for ; Fri, 15 Jul 2016 19:12:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8FC6E1B7B for ; Fri, 15 Jul 2016 19:12:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u6FJC2jB033273 for ; Fri, 15 Jul 2016 19:12:03 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 209528] net/opensips: 2.1.2 fails to build on sparc64 10.3-STABLE Date: Fri, 15 Jul 2016 19:12:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: euan@potensol.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2016 19:12:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209528 --- Comment #1 from Euan Thoms --- (In reply to Dima Veselov from comment #0) That is strange. I don't remember making many changes to the port between 2= .1.0 and 2.1.2. Certainly nothing that should effect the building of net_udp. Please try again with the latest port version once it's been committed (2.1= .3). I suspect it only needs a small patch to include a FreeBSD specific header = for a data-type which differs between x86 and SPARC64. It seems to be a casting issue, so perhaps a simple explicit cast to the correct data type will fix = it. I've noticed a lot of bad code in this regard on other projects, normally it just creates a compiler warning. Bad data type casting can lead to bugs and sometimes not, depending on the runtime conditions. But perhaps one platfor= m is more strict about it, or handles the data types slightly differently. The question is, why did it appear in a minor point release? It's difficult for me to work on this, I don't have access to any SPARC64 hardware. Dima, do you have any experience with 'C' programming? --=20 You are receiving this mail because: You are the assignee for the bug.=