Re: [OE-core] systemd service@ bug

2023-07-19 Thread Yuta Hayama
Hi,

On 2023/07/19 16:47, Vyacheslav Yurkov wrote:
> Hey,
> Usually Steve Sakoman cherry-picks patches from master. If it's not the case, 
> it was probably not applied clearly or simply overlooked. You can submit a 
> backport with the branch tag.

Thank you! I understood.

I checked git log and it looked like it usually takes around a month to be
backported, so I will wait until then.


Regards,

Yuta Hayama 

> 
> Vyacheslav
> 
> On 19.07.2023 03:48, Yuta Hayama wrote:
>> Hi,
>>
>> This issue has been fixed in master.
>> https://git.openembedded.org/openembedded-core/commit/?id=d18b939fb08b37380ce95934da38e6522392621c
>>
>> But, yes. This patch has not yet been backported to the any stable branch.
>>
>>
>> I don't know about the maintenance process for the stable branch, but I
>> expect that patch will probably be queued and backported to dunfell in
>> a month or so.
>>
>> Please let me know if anyone knows anything about this. Should we simply
>> wait? Or do I have to submit a backport request?
>>
>>
>> Regards,
>>
>> Yuta Hayama
> 
> 
> 
> 
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#184620): 
https://lists.openembedded.org/g/openembedded-core/message/184620
Mute This Topic: https://lists.openembedded.org/mt/100140897/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] systemd service@ bug

2023-07-19 Thread Vyacheslav Yurkov

Hey,
Usually Steve Sakoman cherry-picks patches from master. If it's not the 
case, it was probably not applied clearly or simply overlooked. You can 
submit a backport with the branch tag.


Vyacheslav

On 19.07.2023 03:48, Yuta Hayama wrote:

Hi,

This issue has been fixed in master.
https://git.openembedded.org/openembedded-core/commit/?id=d18b939fb08b37380ce95934da38e6522392621c

But, yes. This patch has not yet been backported to the any stable branch.


I don't know about the maintenance process for the stable branch, but I
expect that patch will probably be queued and backported to dunfell in
a month or so.

Please let me know if anyone knows anything about this. Should we simply
wait? Or do I have to submit a backport request?


Regards,

Yuta Hayama



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#184567): 
https://lists.openembedded.org/g/openembedded-core/message/184567
Mute This Topic: https://lists.openembedded.org/mt/100140897/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] systemd service@ bug

2023-07-18 Thread Yuta Hayama
Hi,

This issue has been fixed in master.
https://git.openembedded.org/openembedded-core/commit/?id=d18b939fb08b37380ce95934da38e6522392621c

But, yes. This patch has not yet been backported to the any stable branch.


I don't know about the maintenance process for the stable branch, but I
expect that patch will probably be queued and backported to dunfell in
a month or so.

Please let me know if anyone knows anything about this. Should we simply
wait? Or do I have to submit a backport request?


Regards,

Yuta Hayama

