GCC version of the GNAT Ada compiler
Responsible Changed From-To: freebsd-ports-bugs->bsam Take.
Hi Karel, great work and not an easy one! Thanks for contributting. Currently I see 5 issues at the port. The two of them may be solved as of PR/99993. Here are the remaining: 1. The port installs MAN7 files with the same name as lang/gnat-gcc34 does: fsf-funding.7, gfdl.7, gpl.7. 2. The port overwrites the file /usr/local/libdata/ldconfig/gnat-gcc which is installed by lang/gnat-gcc34 while builded to bootstrap the current port. 3. The distinfo file seems to be overloaded. WBR -- bsam
State Changed From-To: open->feedback Awaiting for a feedback.
Boris B. Samorodov wrote: > Currently I see 5 issues at the port. The two of them may be solved > as of PR/99993. Here are the remaining: > > 1. The port installs MAN7 files with the same name as lang/gnat-gcc34 > does: fsf-funding.7, gfdl.7, gpl.7. > > 2. The port overwrites the file /usr/local/libdata/ldconfig/gnat-gcc > which is installed by lang/gnat-gcc34 while builded to bootstrap > the current port. > > 3. The distinfo file seems to be overloaded. All the issues are resolved in this version, please take a look.
All the issues are resolved in this version, please take a look.
On Thu, 31 Aug 2006 17:34:02 +0200 Karel Miklav wrote: > Boris B. Samorodov wrote: > > Currently I see 5 issues at the port. The two of them may be solved > > as of PR/99993. Here are the remaining: > > > > 1. The port installs MAN7 files with the same name as lang/gnat-gcc34 > > does: fsf-funding.7, gfdl.7, gpl.7. > > > > 2. The port overwrites the file /usr/local/libdata/ldconfig/gnat-gcc > > which is installed by lang/gnat-gcc34 while builded to bootstrap > > the current port. > > > > 3. The distinfo file seems to be overloaded. > All the issues are resolved in this version, please take a look. That's great! I'm just curious, why did you remove gcc-testsuite from gnat-gcc34 but leave it for gnat-gcc41? And just one issue. It happens only when "make install" but not when "pkg_add": ----- # Version FSF funding and licensing manuals. for mp in fsf-funding gfdl gpl; do /bin/mv -f /usr/local/man/man7/${mp}.7 /usr/local/man/man7/${mp}-gnat-gcc41.7; done ----- That leads to move existing manuals (installed at least for gnat-gcc34). Hence those files are missing when deletting gnat-gcc34. May be you can try to first rename them and only then install? Generally, it's not The Right Thing to do any manipulations with files at PREFIX. All such things should be done at WRKSRC. Other than that is OK. The port is almost ready for a commit, thanks! WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve
Boris Samorodov wrote: > I'm just curious, why did you remove gcc-testsuite from gnat-gcc34 > but leave it for gnat-gcc41? I just wanted to make a clean bootstrap compiler and succesfully building GCC 4.1 and 4.2 is good enough test for me. I did not remove the suite either, it's a separate file just like fortran or java. And seeing test results for GNAT in GCC 3.4 would not make you happy I guess :) > And just one issue. It happens only when "make install" but not when > "pkg_add": ----- # Version FSF funding and licensing manuals. for mp > in fsf-funding gfdl gpl; do /bin/mv -f /usr/local/man/man7/${mp}.7 /usr/local/man/man7/${mp}-gnat-gcc41.7; done > ----- > > That leads to move existing manuals (installed at least for > gnat-gcc34). Hence those files are missing when deletting gnat-gcc34. > May be you can try to first rename them and only then install? > > Generally, it's not The Right Thing to do any manipulations with > files at PREFIX. All such things should be done at WRKSRC. Agreed, however GCC ports where I learned things do just that so I hope this is not a showstopper. I've posted a patch for gnat-gcc34 regarding this issue before but forgot to CC to you. Please check it out (http://www.freebsd.org/cgi/query-pr.cgi?pr=102727) and let me know if solving the problem this way would be acceptable. -- Regards, Karel
On Thu, 31 Aug 2006 21:01:24 +0200 Karel Miklav wrote: > Boris Samorodov wrote: > > And just one issue. It happens only when "make install" but not when > > "pkg_add": ----- # Version FSF funding and licensing manuals. for mp > > in fsf-funding gfdl gpl; do /bin/mv -f > /usr/local/man/man7/${mp}.7 /usr/local/man/man7/${mp}-gnat-gcc41.7; done > > ----- > > > > That leads to move existing manuals (installed at least for > > gnat-gcc34). Hence those files are missing when deletting > > gnat-gcc34. > > May be you can try to first rename them and only then install? > > > > Generally, it's not The Right Thing to do any manipulations with > > files at PREFIX. All such things should be done at WRKSRC. > Agreed, however GCC ports where I learned things do just that so > I hope this is not a showstopper. I've posted a patch for gnat-gcc34 > regarding this issue before but forgot to CC to you. Please check it > out (http://www.freebsd.org/cgi/query-pr.cgi?pr=102727) and let me OK, I took it but I'll take a look at it tomorrow. > know if solving the problem this way would be acceptable. The port building/testing will be OK now. Nevertheless, I think that it will be good to rewrite this part in the future. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve
State Changed From-To: feedback->closed Committed, thanks! Since PR/101809 is only a cosmetic change to bsd.ports.mk and there souldn't be errors at pointyhat when building the port for 4.x, the BROKEN message was removed as well.
I note that the original version of this PR had support for an amd64 build. Currently, only Debian Linux appears to have a working amd64. Any chance of getting a working FreeBSD amd64 GNAT? I'd be glad to help. jmc