Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] dev-db/mysql-8.0.20-r1 NOT merged due to file conf.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Fitap
Guru
Guru


Joined: 13 Mar 2011
Posts: 444
Location: Rosario, Argentina

PostPosted: Sun Jul 26, 2020 10:21 pm    Post subject: [Solved] dev-db/mysql-8.0.20-r1 NOT merged due to file conf. Reply with quote

Hi, I was updating the system and I got this error with dev-db/mysql-8.0.20-r1 not merged due to file collisions.

Service wgetpaste and firefox send doesn't work.

Here is a part of the build.log

Code:
* Detected file collision(s):
 *
 *    /usr/bin/mysqldumpslow
 *    /usr/bin/mysql_tzinfo_to_sql
 *    /usr/bin/mysqladmin
 *    /usr/bin/mysqlimport
 *    /usr/bin/myisam_ftdump
 *    /usr/bin/mysqlpump
 *    /usr/bin/myisampack
 *    /usr/bin/ibd2sdi
 *    /usr/bin/mysqldump
 *    /usr/bin/mysql_client_test
 *    /usr/bin/mysqlbinlog
 *    /usr/bin/myisamlog
 *    /usr/bin/myisamchk
 *    /usr/bin/mysqltest_safe_process
 *    /usr/bin/mysql_config_editor
 *    /usr/bin/comp_err
 *    /usr/bin/mysql_ssl_rsa_setup
 *    /usr/bin/mysql_upgrade
 *    /usr/bin/mysql
 *    /usr/bin/innochecksum
 *    /usr/bin/mysqld_multi
 *    /usr/bin/mysqlshow
 *    /usr/bin/mysqlslap
 *    /usr/bin/mysqlxtest
 *    /usr/bin/mysql_secure_installation
 *    /usr/bin/mysqlcheck
 *    /usr/bin/mysqltest
 *    /usr/bin/mysqld_safe
 *    /usr/include/mysql/mysqlx_version.h
 *    /usr/include/mysql/mysqlx_ername.h
 *    /usr/include/mysql/mysqlx_error.h
 *    /usr/sbin/mysqld
 *    /usr/share/man/man8/mysqld.8.bz2
 *    /usr/share/man/man1/mysqlpump.1.bz2
 *    /usr/share/man/man1/mysqldumpslow.1.bz2
 *    /usr/share/man/man1/mysqladmin.1.bz2
 *    /usr/share/man/man1/myisam_ftdump.1.bz2
 *    /usr/share/man/man1/mysql_config_editor.1.bz2
 *    /usr/share/man/man1/mysqlshow.1.bz2
 *    /usr/share/man/man1/mysqlslap.1.bz2
 *    /usr/share/man/man1/comp_err.1.bz2
 *    /usr/share/man/man1/myisamchk.1.bz2
 *    /usr/share/man/man1/myisamlog.1.bz2
 *    /usr/share/man/man1/mysqlman.1.bz2
 *    /usr/share/man/man1/mysql.1.bz2
 *    /usr/share/man/man1/mysql_secure_installation.1.bz2
 *    /usr/share/man/man1/mysql.server.1.bz2
 *    /usr/share/man/man1/ibd2sdi.1.bz2
 *    /usr/share/man/man1/mysql_config.1.bz2
 *    /usr/share/man/man1/mysqlcheck.1.bz2
 *    /usr/share/man/man1/mysqld_safe.1.bz2
 *    /usr/share/man/man1/mysqld_multi.1.bz2
 *    /usr/share/man/man1/mysql_ssl_rsa_setup.1.bz2
 *    /usr/share/man/man1/mysql_upgrade.1.bz2
 *    /usr/share/man/man1/mysqldump.1.bz2
 *    /usr/share/man/man1/myisampack.1.bz2
 *    /usr/share/man/man1/mysql_tzinfo_to_sql.1.bz2
 *    /usr/share/man/man1/lz4_decompress.1.bz2
 *    /usr/share/man/man1/mysqlbinlog.1.bz2
 *    /usr/share/man/man1/innochecksum.1.bz2
 *    /usr/share/man/man1/mysqlimport.1.bz2
 *    /usr/share/mysql/messages_to_clients.txt
 *    /usr/share/mysql/mysql-log-rotate
 *    /usr/share/mysql/mysqld_multi.server
 *    /usr/share/mysql/uninstall_rewriter.sql
 *    /usr/share/mysql/install_rewriter.sql
 *    /usr/share/mysql/mysql.server
 *    /usr/share/mysql/dictionary.txt
 *    /usr/share/mysql/messages_to_error_log.txt
 *    /usr/share/mysql/innodb_memcached_config.sql
 *    /usr/share/mysql/norwegian/errmsg.sys
 *    /usr/share/mysql/italian/errmsg.sys
 *    /usr/share/mysql/japanese/errmsg.sys
 *    /usr/share/mysql/swedish/errmsg.sys
 *    /usr/share/mysql/portuguese/errmsg.sys
 *    /usr/share/mysql/estonian/errmsg.sys
 *    /usr/share/mysql/hungarian/errmsg.sys
 *    /usr/share/mysql/russian/errmsg.sys
 *    /usr/share/mysql/polish/errmsg.sys
 *    /usr/share/mysql/serbian/errmsg.sys
 *    /usr/share/mysql/greek/errmsg.sys
 *    /usr/share/mysql/ukrainian/errmsg.sys
 *    /usr/share/mysql/charsets/cp1250.xml
 *    /usr/share/mysql/charsets/cp1251.xml
 *    /usr/share/mysql/charsets/latin2.xml
 *    /usr/share/mysql/charsets/koi8u.xml
 *    /usr/share/mysql/charsets/cp850.xml
 *    /usr/share/mysql/charsets/latin7.xml
 *    /usr/share/mysql/charsets/ascii.xml
 *    /usr/share/mysql/charsets/cp852.xml
 *    /usr/share/mysql/charsets/latin1.xml
 *    /usr/share/mysql/charsets/hebrew.xml
 *    /usr/share/mysql/charsets/Index.xml
 *    /usr/share/mysql/charsets/armscii8.xml
 *    /usr/share/mysql/charsets/macce.xml
 *    /usr/share/mysql/charsets/latin5.xml
 *    /usr/share/mysql/charsets/koi8r.xml
 *    /usr/share/mysql/charsets/README
 *    /usr/share/mysql/charsets/keybcs2.xml
 *    /usr/share/mysql/charsets/cp866.xml
 *    /usr/share/mysql/charsets/dec8.xml
 *    /usr/share/mysql/charsets/macroman.xml
 *    /usr/share/mysql/charsets/swe7.xml
 *    /usr/share/mysql/charsets/greek.xml
 *    /usr/share/mysql/charsets/cp1257.xml
 *    /usr/share/mysql/charsets/hp8.xml
 *    /usr/share/mysql/charsets/cp1256.xml
 *    /usr/share/mysql/charsets/geostd8.xml
 *    /usr/share/mysql/dutch/errmsg.sys
 *    /usr/share/mysql/czech/errmsg.sys
 *    /usr/share/mysql/spanish/errmsg.sys
 *    /usr/share/mysql/korean/errmsg.sys
 *    /usr/share/mysql/bulgarian/errmsg.sys
 *    /usr/share/mysql/slovak/errmsg.sys
 *    /usr/share/mysql/french/errmsg.sys
 *    /usr/share/mysql/danish/errmsg.sys
 *    /usr/share/mysql/german/errmsg.sys
 *    /usr/share/mysql/norwegian-ny/errmsg.sys
 *    /usr/share/mysql/english/errmsg.sys
 *    /usr/share/mysql/romanian/errmsg.sys
 *    /usr/lib64/libmysqlservices.a
 *    /usr/lib64/mysql/plugin/component_udf_unreg_real_func.so
 *    /usr/lib64/mysql/plugin/component_log_sink_syseventlog.so
 *    /usr/lib64/mysql/plugin/libtest_sql_cmds_1.so
 *    /usr/lib64/mysql/plugin/libtest_sql_sqlmode.so
 *    /usr/lib64/mysql/plugin/connection_control.so
 *    /usr/lib64/mysql/plugin/component_pfs_example_component_population.so
 *    /usr/lib64/mysql/plugin/component_test_pfs_resource_group.so
 *    /usr/lib64/mysql/plugin/libtest_services_threaded.so
 *    /usr/lib64/mysql/plugin/udf_example.so
 *    /usr/lib64/mysql/plugin/component_test_status_var_service_str.so
 *    /usr/lib64/mysql/plugin/component_test_status_var_service_unreg_only.so
 *    /usr/lib64/mysql/plugin/component_udf_reg_3_func.so
 *    /usr/lib64/mysql/plugin/libtest_session_detach.so
 *    /usr/lib64/mysql/plugin/libtest_session_in_thd.so
 *    /usr/lib64/mysql/plugin/component_test_status_var_service_int.so
 *    /usr/lib64/mysql/plugin/component_test_mysql_runtime_error.so
 *    /usr/lib64/mysql/plugin/mysql_clone.so
 *    /usr/lib64/mysql/plugin/libtest_sql_stmt.so
 *    /usr/lib64/mysql/plugin/component_test_string_service.so
 *    /usr/lib64/mysql/plugin/component_udf_reg_real_func.so
 *    /usr/lib64/mysql/plugin/component_test_sys_var_service.so
 *    /usr/lib64/mysql/plugin/component_validate_password.so
 *    /usr/lib64/mysql/plugin/component_udf_reg_avg_func.so
 *    /usr/lib64/mysql/plugin/qa_auth_interface.so
 *    /usr/lib64/mysql/plugin/component_test_udf_registration.so
 *    /usr/lib64/mysql/plugin/libtest_sql_errors.so
 *    /usr/lib64/mysql/plugin/libtest_framework.so
 *    /usr/lib64/mysql/plugin/component_test_sys_var_service_same.so
 *    /usr/lib64/mysql/plugin/component_test_string_service_long.so
 *    /usr/lib64/mysql/plugin/libtest_session_attach.so
 *    /usr/lib64/mysql/plugin/component_test_udf_services.so
 *    /usr/lib64/mysql/plugin/component_mysqlbackup.so
 *    /usr/lib64/mysql/plugin/rewriter.so
 *    /usr/lib64/mysql/plugin/component_udf_unreg_3_func.so
 *    /usr/lib64/mysql/plugin/component_test_status_var_service.so
 *    /usr/lib64/mysql/plugin/pfs_example_plugin_employee.so
 *    /usr/lib64/mysql/plugin/libtest_sql_views_triggers.so
 *    /usr/lib64/mysql/plugin/libtest_sql_complex.so
 *    /usr/lib64/mysql/plugin/validate_password.so
 *    /usr/lib64/mysql/plugin/component_test_sys_var_service_int.so
 *    /usr/lib64/mysql/plugin/component_example_component2.so
 *    /usr/lib64/mysql/plugin/libtest_sql_replication.so
 *    /usr/lib64/mysql/plugin/auth_socket.so
 *    /usr/lib64/mysql/plugin/component_test_host_application_signal.so
 *    /usr/lib64/mysql/plugin/keyring_file.so
 *    /usr/lib64/mysql/plugin/locking_service.so
 *    /usr/lib64/mysql/plugin/component_test_system_variable_source.so
 *    /usr/lib64/mysql/plugin/libtest_sql_lock.so
 *    /usr/lib64/mysql/plugin/libdaemon_example.so
 *    /usr/lib64/mysql/plugin/component_test_string_service_charset.so
 *    /usr/lib64/mysql/plugin/libtest_sql_2_sessions.so
 *    /usr/lib64/mysql/plugin/component_test_backup_lock_service.so
 *    /usr/lib64/mysql/plugin/component_log_sink_test.so
 *    /usr/lib64/mysql/plugin/component_udf_unreg_int_func.so
 *    /usr/lib64/mysql/plugin/keyring_udf.so
 *    /usr/lib64/mysql/plugin/mypluglib.so
 *    /usr/lib64/mysql/plugin/component_udf_reg_only_3_func.so
 *    /usr/lib64/mysql/plugin/libtest_x_sessions_init.so
 *    /usr/lib64/mysql/plugin/ha_mock.so
 *    /usr/lib64/mysql/plugin/libtest_sql_all_col_types.so
 *    /usr/lib64/mysql/plugin/ddl_rewriter.so
 *    /usr/lib64/mysql/plugin/daemon_example.ini
 *    /usr/lib64/mysql/plugin/test_udf_services.so
 *    /usr/lib64/mysql/plugin/qa_auth_server.so
 *    /usr/lib64/mysql/plugin/component_test_status_var_service_reg_only.so
 *    /usr/lib64/mysql/plugin/component_udf_reg_int_same_func.so
 *    /usr/lib64/mysql/plugin/mysql_no_login.so
 *    /usr/lib64/mysql/plugin/component_test_pfs_notification.so
 *    /usr/lib64/mysql/plugin/component_log_filter_dragnet.so
 *    /usr/lib64/mysql/plugin/component_audit_api_message_emit.so
 *    /usr/lib64/mysql/plugin/libtest_session_info.so
 *    /usr/lib64/mysql/plugin/libtest_sql_commit.so
 *    /usr/lib64/mysql/plugin/libtest_x_sessions_deinit.so
 *    /usr/lib64/mysql/plugin/semisync_master.so
 *    /usr/lib64/mysql/plugin/libtest_sql_processlist.so
 *    /usr/lib64/mysql/plugin/component_test_mysql_current_thread_reader.so
 *    /usr/lib64/mysql/plugin/component_test_sys_var_service_str.so
 *    /usr/lib64/mysql/plugin/component_pfs_example.so
 *    /usr/lib64/mysql/plugin/component_udf_reg_int_func.so
 *    /usr/lib64/mysql/plugin/component_test_audit_api_message.so
 *    /usr/lib64/mysql/plugin/test_services_plugin_registry.so
 *    /usr/lib64/mysql/plugin/component_log_sink_json.so
 *    /usr/lib64/mysql/plugin/libtest_sql_reset_connection.so
 *    /usr/lib64/mysql/plugin/replication_observers_example_plugin.so
 *    /usr/lib64/mysql/plugin/version_token.so
 *    /usr/lib64/mysql/plugin/libtest_services.so
 *    /usr/lib64/mysql/plugin/test_services_host_application_signal.so
 *    /usr/lib64/mysql/plugin/group_replication.so
 *    /usr/lib64/mysql/plugin/semisync_slave.so
 *    /usr/lib64/mysql/plugin/auth.so
 *    /usr/lib64/mysql/plugin/component_example_component1.so
 *    /usr/lib64/mysql/plugin/libtest_sql_stored_procedures_functions.so
 *    /usr/lib64/mysql/plugin/adt_null.so
 *    /usr/lib64/mysql/plugin/libtest_sql_shutdown.so
 *    /usr/lib64/mysql/plugin/qa_auth_client.so
 *    /usr/lib64/mysql/plugin/component_example_component3.so
 *    /usr/lib64/mysql/plugin/component_mysqlx_global_reset.so
 *    /usr/lib64/mysql/plugin/auth_test_plugin.so
 *    /usr/lib64/mysql/plugin/test_security_context.so
 *    /usr/lib64/mysql/plugin/rewrite_example.so
 *    /usr/lib64/mysql/plugin/ha_example.so
 *    /usr/bin/mysqlrepair
 *    /usr/bin/mysqloptimize
 *    /usr/bin/mysqlanalyze
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * dev-db/mysql-8.0.20:0::gentoo
 *    /usr/bin/comp_err
 *    /usr/bin/ibd2sdi
 *    /usr/bin/innochecksum
 *    /usr/bin/myisam_ftdump
 *    /usr/bin/myisamchk
 *    /usr/bin/myisamlog
 *    /usr/bin/myisampack
 *    /usr/bin/mysql
 *    /usr/bin/mysql_client_test
 *    /usr/bin/mysql_config_editor
 *    /usr/bin/mysql_ssl_rsa_setup
 *    /usr/bin/mysql_tzinfo_to_sql
 *    /usr/bin/mysql_upgrade
 *    /usr/bin/mysqladmin
 *    /usr/bin/mysqlbinlog
 *    /usr/bin/mysqldump
 *    /usr/bin/mysqldumpslow
 *    /usr/bin/mysqlimport
 *    /usr/bin/mysqlpump
 *    /usr/bin/mysqltest_safe_process
 *
 * Package 'dev-db/mysql-8.0.20-r1' NOT merged due to file collisions. If
 * necessary, refer to your elog messages for the whole content of the
 * above message.
