Hi, Dagobert Michelsen via devel wrote: >> mostly the dowloaded archive has a special structure/namimg.? > It had in the past and this needs to be reverted: > > VERSION = 2.8.8 > REL = rel.2 > DISTFILES = $(NAME)$(VERSION)$(REL).tar.bz2 > DISTNAME = $(NAME)$(subst .,-,$(VERSION)) > > This more needs to be > > BASEVERSION = 2.8.9 > REL = 1 > VERSION = $(BASEVERSION).$(REL) > DISTNAME = $(NAME)$(BASEVERSION)rel.$(REL) > DISTFILES = $(DISTNAME).tar.bz2 > > It is always a bit hairy when the naming concept is non-standard.
yes, that "REL" part is tricky, I hate when filenames and directories are not consistent in packages :( Anyway, the above cleanup works... Now I get an even stranger error: [patch-modulated] complete for lynx. ==> Running configure in work/solaris10-sparc/build-isa-sparcv8plus/lynx2.8.9rel.1 cd work/solaris10-sparc/build-isa-sparcv8plus/lynx2.8.9rel.1 && mkdir -p . && cd . && /usr/bin/env -i HOME="/home/rmottola" PATH="/home/rmottola/opencsw/.buildsys/v2/gar/bin/sos12-wrappers:/home/rmottola/opencsw/lynx/trunk/work/solaris10-sparc/install-isa-sparcv8plus/opt/csw/bin:/home/rmottola/opencsw/lynx/trunk/work/solaris10-sparc/install-isa-sparcv8plus/opt/csw/bin:/home/rmottola/opencsw/lynx/trunk/work/solaris10-sparc/install-isa-sparcv8plus/opt/csw/sbin:/home/rmottola/opencsw/lynx/trunk/work/solaris10-sparc/install-isa-sparcv8plus/opt/csw/sbin:/opt/csw/bin:/opt/csw/bin:/opt/csw/sbin:/opt/csw/sbin:/opt/SUNWspro/bin:/home/rmottola/opencsw/.buildsys/v2/gar/bin:/usr/bin:/usr/sbin:/usr/java/bin:/usr/ccs/bin:/usr/openwin/bin" LC_ALL="C" prefix="/opt/csw" exec_prefix="/opt/csw" bindir="/opt/csw/bin" sbindir="/opt/csw/sbin" libexecdir="/opt/csw/libexec" datadir="/opt/csw/share" sysconfdir="/etc/opt/csw" sharedstatedir="/opt/csw/share" localstatedir="/var/opt/csw" libdir="/opt/csw/lib" infodir="/opt/csw/share/info" lispdir="/opt/csw/share/emacs/site-lisp" includedir="/opt/csw/include" mandir="/opt/csw/share/man" docdir="/opt/csw/share/doc" sourcedir="/opt/csw/src" CPPFLAGS="-I/opt/csw/include" CFLAGS="-xO3 -m32 -xarch=sparc" CXXFLAGS="-xO3 -m32 -xarch=sparc" LDFLAGS="-m32 -xarch=sparc -L/opt/csw/lib" FFLAGS="-xO3 -m32 -xarch=sparc" FCFLAGS="-xO3 -m32 -xarch=sparc" F77="/opt/SUNWspro/bin/f77" FC="/opt/SUNWspro/bin/f95" ASFLAGS="" OPTFLAGS="-xO3 -m32 -xarch=sparc" CC="/opt/SUNWspro/bin/cc" CXX="/opt/SUNWspro/bin/CC" CC_HOME="/opt/SUNWspro" CC_VERSION="Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11" CXX_VERSION="Sun C++ 5.9 SunOS_sparc Patch 124863-30 2012/07/11" GARCH="sparc" GAROSREL="5.10" GARPACKAGE="trunk" LD_OPTIONS="-R/opt/csw/lib/\$ISALIST -R/opt/csw/lib -M /home/rmottola/opencsw/.buildsys/v2/gar/lib/map.solaris10 -B direct -z ignore" PKG_CONFIG_PATH="/opt/csw/lib/pkgconfig" DESTDIR="/home/rmottola/opencsw/lynx/trunk/work/solaris10-sparc/install-isa-sparcv8plus" /home/rmottola/opencsw/lynx/trunk/work/solaris10-sparc/build-isa-sparcv8plus/lynx2.8.9rel.1/configure --prefix=/opt/csw --exec_prefix=/opt/csw --bindir=/opt/csw/bin --sbindir=/opt/csw/sbin --libexecdir=/opt/csw/libexec --datadir=/opt/csw/share --sysconfdir=/etc/opt/csw --sharedstatedir=/opt/csw/share --localstatedir=/var/opt/csw --libdir=/opt/csw/lib --infodir=/opt/csw/share/info --includedir=/opt/csw/include --mandir=/opt/csw/share/man --with-screen=ncurses --enable-default-colors --with-ssl --with-bzlib --with-zlib --disable-finger --disable-gopher --disable-news --enable-cgi-links --enable-exec-links --enable-exec-scripts checking build system type... sparc-sun-solaris2.10 checking host system type... sparc-sun-solaris2.10 checking target system type... sparc-sun-solaris2.10 Configuring for solaris2.10 checking for DESTDIR... /home/rmottola/opencsw/lynx/trunk/work/solaris10-sparc/build-isa-sparcv8plus/lynx2.8.9rel.1/configure: syntax error at line 1297: `(' unexpected [configure-modulated] complete for lynx. The configure script is found. DESTDIR looks fine for me: DESTDIR="/home/rmottola/opencsw/lynx/trunk/work/solaris10-sparc/install-isa-sparcv8plus" it does not exist yet, is that correct? Fear something changed in the configure script.. beyond my "knowledge" of scriptism: This is in 2.8.8: case ".$withval" in (.\$\(*\)*|.\'*\'*) ;; (..|./*|.\\*) ;; This was in 2.8.7: case ".$withval" in #(vi .\$\(*\)*|.\'*\'*) #(vi ;; ..|./*|.\\*) #(vi ;; I checked and all cases now start with ( and this in the whole configure script. Is this a "bashism" ? https://en.wikibooks.org/wiki/Bourne_Shell_Scripting/Control_flow#Test:_evaluating_conditions *case* /value/ *in* /pattern0/ *)* /command-list-0/ *;;* /pattern1/ *)* /command-list-1/ *;;* ... *esac* hmm... Riccardo