Re: [packman] PMBS vs OBS - what are the differences wrt/ project configurations?

2023-02-03 Diskussionsfäden Manfred Hollstein
On Fri, 03 Feb 2023, 15:08:21 +0100, Dave Plater wrote:
> On 2/3/23, Manfred Hollstein  wrote:
> > On Fri, 03 Feb 2023, 14:41:16 +0100, Manfred Hollstein wrote:
> >> On Fri, 03 Feb 2023, 14:11:27 +0100, Dave Plater wrote:
> >> > [...]
> >> > Maybe it's better to use the patch you mentioned, there is a make
> >> > install issue when I tried a no examples build. Where can I find the
> >> > patch?
> >>
> >> grrh, I thought it was attached to the initial e-mail in this thread,
> >> but it got stripped off. Anyway, here's it inline:
> >>
> >> $ osc -A pmbs rdiff openSUSE.org:openSUSE:Factory libheif Essentials
> >
> > FWIW, this is the OBS SR: https://build.opensuse.org/request/show/1063030
> 
> Hope the maintainer doesn't mind, I've also come to the conclusion
> that chrpath is the solution. I've accepted your request.

Thanks a lot!

> Dave

Cheers.

l8er
manfred


signature.asc
Description: PGP signature
___
Packman mailing list
Packman@links2linux.de
https://lists.links2linux.de/cgi-bin/mailman/listinfo/packman

Re: [packman] PMBS vs OBS - what are the differences wrt/ project configurations?

2023-02-03 Diskussionsfäden Dave Plater
On 2/3/23, Manfred Hollstein  wrote:
> On Fri, 03 Feb 2023, 14:41:16 +0100, Manfred Hollstein wrote:
>> On Fri, 03 Feb 2023, 14:11:27 +0100, Dave Plater wrote:
>> > [...]
>> > Maybe it's better to use the patch you mentioned, there is a make
>> > install issue when I tried a no examples build. Where can I find the
>> > patch?
>>
>> grrh, I thought it was attached to the initial e-mail in this thread,
>> but it got stripped off. Anyway, here's it inline:
>>
>> $ osc -A pmbs rdiff openSUSE.org:openSUSE:Factory libheif Essentials
>
> FWIW, this is the OBS SR: https://build.opensuse.org/request/show/1063030
>
> Cheers.
>
> l8er
> manfred
>

Hope the maintainer doesn't mind, I've also come to the conclusion
that chrpath is the solution. I've accepted your request.
Dave

___
Packman mailing list
Packman@links2linux.de
https://lists.links2linux.de/cgi-bin/mailman/listinfo/packman

Re: [packman] PMBS vs OBS - what are the differences wrt/ project configurations?

2023-02-03 Diskussionsfäden Manfred Hollstein
On Fri, 03 Feb 2023, 14:41:16 +0100, Manfred Hollstein wrote:
> On Fri, 03 Feb 2023, 14:11:27 +0100, Dave Plater wrote:
> > [...]
> > Maybe it's better to use the patch you mentioned, there is a make
> > install issue when I tried a no examples build. Where can I find the
> > patch?
> 
> grrh, I thought it was attached to the initial e-mail in this thread,
> but it got stripped off. Anyway, here's it inline:
> 
> $ osc -A pmbs rdiff openSUSE.org:openSUSE:Factory libheif Essentials

FWIW, this is the OBS SR: https://build.opensuse.org/request/show/1063030

Cheers.

l8er
manfred


signature.asc
Description: PGP signature
___
Packman mailing list
Packman@links2linux.de
https://lists.links2linux.de/cgi-bin/mailman/listinfo/packman

Re: [packman] PMBS vs OBS - what are the differences wrt/ project configurations?

2023-02-03 Diskussionsfäden Manfred Hollstein
On Fri, 03 Feb 2023, 14:11:27 +0100, Dave Plater wrote:
> [...]
> Maybe it's better to use the patch you mentioned, there is a make
> install issue when I tried a no examples build. Where can I find the
> patch?

