Port-mips archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc build error for g95



On Wed, Apr 6, 2011 at 4:49 AM, Izumi Tsutsui 
<tsutsui%ceres.dti.ne.jp@localhost> wrote:
>> So after this I did make clean clean-depends, then make extract, and
>> applied your patch. I also removed the above CFLAGS from my
>> /etc/mk.conf file. Then I did make package and it failed. I have
>> attached a typescript file. The failure is different this time, this
>> is the last part:
>
> It looks you might have some leftover CFLAGS settings:
>>> checking whether the C compiler (gcc -O2 -march=mips3 -mabi=32 \
>>> -DIN_GCC -Wall -Wmissing-prototypes ) works... yes
>
> Clean all files and environments?

You were correct.

I removed the mips CFLAGS options from /etc/mk.conf, and also logged
out and back in to clear my environment variables. Then I did this:

root@taz:/usr/pkgsrc/lang/g95 # make extract && patch < patch && make package

This finished with success:

===> Building binary package for g95-0.92
=> Creating binary package /usr/pkgsrc/packages/All/g95-0.92.tgz

Thanks again Izumi.

Maybe we should submit this patch as a fix to the PR? I could try to
tell the person that maintains the libf95 package as well.

Thanks,

Andy


Home | Main Index | Thread Index | Old Index