From nobody Mon Jun 17 21:54:16 2024 X-Original-To: ruby@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4W33Z03YNDz5Lyx0 for ; Mon, 17 Jun 2024 21:54:16 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W33Z01k6fz4YTX for ; Mon, 17 Jun 2024 21:54:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1718661256; a=rsa-sha256; cv=none; b=m8bK3lRDuxDxaY4PniHL6/aRHI0owcJMICdFXabnSgHEf0Sptqb3DNRzzBV6qlkC00k3cT ZEdtV2bPiCy82gGzQ8zNj23DnO5pm12G6lNc+d8HtcmorEeYjok2j1QkRMpxJwTdOKy+Sc 1/9IpmauFo8W6T8wNWwafOy54breBfe0tTmXm6P1lyLU0aiGJEsdF7fuhdt8oeKt+b62cS 3mrtTxR0pEEAlmqx413ls9rBAUypcG/kCj692mrPjcgsx4leuc/bHBNlgzzvHOLtka2T0c 0C3MxeCNoE/F8IM7EareIAWvyeQHkXfNpFrFnLosx868UUzPp9tMLztp0G2/4Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718661256; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0sygzDdWq6y4GOS6uQtbniboWAFsRfrPMmxpwXqSQFA=; b=kb8Ecae9W6+O3g8D62RtpRkFwlRj3LxswropvsHu+dM2BGUXd1343WB9W5LDx8cguCsHBg EA4+C2/maZ74Rl/KguXkY//HfXXef1w5pwl4c8FGLGDUlLN9PfnugRDAxgntglYGKHqwoq csX7C32lOF1PSUdEwGLdjVq7gS07gHrJBqGtPfD+auQ5NjpIbXOJA0yeAixsPHHaLvKkYh cg2ctANklnXojsQbofBhLwvGblkaqdDpKrWxIfMI6IyBrn8LBpbvy6Sk2ePPUosEMdlzxs tNu8/TomTlrvLOpdTS6NWWNOrsWyLvpINR6K04x8nwpqSxMVbXynoYQL9asZkA== 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 4W33Z01Lg3zY2t for ; Mon, 17 Jun 2024 21:54:16 +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 45HLsGtl051984 for ; Mon, 17 Jun 2024 21:54:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 45HLsGW4051983 for ruby@FreeBSD.org; Mon, 17 Jun 2024 21:54:16 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: ruby@FreeBSD.org Subject: maintainer-feedback requested: [Bug 279823] databases/rubygem-mysql2 failed to build with MariaDB 10.11 Date: Mon, 17 Jun 2024 21:54:16 +0000 X-Bugzilla-Type: request 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: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ruby@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD-specific Ruby discussions List-Archive: https://lists.freebsd.org/archives/freebsd-ruby List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ruby@freebsd.org Sender: owner-freebsd-ruby@FreeBSD.org MIME-Version: 1.0 Bugzilla Automation has asked freebsd-ruby (Nobody) for maintainer-feedback: Bug 279823: databases/rubygem-mysql2 failed to build with MariaDB 10.11 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279823 --- Description --- I tried to build redmine51 in a Poudriere where I have MariaDB 10.11 set as mysql variant. Redmine depends on databases/rubygem-mysql2 and it failed to build with the following error: ERROR: Error installing mysql2-0.5.6.gem: ERROR: Failed to build gem native extension. current directory: /wrkdirs/usr/ports/databases/rubygem-mysql2/work/stage/usr/local/lib/ruby/g= ems/ 3.2/gems/mysql2-0.5.6/ext/mysql2 /usr/local/bin/ruby32 extconf.rb checking for rb_absint_size()... yes checking for rb_absint_singlebit_p()... yes checking for rb_gc_mark_movable()... yes checking for rb_wait_for_single_fd()... yes checking for rb_enc_interned_str() in ruby.h... yes ----- Using mysql_config at /usr/local/bin/mysql_config ----- checking for mysql.h... no checking for mysql/mysql.h... no ----- mysql.h is missing. You may need to 'sudo apt-get install libmariadb-dev', 'sudo apt-get install libmysqlclient-dev' or 'sudo yum install mysql-devel', and try again. ----- *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You m= ay need configuration options. I don't know why it cannot find mysql.h. MariaDB client is installed as dependency. Earlier in the build log: =3D=3D=3D> rubygem-mysql2-0.5.6 depends on shared library: libmariadb.so.= 3 - not found =3D=3D=3D> Installing existing package /packages/All/mariadb1011-client-1= 0.11.7.pkg .. .. [pkg.example.com] Extracting mariadb1011-client-10.11.7: .......... done