gentoo-NB /var/tmp/portage/dev-db/mysql-8.0.


What would be happening?


Last edited by Fitap on Mon Jul 27, 2020 2:22 am; edited 1 time in total
Back to top
View user's profile Send private message
jhon987
Guru
Guru


Joined: 18 Nov 2013
Posts: 301

PostPosted: Sun Jul 26, 2020 10:28 pm    Post subject: Reply with quote

I have the same issue, it seems the package is being emerged as new instead of update therefore it's no wonder it doesn't run over the collision files.
What I don't understand is why it's marked as new?
and if it's supposed to be like that then, what should be done in order to emerge the new one, erase the old, without losing anything valuable..?

Code:
# eix sql
[?] dev-db/mysql
     Available versions:  5.6.44-r1(0/18)^t 5.6.45-r2(0/18)^t 5.7.26-r1(0/18)^t 5.7.27-r1(0/18)^t ~5.7.29(0/18)^t ~8.0.19-r1^t {cjk client-libs cracklib debug experimental jemalloc latin1 libressl numa +perl profiling router selinux +server static static-libs systemtap tcmalloc test yassl ABI_MIPS="n32 n64 o32" ABI_RISCV="lp64 lp64d" ABI_S390="32 64" ABI_X86="32 64 x32" KERNEL="linux"}
     Installed versions:  8.0.20^t(12:19:48 PM 05/22/2020)(perl server -cjk -cracklib -debug -jemalloc -latin1 -libressl -numa -profiling -router -selinux -tcmalloc -test KERNEL="linux")

