[opensuse-packaging] have choice for npm needed by nodejs-packaging: nodejs-npm npm
Hi, does anyone have the right specfile-syntax to tackle the above issue? Tried various things but did not get the right one.... Thanks Axel -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Is this still happening? Odd -- where is this error showing?
On 10 February 2017 at 23:41, Axel Braun
Hi,
does anyone have the right specfile-syntax to tackle the above issue? Tried various things but did not get the right one.... Thanks Axel -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
-- - Karl Cheng (Qantas94Heavy) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Am Sonntag, 12. Februar 2017, 17:15:09 CET schrieb Karl Cheng: [quoting fixed]
does anyone have the right specfile-syntax to tackle the above issue? Tried various things but did not get the right one....
Is this still happening? Odd -- where is this error showing?
https://build.opensuse.org/package/show/Application:ERP:Tryton:3.8/tryton-sa... for Leap 42.1 Error messages for 42.2 and SLES are different. I guess the status of nodejs- packaging differs between the various versions.... Cheers Axel -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Hi, I've just spent some time trying to figure out why this is happening.
For 42.1, this is caused by:
- "devel:languages:python" indirectly referencing the 42.1 update
repo with lower priority; and
- "nodejs-npm" was accidentally renamed to "npm" during a 42.1 update.
As a result, you need to add a prjconf directive to prefer nodejs-npm
(0.12.7 initial release) or npm (4.x in updates).
For 42.2, this is to do with the initial 42.2 package missing provides
for "npm" and "nodejs-npm". You need to link to a new version of
nodejs4 (from Factory or devel repo), or add the 42.2 update repo as
top priority.
You might also need to enable the build flag for nodejs-packaging in
the Application:ERP:Tryton:3.8 project.
As for SLE, I'm still not sure why it can't find npm, as it appears to
be included in the SLE repositories -- I'll try and get back to you on
that one.
On 12 February 2017 at 20:45, Axel Braun
Am Sonntag, 12. Februar 2017, 17:15:09 CET schrieb Karl Cheng:
[quoting fixed]
does anyone have the right specfile-syntax to tackle the above issue? Tried various things but did not get the right one....
Is this still happening? Odd -- where is this error showing?
https://build.opensuse.org/package/show/Application:ERP:Tryton:3.8/tryton-sa... for Leap 42.1
Error messages for 42.2 and SLES are different. I guess the status of nodejs- packaging differs between the various versions....
Cheers Axel
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
-- - Karl Cheng (Qantas94Heavy) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Gesendet: Montag, 13. Februar 2017 um 11:32 Uhr Von: "Karl Cheng"
An: "Axel Braun" Cc: opensuse-packaging Betreff: Re: [opensuse-packaging] have choice for npm needed by nodejs-packaging: nodejs-npm npm Hi, I've just spent some time trying to figure out why this is happening.
Thanks for this!
For 42.1, this is caused by:
- "devel:languages:python" indirectly referencing the 42.1 update repo with lower priority; and - "nodejs-npm" was accidentally renamed to "npm" during a 42.1 update.
As a result, you need to add a prjconf directive to prefer nodejs-npm (0.12.7 initial release) or npm (4.x in updates).
How does this work exactly? There is no Prefers: - tag in OBS. When adding Requires: npm > 4.0 it still throws the above arror
For 42.2, this is to do with the initial 42.2 package missing provides for "npm" and "nodejs-npm". You need to link to a new version of nodejs4 (from Factory or devel repo), or add the 42.2 update repo as top priority.
Did the latter, that works.
You might also need to enable the build flag for nodejs-packaging in the Application:ERP:Tryton:3.8 project.
As for SLE, I'm still not sure why it can't find npm, as it appears to be included in the SLE repositories -- I'll try and get back to you on that one.
I remember Marguerite Su mentioned there is more nodejs-stuff missing for SLE. Thanks Axel -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On 02/13/2017 04:50 PM, Axel Braun wrote:
As for SLE, I'm still not sure why it can't find npm, as it appears to be included in the SLE repositories -- I'll try and get back to you on that one.
I remember Marguerite Su mentioned there is more nodejs-stuff missing for SLE.
nodejs4 and nodejs6 in SLE exist as part of Web & Scripting module, not part of core. Hence they can appear to be missing, like openssl1 is missing from SLE11SP4 because it's part of the Security module. Otherwise, not sure what is missing from core Node versions. It's the same as in Factory. - Adam -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On 14 February 2017 at 02:50, Axel Braun
How does this work exactly? There is no Prefers: - tag in OBS. When adding Requires: npm > 4.0 it still throws the above arror
I was referring to the OBS project config. Alternatively, you could try a conditional BuildRequires (as specified on the wiki[1]): ``` %if 0%{?sle_version} == 120100 && 0%{?is_opensuse} BuildRequires: npm %endif ``` I've managed to get it built on home:qantas94heavy:branches:Application:ERP:Tryton:3.8, see if that works for you. [1]: https://en.opensuse.org/openSUSE:Build_Service_prjconf -- - Karl Cheng (Qantas94Heavy) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Am Dienstag, 14. Februar 2017, 16:31:46 CET schrieb Karl Cheng:
On 14 February 2017 at 02:50, Axel Braun
wrote: How does this work exactly? There is no Prefers: - tag in OBS. When adding Requires: npm > 4.0 it still throws the above arror
I was referring to the OBS project config.
I had a look at your branch, but could not find a difference in the Meta- or project configuration....
Alternatively, you could try a conditional BuildRequires (as specified on the wiki[1]):
``` %if 0%{?sle_version} == 120100 && 0%{?is_opensuse} BuildRequires: npm %endif ```
I've managed to get it built on home:qantas94heavy:branches:Application:ERP:Tryton:3.8, see if that works for you.
Seen this, thanks, will try again. Cheers Axel -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On 10/02/2017 14:41, Axel Braun wrote:
Hi,
does anyone have the right specfile-syntax to tackle the above issue? Tried various things but did not get the right one.... Thanks Axel For future reference a spec work around is #!BuildIgnore: Regards Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (5)
-
Adam Majer
-
Axel Braun
-
Axel Braun
-
Dave Plater
-
Karl Cheng