grrh, I thought it was attached to the initial e-mail in this thread,
but it got stripped off. Anyway, here's it inline:

$ osc -A pmbs rdiff openSUSE.org:openSUSE:Factory libheif Essentials
Index: libheif.changes
===
--- libheif.changes (revision 15)
+++ libheif.changes (revision 1)
@@ -1,4 +1,10 @@
 ---
+Thu Feb  2 19:25:04 UTC 2023 - Manfred Hollstein 
+
+- Use chrpath during build to delete otherwise illegal runtime
+  directories stored as RPATH in the executables
+
+---
 Fri Jan 27 14:32:03 UTC 2023 - Dirk Müller 
 
 - add 2ca02a128b2f76f7f293aa86a2ce1e04a8306c65.patch
Index: libheif.spec
===
--- libheif.spec (revision 15)
+++ libheif.spec (revision 1)
@@ -41,6 +41,7 @@
 Patch0: b6812284a2d70f29a5121ec3dbe652da07fdbbb7.patch
 # rebased from 
https://github.com/strukturag/libheif/commit/2ca02a128b2f76f7f293aa86a2ce1e04a8306c65.patch
 Patch1: 2ca02a128b2f76f7f293aa86a2ce1e04a8306c65.patch
+BuildRequires:  chrpath
 BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
@@ -161,6 +162,7 @@
  heif-thumbnailer
  do
 install -m 0755 build/examples/$e %{buildroot}%{_bindir}/$e
+chrpath --delete %{buildroot}%{_bindir}/$e
 install -m 0644 examples/$e.1 %{buildroot}%{_mandir}/man1/$e.1
  done
 %else

> Thanks
> Dave

Cheers.

l8er
manfred


signature.asc
Description: PGP signature
___
Packman mailing list
Packman@links2linux.de
https://lists.links2linux.de/cgi-bin/mailman/listinfo/packman

Re: [packman] PMBS vs OBS - what are the differences wrt/ project configurations?

2023-02-03 Diskussionsfäden Dave Plater
On 2/3/23, Manfred Hollstein  wrote:
> On Fri, 03 Feb 2023, 13:11:10 +0100, Dave Plater wrote:
>> On 2/3/23, Manfred Hollstein  wrote:
>> > Moin,
>> >
>> > On Fri, 03 Feb 2023, 12:20:17 +0100, Henne Vogelsang wrote:
>> >> Hey,
>> >>
>> >> On 03.02.23 10:14, Manfred Hollstein wrote:
>> >>
>> >> > I've been fighting with the package libheif not building in PMBS
>> >> > during
>> >> > the past few days. I always fails due to the build directory being
>> >> > stored in the built programs as an internal RPATH. The package is
>> >> > linked
>> >> > from openSUSE.org:openSUSE:Factory where no error occurs. I found a
>> >> > patch for it using "chrpath" to delete such RPATH elements in a
>> >> > program.
>> >> >
>> >> > Can anyone explain why this is necessary when building in PMBS and
>> >> > it
>> >> > is
>> >> > not needed when building in OBS? I fail to see a reason...
>> >>
>> >> This has nothing to do with OBS instances. It's the repository that
>> >> matters.
>> >> Just because a repository is called openSUSE_Tumbleweed it isn't
>> >> neccesarry
>> >> openSUSE Tumbleweed. The name doesn't matter, the included paths do.
>> >> In
>> >> this
>> >> case
>> >>
>> >> Staging/openSUSE_Tumbleweed
>> >> is Multimedia/openSUSE_Tumbleweed
>> >> is Essentials/openSUSE_Tumbleweed
>> >> is openSUSE.org:openSUSE:Tumbleweed/standard
>> >>
>> >> While openSUSE.org:openSUSE:Factory builds only against the last path
>> >> in
>> >> your chain.
>> >
>> > it's actually much easier... Due to the BUILD_ORIG macro being set to 1
>> > on PMBS, it builds more than what is built on openSUSE:Factory, where
>> > these additional arguments are passed to cmake:
>> >
>> >   -DWITH_LIBDE265=OFF -DWITH_X265=OFF -DWITH_EXAMPLES=OFF
>> >
>> > Note the -DWITH_EXAMPLES=OFF, which results in no executables being
>> > built/installed at all. I think I need to send my patch to the
>> > multimedia:libs project, so that we (PMBS) don't have to patch the
>> > linked package for each update.
>> >
>> >> Henne
>> >
>> > Thanks for your help anyway!
>> >
>> > Cheers.
>> >
>> > l8er
>> > manfred
>> >
>>
>> All that's needed is a -DWITH_EXAMPLES=OFF correct?
>
> In principle yes, but that would loose the Heif thumbnailer which also
> gets built as an example, but ends up in a separate package
> heif-thumbnailer
> so I'd rather prefer to get the issue properly resolved.
>
>> Regards
>> Dave
>
> Cheers.
>
> l8er
> manfred
>