On 2023/07/14 22:42, Dvorkin Dmitry wrote:
> Hello!
> 
> (sorry, previously posted as the reply to wrong message)
> 
> starting from 2aa82324d43467e7c8bfbbb59570ee3306264b75 commit (dunfell and 
> probably other branches)
> 
> https://git.openembedded.org/openembedded-core/commit/?h=dunfell=2aa82324d43467e7c8bfbbb59570ee3306264b75
> 
> the
> 
> SYSTEMD_SERVICE:${PN} = "php-fpm@9000.service"
> 
> syntax in the recipe brings OE to error at do_rootfs step:
> 
> https://pastebin.com/WbDCPy4V
> 
> 
> + for service in php-fpm@9000.service
> + systemctl 
> --root=/workdir/build.tppg2/tmp/work/tppg2-tps-linux-gnueabi/img-oac
> -anpr/1.0-r0/rootfs enable php-fpm@9000.service
> Traceback (most recent call last):
> File "/workdir/build.tppg2/tmp/work/tppg2-tps-linux-gnueabi/img-oac-anpr/1.0-r
> 0/recipe-sysroot-native/usr/bin/systemctl", line 331, in 
> main()
> File "/workdir/build.tppg2/tmp/work/tppg2-tps-linux-gnueabi/img-oac-anpr/1.0-r
> 0/recipe-sysroot-native/usr/bin/systemctl", line 319, in main
> SystemdUnit(root, service).enable()
> File "/workdir/build.tppg2/tmp/work/tppg2-tps-linux-gnueabi/img-oac-anpr/1.0-r
> 0/recipe-sysroot-native/usr/bin/systemctl", line 232, in enable
> self._process_deps(config, service, path, 'WantedBy', 'wants', instance)
> File "/workdir/build.tppg2/tmp/work/tppg2-tps-linux-gnueabi/img-oac-anpr/1.0-r
> 0/recipe-sysroot-native/usr/bin/systemctl", line 192, in _process_deps
> dependent = re.sub("([^%](%%)*)%i", "\\1{}".format(instance), dependent)
> File "/workdir/build.tppg2/tmp/work/tppg2-tps-linux-gnueabi/img-oac-anpr/1.0-r
> 0/recipe-sysroot-native/usr/lib/python3.8/re.py", line 210, in sub
> return _compile(pattern, flags).sub(repl, string, count)
> File "/workdir/build.tppg2/tmp/work/tppg2-tps-linux-gnueabi/img-oac-anpr/1.0-r
> 0/recipe-sysroot-native/usr/lib/python3.8/re.py", line 327, in _subx
> template = _compile_repl(template, pattern)
> File "/workdir/build.tppg2/tmp/work/tppg2-tps-linux-gnueabi/img-oac-anpr/1.0-r
> 0/recipe-sysroot-native/usr/lib/python3.8/re.py", line 318, in _compile_repl
> return sre_parse.parse_template(repl, pattern)
> File "/workdir/build.tppg2/tmp/work/tppg2-tps-linux-gnueabi/img-oac-anpr/1.0-r
> 0/recipe-sysroot-native/usr/lib/python3.8/sre_parse.py", line 1036, in 
> parse_tem
> plate
> addgroup(int(this[1:]), len(this) - 1)
> File "/workdir/build.tppg2/tmp/work/tppg2-tps-linux-gnueabi/img-oac-anpr/1.0-r
> 0/recipe-sysroot-native/usr/lib/python3.8/sre_parse.py", line 980, in addgroup
> raise s.error("invalid group reference %d" % index, pos)
> re.error: invalid group reference 19 at position 1
> %post(oac-php-1.0-r0.noarch): waitpid(3549888) rc 3549888 status 100
> warning: %post(oac-php-1.0-r0.noarch) scriptlet failed, exit status 1
> Error in POSTIN scriptlet in rpm package oac-php
> Installing : curl-7.69.1-r0.cortexa9hf_neon 849/863
> 
> 
> 
> 
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#184564): 
https://lists.openembedded.org/g/openembedded-core/message/184564
Mute This Topic: https://lists.openembedded.org/mt/100140897/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] systemd service@ bug

2023-07-14 Thread Dvorkin Dmitry

Hello!

(sorry, previously posted as the reply to wrong message)

starting from 2aa82324d43467e7c8bfbbb59570ee3306264b75 commit (dunfell 
and probably other branches)


https://git.openembedded.org/openembedded-core/commit/?h=dunfell=2aa82324d43467e7c8bfbbb59570ee3306264b75

the

SYSTEMD_SERVICE:${PN} = "php-fpm@9000.service"

syntax in the recipe brings OE to error at do_rootfs step:

https://pastebin.com/WbDCPy4V


+ for service in php-fpm@9000.service
+ systemctl 
--root=/workdir/build.tppg2/tmp/work/tppg2-tps-linux-gnueabi/img-oac

-anpr/1.0-r0/rootfs enable php-fpm@9000.service
Traceback (most recent call last):
File 
"/workdir/build.tppg2/tmp/work/tppg2-tps-linux-gnueabi/img-oac-anpr/1.0-r