Code:
# equery y dev-db/mysql
Keywords for dev-db/mysql:
          |                             |   u        | 
          | a   a       p s       a r   |   n        | 
          | m   r h i   p p   m s l i m | e u s      | r
          | d a m p a p c a x 6 3 p s i | a s l      | e
          | 6 r 6 p 6 p 6 r 8 8 9 h c p | p e o      | p
          | 4 m 4 a 4 c 4 c 6 k 0 a v s | i d t      | o
----------+-----------------------------+------------+-------
5.7.27-r2 | + + + ~ ~ + + ~ + o ~ o o ~ | 6 o 5.7/18 | gentoo
5.7.29-r1 | + + ~ ~ ~ ~ + ~ + o ~ o o ~ | 6 o        | gentoo
5.7.30-r1 | + + + ~ ~ ~ ~ ~ + o ~ o o ~ | 6 o        | gentoo
5.7.31    | ~ ~ ~ ~ ~ ~ ~ ~ ~ o ~ o o ~ | 7 o        | gentoo
----------+-----------------------------+------------+-------
8.0.19-r2 | + + ~ ~ ~ ~ + ~ + o ~ o o ~ | 7 o 8.0    | gentoo
8.0.20-r1 | + + + ~ ~ ~ ~ ~ + o ~ o o ~ | 7 o        | gentoo
8.0.21    | ~ ~ ~ ~ ~ ~ ~ ~ ~ o ~ o o ~ | 7 o        | gentoo
Back to top
View user's profile Send private message
Fitap
Guru
Guru


