<div style="font-family: Verdana; font-size: 12;"><div><div>I found the reason: the solaris taget mk has errors, and a misterious bug.</div><div><br></div><div>1. $(solaris_WORKDIR)/%/mailcap: $(solaris_SRCDIR)/prototype</div><div><br></div><div>there's an error here, mailcap should be prototype, the mailcap target is already defined before correctly. </div><div><br></div><div>2. $(solaris_WORKDIR)/%-desktop-integration.tar.gz: $(solaris_WORKDIR)/copyright $(solaris_WORKDIR)/pkginfo $(solaris_WORKDIR)/depend $(solaris_WORKDIR)/mailcap $(solaris_WORKDIR)/postinstall $(solaris_WORKDIR)/postremove $(solaris_WORKDIR)/prototype $(call gb_CustomTarget_get_workdir,sysui/share)/%/openoffice.org.xml</div><div><br></div><div>the code under this rule is never executed, probably because of the previous mispelling, but also because probably the openoffice.org.xml does not exists.</div><div>I tried removing the dependencies one by one, but misteriously the dependencies were executed, but the tar.gz code was never executed after.</div><div>By doing gmake --debug=v, I could see that gmake was taking into consideration the target of the</div><div>tar.gz, but at the end it was only saying "target done", without executing its code.</div><div><br></div><div style="font-family: 'Times New Roman'; font-size: medium;"><font face="Verdana"><span style="font-size: 12px;">The only way I could force execution of the code to build the tar.gz, was to take away all the dependencies, like this:</span></font><br><br><font face="Verdana"><span style="font-size: 12px;">$(solaris_WORKDIR)/%-desktop-integration.tar.gz:</span></font></div><div style="font-family: 'Times New Roman'; font-size: medium;"><font face="Verdana"><span style="font-size: 12px;"><div> pkgmk -l 1073741824 -r $(solaris_WORKDIR) -f $(solaris_WORKDIR)/$*/prototype -o -d $(solaris_WORKDIR) ARCH=all VERSION=$(PKGVERSION.$*)</div><div> $(GNUTAR) -cf - -C $(solaris_WORKDIR) $*$(LIBO_MAJOR) -desktop-int | gzip > $@</div><div><br></div><div>Also, pkgmk fails, something is missing, so I just commented it because I don't need old style packages.</div><div><br></div><div>If you need the patch files, I have them.</div><div><br></div><div>Gabriele.</div></span></font></div>
</div><br><hr><br><br><font face="Arial, Helvetica, sans-serif" size="2"><b>Da:</b> Gabriele Bulfon <gabriele.bulfon@sonicle.com><br><b>A:</b> libreoffice-dev <libreoffice@lists.freedesktop.org> <br><b>Data:</b> 16 luglio 2013 13.30.26 CEST<br><b>Oggetto:</b> sysui CustomTarget_solaris.mk not working<br></font><br><br><blockquote style="BORDER-LEFT: #000080 2px solid; MARGIN-LEFT: 5px; PADDING-LEFT: 5px"><font face="tahoma, arial, helvetica, sans-serif"><span style="font-size: 12px;">During install create phase, the sysui CustomaTarget_solaris.mk rule to create the desktop integration tar.gz</span></font><div><font face="tahoma, arial, helvetica, sans-serif"><span style="font-size: 12px;">is never invoked:</span></font><br><br><font face="tahoma, arial, helvetica, sans-serif"><span style="font-size: 12px;">$(solaris_WORKDIR)/%-desktop-integration.tar.gz: ..................</span></font></div><div><font face="tahoma, arial, helvetica, sans-serif"><span style="font-size: 12px;"><br></span></font></div><div><font face="tahoma, arial, helvetica, sans-serif"><span style="font-size: 12px;"><br></span></font></div><div><font face="tahoma, arial, helvetica, sans-serif"><span style="font-size: 12px;">So build fails when trying to cp this file later.</span></font></div><div><font face="tahoma, arial, helvetica, sans-serif"><span style="font-size: 12px;">I tried to debug the problem but I still cannot figure out why that rule is never invoked.</span></font></div><div><font face="tahoma, arial, helvetica, sans-serif"><span style="font-size: 12px;">Also, I cannot understand why the Module_sysui.mk always runs slackware even when not building for slackware:<br><br><div>$(eval $(call gb_Module_add_targets,sysui,\</div><div> CustomTarget_share \</div><div> CustomTarget_slackware \</div><div> Package_share \</div><div> Package_desktop \</div><div> $(if $(filter rpm,$(PKGFORMAT)),CustomTarget_rpm) \</div><div> $(if $(filter deb,$(PKGFORMAT)),CustomTarget_deb) \</div><div> $(if $(filter SOLARIS,$(OS)),CustomTarget_solaris) \</div><div>))</div><div><br></div><div>other targets are considered, while slackware is always built.</div><div><br></div><div>thanks for any help!</div><div>Gabriele.</div></span></font></div>
<pre>_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
</pre></blockquote></div>