upgrading lynx package -env not found

Dagobert Michelsen dam at opencsw.org
Wed May 13 08:56:05 CEST 2020


Hi,

Am 13.05.2020 um 08:23 schrieb cgrzemba--- via devel <devel at lists.opencsw.org>:
> 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.


Best regards

  — Dago

> 
> Am 13.05.20 01:20 schrieb Riccardo Mottola via devel <devel at lists.opencsw.org>:
>> Hi All!
>> 
>> long time no news from me... just got asked by someone to attempt an
>> update and add of certain packages.
>> 
>> First, lynx... I just tried to update the package version and issue
>> configure and get a strange error:
>> 
>> [===== NOW BUILDING: lynx2-8-9 MODULATION isa-sparcv8plus:
>> ISA=sparcv8plus =====]
>>         [extract-modulated] complete for lynx.
>>         [patch-modulated] complete for lynx.
>>  ==> Running configure in
>> work/solaris10-sparc/build-isa-sparcv8plus/lynx2-8-9
>> cd work/solaris10-sparc/build-isa-sparcv8plus/lynx2-8-9 && 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-9/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
>> /usr/bin/env: No such file or directory
>> 
>> Where is the issue? The configure command is run in the wrong place:
>> 
>> /home/rmottola/opencsw/lynx/trunk/work/solaris10-sparc/build-isa-sparcv8plus/lynx2-8-9/configure
>> 
>> 
>> Should be instead:
>> ls work/solaris10-sparc/build-isa-sparcv8plus/
>> lynx2-8-9       lynx2.8.9rel.1
>> 
>> there is a discrepancy between the two work dirs, only one should exist.
>> What is wrong?
>> 
>> Riccardo
>> 

-- 
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896



More information about the devel mailing list