Bug 253210 - databases/mysql80-client: FAILED to apply cleanly FreeBSD patch(es) patch-client_CMakeLists.txt
Summary: databases/mysql80-client: FAILED to apply cleanly FreeBSD patch(es) patch-cl...
Status: Closed DUPLICATE of bug 253198
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jochen Neumeister
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-03 13:58 UTC by Helmut Ritter
Modified: 2021-02-03 15:45 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Ritter 2021-02-03 13:58:06 UTC
[helmut@BSDHelmut12 ~]$ sudo portupgrade -f mysql80-client-8.0.22_2
[Reading data from pkg(8) ... - 526 packages found - done]
--->  Upgrading 'mysql80-client-8.0.22_2' to 'mysql80-client-8.0.23' (databases/mysql80-client)
--->  Building '/usr/ports/databases/mysql80-client'
===>  Cleaning for mysql80-client-8.0.23
===> Options unchanged
===>  License GPLv2 accepted by the user
===>   mysql80-client-8.0.23 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by mysql80-client-8.0.23 for building
===>  Extracting for mysql80-client-8.0.23
=> SHA256 Checksum OK for mysql-boost-8.0.23.tar.gz.
/usr/ports/databases/mysql80-client/work/mysql-8.0.23/sql/sql_hints.yy.cc
/usr/ports/databases/mysql80-client/work/mysql-8.0.23/sql/sql_hints.yy.h
===>  Patching for mysql80-client-8.0.23
===>  Applying FreeBSD patches for mysql80-client-8.0.23 from /usr/ports/databases/mysql80-client/../mysql80-server/files
1 out of 8 hunks failed--saving rejects to client/CMakeLists.txt.rej
===>  FAILED Applying FreeBSD patch-client_CMakeLists.txt
===> Cleanly applied FreeBSD patch(es)  patch-CMakeLists.txt
===> FAILED to apply cleanly FreeBSD patch(es)  patch-client_CMakeLists.txt
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/databases/mysql80-client
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/mysql80-client
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20210203-58531-1ibv7yo env UPGRADE_TOOL=portupgrade UPGRADE_PORT=mysql80-client-8.0.22_2 UPGRADE_PORT_VER=8.0.22_2 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! databases/mysql80-client (mysql80-client-8.0.22_2)    (patch error)
[helmut@BSDHelmut12 ~]$
Comment 1 Helmut Ritter 2021-02-03 15:11:10 UTC
[helmut@BSDHelmut12 ~]$ sudo cat /usr/ports/databases/mysql80-client/work/mysql-8.0.23/client/CMakeLists.txt.rej
@@ -82,6 +90,7 @@
   mysqlshow.cc
   LINK_LIBRARIES mysqlclient
   )
+
 MYSQL_ADD_EXECUTABLE(mysqlbinlog
   mysqlbinlog.cc
   ${CMAKE_SOURCE_DIR}/sql/json_binary.cc
[helmut@BSDHelmut12 ~]$
Comment 2 Jochen Neumeister freebsd_committer freebsd_triage 2021-02-03 15:45:51 UTC

*** This bug has been marked as a duplicate of bug 253198 ***