Opened 15 years ago

Closed 15 years ago

#21882 closed defect (invalid)

slrn-devel @0.9.9pre-69 fails to build with slang2 on Snow Leopard

Reported by: barryjprice@… Owned by: sbranzo@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: slrn slang slang2 snowleopard Cc: clukas@…, ryandesign (Ryan Carsten Schmidt)
Port: slrn-devel

Description

After realising that slang1 does not support UTF8 display properly, I read that I needed to install slrn with the slang2 library.

I removed the slang library:

port uninstall slang

and installed the slang2 library:

port install slang2

Attempting to then reinstall slrn so as to build against the new library failed - the "slrn" port tried to bring in the regular slang library.

So I attempted to build slrn-devel instead, with slang2 already in place:

mbp:~ barry$ port list installed |grep slang
slang2                         @2.1.4          lang/slang2
mbp:~ barry$ port variants slrn-devel
slrn-devel has the variants:
(+)pull
(+)ssl
(-)universal: Build for multiple architectures

mbp:~ barry$ sudo port -d install slrn-devel
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/news/slrn-devel
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/news/slrn-devel
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.0.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: adding the default universal variant
DEBUG: Requested variant darwin is not provided by port slrn-devel.
DEBUG: Requested variant i386 is not provided by port slrn-devel.
DEBUG: Requested variant macosx is not provided by port slrn-devel.
DEBUG: Requested variant server is not provided by port slrn-devel.
DEBUG: Requested variant threads is not provided by port slrn-devel.
DEBUG: Requested variant imap is not provided by port slrn-devel.
DEBUG: Requested variant pop is not provided by port slrn-devel.
DEBUG: Executing variant pull provides pull
DEBUG: Executing variant ssl provides ssl
DEBUG: Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_news_slrn-devel/work /opt/local/var/macports/sources/rsync.macports.org/release/ports/news/slrn-devel/work
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/slang2
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: slang2 2.1.4_0 exists in the ports tree
DEBUG: slang2 2.1.4_0  is the latest installed
DEBUG: slang2 2.1.4_0  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/slang2
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.0.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Requested variant darwin is not provided by port slang2.
DEBUG: Requested variant i386 is not provided by port slang2.
DEBUG: Requested variant macosx is not provided by port slang2.
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: libiconv 1.13_0 exists in the ports tree
DEBUG: libiconv 1.13_0  is the latest installed
DEBUG: libiconv 1.13_0  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.0.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port libiconv.
DEBUG: Requested variant i386 is not provided by port libiconv.
DEBUG: Requested variant macosx is not provided by port libiconv.
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gperf
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: gperf 3.0.4_0 exists in the ports tree
DEBUG: gperf 3.0.4_0  is the latest installed
DEBUG: gperf 3.0.4_0  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gperf
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.0.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port gperf.
DEBUG: Requested variant i386 is not provided by port gperf.
DEBUG: Requested variant macosx is not provided by port gperf.
DEBUG: No need to upgrade! gperf 3.0.4_0 >= gperf 3.0.4_0
DEBUG: No need to upgrade! libiconv 1.13_0 >= libiconv 1.13_0
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/libpng
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: libpng 1.2.38_0 exists in the ports tree
DEBUG: libpng 1.2.38_0  is the latest installed
DEBUG: libpng 1.2.38_0  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/libpng
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.0.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port libpng.
DEBUG: Requested variant i386 is not provided by port libpng.
DEBUG: Requested variant macosx is not provided by port libpng.
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: zlib 1.2.3_3 exists in the ports tree
DEBUG: zlib 1.2.3_3  is the latest installed
DEBUG: zlib 1.2.3_3  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.0.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Requested variant darwin is not provided by port zlib.
DEBUG: Requested variant i386 is not provided by port zlib.
DEBUG: Requested variant macosx is not provided by port zlib.
DEBUG: No need to upgrade! zlib 1.2.3_3 >= zlib 1.2.3_3
DEBUG: No need to upgrade! libpng 1.2.38_0 >= libpng 1.2.38_0
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/pcre
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: pcre 7.9_0 exists in the ports tree
DEBUG: pcre 7.9_0  is the latest installed
DEBUG: pcre 7.9_0  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/pcre
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.0.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port pcre.
DEBUG: Requested variant i386 is not provided by port pcre.
DEBUG: Requested variant macosx is not provided by port pcre.
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/readline
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: readline 6.0.000_2 exists in the ports tree
DEBUG: readline 6.0.000_2 +darwin is the latest installed
DEBUG: readline 6.0.000_2 +darwin is active
DEBUG: Merging existing variants darwin into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/readline
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.0.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant i386 is not provided by port readline.
DEBUG: Requested variant macosx is not provided by port readline.
DEBUG: Executing variant darwin provides darwin
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: ncurses 5.7_0 exists in the ports tree
DEBUG: ncurses 5.7_0 +darwin_10 is the latest installed
DEBUG: ncurses 5.7_0 +darwin_10 is active
DEBUG: Merging existing variants darwin_10 into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.0.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port ncurses.
DEBUG: Requested variant i386 is not provided by port ncurses.
DEBUG: Requested variant macosx is not provided by port ncurses.
DEBUG: Executing variant darwin_10 provides darwin_10
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: ncursesw 5.7_0 exists in the ports tree
DEBUG: ncursesw 5.7_0 +darwin_10 is the latest installed
DEBUG: ncursesw 5.7_0 +darwin_10 is active
DEBUG: Merging existing variants darwin_10 into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.0.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port ncursesw.
DEBUG: Requested variant i386 is not provided by port ncursesw.
DEBUG: Requested variant macosx is not provided by port ncursesw.
DEBUG: Executing variant darwin_10 provides darwin_10
DEBUG: No need to upgrade! ncursesw 5.7_0 >= ncursesw 5.7_0
DEBUG: No need to upgrade! ncurses 5.7_0 >= ncurses 5.7_0
DEBUG: No need to upgrade! readline 6.0.000_2 >= readline 6.0.000_2
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/bzip2
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: bzip2 1.0.5_3 exists in the ports tree
DEBUG: bzip2 1.0.5_3 +darwin is the latest installed
DEBUG: bzip2 1.0.5_3 +darwin is active
DEBUG: Merging existing variants darwin into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/bzip2
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.0.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant i386 is not provided by port bzip2.
DEBUG: Requested variant macosx is not provided by port bzip2.
DEBUG: Executing variant darwin provides darwin
DEBUG: No need to upgrade! bzip2 1.0.5_3 >= bzip2 1.0.5_3
DEBUG: No need to upgrade! pcre 7.9_0 >= pcre 7.9_0
DEBUG: No need to upgrade! slang2 2.1.4_0 >= slang2 2.1.4_0
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/openssl
DEBUG: epoch: in tree: 1 installed: 1
DEBUG: openssl 0.9.8k_0 exists in the ports tree
DEBUG: openssl 0.9.8k_0 +darwin is the latest installed
DEBUG: openssl 0.9.8k_0 +darwin is active
DEBUG: Merging existing variants darwin into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/openssl
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.0.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant i386 is not provided by port openssl.
DEBUG: Requested variant macosx is not provided by port openssl.
DEBUG: Executing variant darwin provides darwin
DEBUG: No need to upgrade! openssl 0.9.8k_0 >= openssl 0.9.8k_0
--->  Computing dependencies for slrn-devel
DEBUG: Searching for dependency: slang2
DEBUG: Found Dependency: receipt exists for slang2
DEBUG: Searching for dependency: libiconv
DEBUG: Found Dependency: receipt exists for libiconv
DEBUG: Searching for dependency: openssl
DEBUG: Found Dependency: receipt exists for openssl
DEBUG: Executing org.macports.main (slrn-devel)
DEBUG: Skipping completed org.macports.fetch (slrn-devel)
DEBUG: Skipping completed org.macports.checksum (slrn-devel)
DEBUG: setting option extract.cmd to /usr/bin/bzip2
DEBUG: Skipping completed org.macports.extract (slrn-devel)
DEBUG: Skipping completed org.macports.patch (slrn-devel)
DEBUG: Skipping completed org.macports.configure (slrn-devel)
--->  Building slrn-devel
DEBUG: Executing org.macports.build (slrn-devel)
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_news_slrn-devel/work/slrn-0.9.9pre-69" && /usr/bin/make -j2 all'
cd src; /usr/bin/make all
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_news_slrn-devel/work/slrn-0.9.9pre-69/src/objs; /usr/bin/gcc-4.2 -c -O2 -arch x86_64  -Dunix -I/opt/local/include    -I/opt/local/include  -DSLRN_SLANG_DIR=\"/opt/local/share/slrn/slang\" -DSLRN_LIB_DIR=\"/opt/local/share/slrn\" -DSLRN_CONF_DIR=\"/opt/local/etc/slrn\" -DNLS_LOCALEDIR=\"/opt/local/share/locale\"  /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_news_slrn-devel/work/slrn-0.9.9pre-69/src/chkslang.c
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_news_slrn-devel/work/slrn-0.9.9pre-69/src/objs; /usr/bin/gcc-4.2 -c -O2 -arch x86_64  -Dunix -I/opt/local/include    -I/opt/local/include  -DSLRN_SLANG_DIR=\"/opt/local/share/slrn/slang\" -DSLRN_LIB_DIR=\"/opt/local/share/slrn\" -DSLRN_CONF_DIR=\"/opt/local/etc/slrn\" -DNLS_LOCALEDIR=\"/opt/local/share/locale\"  /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_news_slrn-devel/work/slrn-0.9.9pre-69/src/snprintf.c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_news_slrn-devel/work/slrn-0.9.9pre-69/src/snprintf.c: In function 'slrn_strdup_vprintf':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_news_slrn-devel/work/slrn-0.9.9pre-69/src/snprintf.c:106: error: incompatible types in assignment
make[1]: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_news_slrn-devel/work/slrn-0.9.9pre-69/src/objs/snprintf.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_news_slrn-devel/work/slrn-0.9.9pre-69" && /usr/bin/make -j2 all " returned error 2
Command output: cd src; /usr/bin/make all
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_news_slrn-devel/work/slrn-0.9.9pre-69/src/objs; /usr/bin/gcc-4.2 -c -O2 -arch x86_64  -Dunix -I/opt/local/include    -I/opt/local/include  -DSLRN_SLANG_DIR=\"/opt/local/share/slrn/slang\" -DSLRN_LIB_DIR=\"/opt/local/share/slrn\" -DSLRN_CONF_DIR=\"/opt/local/etc/slrn\" -DNLS_LOCALEDIR=\"/opt/local/share/locale\"  /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_news_slrn-devel/work/slrn-0.9.9pre-69/src/chkslang.c
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_news_slrn-devel/work/slrn-0.9.9pre-69/src/objs; /usr/bin/gcc-4.2 -c -O2 -arch x86_64  -Dunix -I/opt/local/include    -I/opt/local/include  -DSLRN_SLANG_DIR=\"/opt/local/share/slrn/slang\" -DSLRN_LIB_DIR=\"/opt/local/share/slrn\" -DSLRN_CONF_DIR=\"/opt/local/etc/slrn\" -DNLS_LOCALEDIR=\"/opt/local/share/locale\"  /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_news_slrn-devel/work/slrn-0.9.9pre-69/src/snprintf.c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_news_slrn-devel/work/slrn-0.9.9pre-69/src/snprintf.c: In function 'slrn_strdup_vprintf':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_news_slrn-devel/work/slrn-0.9.9pre-69/src/snprintf.c:106: error: incompatible types in assignment
make[1]: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_news_slrn-devel/work/slrn-0.9.9pre-69/src/objs/snprintf.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2

DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_news_slrn-devel/work/slrn-0.9.9pre-69" && /usr/bin/make -j2 all " returned error 2
Command output: cd src; /usr/bin/make all
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_news_slrn-devel/work/slrn-0.9.9pre-69/src/objs; /usr/bin/gcc-4.2 -c -O2 -arch x86_64  -Dunix -I/opt/local/include    -I/opt/local/include  -DSLRN_SLANG_DIR=\"/opt/local/share/slrn/slang\" -DSLRN_LIB_DIR=\"/opt/local/share/slrn\" -DSLRN_CONF_DIR=\"/opt/local/etc/slrn\" -DNLS_LOCALEDIR=\"/opt/local/share/locale\"  /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_news_slrn-devel/work/slrn-0.9.9pre-69/src/chkslang.c
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_news_slrn-devel/work/slrn-0.9.9pre-69/src/objs; /usr/bin/gcc-4.2 -c -O2 -arch x86_64  -Dunix -I/opt/local/include    -I/opt/local/include  -DSLRN_SLANG_DIR=\"/opt/local/share/slrn/slang\" -DSLRN_LIB_DIR=\"/opt/local/share/slrn\" -DSLRN_CONF_DIR=\"/opt/local/etc/slrn\" -DNLS_LOCALEDIR=\"/opt/local/share/locale\"  /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_news_slrn-devel/work/slrn-0.9.9pre-69/src/snprintf.c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_news_slrn-devel/work/slrn-0.9.9pre-69/src/snprintf.c: In function 'slrn_strdup_vprintf':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_news_slrn-devel/work/slrn-0.9.9pre-69/src/snprintf.c:106: error: incompatible types in assignment
make[1]: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_news_slrn-devel/work/slrn-0.9.9pre-69/src/objs/snprintf.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2

    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 9)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for slrn-devel): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.}}}

