Public bug reported:

Hi,

Run time programs compiled with fort77 on xUbuntu 18.04 are failing for
me on multiple amd64 machines, and I see others complaining on the
forums but no bug filed yet.

It seems to compile programs ok but when you run them anything written
to stdout or stderr seems to end up in /dev/null. I suspect reading from
stdin is also broken. This makes the package pretty much unusable.

I tried the same version of fort77 (1.15-11) on Debian Stretch and all
is working as expected there, so it's specific to Ubuntu. Also tested in
Ubuntu 16.04 and it works there. I'd note that 18.04 uses a newer
version of f2c than 16.04 and Debian Stretch; perhaps the trouble is
there?

On a hunch I tried exporting LANG=C as I'm usually in en_NZ.UTF-8, but
no luck.


see also someone else's report at 
  https://askubuntu.com/questions/1074077/fort77-isnt-working


<code>
      program hello_world
      implicit none
c
      character*32 text
c
      text = 'Hello World'
      write (*,*) text
      write (6,*) 'hello stdout'
      write (0,*) 'hello stderr'
c
      end
</code>


thanks,
Hamish

** Affects: fort77 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1821845

Title:
  fort77: no output to stdout or stderr

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fort77/+bug/1821845/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to