Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 876295 - dev-util/goland-2021.3.3 with dev-util/pycharm-professional - file collision in /usr/lib/debug/.build-id/*/*
Summary: dev-util/goland-2021.3.3 with dev-util/pycharm-professional - file collision ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Jason A. Donenfeld
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-10-09 10:25 UTC by Dennis Lamm
Modified: 2025-02-20 14:00 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Lamm gentoo-dev 2022-10-09 10:25:03 UTC
Installing goland together with pycharm-professional causes collisions with FEATURES=splitdebug

 * dev-util/pycharm-professional-2022.1-r1:0::gentoo
 * 	/usr/lib/debug/.build-id/26/24b292f39185b66dda0342772734ce2a94cb41
 * 	/usr/lib/debug/.build-id/26/24b292f39185b66dda0342772734ce2a94cb41.debug
 * 	/usr/lib/debug/.build-id/58/7e8b61f1a8cf6f9d1fa5d7856e2d1bdff4bb87
 * 	/usr/lib/debug/.build-id/58/7e8b61f1a8cf6f9d1fa5d7856e2d1bdff4bb87.debug
 * 	/usr/lib/debug/.build-id/60/30f1f82b86aee5d0b9b063803ce24c669b81c3
 * 	/usr/lib/debug/.build-id/60/30f1f82b86aee5d0b9b063803ce24c669b81c3.debug
 * 	/usr/lib/debug/.build-id/6a/cf4c262bfc713524a916bac6b1ce12e0383cd5
 * 	/usr/lib/debug/.build-id/6a/cf4c262bfc713524a916bac6b1ce12e0383cd5.debug
 * 	/usr/lib/debug/.build-id/94/138aad04501db22124f94d702caab2840cafa3
 * 	/usr/lib/debug/.build-id/94/138aad04501db22124f94d702caab2840cafa3.debug
 * 	/usr/lib/debug/.build-id/97/bbf2b3247eaea8b0321fe9148fdf9df7467b1e
 * 	/usr/lib/debug/.build-id/97/bbf2b3247eaea8b0321fe9148fdf9df7467b1e.debug
 * 	/usr/lib/debug/.build-id/b0/49e89e08a13a830a5bfb4a402904ced4af29a5
 * 	/usr/lib/debug/.build-id/b0/49e89e08a13a830a5bfb4a402904ced4af29a5.debug
 * 	/usr/lib/debug/.build-id/b2/dbc45363d1a3fd60f46c6e70310c281ac7b3ae
 * 	/usr/lib/debug/.build-id/b2/dbc45363d1a3fd60f46c6e70310c281ac7b3ae.debug
 * 	/usr/lib/debug/.build-id/da/66f2e842528060002ff6c82106f30dd915835d
 * 	/usr/lib/debug/.build-id/da/66f2e842528060002ff6c82106f30dd915835d.debug
 * 	/usr/lib/debug/.build-id/e3/384ee65809589849a9b2107c53de5b80ab7652
 * 	/usr/lib/debug/.build-id/e3/384ee65809589849a9b2107c53de5b80ab7652.debug
 * 
 * Package 'dev-util/goland-2021.3.3' NOT merged due to file collisions.
 * If necessary, refer to your elog messages for the whole content of the
 * above message.


See also BUG #644980

Reproducible: Always
Comment 1 Stefan Cristian Brindusa 2025-02-10 18:19:19 UTC
pycharm-community confirmed with same bug in relation with pycharm-professional and goland:

 * Press Ctrl-C to Stop
 * 
 * dev-util/pycharm-professional-2024.3.2:0::argent-ws
 *      /usr/lib/debug/.build-id/35/ecd42fb5f05ce9c3aa96fcfb950f9849d8e536
 *      /usr/lib/debug/.build-id/35/ecd42fb5f05ce9c3aa96fcfb950f9849d8e536.debug
 *      /usr/lib/debug/.build-id/38/0e521fb18ed0452f79b0ed4a06ffaa38e6f4a9
 *      /usr/lib/debug/.build-id/38/0e521fb18ed0452f79b0ed4a06ffaa38e6f4a9.debug
 *      /usr/lib/debug/.build-id/76/a394fb545305f7aecebe8f8eac270dd94ba9c9
 *      /usr/lib/debug/.build-id/76/a394fb545305f7aecebe8f8eac270dd94ba9c9.debug
 *      /usr/lib/debug/.build-id/77/bc53fc8d54941c65b38454592fcc58dd10fa63
 *      /usr/lib/debug/.build-id/77/bc53fc8d54941c65b38454592fcc58dd10fa63.debug
 *      /usr/lib/debug/.build-id/79/7ef47edd13e4d171cf939c28fa84eaa0fa20ad.debug
 *      /usr/lib/debug/.build-id/79/c29a0f7ec042e3c84ee4bef8d3d7439d28386d.debug
 *      /usr/lib/debug/.build-id/a5/a2393d5ccd87b6fa888a1292c92c87056a8ef1
 *      /usr/lib/debug/.build-id/a5/a2393d5ccd87b6fa888a1292c92c87056a8ef1.debug
 *      /usr/lib/debug/.build-id/cf/1951bb47fa670f161c4da85f8b7e19a39a2af7
 *      /usr/lib/debug/.build-id/cf/1951bb47fa670f161c4da85f8b7e19a39a2af7.debug
 *      /usr/lib/debug/.build-id/cf/c88ab5d79a9d0c89c3299ebcf61bd26b032101
 *      /usr/lib/debug/.build-id/cf/c88ab5d79a9d0c89c3299ebcf61bd26b032101.debug
 *      /usr/lib/debug/.build-id/d2/43f8b71407370baf6def38077c52b3dcfc2ffe
 *      /usr/lib/debug/.build-id/d2/43f8b71407370baf6def38077c52b3dcfc2ffe.debug
 *      /usr/lib/debug/.build-id/d2/8ef0dea246e48740cbbaae52882c71089b18c4
 *      /usr/lib/debug/.build-id/d2/8ef0dea246e48740cbbaae52882c71089b18c4.debug
 * 
 * Package 'dev-util/pycharm-community-2024.3.2' NOT merged due to file
 * collisions. If necessary, refer to your elog messages for the whole
 * content of the above message.
Comment 2 Stefan Cristian Brindusa 2025-02-10 18:25:10 UTC
(In reply to Stefan Cristian Brindusa from comment #1)
> pycharm-community confirmed with same bug in relation with
> pycharm-professional and goland:
> 
>  * Press Ctrl-C to Stop
>  * 
>  * dev-util/pycharm-professional-2024.3.2:0::argent-ws
>  *      /usr/lib/debug/.build-id/35/ecd42fb5f05ce9c3aa96fcfb950f9849d8e536
>  *     
> /usr/lib/debug/.build-id/35/ecd42fb5f05ce9c3aa96fcfb950f9849d8e536.debug
>  *      /usr/lib/debug/.build-id/38/0e521fb18ed0452f79b0ed4a06ffaa38e6f4a9
>  *     
> /usr/lib/debug/.build-id/38/0e521fb18ed0452f79b0ed4a06ffaa38e6f4a9.debug
>  *      /usr/lib/debug/.build-id/76/a394fb545305f7aecebe8f8eac270dd94ba9c9
>  *     
> /usr/lib/debug/.build-id/76/a394fb545305f7aecebe8f8eac270dd94ba9c9.debug
>  *      /usr/lib/debug/.build-id/77/bc53fc8d54941c65b38454592fcc58dd10fa63
>  *     
> /usr/lib/debug/.build-id/77/bc53fc8d54941c65b38454592fcc58dd10fa63.debug
>  *     
> /usr/lib/debug/.build-id/79/7ef47edd13e4d171cf939c28fa84eaa0fa20ad.debug
>  *     
> /usr/lib/debug/.build-id/79/c29a0f7ec042e3c84ee4bef8d3d7439d28386d.debug
>  *      /usr/lib/debug/.build-id/a5/a2393d5ccd87b6fa888a1292c92c87056a8ef1
>  *     
> /usr/lib/debug/.build-id/a5/a2393d5ccd87b6fa888a1292c92c87056a8ef1.debug
>  *      /usr/lib/debug/.build-id/cf/1951bb47fa670f161c4da85f8b7e19a39a2af7
>  *     
> /usr/lib/debug/.build-id/cf/1951bb47fa670f161c4da85f8b7e19a39a2af7.debug
>  *      /usr/lib/debug/.build-id/cf/c88ab5d79a9d0c89c3299ebcf61bd26b032101
>  *     
> /usr/lib/debug/.build-id/cf/c88ab5d79a9d0c89c3299ebcf61bd26b032101.debug
>  *      /usr/lib/debug/.build-id/d2/43f8b71407370baf6def38077c52b3dcfc2ffe
>  *     
> /usr/lib/debug/.build-id/d2/43f8b71407370baf6def38077c52b3dcfc2ffe.debug
>  *      /usr/lib/debug/.build-id/d2/8ef0dea246e48740cbbaae52882c71089b18c4
>  *     
> /usr/lib/debug/.build-id/d2/8ef0dea246e48740cbbaae52882c71089b18c4.debug
>  * 
>  * Package 'dev-util/pycharm-community-2024.3.2' NOT merged due to file
>  * collisions. If necessary, refer to your elog messages for the whole
>  * content of the above message.

In relationship with pycharm-professional only*. Pycharm-community and Goland can coexist without collisions.
Comment 3 Stefan Cristian Brindusa 2025-02-10 18:40:37 UTC
Fixed in: https://github.com/gentoo/gentoo/pull/40265
Comment 4 Larry the Git Cow gentoo-dev 2025-02-17 18:03:49 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=028156b32a929d4921fa550bd8d3bb259baaca8a

commit 028156b32a929d4921fa550bd8d3bb259baaca8a
Author:     Stefan Cristian B. <stefan.cristian+git@rogentos.ro>
AuthorDate: 2025-02-17 09:34:34 +0000
Commit:     Viorel Munteanu <ceamac@gentoo.org>
CommitDate: 2025-02-17 18:03:23 +0000

    dev-util/pycharm-professional: version bump 2024.3.2 and bugfixes
    
    * On #876295, implemented the solution discussed with @thesamesam to strip
      debug symbols and relocate them in ${EPREFIX}/opt/${P}.
      JetBrains IDEs have almost identical .build-ids, causing conflicts.
      To prevent the conflicts, we relocate debug symbols per package.
      The preferred method is stripping with objcopy and using debugedit to
      point to their new /usr/lib/debug/ location.
    * The #923766 SONAME correction was done earlier than 2024.3.1-r1.
    * Corrected the full list of LICENSES as per #694272 bug
    * On #842270 port is still exposed.
      The port can be closed with configuration by upstream.
      Referal: https://intellij-support.jetbrains.com
      Post name/link: 8125278285586-Internal-Local-ports-63342-6942
    * The #804450 does not reproduce anymore.
    * The #914286 does not reproduce anymore.
    * The #914287 does not reproduce anymore.
    * The #914285 does not reproduce anymore.
    
    Bug: https://bugs.gentoo.org/842270
    Bug: https://bugs.gentoo.org/876295
    Closes: https://bugs.gentoo.org/923766
    Closes: https://bugs.gentoo.org/914286
    Closes: https://bugs.gentoo.org/914287
    Closes: https://bugs.gentoo.org/914285
    Closes: https://bugs.gentoo.org/949389
    Signed-off-by: Stefan Cristian B. <stefan.cristian+git@rogentos.ro>
    Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>

 dev-util/pycharm-professional/Manifest             |   2 +
 .../pycharm-professional-2024.3.2.ebuild           | 203 +++++++++++++++++++++
 2 files changed, 205 insertions(+)