Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925713 - app-text/editorconfig-core-c-0.12.6 - file collision with dev-python/editorconfig-0.12.4[-cli] (USE=-cli is ineffective for dev-python/editorconfig-0.12.4)
Summary: app-text/editorconfig-core-c-0.12.6 - file collision with dev-python/editorco...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2024-02-28 15:23 UTC by Toralf Förster
Modified: 2024-03-02 23:37 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,23.45 KB, text/plain)
2024-02-28 15:23 UTC, Toralf Förster
Details
CMakeCache.txt (CMakeCache.txt,18.80 KB, text/plain)
2024-02-28 15:23 UTC, Toralf Förster
Details
app-text:editorconfig-core-c-0.12.6:20240228-020923.log (app-text:editorconfig-core-c-0.12.6:20240228-020923.log,16.32 KB, text/plain)
2024-02-28 15:23 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,116.91 KB, application/x-xz)
2024-02-28 15:23 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,960 bytes, application/x-xz)
2024-02-28 15:23 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,51.97 KB, application/x-xz)
2024-02-28 15:23 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,3.09 KB, application/x-xz)
2024-02-28 15:23 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,114.07 KB, application/x-xz)
2024-02-28 15:23 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-02-28 15:23:07 UTC
 * Press Ctrl-C to Stop
 * 
 * dev-python/editorconfig-0.12.4:0::gentoo
 * 	/usr/bin/editorconfig
 * 
 * Package 'app-text/editorconfig-core-c-0.12.6' NOT merged due to file

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-20240219-130512

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.8
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.75.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.0 linux/amd64

  HEAD of ::gentoo
commit 8d85b1f059dbf8b1adf567fe06c38412d4d000ae
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Feb 28 01:18:58 2024 +0000

    2024-02-28 01:18:58 UTC

emerge -qpvO app-text/editorconfig-core-c
[ebuild  N    ] app-text/editorconfig-core-c-0.12.6  USE="cli -doc"
Comment 1 Toralf Förster gentoo-dev 2024-02-28 15:23:08 UTC
Created attachment 886220 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-02-28 15:23:09 UTC
Created attachment 886221 [details]
CMakeCache.txt
Comment 3 Toralf Förster gentoo-dev 2024-02-28 15:23:10 UTC
Created attachment 886222 [details]
app-text:editorconfig-core-c-0.12.6:20240228-020923.log
Comment 4 Toralf Förster gentoo-dev 2024-02-28 15:23:11 UTC
Created attachment 886223 [details]
emerge-history.txt.xz
Comment 5 Toralf Förster gentoo-dev 2024-02-28 15:23:12 UTC
Created attachment 886224 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-02-28 15:23:13 UTC
Created attachment 886225 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-02-28 15:23:14 UTC
Created attachment 886226 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-02-28 15:23:15 UTC
Created attachment 886227 [details]
qlist-info.txt.xz
Comment 9 Zac Medico gentoo-dev 2024-02-29 07:07:23 UTC
We need need sed to operate on setup.cfg instead of setup.py:

--- a/dev-python/editorconfig/editorconfig-0.12.4.ebuild
+++ b/dev-python/editorconfig/editorconfig-0.12.4.ebuild
@@ -39,3 +39,3 @@ src_prepare() {
        if ! use cli; then
-               sed -i -e '/editorconfig\.__main__/d' setup.py || die
+               sed -i -e '/editorconfig\.__main__/d' setup.cfg || die
        fi

The result is:

--- editorconfig-core-py-0.12.4/setup.cfg
+++ editorconfig-core-py-0.12.4/setup.cfg
@@ -25,4 +25,3 @@
 
 [options.entry_points]
 console_scripts =
-    editorconfig = editorconfig.__main__:main
Comment 10 Larry the Git Cow gentoo-dev 2024-03-02 23:37:09 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b451f1740713c628b449e1bdd6a3c48373c2af6

commit 3b451f1740713c628b449e1bdd6a3c48373c2af6
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2024-03-02 23:34:59 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2024-03-02 23:37:02 +0000

    app-text/editorconfig-core-c: Block dev-python/editorconfig with broken USE=-cli
    
    Closes: https://bugs.gentoo.org/925713
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 app-text/editorconfig-core-c/editorconfig-core-c-0.12.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=698eaa2a3a0165532aad820a3c087042837915da

commit 698eaa2a3a0165532aad820a3c087042837915da
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2024-03-02 23:31:29 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2024-03-02 23:37:02 +0000

    dev-python/editorconfig: 0.12.4-r1 revbump to fix USE=-cli
    
    Bug: https://bugs.gentoo.org/925713
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 .../{editorconfig-0.12.4.ebuild => editorconfig-0.12.4-r1.ebuild}       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)