Maybe it's better to use the patch you mentioned, there is a make
install issue when I tried a no examples build. Where can I find the
patch?

Thanks
Dave

___
Packman mailing list
Packman@links2linux.de
https://lists.links2linux.de/cgi-bin/mailman/listinfo/packman

Re: [packman] PMBS vs OBS - what are the differences wrt/ project configurations?

2023-02-03 Diskussionsfäden Manfred Hollstein
On Fri, 03 Feb 2023, 13:11:10 +0100, Dave Plater wrote:
> On 2/3/23, Manfred Hollstein  wrote:
> > Moin,
> >
> > On Fri, 03 Feb 2023, 12:20:17 +0100, Henne Vogelsang wrote:
> >> Hey,
> >>
> >> On 03.02.23 10:14, Manfred Hollstein wrote:
> >>
> >> > I've been fighting with the package libheif not building in PMBS during
> >> > the past few days. I always fails due to the build directory being
> >> > stored in the built programs as an internal RPATH. The package is
> >> > linked
> >> > from openSUSE.org:openSUSE:Factory where no error occurs. I found a
> >> > patch for it using "chrpath" to delete such RPATH elements in a
> >> > program.
> >> >
> >> > Can anyone explain why this is necessary when building in PMBS and it
> >> > is
> >> > not needed when building in OBS? I fail to see a reason...
> >>
> >> This has nothing to do with OBS instances. It's the repository that
> >> matters.
> >> Just because a repository is called openSUSE_Tumbleweed it isn't
> >> neccesarry
> >> openSUSE Tumbleweed. The name doesn't matter, the included paths do. In
> >> this
> >> case
> >>
> >> Staging/openSUSE_Tumbleweed
> >> is Multimedia/openSUSE_Tumbleweed
> >> is Essentials/openSUSE_Tumbleweed
> >> is openSUSE.org:openSUSE:Tumbleweed/standard
> >>
> >> While openSUSE.org:openSUSE:Factory builds only against the last path in
> >> your chain.
> >
> > it's actually much easier... Due to the BUILD_ORIG macro being set to 1
> > on PMBS, it builds more than what is built on openSUSE:Factory, where
> > these additional arguments are passed to cmake:
> >
> >   -DWITH_LIBDE265=OFF -DWITH_X265=OFF -DWITH_EXAMPLES=OFF
> >
> > Note the -DWITH_EXAMPLES=OFF, which results in no executables being
> > built/installed at all. I think I need to send my patch to the
> > multimedia:libs project, so that we (PMBS) don't have to patch the
> > linked package for each update.
> >
> >> Henne
> >
> > Thanks for your help anyway!
> >
> > Cheers.
> >
> > l8er
> > manfred
> >
> 
> All that's needed is a -DWITH_EXAMPLES=OFF correct?

In principle yes, but that would loose the Heif thumbnailer which also
gets built as an example, but ends up in a separate package heif-thumbnailer
so I'd rather prefer to get the issue properly resolved.

> Regards
> Dave

Cheers.

l8er
manfred


signature.asc
Description: PGP signature
___
Packman mailing list
Packman@links2linux.de
https://lists.links2linux.de/cgi-bin/mailman/listinfo/packman

Re: [packman] PMBS vs OBS - what are the differences wrt/ project configurations?

2023-02-03 Diskussionsfäden Dave Plater
On 2/3/23, Manfred Hollstein  wrote:
> Moin,
>
> On Fri, 03 Feb 2023, 12:20:17 +0100, Henne Vogelsang wrote:
>> Hey,
>>
>> On 03.02.23 10:14, Manfred Hollstein wrote:
>>
>> > I've been fighting with the package libheif not building in PMBS during
>> > the past few days. I always fails due to the build directory being
>> > stored in the built programs as an internal RPATH. The package is
>> > linked
>> > from openSUSE.org:openSUSE:Factory where no error occurs. I found a
>> > patch for it using "chrpath" to delete such RPATH elements in a
>> > program.
>> >
>> > Can anyone explain why this is necessary when building in PMBS and it
>> > is
>> > not needed when building in OBS? I fail to see a reason...
>>
>> This has nothing to do with OBS instances. It's the repository that
>> matters.
>> Just because a repository is called openSUSE_Tumbleweed it isn't
>> neccesarry
>> openSUSE Tumbleweed. The name doesn't matter, the included paths do. In
>> this
>> case
>>
>> Staging/openSUSE_Tumbleweed
>> is Multimedia/openSUSE_Tumbleweed
>> is Essentials/openSUSE_Tumbleweed
>> is openSUSE.org:openSUSE:Tumbleweed/standard
>>
>> While openSUSE.org:openSUSE:Factory builds only against the last path in
>> your chain.
>
> it's actually much easier... Due to the BUILD_ORIG macro being set to 1
> on PMBS, it builds more than what is built on openSUSE:Factory, where
> these additional arguments are passed to cmake:
>
>   -DWITH_LIBDE265=OFF -DWITH_X265=OFF -DWITH_EXAMPLES=OFF
>
> Note the -DWITH_EXAMPLES=OFF, which results in no executables being
> built/installed at all. I think I need to send my patch to the
> multimedia:libs project, so that we (PMBS) don't have to patch the
> linked package for each update.
>
>> Henne
>
> Thanks for your help anyway!
>
> Cheers.
>
> l8er
> manfred
>

All that's needed is a -DWITH_EXAMPLES=OFF correct?
Regards
Dave

___
Packman mailing list
Packman@links2linux.de
https://lists.links2linux.de/cgi-bin/mailman/listinfo/packman

Re: [packman] PMBS vs OBS - what are the differences wrt/ project configurations?

2023-02-03 Diskussionsfäden Manfred Hollstein
Moin,

On Fri, 03 Feb 2023, 12:20:17 +0100, Henne Vogelsang wrote:
> Hey,
> 
> On 03.02.23 10:14, Manfred Hollstein wrote:
> 
> > I've been fighting with the package libheif not building in PMBS during
> > the past few days. I always fails due to the build directory being
> > stored in the built programs as an internal RPATH. The package is linked
> > from openSUSE.org:openSUSE:Factory where no error occurs. I found a
> > patch for it using "chrpath" to delete such RPATH elements in a program.
> > 
> > Can anyone explain why this is necessary when building in PMBS and it is
> > not needed when building in OBS? I fail to see a reason...
> 
> This has nothing to do with OBS instances. It's the repository that matters.
> Just because a repository is called openSUSE_Tumbleweed it isn't neccesarry
> openSUSE Tumbleweed. The name doesn't matter, the included paths do. In this
> case
> 
> Staging/openSUSE_Tumbleweed
> is Multimedia/openSUSE_Tumbleweed
> is Essentials/openSUSE_Tumbleweed
> is openSUSE.org:openSUSE:Tumbleweed/standard
> 
> While openSUSE.org:openSUSE:Factory builds only against the last path in
> your chain.

it's actually much easier... Due to the BUILD_ORIG macro being set to 1
on PMBS, it builds more than what is built on openSUSE:Factory, where
these additional arguments are passed to cmake:

  -DWITH_LIBDE265=OFF -DWITH_X265=OFF -DWITH_EXAMPLES=OFF