0/recipe-sysroot-native/usr/bin/systemctl", line 331, in 
main()
File 
"/workdir/build.tppg2/tmp/work/tppg2-tps-linux-gnueabi/img-oac-anpr/1.0-r

0/recipe-sysroot-native/usr/bin/systemctl", line 319, in main
SystemdUnit(root, service).enable()
File 
"/workdir/build.tppg2/tmp/work/tppg2-tps-linux-gnueabi/img-oac-anpr/1.0-r

0/recipe-sysroot-native/usr/bin/systemctl", line 232, in enable
self._process_deps(config, service, path, 'WantedBy', 'wants', instance)
File 
"/workdir/build.tppg2/tmp/work/tppg2-tps-linux-gnueabi/img-oac-anpr/1.0-r

0/recipe-sysroot-native/usr/bin/systemctl", line 192, in _process_deps
dependent = re.sub("([^%](%%)*)%i", "\\1{}".format(instance), dependent)
File 
"/workdir/build.tppg2/tmp/work/tppg2-tps-linux-gnueabi/img-oac-anpr/1.0-r

0/recipe-sysroot-native/usr/lib/python3.8/re.py", line 210, in sub
return _compile(pattern, flags).sub(repl, string, count)
File 
"/workdir/build.tppg2/tmp/work/tppg2-tps-linux-gnueabi/img-oac-anpr/1.0-r

0/recipe-sysroot-native/usr/lib/python3.8/re.py", line 327, in _subx
template = _compile_repl(template, pattern)
File 
"/workdir/build.tppg2/tmp/work/tppg2-tps-linux-gnueabi/img-oac-anpr/1.0-r
0/recipe-sysroot-native/usr/lib/python3.8/re.py", line 318, in 
_compile_repl

return sre_parse.parse_template(repl, pattern)
File 
"/workdir/build.tppg2/tmp/work/tppg2-tps-linux-gnueabi/img-oac-anpr/1.0-r
0/recipe-sysroot-native/usr/lib/python3.8/sre_parse.py", line 1036, in 
parse_tem

plate
addgroup(int(this[1:]), len(this) - 1)
File 
"/workdir/build.tppg2/tmp/work/tppg2-tps-linux-gnueabi/img-oac-anpr/1.0-r
0/recipe-sysroot-native/usr/lib/python3.8/sre_parse.py", line 980, in 
addgroup

raise s.error("invalid group reference %d" % index, pos)
re.error: invalid group reference 19 at position 1
%post(oac-php-1.0-r0.noarch): waitpid(3549888) rc 3549888 status 100
warning: %post(oac-php-1.0-r0.noarch) scriptlet failed, exit status 1
Error in POSTIN scriptlet in rpm package oac-php
Installing : curl-7.69.1-r0.cortexa9hf_neon 849/863
BEGIN:VCARD
VERSION:4.0
EMAIL;PREF=1:dvor...@tibbo.com
EMAIL:dvorkindmi...@gmail.com
FN:Dmitry Dvorkin
NICKNAME:dv
ORG:Tibbo Technology Inc.;
TITLE:Embedded Linux Architect
N:Dvorkin;Dmitry;;;
ADR:;;9F-3\, No.31, Lane 169, Kang-Ning St., Hsi-Chih;New Taipei City;;2218
 0;Taiwan
TEL;VALUE=TEXT:+79190546388
URL;VALUE=URL:https://tibbo.com/
UID:1c58210f-ac8c-4337-b391-0bde146d2d83
END:VCARD

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#184264): 
https://lists.openembedded.org/g/openembedded-core/message/184264
Mute This Topic: https://lists.openembedded.org/mt/100140897/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] systemd service@ bug

2023-07-14 Thread Dvorkin Dmitry

Hello!

starting from 2aa82324d43467e7c8bfbbb59570ee3306264b75 commit (dunfell 
and probably other branches)


https://git.openembedded.org/openembedded-core/commit/?h=dunfell=2aa82324d43467e7c8bfbbb59570ee3306264b75

the

SYSTEMD_SERVICE:${PN} = "php-fpm@9000.service"

syntax in the recipe brings OE to error at do_rootfs step:

https://pastebin.com/WbDCPy4V


