bugGNUstep - Bugs: bug #25247, gnustep-base takes ages to compile...

Group
 
 

bug #25247: gnustep-base takes ages to compile on i386 buildds

Submitter:  Markus Hitter <hitterm>
Submitted:  Sun 04 Jan 2009 06:53:59 PM UTC
   
 
Category:  Base/Foundation Severity:  3 - Normal
Item Group:  Installation Status:  Invalid
Privacy:  Public Assigned to:  None
Open/Closed:  Declined
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 16 Feb 2010 08:48:07 PM UTC, comment #5: 


>make -C Documentation
>could give a command line option to autogsdoc to tell it where to look for DTDs


Changed that in svn trunk ... should allow documentation to be built before base library is installed ... in case someone else tries using base without installing it.

Richard Frith-Macdonald <CaS>
Group Member
Mon 05 Jan 2009 04:09:49 AM UTC, comment #4: 

its because they're building the documentation before installation with this line

LD_LIBRARY_PATH=/build/buildd/gnustep-base-1.16.1/Source/obj:$LD_LIBRARY_PATH \
  gs_make -C Documentation messages=yes

so i suppose this could be deemed invalid,
or make -C Documentation
could give a command line option to autogsdoc to tell it where to look for DTDs or something

matt rice <ratmice>
Group Member
Sun 04 Jan 2009 09:54:47 PM UTC, comment #3: 

It shouldn't be doing a network lookup at all ... the local copy of the DTD should be retrieved, so it looks like something is messing up the configure/build so that it's not doing the correct lookup.

Richard Frith-Macdonald <CaS>
Group Member
Sun 04 Jan 2009 09:09:04 PM UTC, comment #2: 

um, if you look at the build logs from the link

e.g. http://launchpadlibrarian.net/15846995/buildlog_ubuntu-intrepid-i386.gnustep-base_1.16.1-2ubuntu1_FULLYBUILT.txt.gz

2008-07-05 09:38:22.569 autogsdoc[7689] Defaults path '/root/GNUstep/Defaults' does not exist - failed to create it.
2008-07-05 09:38:31.569 autogsdoc[7689] Unable to connect to 81.201.178.155:80 via socket ... Connect attempt failed - Connection timed out
2008-07-05 09:38:31.570 autogsdoc[7689] don't know how to load entity 'http://www.gnustep.org/gsdoc-1_0_1.xml' id '-//GNUstep//DTD gsdoc 1.0.1//EN'
ReleaseNotes.gsdoc:8: validity error : Validation failed: no DTD found !

<snip>

2008-07-05 21:52:25.196 autogsdoc[13762] Defaults path '/root/GNUstep/Defaults' does not exist - failed to create it.
2008-07-05 21:52:44.986 autogsdoc[13762] Unable to connect to 81.201.178.155:80 via socket ... Connect attempt failed - Connection timed out
2008-07-05 21:52:44.986 autogsdoc[13762] don't know how to load entity 'http://www.gnustep.org/gsdoc-1_0_3.xml' id '-//GNUstep//DTD gsdoc 1.0.3//EN'
../Documentation/BaseTools/ToolsTOC.gsdoc:3: validity error : Validation failed: no DTD found !


this accounts for most of the 12 hours...
the reason this doesn't happen with other architectures appears to be that during the x86 build it builds the documentation which is platform independent, so the other platforms don't run into this.

it appears the ubuntu build system disallows
a) creating stuff outside of the build directory
b) network connections from the build environment

which is ok IMHO...

the irony in all of this is the url http://www.gnustep.org/gsdoc-1_0_3.xml leads to a 404 not found...

matt rice <ratmice>
Group Member
Sun 04 Jan 2009 08:19:49 PM UTC, comment #1: 

I think Ubuntu's bug tracker is where this bug should stay ... there's nothing to suggest that this is a gnustep bug (it looks like a problem with the ubuntu build system) and it is also very out of date ... 6 months ago, so even if there's some bad interaction between the ubuntu build system and gnustep-base, it's an old release of gnustep-base.
Even if the problem is real on the current gnustep-base release (ie the build is reproducibly slow), this would require ubuntu people to look at why their build environment was so slow (eg compiler issues), though we would of course help if they can provide anything concrete to look at.

Richard Frith-Macdonald <CaS>
Group Member
Sun 04 Jan 2009 06:53:59 PM UTC, original submission:  

This bug is forwarded from Ubuntu's bug tracker:

https://bugs.launchpad.net/ubuntu/+source/gnustep-base/+bug/245981

- - - snip - - -
In order to compile gnustep-base on i386, Ubuntu buildds need about 12 hours, while other ports only take five minutes.

See these build log status for further reference:
https://launchpad.net/ubuntu/+source/gnustep-base/1.16.1-2ubuntu1/+build/661253 (i386)
https://launchpad.net/ubuntu/+source/gnustep-base/1.16.1-2ubuntu1/+build/661251 (amd64)
https://launchpad.net/ubuntu/+source/gnustep-base/1.14.1-8ubuntu1/+build/614242 (i386)
https://launchpad.net/ubuntu/+source/gnustep-base/1.14.1-8ubuntu1/+build/614240 (amd64)
- - - snip - - -

Markus Hitter <hitterm>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ratmice (Posted a comment)
  • -email is unavailable- added by CaS (Posted a comment)
  • -email is unavailable- added by hitterm (Submitted the item)
  • -email is unavailable- added by hitterm
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-01-04 CaS StatusNone Invalid
        Open/ClosedOpen Declined
    2009-01-04 hitterm Carbon-Copy- Added hitterm

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code