Issue to build gnu-smalltalk-2.3.6

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue to build gnu-smalltalk-2.3.6

Jochen Schmitt
Hello,

when I try to build gnu-smalltalk-2.3.6 on the buildserver, I will get
the following
error message:

cpio: snprintfv/snprintfv/printf.in: Cannot stat: No such file or directory
cpio: snprintfv/snprintfv/stream.in: Cannot stat: No such file or directory
4587 blocks
+ /usr/lib/rpm/check-buildroot
Binary file /var/tmp/gnu-smalltalk-2.3.6-root-kojibuilder/usr/lib/gnu-smalltalk/gst.im matches
Found '/var/tmp/gnu-smalltalk-2.3.6-root-kojibuilder' in installed files; aborting
error: Bad exit status from /var/tmp/rpm-tmp.84985 (%install)

the whole build log you may find at:

http://koji.fedoraproject.org/koji/getfile?taskID=150407&name=build.log

I may be happy for any hint to solve this issue.

Best Regards:

Jochen Schmitt





_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Issue to build gnu-smalltalk-2.3.6

Paolo Bonzini

> Binary file /var/tmp/gnu-smalltalk-2.3.6-root-kojibuilder/usr/lib/gnu-smalltalk/gst.im matches
> Found '/var/tmp/gnu-smalltalk-2.3.6-root-kojibuilder' in installed files; aborting
> error: Bad exit status from /var/tmp/rpm-tmp.84985 (%install)

Hmm, some string falling through the cracks.  I need to find a way to
add this check in `make distcheck'.

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Issue to build gnu-smalltalk-2.3.6

Paolo Bonzini-2
In reply to this post by Jochen Schmitt
In the meanwhile here is an easy fix involving lazy initialization.

Paolo

--- orig/kernel/VFS.st
+++ mod/kernel/VFS.st
@@ -231,10 +231,7 @@ update: aspect
      filesystems specified by the subclasses upon image load."
 
     (aspect == #returnFromSnapshot or: [ aspect == #finishedSnapshot ]) ifTrue: [
- Registry := LookupTable new.
- self allSubclassesDo: [ :each |
-    each fileSystems do: [ :fs | self register: fs forClass: each ]
- ]
+ Registry := nil.
     ].
     (aspect == #aboutToQuit or: [ aspect == #aboutToSnapshot ]) ifTrue: [
  self allSubclassesDo: [ :each | each release ].
@@ -264,6 +261,12 @@ vfsFor: fileName name: fsName subPath: s
     "Create an instance of a subclass of the receiver, implementing the virtual
      file `subPath' inside the `fileName' archive.  fsName is the virtual
      filesystem name and is used to determine the subclass to be instantiated."
+    Registry isNil ifTrue: [
+        Registry := LookupTable new.
+ self allSubclassesDo: [ :each |
+    each fileSystems do: [ :fs | self register: fs forClass: each ]
+ ]
+    ].
     ^(Registry at: fsName)
  vfsFor: fileName name: fsName subPath: subPath!
 

_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Issue to build gnu-smalltalk-2.3.6

Paolo Bonzini-2
Paolo Bonzini wrote:
> In the meanwhile here is an easy fix involving lazy initialization.

Here is the same fix for devo.

Paolo

* looking for [hidden email]--2004b/smalltalk--devo--2.2--patch-551 to compare with
* comparing to [hidden email]--2004b/smalltalk--devo--2.2--patch-551
M  ChangeLog
M  kernel/PkgLoader.st
M  scripts/Finish.st

* modified files

--- orig/ChangeLog
+++ mod/ChangeLog
@@ -1,3 +1,9 @@
+2007-09-08  Paolo Bonzini  <[hidden email]>
+
+ * kernel/PkgLoader.st: Avoid refreshing the list if filing in no
+ package.
+ * scripts/Finish.st: Clear ExecutableFileName before saving.
+
 2007-09-05  Paolo Bonzini  <[hidden email]>
 
  * kernel/ArrayColl.st: Guard #join:separatedBy: for empty separator.


--- orig/kernel/PkgLoader.st
+++ mod/kernel/PkgLoader.st
@@ -1232,6 +1232,8 @@ fileInPackage: package
 fileInPackages: packagesList
     "File in all the packages in packagesList into GNU Smalltalk."
     | toBeLoaded |
+    packagesList isEmpty ifTrue: [ ^self ].
+
     self refresh.
     toBeLoaded := root
  extractDependenciesFor: packagesList


--- orig/scripts/Finish.st
+++ mod/scripts/Finish.st
@@ -53,6 +53,7 @@ oldKernelBasePath = newKernelBasePath if
 ImageFileName := 'gst.im'.
 ImageFilePath := newImagePath.
 KernelFilePath := newKernelBasePath, '/kernel'.
+ExecutableFileName := nil.
 UserFileBasePath := nil!
 
 PackageLoader flush!




_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Issue to build gnu-smalltalk-2.3.6

Ildar Mulyukov
In reply to this post by Jochen Schmitt
On 07.09.2007 02:07:51, Jochen Schmitt wrote:

> Hello,
>
> when I try to build gnu-smalltalk-2.3.6 on the buildserver, I will
> get
> the following
> error message:
>
> cpio: snprintfv/snprintfv/printf.in: Cannot stat: No such file or
> directory
> cpio: snprintfv/snprintfv/stream.in: Cannot stat: No such file or
> directory
> 4587 blocks
> + /usr/lib/rpm/check-buildroot
> Binary file /var/tmp/gnu-smalltalk-2.3.6-root-kojibuilder/usr/lib/
> gnu-smalltalk/gst.im
> matches
> Found '/var/tmp/gnu-smalltalk-2.3.6-root-kojibuilder' in installed
> files; aborting
> error: Bad exit status from /var/tmp/rpm-tmp.84985 (%install)
>
> the whole build log you may find at:
>
> http://koji.fedoraproject.org/koji/getfile?
> taskID=150407&name=build.log
>
> I may be happy for any hint to solve this issue.

Probably a rpm problem. Why building 2.3.6? 2.9x is more actual, as far
as I understand.

--
Ildar  Mulyukov,
  free SW designer/programmer
================================================
email: [hidden email]
projects: http://os-development.sourceforge.net/
home: http://tuganger.narod.ru/
ALT Linux Sisyphus
================================================


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Issue to build gnu-smalltalk-2.3.6

Paolo Bonzini-2

> Probably a rpm problem. Why building 2.3.6? 2.9x is more actual, as far
> as I understand.

Jochen is the maintainer of the GNU Smalltalk RPM package for Fedora. :-)

Paolo



_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk