[opensuse] please help me with rpmbuild
Hi, I am trying to compile kuickshow for 15.1, but I fail. Here's the complete output of my rpmbuild command: https://www.daniel-bauer.com/div/kuickshow_rpmbuild.txt what I did: - downloaded kuickshow-0.9.2-4.1.src.rpm from http://download.opensuse.org/repositories/home:/mad_soft/openSUSE_Leap_42.3/... (tried to install it directly instead of downloading it, but nothing was installed, tried again to install the downloaded package with Yast, but again nothing was installed) - unpacked the files and copied to /usr/src/packages/SOURCES/kuickshow-0.9.2-fix-composite-menu.patch /usr/src/packages/SOURCES/kuickshow-0.9.2-fix-imlib-init.patch /usr/src/packages/SOURCES/kuickshow-0.9.2.tar.bz2 /usr/src/packages/SPECS/kuickshow.spec - run rpmbuild -bc /usr/src/packages/SPECS/kuickshow.spec but it said it couldn't find files in /home/daniel/rpmbuild... so I copied the files to the appropriate directories in /home/daniel/rpmbuild/ after running it again, it said that it was missing libkde4-devel (installed it with Yast) imlib-nogdk-devel-1.9.15 (installed it from http://download.opensuse.org/repositories/home:/mad_soft/openSUSE_Leap_15.1/... ) - after running again the rpmbuild command it looked good, but it terminated with RPM build errors: Bad exit status from /var/tmp/rpm-tmp.In3X4c (%build) (complete output in the link above) Well, that's where I am. Can anybody bring me a step forward? Please note: I have no idea about compiling, rpm and such, I just give it a try because I /need/ this program... Thanks for your help! Daniel -- Daniel Bauer photographer Basel Málaga https://www.patreon.com/danielbauer https://www.daniel-bauer.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
21.07.2019 12:17, Daniel Bauer пишет:
Hi,
I am trying to compile kuickshow for 15.1, but I fail. Here's the complete output of my rpmbuild command:
https://www.daniel-bauer.com/div/kuickshow_rpmbuild.txt
what I did:
- downloaded kuickshow-0.9.2-4.1.src.rpm from http://download.opensuse.org/repositories/home:/mad_soft/openSUSE_Leap_42.3/...
(tried to install it directly instead of downloading it, but nothing was installed,
Installing source RPM just copies files under %buildroot which by default is ~/rpmbuild for non-root user; for root user this is /usr/src/packages. I am not sure how you checked what was installed.
tried again to install the downloaded package with Yast, but again nothing was installed)
- unpacked the files and copied to /usr/src/packages/SOURCES/kuickshow-0.9.2-fix-composite-menu.patch /usr/src/packages/SOURCES/kuickshow-0.9.2-fix-imlib-init.patch /usr/src/packages/SOURCES/kuickshow-0.9.2.tar.bz2 /usr/src/packages/SPECS/kuickshow.spec
These files are not used when you run rpmbuild as non-root user (non-root user does not have necessary write permissions anyway) and you should not in general build anything as root.
- run rpmbuild -bc /usr/src/packages/SPECS/kuickshow.spec but it said it couldn't find files in /home/daniel/rpmbuild...
so I copied the files to the appropriate directories in /home/daniel/rpmbuild/
after running it again, it said that it was missing libkde4-devel (installed it with Yast) imlib-nogdk-devel-1.9.15 (installed it from http://download.opensuse.org/repositories/home:/mad_soft/openSUSE_Leap_15.1/... )
- after running again the rpmbuild command it looked good, but it terminated with
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.In3X4c (%build)
(complete output in the link above)
Well, that's where I am. Can anybody bring me a step forward? Please note: I have no idea about compiling, rpm and such, I just give it a try because I /need/ this program...
make[2]: *** No rule to make target '/usr/lib64/libImlib.so', needed by 'lib/libkdeinit4_kuickshow.so'. Stop. Do you have this file? Can you access it? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am 21.07.19 um 14:03 schrieb Andrei Borzenkov:
21.07.2019 12:17, Daniel Bauer пишет:
Hi,
I am trying to compile kuickshow for 15.1, but I fail. Here's the complete output of my rpmbuild command:
https://www.daniel-bauer.com/div/kuickshow_rpmbuild.txt
what I did:
- downloaded kuickshow-0.9.2-4.1.src.rpm from http://download.opensuse.org/repositories/home:/mad_soft/openSUSE_Leap_42.3/...
(tried to install it directly instead of downloading it, but nothing was installed,
Installing source RPM just copies files under %buildroot which by default is ~/rpmbuild for non-root user; for root user this is /usr/src/packages. I am not sure how you checked what was installed.
tried again to install the downloaded package with Yast, but again nothing was installed)
- unpacked the files and copied to /usr/src/packages/SOURCES/kuickshow-0.9.2-fix-composite-menu.patch /usr/src/packages/SOURCES/kuickshow-0.9.2-fix-imlib-init.patch /usr/src/packages/SOURCES/kuickshow-0.9.2.tar.bz2 /usr/src/packages/SPECS/kuickshow.spec
These files are not used when you run rpmbuild as non-root user (non-root user does not have necessary write permissions anyway) and you should not in general build anything as root.
- run rpmbuild -bc /usr/src/packages/SPECS/kuickshow.spec but it said it couldn't find files in /home/daniel/rpmbuild...
so I copied the files to the appropriate directories in /home/daniel/rpmbuild/
after running it again, it said that it was missing libkde4-devel (installed it with Yast) imlib-nogdk-devel-1.9.15 (installed it from http://download.opensuse.org/repositories/home:/mad_soft/openSUSE_Leap_15.1/... )
- after running again the rpmbuild command it looked good, but it terminated with
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.In3X4c (%build)
(complete output in the link above)
Well, that's where I am. Can anybody bring me a step forward? Please note: I have no idea about compiling, rpm and such, I just give it a try because I /need/ this program...
make[2]: *** No rule to make target '/usr/lib64/libImlib.so', needed by 'lib/libkdeinit4_kuickshow.so'. Stop.
Do you have this file? Can you access it?
I have file:///usr/lib64/libImlib.so file:///usr/lib64/libImlib.so.1 file:///usr/lib64/libImlib.so.1.9.15 the first two links to the third one all are owned by root with (l/-)rwxr-xr-x -- Daniel Bauer photographer Basel Málaga https://www.patreon.com/danielbauer https://www.daniel-bauer.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 07/21/2019 07:03 AM, Andrei Borzenkov wrote:
what I did:
- downloaded kuickshow-0.9.2-4.1.src.rpm from http://download.opensuse.org/repositories/home:/mad_soft/openSUSE_Leap_42.3/...
(tried to install it directly instead of downloading it, but nothing was installed, Installing source RPM just copies files under %buildroot which by default is ~/rpmbuild for non-root user; for root user this is /usr/src/packages. I am not sure how you checked what was installed.
When you install rpmbuild and the suse build tools, then will create the rpmbuild directory in your $HOME directory: $ tree rpmbuild/ rpmbuild/ ├── BUILD ├── BUILDROOT ├── OTHER ├── RPMS ├── SOURCES ├── SPECS └── SRPMS When you install a .srpm, the sources and patches, etc.. are copied to SOURCES and the .spec file is copied to SPECS. (you make any changes needed to the .spec, and you add any new patches to the SOURCES directory) When you now attempt to build the rpm with rpmbuild, you will do: $ rpmbuild -ba ~/rpmbuild/SPECS/kwickshow.spec (or use -bb to build only the binary, or -bs to build only the srpm, etc..) The completed rpm will end up in rpmbuild/RPMS/x86_64 (or noarch, or x86, ..) The new .srpm will go under SRPMS. The only downside (depending on how good the spec is with dependencies) is you may end up with failures like: make[2]: *** No rule to make target '/usr/lib64/libImlib.so', needed by 'lib/libkdeinit4_kuickshow.so'. Stop. where you are missing the library '/usr/lib64/libImlib.so' (or similar), but the build didn't stop due to a missing package dependency -- so you are left to 'zypper se' to find what package you need to install to provide the missing library, etc.. (usually the -devel package, like libImlib-devel, etc..) It's usually not that bad to track down the handful of problems. Now with kwickshow being a KDE4 (or KDE3) package, you will need to make sure you have the correct repos enabled to get the correct version of the library needed. rpmbuild is a fantastic tool. osc is also a good tool for building. Much easier than fighting with the buildservice web interface in many cases. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 22/07/2019 08.59, David C. Rankin wrote:
On 07/21/2019 07:03 AM, Andrei Borzenkov wrote:
what I did:
- downloaded kuickshow-0.9.2-4.1.src.rpm from http://download.opensuse.org/repositories/home:/mad_soft/openSUSE_Leap_42.3/...
(tried to install it directly instead of downloading it, but nothing was installed, Installing source RPM just copies files under %buildroot which by default is ~/rpmbuild for non-root user; for root user this is /usr/src/packages. I am not sure how you checked what was installed.
When you install rpmbuild and the suse build tools, then will create the rpmbuild directory in your $HOME directory:
$ tree rpmbuild/ rpmbuild/ ├── BUILD ├── BUILDROOT ├── OTHER ├── RPMS ├── SOURCES ├── SPECS └── SRPMS
On home? I have them on the root. /usr/src/packages/. I have also: /home/cer/rpmbuild/ with SOURCES and SPECS only, but I created them, not the package.
When you install a .srpm, the sources and patches, etc.. are copied to SOURCES and the .spec file is copied to SPECS. (you make any changes needed to the .spec, and you add any new patches to the SOURCES directory)
But yast installs the srpm to /usr/src/packages/, accessible to root. YaST does not run as user.
When you now attempt to build the rpm with rpmbuild, you will do:
$ rpmbuild -ba ~/rpmbuild/SPECS/kwickshow.spec
(or use -bb to build only the binary, or -bs to build only the srpm, etc..)
The completed rpm will end up in rpmbuild/RPMS/x86_64 (or noarch, or x86, ..)
The new .srpm will go under SRPMS.
The only downside (depending on how good the spec is with dependencies) is you may end up with failures like:
make[2]: *** No rule to make target '/usr/lib64/libImlib.so', needed by 'lib/libkdeinit4_kuickshow.so'. Stop.
where you are missing the library '/usr/lib64/libImlib.so' (or similar), but the build didn't stop due to a missing package dependency -- so you are left to 'zypper se' to find what package you need to install to provide the missing library, etc.. (usually the -devel package, like libImlib-devel, etc..)
It's usually not that bad to track down the handful of problems. Now with kwickshow being a KDE4 (or KDE3) package, you will need to make sure you have the correct repos enabled to get the correct version of the library needed.
rpmbuild is a fantastic tool. osc is also a good tool for building. Much easier than fighting with the buildservice web interface in many cases.
I will save these notes :-) -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)
22.07.2019 12:46, Carlos E. R. пишет:
On 22/07/2019 08.59, David C. Rankin wrote:
On 07/21/2019 07:03 AM, Andrei Borzenkov wrote:
what I did:
- downloaded kuickshow-0.9.2-4.1.src.rpm from http://download.opensuse.org/repositories/home:/mad_soft/openSUSE_Leap_42.3/...
(tried to install it directly instead of downloading it, but nothing was installed, Installing source RPM just copies files under %buildroot which by default is ~/rpmbuild for non-root user; for root user this is /usr/src/packages. I am not sure how you checked what was installed.
When you install rpmbuild and the suse build tools, then will create the rpmbuild directory in your $HOME directory:
$ tree rpmbuild/ rpmbuild/ ├── BUILD ├── BUILDROOT ├── OTHER ├── RPMS ├── SOURCES ├── SPECS └── SRPMS
On home? I have them on the root. /usr/src/packages/.
What was not clear in "for root user this is /usr/src/packages"?
On 22/07/2019 19.10, Andrei Borzenkov wrote:
22.07.2019 12:46, Carlos E. R. пишет:
On 22/07/2019 08.59, David C. Rankin wrote:
On 07/21/2019 07:03 AM, Andrei Borzenkov wrote:
what I did:
- downloaded kuickshow-0.9.2-4.1.src.rpm from http://download.opensuse.org/repositories/home:/mad_soft/openSUSE_Leap_42.3/...
(tried to install it directly instead of downloading it, but nothing was installed, Installing source RPM just copies files under %buildroot which by default is ~/rpmbuild for non-root user; for root user this is /usr/src/packages. I am not sure how you checked what was installed.
When you install rpmbuild and the suse build tools, then will create the rpmbuild directory in your $HOME directory:
$ tree rpmbuild/ rpmbuild/ ├── BUILD ├── BUILDROOT ├── OTHER ├── RPMS ├── SOURCES ├── SPECS └── SRPMS
On home? I have them on the root. /usr/src/packages/.
What was not clear in "for root user this is /usr/src/packages"?
Then what creates the build structure for user, and how on earth do I install a source rpm into my home that structure? YaST will not do it. Because he said: ]> When you install rpmbuild and the suse build tools, then will create ]> the rpmbuild directory in your $HOME directory: HOW? -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)
22.07.2019 20:31, Carlos E. R. пишет:
On 22/07/2019 19.10, Andrei Borzenkov wrote:
22.07.2019 12:46, Carlos E. R. пишет:
On 22/07/2019 08.59, David C. Rankin wrote:
On 07/21/2019 07:03 AM, Andrei Borzenkov wrote:
what I did:
- downloaded kuickshow-0.9.2-4.1.src.rpm from http://download.opensuse.org/repositories/home:/mad_soft/openSUSE_Leap_42.3/...
(tried to install it directly instead of downloading it, but nothing was installed, Installing source RPM just copies files under %buildroot which by default is ~/rpmbuild for non-root user; for root user this is /usr/src/packages. I am not sure how you checked what was installed.
When you install rpmbuild and the suse build tools, then will create the rpmbuild directory in your $HOME directory:
$ tree rpmbuild/ rpmbuild/ ├── BUILD ├── BUILDROOT ├── OTHER ├── RPMS ├── SOURCES ├── SPECS └── SRPMS
On home? I have them on the root. /usr/src/packages/.
What was not clear in "for root user this is /usr/src/packages"?
Then what creates the build structure for user, and how on earth do I install a source rpm into my home that structure? YaST will not do it.
Because he said:
]> When you install rpmbuild and the suse build tools, then will create ]> the rpmbuild directory in your $HOME directory:
HOW?
rpm -i foo.src.rpm as normal user. Or you can simply copy necessary files there. The only directories you need are SOURCES and SPECS; everything else will be created by rpmbuild as needed. And actually I am not even sure that you need SPECS unless you want to recreate SRPM.
On 22/07/2019 20.20, Andrei Borzenkov wrote:
22.07.2019 20:31, Carlos E. R. пишет:
On 22/07/2019 19.10, Andrei Borzenkov wrote:
22.07.2019 12:46, Carlos E. R. пишет:
On 22/07/2019 08.59, David C. Rankin wrote:
On 07/21/2019 07:03 AM, Andrei Borzenkov wrote:
> what I did: > > - downloaded kuickshow-0.9.2-4.1.src.rpm from > http://download.opensuse.org/repositories/home:/mad_soft/openSUSE_Leap_42.3/... > > > (tried to install it directly instead of downloading it, but nothing was > installed, Installing source RPM just copies files under %buildroot which by default is ~/rpmbuild for non-root user; for root user this is /usr/src/packages. I am not sure how you checked what was installed.
When you install rpmbuild and the suse build tools, then will create the rpmbuild directory in your $HOME directory:
$ tree rpmbuild/ rpmbuild/ ├── BUILD ├── BUILDROOT ├── OTHER ├── RPMS ├── SOURCES ├── SPECS └── SRPMS
On home? I have them on the root. /usr/src/packages/.
What was not clear in "for root user this is /usr/src/packages"?
Then what creates the build structure for user, and how on earth do I install a source rpm into my home that structure? YaST will not do it.
Because he said:
]> When you install rpmbuild and the suse build tools, then will create ]> the rpmbuild directory in your $HOME directory:
HOW?
rpm -i foo.src.rpm
as normal user.
Ok, so you, and the distribution designers, are telling me not to use YaST to install source packages. Interesting! :-/ And at the same way, YaST installs source packages in a manner that I should never use, because it needs being root. A security problem/malpractice created by YaST! Nice. No, I'm not pointing at you particularly. I'm trying to point out the inconsistency. Similarly, the kernel sources as installed by YaST have to be compiled by root. I managed to do it as user in the past, but it is extra work. As they come, using them is a security risk, developers insist to tell me.
Or you can simply copy necessary files there. The only directories you need are SOURCES and SPECS; everything else will be created by rpmbuild as needed.
And actually I am not even sure that you need SPECS unless you want to recreate SRPM.
Yes, it is needed, AFAIR. -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)
On 21/07/2019 11.17, Daniel Bauer wrote:
Hi,
I am trying to compile kuickshow for 15.1, but I fail. Here's the complete output of my rpmbuild command:
https://www.daniel-bauer.com/div/kuickshow_rpmbuild.txt
what I did:
- downloaded kuickshow-0.9.2-4.1.src.rpm from http://download.opensuse.org/repositories/home:/mad_soft/openSUSE_Leap_42.3/...
(tried to install it directly instead of downloading it, but nothing was installed, There are a host of other kuickshows that build see: https://build.opensuse.org/search?package=1&name=1&search_text=kuickshow
Regards Dave P -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 30/07/2019 14.23, Dave Plater wrote: ...
There are a host of other kuickshows that build see: https://build.opensuse.org/search?package=1&name=1&search_text=kuickshow
Not all of those publish: <https://software.opensuse.org/package/kuickshow> And anyway, he solved the issue. -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)
On 21/07/2019 11.17, Daniel Bauer wrote:
Hi,
I am trying to compile kuickshow for 15.1, but I fail. Here's the complete output of my rpmbuild command:
https://www.daniel-bauer.com/div/kuickshow_rpmbuild.txt
what I did:
- downloaded kuickshow-0.9.2-4.1.src.rpm from http://download.opensuse.org/repositories/home:/mad_soft/openSUSE_Leap_42.3/...
(tried to install it directly instead of downloading it, but nothing was installed, tried again to install the downloaded package with Yast, but again nothing was installed)
The source rpms do not install; instead they download and copy the rpm file somewhere. To /usr/src/packages/SRPMS/, I think. Then you use rpmbuild to "build" that. And the way it comes, has to be used as root. Maybe if you run it as user it tries {home} instead. News to me.
- unpacked the files and copied to /usr/src/packages/SOURCES/kuickshow-0.9.2-fix-composite-menu.patch /usr/src/packages/SOURCES/kuickshow-0.9.2-fix-imlib-init.patch /usr/src/packages/SOURCES/kuickshow-0.9.2.tar.bz2 /usr/src/packages/SPECS/kuickshow.spec
There is an rpmbuild command that expand them. But apparently you are supposed not to do that, but start from the rpm on all runs.
- run rpmbuild -bc /usr/src/packages/SPECS/kuickshow.spec but it said it couldn't find files in /home/daniel/rpmbuild...
so I copied the files to the appropriate directories in /home/daniel/rpmbuild/
after running it again, it said that it was missing libkde4-devel (installed it with Yast) imlib-nogdk-devel-1.9.15 (installed it from http://download.opensuse.org/repositories/home:/mad_soft/openSUSE_Leap_15.1/... )
- after running again the rpmbuild command it looked good, but it terminated with
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.In3X4c (%build)
(complete output in the link above)
Sorry, that's a local link to your machine. You have to upload that to susepaste for us to see.
Well, that's where I am. Can anybody bring me a step forward? Please note: I have no idea about compiling, rpm and such, I just give it a try because I /need/ this program...
Thanks for your help!
Daniel
<https://userbase.kde.org/KuickShow> Does not say the download site. The history for it shows (cur | prev) 19:48, 2 November 2018 Ognarb (talk | contribs) . . (964 bytes) (-3,676) . . (Remove build instruction for KDE3 and KDE4) which is not good. On 2010 it was ftp://ftp.kde.org/pub/kde/stable/4.3.3/src/extragear/kuickshow-0.9.1-kde4.3.3.tar.bz2], then changed to http://hosti.leonde.de/~gis/kuickshow-0.9.1.tar.bz2, which was removed last november - but the tar still exists at the site. This tar says in the notes that "see http://devel-home.kde.org/~pfeiffer/kuickshow/ for updated versions" - but the URL gives "Not found". (and I do not see a configure or makefile in order to build it). The rpm you downloaded doesn't cite an url for the sources, so perhaps there are none. The original place might be this: <http://kuickshow.sourceforge.net/> which has version 0.8.5 dated on 2003. All that means that kuickshow was abandoned by its parents :-( You really should look for another viewer... I managed to download the ancient sourceforge version, which has make and configure. Configure fails at the end because "error: Qt (>= Qt 3.1 (20021021)) (headers and libraries) not found", at which point I stop, I do not want to risk my system installing ancient versions of Qt and because I'm not familiar with compiling KDE apps. -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)
On Sun, 2019-07-21 at 11:17 +0200, Daniel Bauer wrote:
Hi,
I am trying to compile kuickshow for 15.1, but I fail. Here's the complete output of my rpmbuild command:
https://www.daniel-bauer.com/div/kuickshow_rpmbuild.txt
what I did:
- downloaded kuickshow-0.9.2-4.1.src.rpm from http://download.opensuse.org/repositories/home:/mad_soft/openSUSE_Lea p_42.3/src/
(tried to install it directly instead of downloading it, but nothing was installed, tried again to install the downloaded package with Yast, but again nothing was installed)
- unpacked the files and copied to /usr/src/packages/SOURCES/kuickshow-0.9.2-fix-composite-menu.patch /usr/src/packages/SOURCES/kuickshow-0.9.2-fix-imlib-init.patch /usr/src/packages/SOURCES/kuickshow-0.9.2.tar.bz2 /usr/src/packages/SPECS/kuickshow.spec
- run rpmbuild -bc /usr/src/packages/SPECS/kuickshow.spec but it said it couldn't find files in /home/daniel/rpmbuild...
so I copied the files to the appropriate directories in /home/daniel/rpmbuild/
after running it again, it said that it was missing libkde4-devel (installed it with Yast) imlib-nogdk-devel-1.9.15 (installed it from http://download.opensuse.org/repositories/home:/mad_soft/openSUSE_Lea p_15.1/x86_64/ )
- after running again the rpmbuild command it looked good, but it terminated with
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.In3X4c (%build)
(complete output in the link above)
Well, that's where I am. Can anybody bring me a step forward? Please note: I have no idea about compiling, rpm and such, I just give it a try because I /need/ this program...
Thanks for your help!
Daniel
-- Daniel Bauer photographer Basel Málaga https://www.patreon.com/danielbauer https://www.daniel-bauer.com
I think you should try installing http://download.opensuse.org/reposito ries/home:/mad_soft/openSUSE_Leap_15.1/x86_64/imlib-nogdk-1.9.15- lp151.25.1.x86_64.rpm Bill -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 21/07/2019 16.13, Bill Merriam wrote:
On Sun, 2019-07-21 at 11:17 +0200, Daniel Bauer wrote:
I think you should try installing http://download.opensuse.org/reposito ries/home:/mad_soft/openSUSE_Leap_15.1/x86_64/imlib-nogdk-1.9.15- lp151.25.1.x86_64.rpm
Rather building it, because he is trying to build for 15.1. His problem is he wants that program and there is no 15.1 package. -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)
Am 21.07.19 um 16:13 schrieb Bill Merriam:
On Sun, 2019-07-21 at 11:17 +0200, Daniel Bauer wrote:
Hi,
I am trying to compile kuickshow for 15.1, but I fail. Here's the complete output of my rpmbuild command:
https://www.daniel-bauer.com/div/kuickshow_rpmbuild.txt
what I did:
- downloaded kuickshow-0.9.2-4.1.src.rpm from http://download.opensuse.org/repositories/home:/mad_soft/openSUSE_Lea p_42.3/src/
(tried to install it directly instead of downloading it, but nothing was installed, tried again to install the downloaded package with Yast, but again nothing was installed)
- unpacked the files and copied to /usr/src/packages/SOURCES/kuickshow-0.9.2-fix-composite-menu.patch /usr/src/packages/SOURCES/kuickshow-0.9.2-fix-imlib-init.patch /usr/src/packages/SOURCES/kuickshow-0.9.2.tar.bz2 /usr/src/packages/SPECS/kuickshow.spec
- run rpmbuild -bc /usr/src/packages/SPECS/kuickshow.spec but it said it couldn't find files in /home/daniel/rpmbuild...
so I copied the files to the appropriate directories in /home/daniel/rpmbuild/
after running it again, it said that it was missing libkde4-devel (installed it with Yast) imlib-nogdk-devel-1.9.15 (installed it from http://download.opensuse.org/repositories/home:/mad_soft/openSUSE_Lea p_15.1/x86_64/ )
- after running again the rpmbuild command it looked good, but it terminated with
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.In3X4c (%build)
(complete output in the link above)
Well, that's where I am. Can anybody bring me a step forward? Please note: I have no idea about compiling, rpm and such, I just give it a try because I /need/ this program...
Thanks for your help!
Daniel
-- Daniel Bauer photographer Basel Málaga https://www.patreon.com/danielbauer https://www.daniel-bauer.com
I think you should try installing http://download.opensuse.org/reposito ries/home:/mad_soft/openSUSE_Leap_15.1/x86_64/imlib-nogdk-1.9.15- lp151.25.1.x86_64.rpm
I have this installed... -- Daniel Bauer photographer Basel Málaga https://www.patreon.com/danielbauer https://www.daniel-bauer.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 21/07/2019 11:17, Daniel Bauer wrote:
Hi,
I am trying to compile kuickshow for 15.1, but I fail. Here's the complete output of my rpmbuild command:
https://www.daniel-bauer.com/div/kuickshow_rpmbuild.txt
what I did:
- downloaded kuickshow-0.9.2-4.1.src.rpm from http://download.opensuse.org/repositories/home:/mad_soft/openSUSE_Leap_42.3/...
The package doesn't even start to build before it fails.
(tried to install it directly instead of downloading it, but nothing was installed, tried again to install the downloaded package with Yast, but again nothing was installed)
- unpacked the files and copied to /usr/src/packages/SOURCES/kuickshow-0.9.2-fix-composite-menu.patch /usr/src/packages/SOURCES/kuickshow-0.9.2-fix-imlib-init.patch /usr/src/packages/SOURCES/kuickshow-0.9.2.tar.bz2 /usr/src/packages/SPECS/kuickshow.spec
When you install it using zypper si it makes sure that all the buildrequires in the spec file are satisfied
- run rpmbuild -bc /usr/src/packages/SPECS/kuickshow.spec but it said it couldn't find files in /home/daniel/rpmbuild...
so I copied the files to the appropriate directories in /home/daniel/rpmbuild/
after running it again, it said that it was missing libkde4-devel (installed it with Yast) imlib-nogdk-devel-1.9.15 (installed it from http://download.opensuse.org/repositories/home:/mad_soft/openSUSE_Leap_15.1/... )
- after running again the rpmbuild command it looked good, but it terminated with
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.In3X4c (%build)
(complete output in the link above)
Well, that's where I am. Can anybody bring me a step forward? Please note: I have no idea about compiling, rpm and such, I just give it a try because I /need/ this program...
Thanks for your help!
Daniel
You need to install imlib2-devel Regards Dave P -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 30/07/2019 14.16, Dave Plater wrote:
On 21/07/2019 11:17, Daniel Bauer wrote:
Hi,
I am trying to compile kuickshow for 15.1, but I fail. Here's the complete output of my rpmbuild command:
https://www.daniel-bauer.com/div/kuickshow_rpmbuild.txt
what I did:
- downloaded kuickshow-0.9.2-4.1.src.rpm from http://download.opensuse.org/repositories/home:/mad_soft/openSUSE_Leap_42.3/...
The package doesn't even start to build before it fails.
(tried to install it directly instead of downloading it, but nothing was installed, tried again to install the downloaded package with Yast, but again nothing was installed)
- unpacked the files and copied to /usr/src/packages/SOURCES/kuickshow-0.9.2-fix-composite-menu.patch /usr/src/packages/SOURCES/kuickshow-0.9.2-fix-imlib-init.patch /usr/src/packages/SOURCES/kuickshow-0.9.2.tar.bz2 /usr/src/packages/SPECS/kuickshow.spec
When you install it using zypper si it makes sure that all the buildrequires in the spec file are satisfied
Ah, but we are being told that we must install source packages as user, not root (so zypper will not run) and inside our home path. -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)
On 7/21/19 6:47 PM, Daniel Bauer wrote:
Hi,
I am trying to compile kuickshow for 15.1, but I fail. Here's the complete output of my rpmbuild command:
rpmbuild is not guaranteed to work for openSUSE RPM's, there are many cases where macro's and definitions will be missing because they come from open build service project configuration. Instead it is recommended you branch the project on open build service in your case from "home:mad_soft" you will find it easily using the search, then you can enable the version of openSUSE you want to build for and it will automatically build, or you can use the osc command to build the package locally. -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (7)
-
Andrei Borzenkov
-
Bill Merriam
-
Carlos E. R.
-
Daniel Bauer
-
Dave Plater
-
David C. Rankin
-
Simon Lees