Joined: 13 Mar 2011
Posts: 444
Location: Rosario, Argentina

PostPosted: Sun Jul 26, 2020 11:14 pm    Post subject: Reply with quote

Thanks for response jhon987.

I have notice that is a new install instead upgrade one.

Code:
[ebuild  NS    ] dev-db/mysql-8.0.20-r1:8.0::gentoo [8.0.20:0::gentoo] USE="libressl perl server -cjk -cracklib -debug -jemalloc -latin1 -numa -profiling -router (-selinux) -tcmalloc -test" 0 KiB

Total: 1 package (1 in new slot), Size of downloads: 0 KiB


Code:
[U?] dev-db/mysql
     Available versions: 
     (5.7)  5.7.27-r2(5.7/18)^t 5.7.29-r1(5.7/18)^t 5.7.30-r1(5.7/18)^t
     (8.0)  8.0.19-r2^t 8.0.20-r1^t
       {cjk client-libs cracklib debug experimental jemalloc latin1 libressl numa +perl profiling router selinux +server static static-libs systemtap tcmalloc test yassl ABI_MIPS="n32 n64 o32" ABI_RISCV="lp64 lp64d" ABI_S390="32 64" ABI_X86="32 64 x32" KERNEL="linux"}
     Installed versions:  8.0.20^t(09:00:28 30/06/20)(libressl perl server -cjk -cracklib -debug -jemalloc -latin1 -numa -profiling -router -selinux -tcmalloc -test KERNEL="linux")
     Homepage:            https://www.mysql.com/
     Description:         A fast, multi-threaded, multi-user SQL database server



