[opensuse-buildservice] Windows builds
Hello. I spotted somewhere windows binaries in Build Service repositories, but I'm unable to add such repo nor I found nothing usable searching the wiki pages. Could anybody point me how can I do binaries for MS Windows within Build Service? Thank you. Best Regards Ladislav. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Ladislav Michnovič wrote:
I spotted somewhere windows binaries in Build Service repositories, but I'm unable to add such repo nor I found nothing usable searching the wiki pages. Could anybody point me how can I do binaries for MS Windows within Build Service? Thank you.
home:lnussel:win32 uses CrossToolchain:mingw to cross compile for Windows. There's also a cross compiled nsis version that allows you to create Windows installers on Linux. The ioquake3 package uses that. Do you have any specific package you want to compile for Windows? cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Ludwig what your linux distro choice behind win32 repo ? anice thingh should to be able to produce setup.exe for windows ? 2008/9/11 Ludwig Nussel <ludwig.nussel@suse.de>:
Ladislav Michnovič wrote:
I spotted somewhere windows binaries in Build Service repositories, but I'm unable to add such repo nor I found nothing usable searching the wiki pages. Could anybody point me how can I do binaries for MS Windows within Build Service? Thank you.
home:lnussel:win32 uses CrossToolchain:mingw to cross compile for Windows. There's also a cross compiled nsis version that allows you to create Windows installers on Linux. The ioquake3 package uses that. Do you have any specific package you want to compile for Windows?
cu Ludwig
-- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
-- Cordially. Small Eric Quotations of the days: --------------------------------------------------------------------------- If one day one reproaches you that your work is not a work of professional, say you that: Amateurs built the arch of Noah, and professionals the Titanic. --------------------------------------------------------------------------- Few people are done for independence, it is the privilege of the powerful ones. --------------------------------------------------------------------------- No key was wounded during the drafting of this message.
Petit Eric wrote:
Ludwig what your linux distro choice behind win32 repo ?
It's 10.2 the other mingw repos had failed builds at the time when I started. The distro doesn't really matter though.
anice thingh should to be able to produce setup.exe for windows ?
Yes, see the ioquake3-win32 package. It uses nsis. A manual step is required to download the rpm, extract the setup file and upload it elsewhere. In case of ioquake3 it's here: http://www.ioquake3.org/files/angst/ cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Thu, Sep 11, 2008 at 1:12 PM, Ludwig Nussel <ludwig.nussel@suse.de> wrote:
Ladislav Michnovič wrote:
I spotted somewhere windows binaries in Build Service repositories, but I'm unable to add such repo nor I found nothing usable searching the wiki pages. Could anybody point me how can I do binaries for MS Windows within Build Service? Thank you.
home:lnussel:win32 uses CrossToolchain:mingw to cross compile for Windows. There's also a cross compiled nsis version that allows you to create Windows installers on Linux. The ioquake3 package uses that. Do you have any specific package you want to compile for Windows?
Yes, poedit in devel:translation. I know there is available win installer for this program, but I also want to learn how to produce such binaries in Build Service. Regards Ladislav.
Hi, I have adapted the obs packages to the new rpm checking standards. As a first starter, I did this for: openSUSE:Tools:Devel/obs-all-svn. Now I only get warnings (as I see it - correct me if I am wrong), but still a build error in the end. What did I do wrong? Logfile: https://build.opensuse.org/package/live_build_log?arch=i586&package=obs-all-svn&project=openSUSE%3ATools%3ADevel&repository=openSUSE_Factory Help would be appeciated ! Martin --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Donnerstag 11 September 2008 19:22:54 Martin Mohring wrote:
Hi,
I have adapted the obs packages to the new rpm checking standards. As a first starter, I did this for: openSUSE:Tools:Devel/obs-all-svn. Now I only get warnings (as I see it - correct me if I am wrong), but still a build error in the end. What did I do wrong?
Logfile: https://build.opensuse.org/package/live_build_log?arch=i586&package=obs-all -svn&project=openSUSE%3ATools%3ADevel&repository=openSUSE_Factory
Help would be appeciated !
Just package also the directories with %dir /etc/lighttpd %dir /etc/lighttpd/vhosts.d This check ensures that directories do not get created implicit, so they get removed when packages get installed. thanks adrian -- Adrian Schroeter SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) email: adrian@suse.de --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Adrian Schröter wrote:
On Donnerstag 11 September 2008 19:22:54 Martin Mohring wrote:
Hi,
I have adapted the obs packages to the new rpm checking standards. As a first starter, I did this for: openSUSE:Tools:Devel/obs-all-svn. Now I only get warnings (as I see it - correct me if I am wrong), but still a build error in the end. What did I do wrong?
Logfile: https://build.opensuse.org/package/live_build_log?arch=i586&package=obs-all -svn&project=openSUSE%3ATools%3ADevel&repository=openSUSE_Factory
Help would be appeciated !
Just package also the directories with
%dir /etc/lighttpd %dir /etc/lighttpd/vhosts.d
Cleaned up all now, except: %post -n obs-api touch /srv/www/obs/{webclient,frontend}/log/development.log chown lighttpd:lighttpd /srv/www/obs/{webclient,frontend}/log/development.log %restart_on_update lighttpd This gives the error: ... testing for pre/postinstall scripts that are not idempotent chown: invalid user: `lighttpd:lighttpd' postinstall script of obs-api-1.1.0.4986S-2.1.i586.rpm failed How is that intended to be done? Martin --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2008-09-11 21:26:18 +0200, Martin Mohring wrote:
Adrian Schröter wrote:
On Donnerstag 11 September 2008 19:22:54 Martin Mohring wrote:
Hi,
I have adapted the obs packages to the new rpm checking standards. As a first starter, I did this for: openSUSE:Tools:Devel/obs-all-svn. Now I only get warnings (as I see it - correct me if I am wrong), but still a build error in the end. What did I do wrong?
Logfile: https://build.opensuse.org/package/live_build_log?arch=i586&package=obs-all -svn&project=openSUSE%3ATools%3ADevel&repository=openSUSE_Factory
Help would be appeciated !
Just package also the directories with
%dir /etc/lighttpd %dir /etc/lighttpd/vhosts.d
Cleaned up all now, except:
%post -n obs-api touch /srv/www/obs/{webclient,frontend}/log/development.log chown lighttpd:lighttpd /srv/www/obs/{webclient,frontend}/log/development.log %restart_on_update lighttpd
This gives the error:
... testing for pre/postinstall scripts that are not idempotent chown: invalid user: `lighttpd:lighttpd' postinstall script of obs-api-1.1.0.4986S-2.1.i586.rpm failed
How is that intended to be done?
Hmm you could ship the file with the package and then add something like %attr(-, lighttpd, lighttpd) /srv/www/obs/{webclient,frontend}/log/development.log (don't forget to add "PreReq: lighttpd" to the obs-api package) Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Thu, Sep 11, 2008 at 09:39:10PM +0200, Marcus Hüwe wrote:
On 2008-09-11 21:26:18 +0200, Martin Mohring wrote:
Adrian Schröter wrote:
On Donnerstag 11 September 2008 19:22:54 Martin Mohring wrote:
Hi,
I have adapted the obs packages to the new rpm checking standards. As a first starter, I did this for: openSUSE:Tools:Devel/obs-all-svn. Now I only get warnings (as I see it - correct me if I am wrong), but still a build error in the end. What did I do wrong?
Logfile: https://build.opensuse.org/package/live_build_log?arch=i586&package=obs-all -svn&project=openSUSE%3ATools%3ADevel&repository=openSUSE_Factory
Help would be appeciated !
Just package also the directories with
%dir /etc/lighttpd %dir /etc/lighttpd/vhosts.d
Cleaned up all now, except:
%post -n obs-api touch /srv/www/obs/{webclient,frontend}/log/development.log chown lighttpd:lighttpd /srv/www/obs/{webclient,frontend}/log/development.log %restart_on_update lighttpd
This gives the error:
... testing for pre/postinstall scripts that are not idempotent chown: invalid user: `lighttpd:lighttpd' postinstall script of obs-api-1.1.0.4986S-2.1.i586.rpm failed
How is that intended to be done?
Hmm you could ship the file with the package and then add something like %attr(-, lighttpd, lighttpd) /srv/www/obs/{webclient,frontend}/log/development.log (don't forget to add "PreReq: lighttpd" to the obs-api package)
Shouldn't things like logfiles be %ghost, ie. %ghost %attr(-, lighttpd, lighttpd) /srv/www/obs/{webclient,frontend}/log/development.log And touch the files in %build. That's the way I handle those in my pkgs, at least. -- Michael
Hi, On Thursday, September 11, 2008 at 16:02:31, Michael E Brown wrote:
Shouldn't things like logfiles be %ghost
Logfiles dont belong to packages at all. Nobody wants logfiles removed when the package is (removal can also be an intermediate step). Don't do that. Henne -- Henne Vogelsang, openSUSE. Everybody has a plan, until they get hit. - Mike Tyson --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Henne Vogelsang wrote:
Hi,
On Thursday, September 11, 2008 at 16:02:31, Michael E Brown wrote:
Shouldn't things like logfiles be %ghost
Logfiles dont belong to packages at all. Nobody wants logfiles removed when the package is (removal can also be an intermediate step). Don't do that.
Adrian, what was your initial intention with the logfile thing in the obs-server .spec? Martin --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Freitag 12 September 2008 12:31:47 Martin Mohring wrote:
Henne Vogelsang wrote:
Hi,
On Thursday, September 11, 2008 at 16:02:31, Michael E Brown wrote:
Shouldn't things like logfiles be %ghost
Logfiles dont belong to packages at all. Nobody wants logfiles removed when the package is (removal can also be an intermediate step). Don't do that.
I agree.
Adrian, what was your initial intention with the logfile thing in the obs-server .spec?
I can not remember anymore, I think. but a logrotate file would be nice to have in the packages ;) bye adrian -- Adrian Schroeter SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) email: adrian@suse.de --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Adrian Schröter wrote:
On Freitag 12 September 2008 12:31:47 Martin Mohring wrote:
Henne Vogelsang wrote:
Hi,
On Thursday, September 11, 2008 at 16:02:31, Michael E Brown wrote:
Shouldn't things like logfiles be %ghost
Logfiles dont belong to packages at all. Nobody wants logfiles removed when the package is (removal can also be an intermediate step). Don't do that.
I agree.
See below!
Adrian, what was your initial intention with the logfile thing in the obs-server .spec?
I can not remember anymore, I think.
but a logrotate file would be nice to have in the packages ;)
Don't know how to do that? Is that in the code? Another question: lighttpd is not part of factory anymore? I get an expansion error for "BuildRequires: lighttpd" on factory?! Martin --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi, I have noticed the following: - BuildRequires: lighttpd gives an expansion error in openSUSE:Factory. But the source package still exists. - BuildRequires: repoview gives an expansion error in openSUSE:Factory. And the source package is gone. Help. Martin --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (8)
-
Adrian Schröter
-
Henne Vogelsang
-
Ladislav Michnovič
-
Ludwig Nussel
-
Marcus Hüwe
-
Martin Mohring
-
Michael E Brown
-
Petit Eric