Note the -DWITH_EXAMPLES=OFF, which results in no executables being
built/installed at all. I think I need to send my patch to the
multimedia:libs project, so that we (PMBS) don't have to patch the
linked package for each update.

> Henne

Thanks for your help anyway!

Cheers.

l8er
manfred


signature.asc
Description: PGP signature
___
Packman mailing list
Packman@links2linux.de
https://lists.links2linux.de/cgi-bin/mailman/listinfo/packman

Re: [packman] PMBS vs OBS - what are the differences wrt/ project configurations?

2023-02-03 Diskussionsfäden Henne Vogelsang

Hey,

On 03.02.23 10:14, Manfred Hollstein wrote:


I've been fighting with the package libheif not building in PMBS during
the past few days. I always fails due to the build directory being
stored in the built programs as an internal RPATH. The package is linked
from openSUSE.org:openSUSE:Factory where no error occurs. I found a
patch for it using "chrpath" to delete such RPATH elements in a program.

Can anyone explain why this is necessary when building in PMBS and it is
not needed when building in OBS? I fail to see a reason...


This has nothing to do with OBS instances. It's the repository that 
matters. Just because a repository is called openSUSE_Tumbleweed it 
isn't neccesarry openSUSE Tumbleweed. The name doesn't matter, the 
included paths do. In this case


Staging/openSUSE_Tumbleweed
is Multimedia/openSUSE_Tumbleweed
is Essentials/openSUSE_Tumbleweed
is openSUSE.org:openSUSE:Tumbleweed/standard

While openSUSE.org:openSUSE:Factory builds only against the last path in 
your chain.


Henne

--
Henne Vogelsang
http://hennevogel.de
"To die. In the rain. Alone."
   Ernest Hemingway



___
Packman mailing list
Packman@links2linux.de
https://lists.links2linux.de/cgi-bin/mailman/listinfo/packman

Re: [packman] Kodi crash

2023-02-03 Diskussionsfäden Manfred Hollstein
Hi Eric,

On Fri, 03 Feb 2023, 11:57:24 +0100, Eric Schirra wrote:
> Am Freitag, 3. Februar 2023, 10:36:41 CET schrieb Manfred Hollstein:
> > Moin,
> > 
> > On Fri, 03 Feb 2023, 09:31:44 +0100, Stefan Botter wrote:
> > > Hi Eric,
> > > 
> > > On Thu, 2023-02-02 at 16:34 +0100, Eric Schirra wrote:
> > > > Since probably kodi version 20, kodi crashes under Leap 15.4.
> > > > Is this only happening to me or to others as well?
> > > 
> > > At least for my players kodi 20 is working without problem on 15.4. I
> > > have 4 instances, 2 are NUCs, one is an older Intel Celeron S with
> > > buildin graphics and the last one is my workstation with NVidia
> > > graphics.
> > 
> > Kodi runs very well for me, too. All my systems use Intel CPU based
> > graphics, mixture of DisplayPort, HDMI, and built-in Display with sound
> > passthru and without, ie. normal sound via PulseAudio. Every instance
> > also uses a PVR to access TV and Radio from a dreambox.
> > 
> > How does it crash for you? Does it start at all, or does it suddenly
> > crash when you're e.g. playing some special video? When it is running,
> > you will find more details in ~/.kodi/temp/kodi.log
> 
> Strange. Then it is probably somehow with me.
> The only difference is that you have Intel CPU and I have AMD. As well as 
> graphic nvidia.
> Could that be the reason?
> kodi starts, but kodi import the addons then comes: 

This was obviously the first time Kodi 20 started which caused some
migration phase. I had different behaviour on all systems, especially
the one running on Winblows didn't want to talk to the PVR at all; it
even complained about the Enigma2 addon being incompatible! I tried it
the day after and, guess what, everything worked as before.

When such a major update is apparent, I usually save my whole ~/.kodi
directory elsewhere. When problems appear, I restart by copying the
content of the saved directory back to ~/.kodi

