Re: [opensuse-buildservice] Missing important debian functionality
On Thursday 29 May 2008 15:52:49 you wrote: I tried to use the new feature: https://build.opensuse.org/package/view_file?file=KDevelop3-xUbuntu_8.04.dsc&package=KDevelop3&project=home%3Aamilcarlucas But it does not work: https://build.opensuse.org/package/live_build_log?arch=x86_64&package=KDevelop3&project=home%3Aamilcarlucas&repository=xUbuntu_8.04 I've read the debtransform file. But I do not understand the dotar() function. I think that is where the problem is. Can you please add comments to the code ? The entire file only has two small comments :( -- Amilcar Lucas KDevelop.org webmaster --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi, i have seen "debtransform" changed in svn. I had fixed it some time ago, when it didnot work for workers, that do not have XEN, so i tried to understand it at that time (no full success). I tried now to use the new version in OBS, and for me it fails now again (for example openSUSE:Tools/build). Is the new version not yet finished, or not tested with workers with no XEN? Martin Amilcar do Carmo Lucas wrote:
On Thursday 29 May 2008 15:52:49 you wrote: I tried to use the new feature: https://build.opensuse.org/package/view_file?file=KDevelop3-xUbuntu_8.04.dsc&package=KDevelop3&project=home%3Aamilcarlucas But it does not work: https://build.opensuse.org/package/live_build_log?arch=x86_64&package=KDevelop3&project=home%3Aamilcarlucas&repository=xUbuntu_8.04
I've read the debtransform file. But I do not understand the dotar() function. I think that is where the problem is. Can you please add comments to the code ? The entire file only has two small comments :(
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Fri, May 30, 2008 at 09:18:26AM +0200, Martin Mohring wrote:
i have seen "debtransform" changed in svn. I had fixed it some time ago, when it didnot work for workers, that do not have XEN, so i tried to understand it at that time (no full success). I tried now to use the new version in OBS, and for me it fails now again (for example openSUSE:Tools/build).
Is the new version not yet finished, or not tested with workers with no XEN?
I don't think XEN can be an issue at all. Anyway, I saw the chdir() you added, but that breaks the opendir a couple of lines later if $dir is not an absolute path. Thus I hunted for the original bug and found a missing "$dir" when it applies the debtar file. I fixed that and tested it as good as I could, but it seemed like everything worked. Seems like I overlooked some other issue. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Michael Schroeder wrote:
On Fri, May 30, 2008 at 09:18:26AM +0200, Martin Mohring wrote:
i have seen "debtransform" changed in svn. I had fixed it some time ago, when it didnot work for workers, that do not have XEN, so i tried to understand it at that time (no full success). I tried now to use the new version in OBS, and for me it fails now again (for example openSUSE:Tools/build).
Is the new version not yet finished, or not tested with workers with no XEN?
I don't think XEN can be an issue at all.
Anyway, I saw the chdir() you added, but that breaks the opendir a couple of lines later if $dir is not an absolute path.
Sorry for that, you were not available so Ludwig Nussel reviewed it. Seems that he also does not know debiantransformer in that detail :-) Adrian also found it ok (how often do you get that excuse).
Thus I hunted for the original bug and found a missing "$dir" when it applies the debtar file. I fixed that and tested it as good as I could, but it seemed like everything worked. Seems like I overlooked some other issue.
I try to understand it better, and debug. I come back when I have a fix. I had already spend 1 day with that code last time. Martin --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Martin Mohring ha scritto:
I try to understand it better, and debug. I come back when I have a fix. I had already spend 1 day with that code last time.
Martin
Are you talking about the error: | now finalizing build dir... /.build/build: line 1012: //etc/profile.d/buildsystem.sh: No such file or directory running debian transformer... Use of uninitialized value in concatenation (.) or string at /.build/debtransform line 236. tar: //usr/src/packages/SOURCES/: Cannot read: Is a directory tar: At beginning of tape, quitting now tar: Error is not recoverable: exiting now tar: debian transforming failed. That I've just get trying to compile a .deb package ??? Ok, I'll wait. ;-) Thank you, Gianluca | --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
G. Massera wrote:
Martin Mohring ha scritto:
I try to understand it better, and debug. I come back when I have a fix. I had already spend 1 day with that code last time.
Martin
Are you talking about the error: | now finalizing build dir... /.build/build: line 1012: //etc/profile.d/buildsystem.sh: No such file or directory running debian transformer... Use of uninitialized value in concatenation (.) or string at /.build/debtransform line 236. tar: //usr/src/packages/SOURCES/: Cannot read: Is a directory tar: At beginning of tape, quitting now tar: Error is not recoverable: exiting now tar: debian transforming failed.
That I've just get trying to compile a .deb package ??
Which OBS is that? The "official" on build.opensuse.org or your local OBS? If it is you local OBS, which revision do you run? Martin --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Martin Mohring ha scritto:
G. Massera wrote:
Martin Mohring ha scritto:
I try to understand it better, and debug. I come back when I have a fix. I had already spend 1 day with that code last time.
Martin
Are you talking about the error: | now finalizing build dir... /.build/build: line 1012: //etc/profile.d/buildsystem.sh: No such file or directory running debian transformer... Use of uninitialized value in concatenation (.) or string at /.build/debtransform line 236. tar: //usr/src/packages/SOURCES/: Cannot read: Is a directory tar: At beginning of tape, quitting now tar: Error is not recoverable: exiting now tar: debian transforming failed.
That I've just get trying to compile a .deb package ??
Which OBS is that? The "official" on build.opensuse.org or your local OBS? If it is you local OBS, which revision do you run?
Martin
The "official" on build.opensuse.org My project dir is home:EmmeG Ciao, Gianluca --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Fri, May 30, 2008 at 05:19:59PM +0200, G. Massera wrote:
Martin Mohring ha scritto:
I try to understand it better, and debug. I come back when I have a fix. I had already spend 1 day with that code last time.
Martin
Are you talking about the error: | now finalizing build dir... /.build/build: line 1012: //etc/profile.d/buildsystem.sh: No such file or directory running debian transformer... Use of uninitialized value in concatenation (.) or string at /.build/debtransform line 236. tar: //usr/src/packages/SOURCES/: Cannot read: Is a directory tar: At beginning of tape, quitting now tar: Error is not recoverable: exiting now tar: debian transforming failed.
That I've just get trying to compile a .deb package ???
Oops, sorry, it didn't work if there was no debian.tar file. Now fixed. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Michael Schroeder wrote:
Oops, sorry, it didn't work if there was no debian.tar file. Now fixed.
I'm still seeing Debian builds failing miserably in project "net-snmp": - --- snip --- running debian transformer... dpkg-source: warning: extracting unsigned source package (/usr/src/packages/SOURCES.DEB/net-snmp_5.4.1+svn200806010028.dsc) dpkg-source: warning: native package with .orig.tar dpkg-source: extracting net-snmp in /usr/src/packages/BUILD dpkg-source: unpacking net-snmp_5.4.1+svn200806010028.orig.tar.bz2 dpkg-source: warning: /usr/src/packages/BUILD/debian/rules does not exist ----------------------------------------------------------------- ----- building net-snmp.dsc (user abuild) ----------------------------------------------------------------- ----------------------------------------------------------------- /.build/build: line 1101: hostname: command not found dpkg-parsechangelog: error: cannot open debian/changelog to find format: No such file or directory dpkg-buildpackage: unable to determine source package is - --- snap --- Your feedback is highly appreciated. +Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Sunday 01 June 2008 00:49:18 Thomas Anders wrote:
Your feedback is highly appreciated. Mine still fail, with a message about missing "debian/control" file. but the file is there.
-- Amilcar Lucas KDevelop.org webmaster --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Sunday 01 June 2008 14:33:34 Amilcar do Carmo Lucas wrote:
On Sunday 01 June 2008 00:49:18 Thomas Anders wrote:
Your feedback is highly appreciated.
Mine still fail, with a message about missing "debian/control" file. but the file is there.
ping. -- Amilcar Lucas Webmaster The KDevelop project --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi, I would like to second to fix this issues as fast as possible, because the version of build seem also to be put into factory and thus getting shipped in openSUSE 11.0, e.g. a non working version is shipped with the released next version of openSUSE. Martin PS: Adrian - am I correct with my guess? Amilcar do Carmo Lucas wrote:
On Sunday 01 June 2008 14:33:34 Amilcar do Carmo Lucas wrote:
On Sunday 01 June 2008 00:49:18 Thomas Anders wrote:
Your feedback is highly appreciated.
Mine still fail, with a message about missing "debian/control" file. but the file is there.
ping.
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Tue, Jun 03, 2008 at 02:38:33PM +0200, Amilcar do Carmo Lucas wrote:
On Sunday 01 June 2008 14:33:34 Amilcar do Carmo Lucas wrote:
On Sunday 01 June 2008 00:49:18 Thomas Anders wrote:
Your feedback is highly appreciated.
Mine still fail, with a message about missing "debian/control" file. but the file is there.
ping.
The file isn't there. There are just some debian-control-<flavor> files, they don't get magically moved to debian/control. Didn't we agree to put the control file into debian-xUbuntu_8.04.tar.gz and use Debtransform-Files-Tar: debian.tar.gz debian-xUbuntu_8.04.tar.gz in the dsc file? Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Fri, May 30, 2008 at 10:14:26AM +0200, Michael Schroeder wrote:
On Fri, May 30, 2008 at 09:18:26AM +0200, Martin Mohring wrote:
i have seen "debtransform" changed in svn. I had fixed it some time ago, when it didnot work for workers, that do not have XEN, so i tried to understand it at that time (no full success). I tried now to use the new version in OBS, and for me it fails now again (for example openSUSE:Tools/build).
Is the new version not yet finished, or not tested with workers with no XEN?
I don't think XEN can be an issue at all.
Anyway, I saw the chdir() you added, but that breaks the opendir a couple of lines later if $dir is not an absolute path. Thus I hunted for the original bug and found a missing "$dir" when it applies the debtar file. I fixed that and tested it as good as I could, but it seemed like everything worked. Seems like I overlooked some other issue.
Argh, fixed it only in one place. Hopefully it works now. Cheers, Michael -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi, the hermes notification system has been added to svn in the meantime. Currently, the old setup and start method does not work anymore. It seems like: the workers now dies at startup, so some kind of config is missing. Could this some of the developers please give a hint what to do? Regards, Martin --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi, the hermes notification system has been added to svn in the meantime. Currently, the old setup and start method for the OBS does not work anymore. The srcserver gives a message in the logfile: Notifying hermes at http://thebe.d-atasoft.com/hermes/index.cgi: <rm=notify, type=OBS_SRCSRV_START, dispatches=ARRAY(0x16f2350), maxchild=20, port=6362, setkeepalive=1> warning Hermes: connect to thebe.d-atasoft.com:80: Connection refused 2008-06-03 21:34:07: AJAX: bs_srcserver started 2008-06-03 21:34:08: bs_srcserver started on port 6362 Who wants to connect to port 80, and what should be there? How do I start that? Since the change to ssl, there is nothing on port 80 anymore... Not the frontend, not the backend, and the bs_srcserver and the bs_repserver never listend to port 80. Also, the workers currently die silently. What do I do wrong? Martin --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Martin Mohring wrote:
Hi,
the hermes notification system has been added to svn in the meantime. Currently, the old setup and start method for the OBS does not work anymore.
The srcserver gives a message in the logfile:
Notifying hermes at http://thebe.d-atasoft.com/hermes/index.cgi: <rm=notify, type=OBS_SRCSRV_START, dispatches=ARRAY(0x16f2350), maxchild=20, port=6362, setkeepalive=1> warning Hermes: connect to thebe.d-atasoft.com:80: Connection refused
2008-06-03 21:34:07: AJAX: bs_srcserver started 2008-06-03 21:34:08: bs_srcserver started on port 6362
Who wants to connect to port 80, and what should be there? How do I start that? Since the change to ssl, there is nothing on port 80 anymore... Not the frontend, not the backend, and the bs_srcserver and the bs_repserver never listend to port 80.
Also, the workers currently die silently.
What do I do wrong?
Nothing :) I felt so free to fix this in svn, so worker and OBS are now working again: - worker directory was missing a symlink for the hermes library - and hermes should be off by default in the config, if hermes server is not packaged with OBS by default I also adapted the .spec files in svn which now package the appropriate files for the specfile wizard and hermes. Martin --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Wednesday 04 June 2008 01:46:05 Martin Mohring wrote:
Martin Mohring wrote:
Hi,
the hermes notification system has been added to svn in the meantime. Currently, the old setup and start method for the OBS does not work anymore.
The srcserver gives a message in the logfile:
Notifying hermes at http://thebe.d-atasoft.com/hermes/index.cgi: <rm=notify, type=OBS_SRCSRV_START, dispatches=ARRAY(0x16f2350), maxchild=20, port=6362, setkeepalive=1> warning Hermes: connect to thebe.d-atasoft.com:80: Connection refused
2008-06-03 21:34:07: AJAX: bs_srcserver started 2008-06-03 21:34:08: bs_srcserver started on port 6362
Who wants to connect to port 80, and what should be there? How do I start that? Since the change to ssl, there is nothing on port 80 anymore... Not the frontend, not the backend, and the bs_srcserver and the bs_repserver never listend to port 80.
Also, the workers currently die silently.
What do I do wrong?
Nothing :)
I felt so free to fix this in svn, so worker and OBS are now working again: - worker directory was missing a symlink for the hermes library
Hm, I am not sure if the worker should talk to hermes at all. It will not be able to reach it in our current setup of opensuse.org at least.
- and hermes should be off by default in the config, if hermes server is not packaged with OBS by default I also adapted the .spec files in svn which now package the appropriate files for the specfile wizard and hermes.
k, thank you 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 Wednesday 04 June 2008 01:46:05 Martin Mohring wrote:
Martin Mohring wrote:
Hi,
the hermes notification system has been added to svn in the meantime. Currently, the old setup and start method for the OBS does not work anymore.
The srcserver gives a message in the logfile:
Notifying hermes at http://thebe.d-atasoft.com/hermes/index.cgi: <rm=notify, type=OBS_SRCSRV_START, dispatches=ARRAY(0x16f2350), maxchild=20, port=6362, setkeepalive=1> warning Hermes: connect to thebe.d-atasoft.com:80: Connection refused
2008-06-03 21:34:07: AJAX: bs_srcserver started 2008-06-03 21:34:08: bs_srcserver started on port 6362
Who wants to connect to port 80, and what should be there? How do I start that? Since the change to ssl, there is nothing on port 80 anymore... Not the frontend, not the backend, and the bs_srcserver and the bs_repserver never listend to port 80.
Also, the workers currently die silently.
What do I do wrong?
Nothing :)
I felt so free to fix this in svn, so worker and OBS are now working again: - worker directory was missing a symlink for the hermes library
Hm, I am not sure if the worker should talk to hermes at all. It will not be able to reach it in our current setup of opensuse.org at least.
I analysed the code. It calls the notification function, which calls the server only in case it is configured in BSConfig.pm. So I just switched it off in BSConfig.pm by commenting out the two variables that activate the notification to the webserver.
- and hermes should be off by default in the config, if hermes server is not packaged with OBS by default I also adapted the .spec files in svn which now package the appropriate files for the specfile wizard and hermes.
k, thank you
adrian
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Michael Schroeder wrote:
On Fri, May 30, 2008 at 10:14:26AM +0200, Michael Schroeder wrote:
On Fri, May 30, 2008 at 09:18:26AM +0200, Martin Mohring wrote:
i have seen "debtransform" changed in svn. I had fixed it some time ago, when it didnot work for workers, that do not have XEN, so i tried to understand it at that time (no full success). I tried now to use the new version in OBS, and for me it fails now again (for example openSUSE:Tools/build).
Is the new version not yet finished, or not tested with workers with no XEN?
I don't think XEN can be an issue at all.
Anyway, I saw the chdir() you added, but that breaks the opendir a couple of lines later if $dir is not an absolute path. Thus I hunted for the original bug and found a missing "$dir" when it applies the debtar file. I fixed that and tested it as good as I could, but it seemed like everything worked. Seems like I overlooked some other issue.
Argh, fixed it only in one place. Hopefully it works now.
Cheers, Michael
Michael, tested your fix here now also (after some struggle with the new hermes code which was put in in the middle). => debian now works fine so far. Tnx for the help. Martin --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Martin Mohring wrote:
Michael Schroeder wrote:
On Fri, May 30, 2008 at 10:14:26AM +0200, Michael Schroeder wrote:
On Fri, May 30, 2008 at 09:18:26AM +0200, Martin Mohring wrote:
i have seen "debtransform" changed in svn. I had fixed it some time ago, when it didnot work for workers, that do not have XEN, so i tried to understand it at that time (no full success). I tried now to use the new version in OBS, and for me it fails now again (for example openSUSE:Tools/build).
Is the new version not yet finished, or not tested with workers with no XEN?
I don't think XEN can be an issue at all.
Anyway, I saw the chdir() you added, but that breaks the opendir a couple of lines later if $dir is not an absolute path. Thus I hunted for the original bug and found a missing "$dir" when it applies the debtar file. I fixed that and tested it as good as I could, but it seemed like everything worked. Seems like I overlooked some other issue.
Argh, fixed it only in one place. Hopefully it works now. Yes, indeed. I have seen that it is also fixed downstream in factory. Great.
Cheers, Michael
Michael, tested your fix here now also (after some struggle with the new hermes code which was put in in the middle). => debian now works fine so far. Tnx for the help. Let run some tests during the night, including local build with osc build for debian/ubuntu targets. That worked also. Great.
Martin --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Wednesday 04 June 2008 08:41:16 Martin Mohring wrote:
Yes, indeed. I have seen that it is also fixed downstream in factory. Yes, it works now.
I will need to test the second system yet: Debtransform-Files-Tar: debian.tar.gz debian-control-xUbuntu_8.04.tar.gz I will keep you posted, -- Amilcar Lucas Webmaster The KDevelop project --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (6)
-
Adrian Schröter
-
Amilcar do Carmo Lucas
-
G. Massera
-
Martin Mohring
-
Michael Schroeder
-
Thomas Anders