Discussion:
Possible patch for games/gnurobots but don't know what to do next.
(too old to reply)
Wes Frazier
2018-05-10 02:03:14 UTC
Permalink
Im less than a month in, with using FreeBSD.

games/gnurobots in the ports tree doesn't appear to behave as expected.
It builds and executes but doesn't actually correctly spawn the GNU
Guile interactive command prompt like it is supposed to.

I've been able to correct it, simply by changing how the port's Makefile
was tweaking the CFLAGS manually in the package's build system.

I have attached the patch. I however, do not know if this is the
best/correct way to fix this issue, nor do I know who to contact to get
a fix integrated into ports. (gnurobots is without maintainer.)

Advice appreciated.
Michael Sierchio
2018-05-10 15:05:04 UTC
Permalink
Why not start with the package and see if that doesn't suit your needs?

gnurobots-1.2.0_12 GNU diversion wherein Scheme-coded robots
explore a world
Post by Wes Frazier
Im less than a month in, with using FreeBSD.
games/gnurobots in the ports tree doesn't appear to behave as expected.
It builds and executes but doesn't actually correctly spawn the GNU
Guile interactive command prompt like it is supposed to.
I've been able to correct it, simply by changing how the port's Makefile
was tweaking the CFLAGS manually in the package's build system.
I have attached the patch. I however, do not know if this is the
best/correct way to fix this issue, nor do I know who to contact to get
a fix integrated into ports. (gnurobots is without maintainer.)
Advice appreciated.
_______________________________________________
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-
--
"Well," Brahma said, "even after ten thousand explanations, a fool is no
wiser, but an intelligent person requires only two thousand five hundred."

- The Mahābhārata
Wes Frazier
2018-05-10 15:58:28 UTC
Permalink
Maybe I didn't explain myself fully. The binary package doesn't behave
as expected. Something about the default CFLAGS it is being built with,
has an unexpected result, and the interactive Guile command prompt never
loads.

You can see this yourself. If you execute the current binary package you
get a black area where a guile interpreter prompt should be, but there
is none. Expected behavior is to be greeted by "guile>" (Screenshot of
both behaviors attached.)

Thats why I started investigating rebuilding it to begin with.
Rebuilding it with different CFLAGS corrects the issue.

Though reading more FreeBSD documentation this shouldn't be patched in
the FreeBSD ports makefile like I have done. Though im not sure what the
propper fix is, to exclude a specific port from a global CFLAG.

- Wes
Post by Michael Sierchio
Why not start with the package and see if that doesn't suit your needs?
gnurobots-1.2.0_12 GNU diversion wherein Scheme-coded robots
explore a world
Post by Wes Frazier
Im less than a month in, with using FreeBSD.
games/gnurobots in the ports tree doesn't appear to behave as expected.
It builds and executes but doesn't actually correctly spawn the GNU
Guile interactive command prompt like it is supposed to.
I've been able to correct it, simply by changing how the port's Makefile
was tweaking the CFLAGS manually in the package's build system.
I have attached the patch. I however, do not know if this is the
best/correct way to fix this issue, nor do I know who to contact to get
a fix integrated into ports. (gnurobots is without maintainer.)
Advice appreciated.
_______________________________________________
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-
--
---
This email is digitally signed with GnuPG.
Please consider using GnuPG too to protect this
conversation from passive corporate surveillance.

https://emailselfdefense.fsf.org
Michael Sierchio
2018-05-10 16:58:16 UTC
Permalink
Ah, okay. Send a message to the maintainer of the port.
Post by Wes Frazier
Maybe I didn't explain myself fully. The binary package doesn't behave
as expected. Something about the default CFLAGS it is being built with,
has an unexpected result, and the interactive Guile command prompt never
loads.
You can see this yourself. If you execute the current binary package you
get a black area where a guile interpreter prompt should be, but there
is none. Expected behavior is to be greeted by "guile>" (Screenshot of
both behaviors attached.)
Thats why I started investigating rebuilding it to begin with.
Rebuilding it with different CFLAGS corrects the issue.
Though reading more FreeBSD documentation this shouldn't be patched in
the FreeBSD ports makefile like I have done. Though im not sure what the
propper fix is, to exclude a specific port from a global CFLAG.
- Wes
Post by Michael Sierchio
Why not start with the package and see if that doesn't suit your needs?
gnurobots-1.2.0_12 GNU diversion wherein Scheme-coded robots
explore a world
Post by Wes Frazier
Im less than a month in, with using FreeBSD.
games/gnurobots in the ports tree doesn't appear to behave as expected.
It builds and executes but doesn't actually correctly spawn the GNU
Guile interactive command prompt like it is supposed to.
I've been able to correct it, simply by changing how the port's Makefile
was tweaking the CFLAGS manually in the package's build system.
I have attached the patch. I however, do not know if this is the
best/correct way to fix this issue, nor do I know who to contact to get
a fix integrated into ports. (gnurobots is without maintainer.)
Advice appreciated.
_______________________________________________
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-
--
---
This email is digitally signed with GnuPG.
Please consider using GnuPG too to protect this
conversation from passive corporate surveillance.
https://emailselfdefense.fsf.org
--
"Well," Brahma said, "even after ten thousand explanations, a fool is no
wiser, but an intelligent person requires only two thousand five hundred."

- The Mahābhārata
Wes Frazier
2018-05-10 18:42:25 UTC
Permalink
As I tried to indicate in my first message the port has no current
maintainer. Though I suspect the fix is small, as it does build and run
correctly with tweaked cflags.

- Wes
Post by Michael Sierchio
Ah, okay. Send a message to the maintainer of the port.
Post by Wes Frazier
Maybe I didn't explain myself fully. The binary package doesn't behave
as expected. Something about the default CFLAGS it is being built with,
has an unexpected result, and the interactive Guile command prompt never
loads.
You can see this yourself. If you execute the current binary package you
get a black area where a guile interpreter prompt should be, but there
is none. Expected behavior is to be greeted by "guile>" (Screenshot of
both behaviors attached.)
Thats why I started investigating rebuilding it to begin with.
Rebuilding it with different CFLAGS corrects the issue.
Though reading more FreeBSD documentation this shouldn't be patched in
the FreeBSD ports makefile like I have done. Though im not sure what the
propper fix is, to exclude a specific port from a global CFLAG.
- Wes
Post by Michael Sierchio
Why not start with the package and see if that doesn't suit your needs?
gnurobots-1.2.0_12 GNU diversion wherein Scheme-coded robots
explore a world
Post by Wes Frazier
Im less than a month in, with using FreeBSD.
games/gnurobots in the ports tree doesn't appear to behave as expected.
It builds and executes but doesn't actually correctly spawn the GNU
Guile interactive command prompt like it is supposed to.
I've been able to correct it, simply by changing how the port's Makefile
was tweaking the CFLAGS manually in the package's build system.
I have attached the patch. I however, do not know if this is the
best/correct way to fix this issue, nor do I know who to contact to get
a fix integrated into ports. (gnurobots is without maintainer.)
Advice appreciated.
_______________________________________________
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-
--
---
This email is digitally signed with GnuPG.
Please consider using GnuPG too to protect this
conversation from passive corporate surveillance.
https://emailselfdefense.fsf.org
Wes Frazier
2018-05-10 20:22:31 UTC
Permalink
I've submitted what I suspect is a better patch to the ports bugzilla.
Hopefully that will do it.

- Wes
Post by Wes Frazier
As I tried to indicate in my first message the port has no current
maintainer. Though I suspect the fix is small, as it does build and run
correctly with tweaked cflags.
- Wes
Post by Michael Sierchio
Ah, okay. Send a message to the maintainer of the port.
Post by Wes Frazier
Maybe I didn't explain myself fully. The binary package doesn't behave
as expected. Something about the default CFLAGS it is being built with,
has an unexpected result, and the interactive Guile command prompt never
loads.
You can see this yourself. If you execute the current binary package you
get a black area where a guile interpreter prompt should be, but there
is none. Expected behavior is to be greeted by "guile>" (Screenshot of
both behaviors attached.)
Thats why I started investigating rebuilding it to begin with.
Rebuilding it with different CFLAGS corrects the issue.
Though reading more FreeBSD documentation this shouldn't be patched in
the FreeBSD ports makefile like I have done. Though im not sure what the
propper fix is, to exclude a specific port from a global CFLAG.
- Wes
Post by Michael Sierchio
Why not start with the package and see if that doesn't suit your needs?
gnurobots-1.2.0_12 GNU diversion wherein Scheme-coded robots
explore a world
Post by Wes Frazier
Im less than a month in, with using FreeBSD.
games/gnurobots in the ports tree doesn't appear to behave as expected.
It builds and executes but doesn't actually correctly spawn the GNU
Guile interactive command prompt like it is supposed to.
I've been able to correct it, simply by changing how the port's Makefile
was tweaking the CFLAGS manually in the package's build system.
I have attached the patch. I however, do not know if this is the
best/correct way to fix this issue, nor do I know who to contact to get
a fix integrated into ports. (gnurobots is without maintainer.)
Advice appreciated.
_______________________________________________
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-
--
---
This email is digitally signed with GnuPG.
Please consider using GnuPG too to protect this
conversation from passive corporate surveillance.
https://emailselfdefense.fsf.org
_______________________________________________
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
Loading...