Björn Gohla <[email protected]> writes:

> Omar Polo writes:
>
>> Omar Polo <[email protected]> writes:
>>
>>> Björn Gohla <[email protected]> writes:
>>>
>>>> Hi All,
>>>>
>>>> Is there any particular reason why we don't have a Guile 3
>>>> (https://www.gnu.org/software/guile/) port?
>>>>
>>>> (I might secretly try making one.)
>>>
>>> I tried some time ago, because I was curious about the language.  You
>>> can find attached my attempt: I'm not familiar with the guile ports, and
>>> definitely not familiar with the language (i played only a little with
>>> it) but maybe it can saves you some time.  (I just copied the guile2 and
>>> changed the version number and the package name).
>>>
>>> Surprisingly, it passes port-lib-depends-check and portcheck O.O
>>>
>>> Cheers,
>>>
>>> Omar Polo
>>
>> mail sent too fast.  The tarball included also some CVS directories,
>> here's the cleaned up version.  Sorry for the noise
>
> Nice. Thanks. I was able to build the package. The only problem
> seems to be that the names of the info manual files overlap with those
> of guile2, i.e., I get this when I try to install:
>
> titanic# TRUSTED_PKG_PATH=/usr/ports/packages/amd64/all/ pkg_add guile3

Just a note: maybe you already know, but you can simply `make install'
from the port directory and it'll use pkg_add to install the package for
you.

> Collision in guile3-3.0.4: the following files already exist
>         /usr/local/info/guile.info (guile2-2.2.7 and guile3-3.0.4)
>         /usr/local/info/guile.info-1 (guile2-2.2.7 and guile3-3.0.4)
>         /usr/local/info/guile.info-10 (guile2-2.2.7 and guile3-3.0.4)
>         /usr/local/info/guile.info-2 (guile2-2.2.7 and guile3-3.0.4)
>         /usr/local/info/guile.info-3 (guile2-2.2.7 and guile3-3.0.4)
>         /usr/local/info/guile.info-4 (guile2-2.2.7 and guile3-3.0.4)
>         /usr/local/info/guile.info-5 (guile2-2.2.7 and guile3-3.0.4)
>         /usr/local/info/guile.info-6 (guile2-2.2.7 and guile3-3.0.4)
>         /usr/local/info/guile.info-7 (guile2-2.2.7 and guile3-3.0.4)
>         /usr/local/info/guile.info-8 (guile2-2.2.7 and guile3-3.0.4)
>         /usr/local/info/guile.info-9 (guile2-2.2.7 and guile3-3.0.4)
>         /usr/local/info/r5rs.info (guile2-2.2.7 and guile3-3.0.4)
> Couldn't install guile3-3.0.4
>
> Is there a recommended way for solving this conflict? (Other than
> disabling the info docs entirely.) 

What lang/guile does to be compatible with lang/guile2 is

     rm -rf ${PREFIX}/info

so maybe we should do the same on lang/guile2 and provide info only for
guile3?  Don't know.  (side note: I've seen a package for guile3 in the AUR
repository which installs the info page in ${PREFIX}/info/guile3/.  That
could be an option but would break info, I don't particularly like it)

In the meantime, here's an improved tarball.  I've updated to 3.0.5 and
cleaned a bit the Makefile and also tried to run the tests: don't know
how the situation is on guile/guile2, but I've got 2 of 38 tests failed
and 1 not run.

Attachment: guile3.tar.gz
Description: Binary data

Reply via email to