Re: Unable to build XV

2022-09-19 Thread Ryan Schmidt
On Sep 18, 2022, at 18:37, Dave Horsfall wrote:
> 
>:info:build xvjp2k.c:77:5: error: redefinition of 'jas_getdbglevel'
>:info:build int jas_getdbglevel(void) {return 0;}
>:info:build ^
>:info:build /opt/local/include/jasper/jas_debug.h:123:5: note: previous 
> definition is here
>:info:build int jas_getdbglevel(void)
>:info:build ^
>:info:build 1 error generated.
>:info:build make: *** [xvjp2k.o] Error 1
> 
> Anyone else seeing this before I lodge a bug report?

Yes absolutely please file bug reports in the issue tracker when there isn't 
already one. In this case, one has already been filed by now:

https://trac.macports.org/ticket/65864



Re: Cannot build DOSBOX

2022-09-19 Thread Ryan Schmidt
On Sep 18, 2022, at 23:39, Dave Horsfall wrote:

>--->  Computing dependencies for dosbox
>Error: Cannot install dosbox for the arch 'i386' because
>Error: its dependency libsdl does not build for the required arch by 
> default
>Error: and the configured universal_archs '' are not sufficient.
> 
> macports.conf:
> 
># Space-delimited list of CPU architectures to target when building
># universal. Defaults to "i386 ppc" on Mac OS X 10.5 and earlier,
># "x86_64 i386" on Mac OS X 10.6 through macOS 10.13, "x86_64" on
># macOS 10.14 and 10.15 (these SDKs are not universal), and
># "arm64 x86_64" on macOS 11 and later. Set an empty value to disable
># universal building.
>#universal_archsx86_64 i386
>universal_archs
> 
> Should I hardwire it to those?  I ain't likely to use PPC etc.

dosbox is only available for 32-bit (i386).

On your OS version, software builds 64-bit (x86_64) by default.

Therefore, anything that is 32-bit only and has dependencies must install those 
dependencies universal (32-bit and 64-bit) on your system.

You have disabled universal building by setting universal_archs to empty, 
therefore you cannot install dosbox.

If you want to allow universal builds, remove the line "universal_archs" from 
macports.conf to let the default value (x86_64 i386 on your system) take effect.

The compilers in Xcode on your OS version cannot compile for ppc so including 
ppc in universal_archs won't work.




Re: Cannot build DOSBOX

2022-09-19 Thread Chris Jones



> On 19 Sep 2022, at 5:40 am, Dave Horsfall  wrote:
> 
> Sigh; it never rains but it pours...
> 
> Trying to build DOSBOX I get:
> 
>--->  Computing dependencies for dosbox
>Error: Cannot install dosbox for the arch 'i386' because
>Error: its dependency libsdl does not build for the required arch by 
> default
>Error: and the configured universal_archs '' are not sufficient.
> 
> macports.conf:
> 
># Space-delimited list of CPU architectures to target when building
># universal. Defaults to "i386 ppc" on Mac OS X 10.5 and earlier,
># "x86_64 i386" on Mac OS X 10.6 through macOS 10.13, "x86_64" on
># macOS 10.14 and 10.15 (these SDKs are not universal), and
># "arm64 x86_64" on macOS 11 and later. Set an empty value to disable
># universal building.
>#universal_archsx86_64 i386
>universal_archs
> 
> Should I hardwire it to those?  I ain't likely to use PPC etc.

By default macports.conf does not explicitly set universal_archs at all, so you 
must have manually adding that setting yourself at some point. Presumably you 
cannot remember why ? If not, i suggest just removing it and thus go back to 
using the default settings.
> 
> I vaguely remember seeing the same thing with WINE and was going to
> report it.
> 
> -- Dave


Re: Unable to build XV

2022-09-19 Thread Chris Jones



> On 19 Sep 2022, at 4:21 am, Bill Cole 
>  wrote:
> 
> On 2022-09-18 at 21:33:32 UTC-0400 (Mon, 19 Sep 2022 11:33:32 +1000 (EST))
> Dave Horsfall 
> is rumored to have said:
> 
>> And because XV is broken I can't continue with upgrading following ports
> 
> You can get around that by explicitly excluding xv, e.g.:
> 
> port -v upgrade active and not xv

Thats not advisable, as xv needs to be rebuilt. For now, as I previously posted 
deactivating jasper before updating xv is the best option.

> 
> 
> 
> -- 
> Bill Cole
> b...@scconsult.com or billc...@apache.org
> (AKA @grumpybozo and many *@billmail.scconsult.com addresses)
> Not Currently Available For Hire