Quote:
and if it's supposed to be like that then, what should be done in order to emerge the new one, erase the old, without losing anything valuable..?

Who knows...
I'm waiting a bit more if anyone else post some info.
Back to top
View user's profile Send private message
halcon
l33t
l33t


Joined: 15 Dec 2019
Posts: 629

PostPosted: Sun Jul 26, 2020 11:59 pm    Post subject: Reply with quote

Try to re-sync the tree, this issue should have been resolved recently, similarly to maria-db issue.
Back to top
View user's profile Send private message
Fitap
Guru
Guru


Joined: 13 Mar 2011
Posts: 444
Location: Rosario, Argentina

PostPosted: Mon Jul 27, 2020 2:20 am    Post subject: Reply with quote

Thanks for response halcon, re-sync the tree solved this issue.
Back to top
View user's profile Send private message
jhon987
Guru
Guru


Joined: 18 Nov 2013
Posts: 301

PostPosted: Mon Jul 27, 2020 8:52 am    Post subject: Reply with quote

halcon wrote:
Try to re-sync the tree, this issue should have been resolved recently, similarly to maria-db issue.

indeed, thanks
Back to top
View user's profile Send private message
hanj
Veteran
Veteran


Joined: 19 Aug 2003
Posts: 1490

PostPosted: Tue Jul 28, 2020 3:14 pm    Post subject: Reply with quote