+ for service in php-fpm@9000.service
+ systemctl 
--root=/workdir/build.tppg2/tmp/work/tppg2-tps-linux-gnueabi/img-oac

-anpr/1.0-r0/rootfs enable php-fpm@9000.service
Traceback (most recent call last):
File 
"/workdir/build.tppg2/tmp/work/tppg2-tps-linux-gnueabi/img-oac-anpr/1.0-r

0/recipe-sysroot-native/usr/bin/systemctl", line 331, in 
main()
File 
"/workdir/build.tppg2/tmp/work/tppg2-tps-linux-gnueabi/img-oac-anpr/1.0-r

0/recipe-sysroot-native/usr/bin/systemctl", line 319, in main
SystemdUnit(root, service).enable()
File 
"/workdir/build.tppg2/tmp/work/tppg2-tps-linux-gnueabi/img-oac-anpr/1.0-r

0/recipe-sysroot-native/usr/bin/systemctl", line 232, in enable
self._process_deps(config, service, path, 'WantedBy', 'wants', instance)
File 
"/workdir/build.tppg2/tmp/work/tppg2-tps-linux-gnueabi/img-oac-anpr/1.0-r

0/recipe-sysroot-native/usr/bin/systemctl", line 192, in _process_deps
dependent = re.sub("([^%](%%)*)%i", "\\1{}".format(instance), dependent)
File 
"/workdir/build.tppg2/tmp/work/tppg2-tps-linux-gnueabi/img-oac-anpr/1.0-r

0/recipe-sysroot-native/usr/lib/python3.8/re.py", line 210, in sub
return _compile(pattern, flags).sub(repl, string, count)
File 
"/workdir/build.tppg2/tmp/work/tppg2-tps-linux-gnueabi/img-oac-anpr/1.0-r

0/recipe-sysroot-native/usr/lib/python3.8/re.py", line 327, in _subx
template = _compile_repl(template, pattern)
File 
"/workdir/build.tppg2/tmp/work/tppg2-tps-linux-gnueabi/img-oac-anpr/1.0-r
0/recipe-sysroot-native/usr/lib/python3.8/re.py", line 318, in 
_compile_repl

return sre_parse.parse_template(repl, pattern)
File 
"/workdir/build.tppg2/tmp/work/tppg2-tps-linux-gnueabi/img-oac-anpr/1.0-r
0/recipe-sysroot-native/usr/lib/python3.8/sre_parse.py", line 1036, in 
parse_tem

plate
addgroup(int(this[1:]), len(this) - 1)
File 
"/workdir/build.tppg2/tmp/work/tppg2-tps-linux-gnueabi/img-oac-anpr/1.0-r
0/recipe-sysroot-native/usr/lib/python3.8/sre_parse.py", line 980, in 
addgroup

raise s.error("invalid group reference %d" % index, pos)
re.error: invalid group reference 19 at position 1
%post(oac-php-1.0-r0.noarch): waitpid(3549888) rc 3549888 status 100
warning: %post(oac-php-1.0-r0.noarch) scriptlet failed, exit status 1
Error in POSTIN scriptlet in rpm package oac-php
Installing : curl-7.69.1-r0.cortexa9hf_neon 849/863
BEGIN:VCARD
VERSION:4.0
EMAIL;PREF=1:dvor...@tibbo.com
EMAIL:dvorkindmi...@gmail.com
FN:Dmitry Dvorkin
NICKNAME:dv
ORG:Tibbo Technology Inc.;
TITLE:Embedded Linux Architect
N:Dvorkin;Dmitry;;;
ADR:;;9F-3\, No.31, Lane 169, Kang-Ning St., Hsi-Chih;New Taipei City;;2218
 0;Taiwan
TEL;VALUE=TEXT:+79190546388
URL;VALUE=URL:https://tibbo.com/
UID:1c58210f-ac8c-4337-b391-0bde146d2d83
END:VCARD

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#184260): 
https://lists.openembedded.org/g/openembedded-core/message/184260
Mute This Topic: https://lists.openembedded.org/mt/100140897/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-