IIRC, such major updates always behaved different and need several
restarts of the application - on Winblows even a reboot of the system.

> Now I did this a few times in the console and now the error is gone?. Very 
> very strange.
> In the meantime I had uninstalled the zattoo addon from packman. After that, 
> the error still came at least once. 
> Now currently runs but kodi.
> I do not understand this. :-(

See above, I believe this could explain the behaviour you are seeing.

> Thanks for your answers though. Let's see if it stays like this.
> 
> 
> Regards
>  Eric

Cheers.

l8er
manfred


signature.asc
Description: PGP signature
___
Packman mailing list
Packman@links2linux.de
https://lists.links2linux.de/cgi-bin/mailman/listinfo/packman

Re: [packman] Kodi crash

2023-02-03 Diskussionsfäden Manfred Hollstein
Moin,

On Fri, 03 Feb 2023, 09:31:44 +0100, Stefan Botter wrote:
> Hi Eric,
> 
> On Thu, 2023-02-02 at 16:34 +0100, Eric Schirra wrote:
> > Since probably kodi version 20, kodi crashes under Leap 15.4.
> > Is this only happening to me or to others as well?
> 
> At least for my players kodi 20 is working without problem on 15.4. I
> have 4 instances, 2 are NUCs, one is an older Intel Celeron S with
> buildin graphics and the last one is my workstation with NVidia
> graphics.

Kodi runs very well for me, too. All my systems use Intel CPU based
graphics, mixture of DisplayPort, HDMI, and built-in Display with sound
passthru and without, ie. normal sound via PulseAudio. Every instance
also uses a PVR to access TV and Radio from a dreambox.

How does it crash for you? Does it start at all, or does it suddenly
crash when you're e.g. playing some special video? When it is running,
you will find more details in ~/.kodi/temp/kodi.log

HTH, cheers.

l8er
manfred


signature.asc
Description: PGP signature
___
Packman mailing list
Packman@links2linux.de
https://lists.links2linux.de/cgi-bin/mailman/listinfo/packman

[packman] PMBS vs OBS - what are the differences wrt/ project configurations?

2023-02-03 Diskussionsfäden Manfred Hollstein
Hi there,

I've been fighting with the package libheif not building in PMBS during
the past few days. I always fails due to the build directory being
stored in the built programs as an internal RPATH. The package is linked
from openSUSE.org:openSUSE:Factory where no error occurs. I found a
patch for it using "chrpath" to delete such RPATH elements in a program.

Can anyone explain why this is necessary when building in PMBS and it is
not needed when building in OBS? I fail to see a reason...

FWIW, the patch is attached to this e-mail.

TIA, cheers.

l8er
manfred


signature.asc
Description: PGP signature
___
Packman mailing list
Packman@links2linux.de
https://lists.links2linux.de/cgi-bin/mailman/listinfo/packman

Re: [packman] Kodi crash

2023-02-03 Diskussionsfäden Stefan Botter
Hi Eric,

On Thu, 2023-02-02 at 16:34 +0100, Eric Schirra wrote:
> Since probably kodi version 20, kodi crashes under Leap 15.4.
> Is this only happening to me or to others as well?

At least for my players kodi 20 is working without problem on 15.4. I
have 4 instances, 2 are NUCs, one is an older Intel Celeron S with
buildin graphics and the last one is my workstation with NVidia
graphics.

Greetings,

Stefan
-- 
Stefan Botter zu Hause
Bremen


signature.asc
Description: This is a digitally signed message part
___
Packman mailing list
Packman@links2linux.de
https://lists.links2linux.de/cgi-bin/mailman/listinfo/packman

[packman] Kodi crash

2023-02-03 Diskussionsfäden Eric Schirra
Since probably kodi version 20, kodi crashes under Leap 15.4.
Is this only happening to me or to others as well?

Greetings
Eric
___
Packman mailing list
Packman@links2linux.de
https://lists.links2linux.de/cgi-bin/mailman/listinfo/packman