[opensuse-packaging] OBS moans on one build....
Hi Group, I have a package that builds fine for all selected repos, except for openSUSE 13.1 64bit: [ 65s] ... checking filelist [ 65s] tryton-sao-3.8.4-1.1.noarch.rpm: directories not owned by a package: [ 65s] - /usr/lib/node_modules [ 65s] Thats definitely the case as well for other 64bit repos, but there it works fine. Why does it fail for 13.1? Thanks Axel -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Tuesday 2016-03-15 20:29, Axel Braun wrote:
I have a package that builds fine for all selected repos, except for openSUSE 13.1 64bit:
[ 65s] ... checking filelist [ 65s] tryton-sao-3.8.4-1.1.noarch.rpm: directories not owned by a package: [ 65s] - /usr/lib/node_modules [ 65s]
Thats definitely the case as well for other 64bit repos, but there it works fine. Why does it fail for 13.1?
1. nodejs owns both %_libdir/node_modules and %_libexecdir/node_modules (in 13.2+) 2. %_libdir is equivalent to %_libexecdir on native bitness, so just by chance, it is already owned by nodejs (in i586). And this explains why it fails on 13.1-x86-64. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Hello Jan,
I have a package that builds fine for all selected repos, except for openSUSE 13.1 64bit:
[ 65s] ... checking filelist [ 65s] tryton-sao-3.8.4-1.1.noarch.rpm: directories not owned by a package: [ 65s] - /usr/lib/node_modules [ 65s]
Thats definitely the case as well for other 64bit repos, but there it works fine. Why does it fail for 13.1?
1. nodejs owns both %_libdir/node_modules and %_libexecdir/node_modules (in 13.2+) 2. %_libdir is equivalent to %_libexecdir on native bitness, so just by chance, it is already owned by nodejs (in i586).
And this explains why it fails on 13.1-x86-64.
As the libdir is /usr/lib64 for x86-64? Is this something that needs to be fixed in nodejs? %nodejs_mkdir sounds like doing the job. Cheers Axel -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Wednesday 2016-03-16 09:33, Axel Braun wrote:
I have a package that builds fine for all selected repos, except for openSUSE 13.1 64bit:
[ 65s] ... checking filelist [ 65s] tryton-sao-3.8.4-1.1.noarch.rpm: directories not owned by a package: [ 65s] - /usr/lib/node_modules [ 65s]
1. nodejs owns both %_libdir/node_modules and %_libexecdir/node_modules (in 13.2+) 2. %_libdir is equivalent to %_libexecdir on native bitness, so just by chance, it is already owned by nodejs (in i586). And this explains why it fails on 13.1-x86-64.
Is this something that needs to be fixed in nodejs?
You are best off if you make tryton-sao also own /usr/lib/node_modules. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (3)
-
Axel Braun
-
Axel Braun
-
Jan Engelhardt