Bug 226163 - mariadb-10.0.34 : "File to patch: "
Summary: mariadb-10.0.34 : "File to patch: "
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Bernard Spil
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2018-02-24 11:17 UTC by FoxPower
Modified: 2018-02-24 13:14 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (brnrd)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description FoxPower 2018-02-24 11:17:44 UTC
Hi,

I try to compile mariadb-100. It ends up by asking me the file to patch :

~~~~~~~~~~
/usr/ports/databases/mariadb100-server/](0)# make
===>  License GPLv2 accepted by the user
===>   mariadb100-server-10.0.34 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by mariadb100-server-10.0.34 for building
===>  Extracting for mariadb100-server-10.0.34
=> SHA256 Checksum OK for mariadb-10.0.34.tar.gz.
===>  Patching for mariadb100-server-10.0.34
===>  Applying extra patch /usr/ports/databases/mariadb100-server/files/extra-patch-include_my__compare.h
===>  Applying extra patch /usr/ports/databases/mariadb100-server/files/extra-patch-MDEV-15288
===>  Applying FreeBSD patches for mariadb100-server-10.0.34
File to patch: 
~~~~~~~~~~

It also fails under poudriere. Here is the (tail of the) logs :

~~~~~~~~~~

===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for mariadb100-server-10.0.34
===>  Applying extra patch /usr/ports/databases/mariadb100-server/files/extra-patch-include_my__compare.h
===>  Applying extra patch /usr/ports/databases/mariadb100-server/files/extra-patch-MDEV-15288
===>  Applying FreeBSD patches for mariadb100-server-10.0.34
No file to patch.  Skipping...
2 out of 2 hunks ignored--saving rejects to storage/oqgraph/oqgraph_judy.cc.rej
Can't create storage/oqgraph/oqgraph_judy.cc.rej, output is in /tmp/patchrvu49koL7Cq: No such file or directory
No file to patch.  Skipping...
2 out of 2 hunks ignored--saving rejects to storage/oqgraph/oqgraph_judy.h.rej
Can't create storage/oqgraph/oqgraph_judy.h.rej, output is in /tmp/patchrvu49koL7Cq: No such file or directory
=> FreeBSD patch patch-oqgraph-MDEV-15291 failed to apply cleanly.
=> Patch(es)  patch-CMakeLists.txt patch-client_CMakeLists.txt patch-cmake_ssl.cmake patch-extra_CMakeLists.txt patch-extra_yassl_taocrypt_src_integer.cpp patch-include_CMakeLists.txt patch-libmysql_CMakeLists.txt patch-libservices_CMakeLists.txt patch-man_CMakeLists.txt patch-mysys_my__default.c applied cleanly.
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/mariadb100-server
=>> Cleaning up wrkdir
===>  Cleaning for mariadb100-server-10.0.34
build of databases/mariadb100-server | mariadb100-server-10.0.34 ended at Sat Feb 24 11:55:59 CET 2018
build time: 00:01:10
!!! build failure encountered !!!

~~~~~~~~~~
Comment 1 Bernard Spil freebsd_committer freebsd_triage 2018-02-24 12:45:43 UTC
Hi Korsani,

I thought I had fixed this already... Something to do with the ${RM} storage/oqgraph
Comment 2 Bernard Spil freebsd_committer freebsd_triage 2018-02-24 13:14:39 UTC
Fixed with 462802 and 462803