Change History (4)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Keywords: snowleopard added; slrn-devel snow leopard removed
Owner: changed from macports-tickets@… to sbranzo@…

comment:2 Changed 15 years ago by clukas@…

Cc: clukas@… added

Cc Me!

comment:3 Changed 15 years ago by wojciech.bancer@…

I was able to compile slrn-release version directly from slrn homepage, using macports slang2

http://www.slrn.org/download.html#release

$ wget ftp://space.mit.edu/pub/davis/slrn/slrn-0.9.9p1.tar.gz
$ tar xzvf slrn-0.9.9p1.tar.gz
$ cd slrn-0.9.9p1
$ ./configure --with-slang=/opt/local
$ make
$ sudo make install

This version compiled ok and seems to work fine after few mins of testing.

comment:4 in reply to:  description Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Resolution: invalid
Status: newclosed

Replying to barryjprice@…:

---> Computing dependencies for slrn-devel
DEBUG: Searching for dependency: slang2
DEBUG: Found Dependency: receipt exists for slang2
DEBUG: Searching for dependency: libiconv
DEBUG: Found Dependency: receipt exists for libiconv
DEBUG: Searching for dependency: openssl
DEBUG: Found Dependency: receipt exists for openssl
DEBUG: Executing org.macports.main (slrn-devel)
DEBUG: Skipping completed org.macports.fetch (slrn-devel)
DEBUG: Skipping completed org.macports.checksum (slrn-devel)
DEBUG: setting option extract.cmd to /usr/bin/bzip2
DEBUG: Skipping completed org.macports.extract (slrn-devel)
DEBUG: Skipping completed org.macports.patch (slrn-devel)
DEBUG: Skipping completed org.macports.configure (slrn-devel)
---> Building slrn-devel

After switching from slang to slang2, you needed to clean slrn-devel before attempting to build again.

Note that I just updated slrn to 0.9.9p1 so you may want to use that instead.

slrn and slrn-devel now unconditionally depend on slang2; using version 1 of slang is no longer possible.

Note: See TracTickets for help on using tickets.