halcon wrote:
Try to re-sync the tree, this issue should have been resolved recently, similarly to maria-db issue.


Hmmm. Just like all of you, running into the same problem.

Code:
emerge -pv mysql

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  NS    ] dev-db/mysql-8.0.20-r1:8.0::gentoo [8.0.20:0::gentoo] USE="latin1 perl server -cjk -cracklib -debug -jemalloc -libressl -numa -profiling -router (-selinux) -tcmalloc -test" 260,049 KiB
[uninstall     ] dev-db/mysql-8.0.20::gentoo  USE="latin1 perl server -cjk -cracklib -debug -jemalloc -libressl -numa -profiling -router (-selinux) -tcmalloc -test"
[blocks b      ] dev-db/mysql:0 ("dev-db/mysql:0" is blocking dev-db/mysql-8.0.20-r1)


Emerge ends in fail with file collisions.

I just ran an emerge --sync and it's still trying to pull in a new slot?

Thanks!
hanji
_________________
Server Admin Blog - Uno-Code.com
Back to top
View user's profile Send private message
halcon
l33t
l33t


Joined: 15 Dec 2019
Posts: 629

PostPosted: Tue Jul 28, 2020 3:54 pm    Post subject: Reply with quote

hanj wrote:
I just ran an emerge --sync and it's still trying to pull in a new slot?

Pulling in a new slot is fine. The fix was so the previous version, installed in the slot 0, would not lead to file collisions. Not sure why your emerge fails...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum