From owner-freebsd-ports-bugs@freebsd.org Sat Jul 4 16:51:13 2020 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A00EF352E5D for ; Sat, 4 Jul 2020 16:51:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49zdBn3rzyz3f6n for ; Sat, 4 Jul 2020 16:51:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 82760352D60; Sat, 4 Jul 2020 16:51:13 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 82409352F30 for ; Sat, 4 Jul 2020 16:51:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49zdBn2y3pz3f97 for ; Sat, 4 Jul 2020 16:51:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 48CF91FA19 for ; Sat, 4 Jul 2020 16:51:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 064GpDkR090739 for ; Sat, 4 Jul 2020 16:51:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 064GpDWM090738 for ports-bugs@FreeBSD.org; Sat, 4 Jul 2020 16:51:13 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 247763] [patch] math/suitesparse: build fails because of implicit conversion from long to double Date: Sat, 04 Jul 2020 16:51:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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 Only Me X-Bugzilla-Who: rsmith@xs4all.nl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fortran@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.mimetype attachments.created Message-ID: 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.33 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jul 2020 16:51:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247763 Bug ID: 247763 Summary: [patch] math/suitesparse: build fails because of implicit conversion from long to double Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: fortran@FreeBSD.org Reporter: rsmith@xs4all.nl Flags: maintainer-feedback?(fortran@FreeBSD.org) Assignee: fortran@FreeBSD.org Attachment #216198 text/plain mime type: Created attachment 216198 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D216198&action= =3Dedit Patch for in /usr/ports/math/suitesparse/files. When building the new suitesparse 5.8.0, I get the following error: gmake[4]: Entering directory '/usr/ports/math/suitesparse/work/SuiteSparse-5.8.0/SLIP_LU/Lib' gmake install INSTALL=3D/usr/ports/math/suitesparse/work/SuiteSparse-5.8.0 gmake[5]: Entering directory '/usr/ports/math/suitesparse/work/SuiteSparse-5.8.0/SLIP_LU/Lib' cc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wpedantic -Werror -Wall -Wextra -Wpeda= ntic -Werror -isystem /usr/local/include -O3 -fexceptions -fPIC -fopenmp -I../Include -I../../COLAMD/Include -I../../AMD/Include -I../../SuiteSparse_config -c ../Source/slip_matrix_div.c cc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wpedantic -Werror -Wall -Wextra -Wpeda= ntic -Werror -isystem /usr/local/include -O3 -fexceptions -fPIC -fopenmp -I../Include -I../../COLAMD/Include -I../../AMD/Include -I../../SuiteSparse_config -c ../Source/slip_create_mpq_array.c cc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wpedantic -Werror -Wall -Wextra -Wpeda= ntic -Werror -isystem /usr/local/include -O3 -fexceptions -fPIC -fopenmp -I../Include -I../../COLAMD/Include -I../../AMD/Include -I../../SuiteSparse_config -c ../Source/SLIP_free.c cc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wpedantic -Werror -Wall -Wextra -Wpeda= ntic -Werror -isystem /usr/local/include -O3 -fexceptions -fPIC -fopenmp -I../Include -I../../COLAMD/Include -I../../AMD/Include -I../../SuiteSparse_config -c ../Source/SLIP_LU_factorize.c In file included from ../Source/slip_create_mpq_array.c:15: ../Source/slip_internal.h:663:18: error: implicit conversion from 'long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Werror,-Wimplicit-int-float-conversion] else if (x > INT64_MAX) ~ ^~~~~~~~~ /usr/include/x86/_stdint.h:90:19: note: expanded from macro 'INT64_MAX' #define INT64_MAX 0x7fffffffffffffff ^~~~~~~~~~~~~~~~~~ In file included from ../Source/slip_matrix_div.c:26: ../Source/slip_internal.h:663:18: error: implicit conversion from In file included from ../Source/SLIP_free.c:13: ../Source/slip_internal.h:663:18: error: implicit conversion from 'long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Werror,-Wimplicit-int-float-conversion] 'long' else if (x > INT64_MAX) ~ ^~~~~~~~~ /usr/include/x86/_stdint.h:90:19: note: expanded from macro 'INT64_MAX' to#define INT64_MAX 0x7fffffffffffffff ^~~~~~~~~~~~~~~~~~ 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Werror,-Wimplicit-int-float-conversion] else if (x > INT64_MAX) ~ ^~~~~~~~~ /usr/include/x86/_stdint.h:90:19: note: expanded from macro 'INT64_MAX' #define INT64_MAX 0x7fffffffffffffff1 error generated. ^~~~~~~~~~~~~~~~~~ 1 error generated. In file included from ../Source/SLIP_LU_factorize.c:40: ../Source/slip_internal.h:663:18: error: implicit conversion from 'long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Werror,-Wimplicit-int-float-conversion] else if (x > INT64_MAX) ~ ^~~~~~~~~ /usr/include/x86/_stdint.h:90:19: note: expanded from macro 'INT64_MAX' gmake[5]: *** [Makefile:46: SLIP_free.o] Error 1 #define INT64_MAX 0x7fffffffffffffffgmake[5]: *** Waiting for unfinis= hed jobs.... ^~~~~~~~~~~~~~~~~~ gmake[5]: *** [Makefile:46: slip_create_mpq_array.o] Error 1 1 error generated. gmake[5]: *** [Makefile:46: slip_matrix_div.o] Error 1 1 error generated. gmake[5]: *** [Makefile:46: SLIP_LU_factorize.o] Error 1 gmake[5]: Leaving directory '/usr/ports/math/suitesparse/work/SuiteSparse-5.8.0/SLIP_LU/Lib' gmake[4]: *** [Makefile:53: library] Error 2 gmake[4]: Leaving directory '/usr/ports/math/suitesparse/work/SuiteSparse-5.8.0/SLIP_LU/Lib' gmake[3]: *** [Makefile:32: library] Error 2 gmake[3]: Leaving directory '/usr/ports/math/suitesparse/work/SuiteSparse-5.8.0/SLIP_LU' gmake[2]: *** [Makefile:144: library] Error 2 gmake[2]: Leaving directory '/usr/ports/math/suitesparse/work/SuiteSparse-5.8.0' =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/math/suitesparse *** Error code 1 Stop. make: stopped in /usr/ports/math/suitesparse A small modification to slip__internal.h (making the conversion explicit) f= ixes this issue. --=20 You are receiving this mail because: You are the assignee for the bug.=