• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Trying to build the first beta of 4.1 and runs into this problem.

All goes well until the very end.

I can see in the temp dir that all the zips are created for plugins. All the ,v files are generated. The TWiki.zip and tgz are created. Then before the TWiki.tgz and TWiki.zip get copied to the build twiki tree these error messages are written and the entire temp dir deleted.

Checking in /tmp/6183/data/Main/UserListByLocation.txt
Checking in /tmp/6183/data/Main/WebTopicList.txt
Checking in /tmp/6183/data/Main/WebNotify.txt
nochange to /tmp/6183/data/Main/TWikiGuestSideBar.txt
md5sum: TWiki_installer: No such file or directoryk...l.....a/kupu...mages....upuimages...
Failed to md5sum TWiki.tgz TWiki_installer TWiki.zip > /var/www/Build04x01/TWiki.md5: 256 at /var/www/Build04x01/twikiplugins/BuildContrib/lib/TWiki/Contrib/Build.pm line 660.
 at /var/www/Build04x01/twikiplugins/BuildContrib/lib/TWiki/Contrib/Build.pm line 176
        TWiki::Contrib::Build::__ANON__('Failed to md5sum TWiki.tgz TWiki_installer TWiki.zip > /var/w...') called at /var/www/Build04x01/twikiplugins/BuildContrib/lib/TWiki/Contrib/Build.pm line 660
        TWiki::Contrib::Build::sys_action('TWikiBuild=HASH(0x9b4645c)', 'md5sum TWiki.tgz TWiki_installer TWiki.zip > /var/www/Build04...') called at /var/www/Build04x01/twikiplugins/BuildContrib/lib/TWiki/Contrib/Build.pm line 911
        TWiki::Contrib::Build::target_archive('TWikiBuild=HASH(0x9b4645c)') called at /var/www/Build04x01/twikiplugins/BuildContrib/lib/TWiki/Contrib/Build.pm line 1376
        TWiki::Contrib::Build::build('TWikiBuild=HASH(0x9b4645c)', 'archive') called at /var/www/Build04x01/twikiplugins/BuildContrib/lib/TWiki/Contrib/Build.pm line 844
        TWiki::Contrib::Build::target_release('TWikiBuild=HASH(0x9b4645c)') called at /var/www/Build04x01/twikiplugins/BuildContrib/lib/TWiki/Contrib/Build.pm line 1376
        TWiki::Contrib::Build::build('TWikiBuild=HASH(0x9b4645c)', 'release') called at build.pl line 246

So no beta still. I cannot yet overview what goes wrong here. The error message "TWiki_installer: No such file or directoryk...l.....a/kupu...mages....upuimages..." is not very useful.

-- KJL

I started investigating the build contrib.

It seems it has been extended to also create an installer for plugins. But this installer is not relevant when you build TWiki itself so it fails.

I tried to comment out the code related to the installer in sub target_archive. That makes the build script finish and copy zip and tgz to the build directory. BUT the zip/tgz is not correct. It contains all the zips of the plugins.

It seems to me that those that have updated the BuildContrib recently have forgotten to test it with building TWiki. It has only been tested with plugins.

So it still needs a lot of work. And I guess the beta release will have to wait another few days.

-- KJL

I have known about the zip inclusion for some time, just haven't had a chance to fix it, sorry, and no-one raised a report before now. It's fixed. I do not test the release build as part of Build Contrib development, but if you can identify problems in the contrib I will endeavour to fix them.

Note that the installer script is not specific to plugins. It should be able to check the dependencies for a TWiki release, same as it does for the plugins/contribs.

State changed to Waiting for Feedback subject to another test run from Kenneth.

CC

Still does not work

md5sum: TWiki_installer: No such file or directoryk...l.....a/kupu...mages....upuimages...
Failed to md5sum TWiki.tgz TWiki_installer TWiki.zip > TWiki.md5: 256 at /var/www/Build04x01/twikiplugins/BuildContrib/lib/TWiki/Contrib/Build.pm line 660.
 at /var/www/Build04x01/twikiplugins/BuildContrib/lib/TWiki/Contrib/Build.pm line 176
        TWiki::Contrib::Build::__ANON__('Failed to md5sum TWiki.tgz TWiki_installer TWiki.zip > TWiki....') called at /var/www/Build04x01/twikiplugins/BuildContrib/lib/TWiki/Contrib/Build.pm line 660
        TWiki::Contrib::Build::sys_action('TWikiBuild=HASH(0x8f3ebc4)', 'md5sum TWiki.tgz TWiki_installer TWiki.zip > TWiki.md5') called at /var/www/Build04x01/twikiplugins/BuildContrib/lib/TWiki/Contrib/Build.pm line 922
        TWiki::Contrib::Build::target_archive('TWikiBuild=HASH(0x8f3ebc4)') called at /var/www/Build04x01/twikiplugins/BuildContrib/lib/TWiki/Contrib/Build.pm line 1380
        TWiki::Contrib::Build::build('TWikiBuild=HASH(0x8f3ebc4)', 'archive') called at /var/www/Build04x01/twikiplugins/BuildContrib/lib/TWiki/Contrib/Build.pm line 844
        TWiki::Contrib::Build::target_release('TWikiBuild=HASH(0x8f3ebc4)') called at /var/www/Build04x01/twikiplugins/BuildContrib/lib/TWiki/Contrib/Build.pm line 1380
        TWiki::Contrib::Build::build('TWikiBuild=HASH(0x8f3ebc4)', 'release') called at build.pl line 246

Did you test this yourself? Seems like the code still tries to make an md5 of an installer which is not there when you build TWiki and not a plugin.

-- KJL

I assumed that it had failed when I reported the above. But the build script has actually saved the zip and tgz this time. And without zips below.

So we are 99.9% there. Just need to remove the ugly error message above. Lowering this part to Normal.

I need now to test the zip/tgz made also.

-- KJL

As you can see from later bug items there are plenty of errors when running a TWiki built from the build script. See Item3113 among others.

Keeping this bug item open just for the error message related to the installer which is not there.

-- KJL

SVN 12078 closed this one.

KJL

ItemTemplate
Summary build cannot build 4.1
ReportedBy TWiki:Main.KennethLavrsen
Codebase ~twiki4
SVN Range TWiki-4.1, Sun, 05 Nov 2006, build 11901
AppliesTo Engine
Component BuildScripts
Priority Normal
CurrentState Closed
WaitingFor

Checkins 11913
TargetRelease n/a
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r6 - 2006-11-28 - KennethLavrsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback