* [devel] usrmerge unmets? [#352814] FAILED thinkfan.git=1.3.1-alt2 @ 2024-07-14 10:38 ` Anton Farygin 2024-07-14 10:46 ` Vitaly Chikunov 2024-07-14 11:00 ` Dmitry V. Levin 0 siblings, 2 replies; 6+ messages in thread From: Anton Farygin @ 2024-07-14 10:38 UTC (permalink / raw) To: ALT Linux Team development discussions Я правильно понимаю, что всё что ниже - это недоделанная работа по usrmerge ? Почему анметы на /usr/bin/sleep вылезли ? $ rpm -qf /usr/bin/sleep coreutils-9.4.0.75.7f2c97-alt1.x86_64 Что делать в такой ситуации ? https://git.altlinux.org/tasks/352814/logs/events.1.1.log subtask name aarch64 i586 ppc64le x86_64 #100 thinkfan 43 30 47 30 2024-Jul-14 09:58:36 :: task #352814 for sisyphus started by rider: #100 build 1.3.1-alt2 from /people/rider/packages/thinkfan.git fetched at 2024-Jul-14 09:58:35 2024-Jul-14 09:58:39 :: [ppc64le] #100 thinkfan.git 1.3.1-alt2: build start 2024-Jul-14 09:58:39 :: [i586] #100 thinkfan.git 1.3.1-alt2: build start 2024-Jul-14 09:58:39 :: [aarch64] #100 thinkfan.git 1.3.1-alt2: build start 2024-Jul-14 09:58:39 :: [x86_64] #100 thinkfan.git 1.3.1-alt2: build start 2024-Jul-14 09:59:09 :: [x86_64] #100 thinkfan.git 1.3.1-alt2: build OK 2024-Jul-14 09:59:09 :: [i586] #100 thinkfan.git 1.3.1-alt2: build OK 2024-Jul-14 09:59:22 :: [aarch64] #100 thinkfan.git 1.3.1-alt2: build OK 2024-Jul-14 09:59:26 :: [ppc64le] #100 thinkfan.git 1.3.1-alt2: build OK 2024-Jul-14 09:59:39 :: #100: thinkfan.git 1.3.1-alt2: build check OK 2024-Jul-14 09:59:41 :: build check OK 2024-Jul-14 09:59:43 :: noarch check OK 2024-Jul-14 09:59:45 :: plan: src +1 -1 =19535, aarch64 +2 -2 =33411, i586 +2 -2 =32846, ppc64le +2 -2 =32245, x86_64 +2 -2 =34270 #100 thinkfan 1.3.1-alt1 -> 1.3.1-alt2 Sun Jul 14 2024 Anton Farygin <rider@altlinux.ru> 1.3.1-alt2 - fixed build in environment with merged /usr 2024-Jul-14 10:00:29 :: patched apt indices 2024-Jul-14 10:00:41 :: created next repo 2024-Jul-14 10:00:51 :: duplicate provides check OK x86_64: NEW unmet dependencies detected: thinkfan#1.3.1-alt2:sisyphus+352814.100.1.1@1720951146 /usr/bin/sleep i586: NEW unmet dependencies detected: thinkfan#1.3.1-alt2:sisyphus+352814.100.1.1@1720951146 /usr/bin/sleep aarch64: NEW unmet dependencies detected: thinkfan#1.3.1-alt2:sisyphus+352814.100.1.1@1720951159 /usr/bin/sleep ppc64le: NEW unmet dependencies detected: thinkfan#1.3.1-alt2:sisyphus+352814.100.1.1@1720951162 /usr/bin/sleep ACLs of affected packages (1): thinkfan rider @everybody 2024-Jul-14 10:01:33 :: unmets: x86_64 +1 -0 =1, i586 +1 -0 =1, aarch64 +1 -0 =4, ppc64le +1 -0 =4 2024-Jul-14 10:01:33 :: dependencies check FAILED 2024-Jul-14 10:01:33 :: task #352814 for sisyphus FAILED ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] usrmerge unmets? [#352814] FAILED thinkfan.git=1.3.1-alt2 2024-07-14 10:38 ` [devel] usrmerge unmets? [#352814] FAILED thinkfan.git=1.3.1-alt2 Anton Farygin @ 2024-07-14 10:46 ` Vitaly Chikunov 2024-07-14 10:56 ` Anton Farygin 2024-07-14 11:00 ` Dmitry V. Levin 1 sibling, 1 reply; 6+ messages in thread From: Vitaly Chikunov @ 2024-07-14 10:46 UTC (permalink / raw) To: ALT Linux Team development discussions Hi, On Sun, Jul 14, 2024 at 01:38:27PM +0300, Anton Farygin wrote: > Я правильно понимаю, что всё что ниже - это недоделанная работа по usrmerge > ? Почему анметы на /usr/bin/sleep вылезли ? > > $ rpm -qf /usr/bin/sleep > coreutils-9.4.0.75.7f2c97-alt1.x86_64 rpm -qf умеет определять принадлежность даже если в пути симлинк. На самом деле там $ rpm -ql coreutils | grep bin/sleep /bin/sleep > > Что делать в такой ситуации ? Я бы заменил в скриптах пакета вызов /usr/bin/sleep на /bin/sleep. /tmp/thinkfan (master)$ git grep /bin/sleep rcscripts/systemd/thinkfan-sleep.service:ExecStart=/usr/bin/sleep 1 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] usrmerge unmets? [#352814] FAILED thinkfan.git=1.3.1-alt2 2024-07-14 10:46 ` Vitaly Chikunov @ 2024-07-14 10:56 ` Anton Farygin 0 siblings, 0 replies; 6+ messages in thread From: Anton Farygin @ 2024-07-14 10:56 UTC (permalink / raw) To: devel On 14.07.2024 13:46, Vitaly Chikunov wrote: >> Что делать в такой ситуации ? > Я бы заменил в скриптах пакета вызов /usr/bin/sleep на /bin/sleep. > > /tmp/thinkfan (master)$ git grep /bin/sleep > rcscripts/systemd/thinkfan-sleep.service:ExecStart=/usr/bin/sleep 1 Я как раз откатил это изменение. Как исправить я понимаю, но текущее поведение больше похоже на какую-то недоработку. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] usrmerge unmets? [#352814] FAILED thinkfan.git=1.3.1-alt2 2024-07-14 10:38 ` [devel] usrmerge unmets? [#352814] FAILED thinkfan.git=1.3.1-alt2 Anton Farygin 2024-07-14 10:46 ` Vitaly Chikunov @ 2024-07-14 11:00 ` Dmitry V. Levin 2024-07-14 11:03 ` Anton Farygin 1 sibling, 1 reply; 6+ messages in thread From: Dmitry V. Levin @ 2024-07-14 11:00 UTC (permalink / raw) To: devel On Sun, Jul 14, 2024 at 01:38:27PM +0300, Anton Farygin wrote: > Я правильно понимаю, что всё что ниже - это недоделанная работа по > usrmerge ? Почему анметы на /usr/bin/sleep вылезли ? Видимо, потому что @:rcscripts/systemd/thinkfan-sleep.service:9:ExecStart=/usr/bin/sleep 1 При этом $ ./hasher/aptbox/apt-cache showpkg /usr/bin/sleep W: Unable to locate package /usr/bin/sleep $ ./hasher/aptbox/apt-cache showpkg /bin/sleep Package: /bin/sleep Versions: Reverse Depends: thinkfan,/bin/sleep scsitarget-utils,/bin/sleep lsb-core,/bin/sleep iodine-server,/bin/sleep iodine-client,/bin/sleep dlm,/bin/sleep asusctl,/bin/sleep airsane,/bin/sleep shorewall-core,/bin/sleep apt-updatecache,/bin/sleep Dependencies: Provides: Reverse Provides: coreutils 9.4.0.75.7f2c97-alt1:sisyphus+327286.4300.14.1@1711485909 > $ rpm -qf /usr/bin/sleep > coreutils-9.4.0.75.7f2c97-alt1.x86_64 > > Что делать в такой ситуации ? CHANGES WITH 239: * The ExecStart= lines of unit files are no longer required to reference absolute paths. If non-absolute paths are specified the specified binary name is searched within the service manager's built-in $PATH, which may be queried with 'systemd-path search-binaries-default'. -- ldv ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] usrmerge unmets? [#352814] FAILED thinkfan.git=1.3.1-alt2 2024-07-14 11:00 ` Dmitry V. Levin @ 2024-07-14 11:03 ` Anton Farygin 2024-07-14 11:11 ` Vitaly Chikunov 0 siblings, 1 reply; 6+ messages in thread From: Anton Farygin @ 2024-07-14 11:03 UTC (permalink / raw) To: devel On 14.07.2024 14:00, Dmitry V. Levin wrote: > CHANGES WITH 239: > > * The ExecStart= lines of unit files are no longer required to > reference absolute paths. If non-absolute paths are specified the > specified binary name is searched within the service manager's > built-in $PATH, which may be queried with 'systemd-path > search-binaries-default'. Спасибо. А когда планируется начать провайдить новые пути в coreutils ? ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] usrmerge unmets? [#352814] FAILED thinkfan.git=1.3.1-alt2 2024-07-14 11:03 ` Anton Farygin @ 2024-07-14 11:11 ` Vitaly Chikunov 0 siblings, 0 replies; 6+ messages in thread From: Vitaly Chikunov @ 2024-07-14 11:11 UTC (permalink / raw) To: ALT Linux Team development discussions On Sun, Jul 14, 2024 at 02:03:16PM +0300, Anton Farygin wrote: > On 14.07.2024 14:00, Dmitry V. Levin wrote: > > CHANGES WITH 239: > > > > * The ExecStart= lines of unit files are no longer required to > > reference absolute paths. If non-absolute paths are specified the > > specified binary name is searched within the service manager's > > built-in $PATH, which may be queried with 'systemd-path > > search-binaries-default'. > > Спасибо. > > А когда планируется начать провайдить новые пути в coreutils ? ps. Я думаю правильным решением было бы если бы CanonPath каноникализировал путь к файлу с учетом того как его провайдит его пакет. Но сейчас способа быстро сделать это нет (то есть определить, что /usr/bin/sleep это на самом деле /bin/sleep). Тогда бы многие такие зависимости решались автоматически или доустановкой в сборочную срежу зависимого пакета. > > _______________________________________________ > Devel mailing list > Devel@lists.altlinux.org > https://lists.altlinux.org/mailman/listinfo/devel ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-07-14 11:11 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2024-07-14 10:38 ` [devel] usrmerge unmets? [#352814] FAILED thinkfan.git=1.3.1-alt2 Anton Farygin 2024-07-14 10:46 ` Vitaly Chikunov 2024-07-14 10:56 ` Anton Farygin 2024-07-14 11:00 ` Dmitry V. Levin 2024-07-14 11:03 ` Anton Farygin 2024-07-14 11:11 ` Vitaly Chikunov
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git