[bug] Issue with building gst in parallel.

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

[bug] Issue with building gst in parallel.

Jason Shoemaker
Issue status update for
http://smalltalk.gnu.org/node/126
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/126

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Build
 Category:     bug reports
 Priority:     normal
 Assigned to:  Unassigned
 Reported by:  kutsuya
 Updated by:   kutsuya
 Status:       active

How to duplicate:

$ ./configure
$ make -j2
...
make[3]: Leaving directory
`/var/tmp/portage/dev-lang/gnu-smalltalk-2.95f/work/smalltalk-2.95f/packages/blox/tk'
./gst-tool gst-package
--kernel-dir="/var/tmp/portage/dev-lang/gnu-smalltalk-2.95f/work/smalltalk-2.95f/kernel"
-I
"/var/tmp/portage/dev-lang/gnu-smalltalk-2.95f/work/smalltalk-2.95f/gst.im"
--srcdir=. --target-directory=. packages/blox/tk/package.xml
/bin/sh: ./gst-tool: No such file or directory
make[2]: *** [BloxTK.star] Error 127
...

Discovered this while trying to create an ebuild for Gentoo. It usually
builds with -j2 or higher.  Building with -j1 avoids the problem.




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

Re: [bug] Issue with building gst in parallel.

Paolo Bonzini
Issue status update for
http://smalltalk.gnu.org/project/issue/126
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/126

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Build
 Category:     bug reports
 Priority:     normal
-Assigned to:  Unassigned
+Assigned to:  bonzinip
 Reported by:  kutsuya
 Updated by:   bonzinip
-Status:       active
+Status:       fixed
 Attachment:   http://smalltalk.gnu.org/files/issues/gst-make-j2.patch (1.16 KB)

Thanks, I fixed it with the attached patch.




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

Re: [bug] Issue with building gst in parallel.

Jason Shoemaker
In reply to this post by Jason Shoemaker
Issue status update for
http://smalltalk.gnu.org/project/issue/126
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/126

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Build
 Category:     bug reports
 Priority:     normal
 Assigned to:  bonzinip
 Reported by:  kutsuya
 Updated by:   kutsuya
-Status:       fixed
+Status:       active

Thanks for the quick response.

I applied the patches, and I'm now getting these two errors:

...
Wrote
/var/tmp/portage/dev-lang/gnu-smalltalk-2.95f/work/smalltalk-2.95f/elc.22019/gst-mode.elc
Wrote
/var/tmp/portage/dev-lang/gnu-smalltalk-2.95f/work/smalltalk-2.95f/elc.22019/smalltalk-mode.elc
./gst-tool gst-package
--kernel-dir="/var/tmp/portage/dev-lang/gnu-smalltalk-2.95f/work/smalltalk-2.95f/kernel"
-I
"/var/tmp/portage/dev-lang/gnu-smalltalk-2.95f/work/smalltalk-2.95f/gst.im"
--srcdir=. --target-directory=. packages/browser/package.xml
gst: Couldn't open image file
/var/tmp/portage/dev-lang/gnu-smalltalk-2.95f/work/smalltalk-2.95f/gst.im
make[2]: *** [Browser.star] Error 1
make[2]: *** Waiting for unfinished jobs....
generating symbol list for `blox-tk.la'
...
creating blox-tk.la
(cd .libs && rm -f blox-tk.la && ln -s ../blox-tk.la blox-tk.la)
make[3]: Leaving directory
`/var/tmp/portage/dev-lang/gnu-smalltalk-2.95f/work/smalltalk-2.95f/packages/blox/tk'
./gst-tool gst-package
--kernel-dir="/var/tmp/portage/dev-lang/gnu-smalltalk-2.95f/work/smalltalk-2.95f/kernel"
-I
"/var/tmp/portage/dev-lang/gnu-smalltalk-2.95f/work/smalltalk-2.95f/gst.im"
--srcdir=. --target-directory=. packages/blox/tk/package.xml
gst: Couldn't open image file
/var/tmp/portage/dev-lang/gnu-smalltalk-2.95f/work/smalltalk-2.95f/gst.im
make[2]: *** [BloxTK.star] Error 1

So gst-tool seems to be working, but gst.im is missing.




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

Re: [bug] Issue with building gst in parallel.

Paolo Bonzini
In reply to this post by Jason Shoemaker
Issue status update for
http://smalltalk.gnu.org/project/issue/126
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/126

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Build
 Category:     bug reports
 Priority:     normal
 Assigned to:  bonzinip
 Reported by:  kutsuya
 Updated by:   bonzinip
 Status:       active

Can you try modifying yourself the GST_PKG_DEPENDENCIES invocation in
configure.ac?




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

Re: [bug] Issue with building gst in parallel.

Jason Shoemaker
In reply to this post by Jason Shoemaker
Issue status update for
http://smalltalk.gnu.org/project/issue/126
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/126

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Build
 Category:     bug reports
 Priority:     normal
 Assigned to:  bonzinip
 Reported by:  kutsuya
 Updated by:   kutsuya
 Status:       active

Yes, I already tried +GST_PACKAGE_DEPENDENCIES([gst-tool], [gst.im]),
but it made no difference. Not sure if that is correct though.




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

Re: [bug] Issue with building gst in parallel.

Paolo Bonzini
In reply to this post by Jason Shoemaker
Issue status update for
http://smalltalk.gnu.org/project/issue/126
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/126

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Build
 Category:     bug reports
 Priority:     normal
 Assigned to:  bonzinip
 Reported by:  kutsuya
 Updated by:   bonzinip
 Status:       active

The right one is

GST_PACKAGE_DEPENDENCIES([gst-tool gst.im])

Thanks!




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

Re: [bug] Issue with building gst in parallel.

Paolo Bonzini
In reply to this post by Jason Shoemaker
Issue status update for
http://smalltalk.gnu.org/project/issue/126
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/126

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Build
 Category:     bug reports
 Priority:     normal
 Assigned to:  bonzinip
 Reported by:  kutsuya
 Updated by:   bonzinip
 Status:       active

I committed the change, it should work now.




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

Re: [bug] Issue with building gst in parallel.

Paolo Bonzini
In reply to this post by Jason Shoemaker
Issue status update for
http://smalltalk.gnu.org/project/issue/126
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/126

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Build
 Category:     bug reports
 Priority:     normal
 Assigned to:  bonzinip
 Reported by:  kutsuya
 Updated by:   bonzinip
-Status:       active
+Status:       fixed

I committed the change, it should work now.




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