pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/41018: libfool bug?
>Number: 41018
>Category: pkg
>Synopsis: can't install sysutils/hal - libtool bug?
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Mar 15 09:10:01 +0000 2009
>Originator: Martin Husemann
>Release: NetBSD 5.99.8
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD nelly.aprisoft.de 5.99.8 NetBSD 5.99.8 (NELLY.MP) #45: Thu Mar
12 14:54:39 CET 2009
martin%emmas.aprisoft.de@localhost:/nelly/usr/src/sys/arch/sparc64/compile/NELLY.MP
sparc64
Architecture: sparc64
Machine: sparc64
>Description:
Trying to install sysutils/hal fails with:
/bin/sh ../libtool --mode=install /usr/bin/install -c -s -o root -g wheel
-m 555 'hal-find-by-capability' '/usr/pkg/bin/hal-find-by-capability'
/usr/bin/install -c -o root -g wheel -m 555 -s .libs/hal-find-by-capability
/usr/pkg/bin/hal-find-by-capability
/bin/sh ../libtool --mode=install /usr/bin/install -c -s -o root -g wheel
-m 555 'hal-find-by-property' '/usr/pkg/bin/hal-find-by-property'
./hal-find-by-property: 87: Syntax error: "then" unexpected (expecting "fi")
gmake[4]: *** [install-binPROGRAMS] Error 1
gmake[4]: Leaving directory `/usr/pkgobj/sysutils/hal/work/hal-0.5.11/tools'
...
Checking .work.log and manually doing the last libtool invocation with sh -x
says:
+ 'SED=/usr/bin/sed'
+ 'Xsed=/usr/bin/sed -e 1s/^X//'
+ 'available_tags= CXX F77'
+ 'SHELL=/bin/sh'
+ 'build_libtool_libs=yes'
+ 'build_old_libs=yes'
+ 'build_libtool_need_lc=no'
+ 'allow_libtool_libs_with_static_runtimes=no'
+ 'fast_install=needless'
+ 'host_alias=sparc64--netbsd'
+ 'host=sparc64--netbsd'
+ 'host_os=netbsd'
+ 'build_alias='
+ 'build=sparc64-unknown-netbsd5.99.7'
+ 'build_os=netbsd5.99.7'
+ 'echo=echo'
+ 'AR=ar'
+ 'AR_FLAGS=cru'
+ 'LTCC=cc'
+ 'LTCFLAGS=-O2 -pipe -I/usr/include'
+ 'CC=cc'
+ 'with_gcc=yes'
+ 'EGREP=/usr/bin/egrep'
+ 'LD=ld'
+ 'LN_S=ln -s'
+ 'NM=nm'
+ 'STRIP=strip'
+ 'MAGIC_CMD=file'
+ 'DLLTOOL=dlltool'
+ 'OBJDUMP=objdump'
+ 'AS=as'
+ 'objdir=.libs'
+ 'reload_flag= -r'
+ 'reload_cmds=$LD$reload_flag -o $output$reload_objs'
+ 'wl=-Wl,'
+ 'objext=o'
+ 'libext=a'
+ 'shrext_cmds=.so'
+ 'exeext='
+ 'pic_flag= -fPIC -DPIC'
+ 'pic_mode=default'
+ 'max_cmd_len=262144'
+ 'compiler_c_o=yes'
+ 'need_locks=no'
+ 'need_lib_prefix=no'
+ 'need_version=no'
+ 'dlopen_support=yes'
+ 'dlopen_self=yes'
+ 'dlopen_self_static=no'
+ 'link_static_flag=-static'
+ 'no_builtin_flag= -fno-builtin'
+ 'export_dynamic_flag_spec=${wl}--export-dynamic'
+ 'whole_archive_flag_spec=${wl}--whole-archive$convenience
${wl}--no-whole-archive'
+ 'thread_safe_flag_spec='
+ 'version_type=linux'
+ 'libname_spec=lib$name'
+ 'library_names_spec=${libname}${release}${shared_ext}$versuffix
${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+ 'soname_spec=${libname}${release}${shared_ext}$major'
+ 'RANLIB=ranlib'
+ 'old_archive_cmds=$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $oldlib'
+ 'old_postinstall_cmds=chmod 644 $oldlib~$RANLIB $oldlib'
+ 'old_postuninstall_cmds='
+ 'old_archive_from_new_cmds='
+ 'old_archive_from_expsyms_cmds='
+ 'archive_cmds=$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname
$wl$soname -o $lib'
+ 'archive_expsym_cmds=$CC -shared $libobjs $deplibs $compiler_flags
${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ 'postinstall_cmds='
+ 'postuninstall_cmds='
+ 'module_cmds='
+ 'module_expsym_cmds='
+ 'old_striplib=strip --strip-debug'
+ 'striplib=strip --strip-unneeded'
+ 'predep_objects='
+ 'postdep_objects='
+ 'predeps='
+ 'postdeps='
+ 'compiler_lib_search_dirs='
+ 'compiler_lib_search_path='
+ 'deplibs_check_method=match_pattern /lib[^/]+(\.so|_pic\.a)$'
+ 'file_magic_cmd=$MAGIC_CMD'
+ 'allow_undefined_flag='
+ 'no_undefined_flag='
+ 'finish_cmds='
+ 'finish_eval='
+ 'global_symbol_pipe=sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[
][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'''
+ 'global_symbol_to_cdecl=sed -n -e '\''s/^. .* \(.*\)$/extern int \1;/p'\'''
+ 'global_symbol_to_c_name_address=sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\",
(lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/ {"\2", (lt_ptr)
\&\2},/p'\'''
+ 'runpath_var=LD_RUN_PATH'
+ 'shlibpath_var=LD_LIBRARY_PATH'
+ 'shlibpath_overrides_runpath=yes'
+ 'hardcode_action=immediate'
+ 'hardcode_into_libs=yes'
+ 'hardcode_libdir_flag_spec=${wl}--rpath ${wl}$libdir'
+ 'hardcode_libdir_flag_spec_ld='
+ 'hardcode_libdir_separator='
+ 'hardcode_direct=no'
+ 'hardcode_minus_L=no'
+ 'hardcode_shlibpath_var=unsupported'
+ 'hardcode_automatic=no'
+ 'variables_saved_for_relink=PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX
COMPILER_PATH LIBRARY_PATH'
+ 'link_all_deplibs=unknown'
+ 'sys_lib_search_path_spec=/usr/lib'
+ 'sys_lib_dlsearch_path_spec=/lib /usr/lib'
+ 'fix_srcfile_path='
+ 'always_export_symbols=no'
+ 'export_symbols_cmds=$NM $libobjs $convenience | $global_symbol_pipe | $SED
'\''s/.* //'\'' | sort | uniq > $export_symbols'
+ 'extract_expsyms_cmds='
+ 'exclude_expsyms=_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
+ 'include_expsyms='
+ 'basename=s,^.*/,,g'
+ 'progpath=/usr/pkg/bin/libtool'
+ echo '/usr/pkg/bin/libtool'
+ '/usr/bin/sed' 's,^.*/,,g'
+ 'progname=libtool'
+ 'modename=libtool'
+ 'EXIT_SUCCESS=0'
+ 'EXIT_FAILURE=1'
+ 'PROGRAM=ltmain.sh'
+ 'PACKAGE=libtool'
+ 'VERSION=1.5.26'
+ 'TIMESTAMP= (1.1220.2.492 2008/01/30 06:40:56)'
+ test '-n' ''
+ 'BIN_SH=xpg4'
+ export 'BIN_SH'
+ 'DUALCASE=1'
+ export DUALCASE
+ test 'X--mode=install' '=' 'X--no-reexec'
+ test 'X--mode=install' '=' 'X--fallback-echo'
+ test 'X\t' '=' 'X\t'
+ ':'
+ test 'X--mode=install' '=' 'X--fallback-echo'
+ 'default_mode='
+ 'help=Try `libtool --help'\'' for more information.'
+ 'magic=%%%MAGIC variable%%%'
+ 'mkdir=mkdir'
+ 'mv=mv -f'
+ 'rm=rm -f'
+ 'Xsed=/usr/bin/sed -e 1s/^X//'
+ 'sed_quote_subst=s/\([\\`\\"$\\\\]\)/\\\1/g'
+ + tr X '\101'
echo X
+ 'SP2NL=tr \040 \012'
+ 'NL2SP=tr \015\012 \040\040'
+ 'lt_env='
+ eval 'if test "${LANG+set}" = set; then
save_LANG=$LANG
lt_env="LANG=$LANG $lt_env"
LANG=C
export LANG
fi'
+ test '' '=' set
+ eval 'if test "${LANGUAGE+set}" = set; then
save_LANGUAGE=$LANGUAGE
lt_env="LANGUAGE=$LANGUAGE $lt_env"
LANGUAGE=C
export LANGUAGE
fi'
+ test '' '=' set
+ eval 'if test "${LC_ALL+set}" = set; then
save_LC_ALL=$LC_ALL
lt_env="LC_ALL=$LC_ALL $lt_env"
LC_ALL=C
export LC_ALL
fi'
+ test '' '=' set
+ eval 'if test "${LC_CTYPE+set}" = set; then
save_LC_CTYPE=$LC_CTYPE
lt_env="LC_CTYPE=$LC_CTYPE $lt_env"
LC_CTYPE=C
export LC_CTYPE
fi'
+ test set '=' set
+ 'save_LC_CTYPE=de_DE.ISO8859-15'
+ 'lt_env=LC_CTYPE=de_DE.ISO8859-15 '
+ 'LC_CTYPE=C'
+ export 'LC_CTYPE'
+ eval 'if test "${LC_COLLATE+set}" = set; then
save_LC_COLLATE=$LC_COLLATE
lt_env="LC_COLLATE=$LC_COLLATE $lt_env"
LC_COLLATE=C
export LC_COLLATE
fi'
+ test '' '=' set
+ eval 'if test "${LC_MESSAGES+set}" = set; then
save_LC_MESSAGES=$LC_MESSAGES
lt_env="LC_MESSAGES=$LC_MESSAGES $lt_env"
LC_MESSAGES=C
export LC_MESSAGES
fi'
+ test '' '=' set
+ test '-n' 'LC_CTYPE=de_DE.ISO8859-15 '
+ 'lt_env=env LC_CTYPE=de_DE.ISO8859-15 '
+ 'lt_nl=
'
+ 'IFS=
'
+ test yes '!=' yes
+ 'mode='
+ 'nonopt='
+ 'prev='
+ 'prevopt='
+ 'run='
+ 'show=echo'
+ 'show_help='
+ 'execute_dlfiles='
+ 'duplicate_deps=no'
+ 'preserve_args='
+ 'lo2o=s/\.lo$/.o/'
+ 'o2lo=s/\.o$/.lo/'
+ 'extracted_archives='
+ 'extracted_serial=0'
+ eval 'std_shrext=".so"'
+ 'std_shrext=.so'
+ 'disable_libs=no'
+ test 12 '-gt' 0
+ 'arg=--mode=install'
+ shift
+ echo 'X--mode=install'
+ '/usr/bin/sed' '-e' '1s/^X//' '-e' 's/[-_a-zA-Z0-9]*=//'
+ 'optarg=install'
+ test '-n' ''
+ 'mode=install'
+ test 11 '-gt' 0
+ 'arg=/usr/bin/install'
+ shift
+ 'optarg='
+ test '-n' ''
+ 'nonopt=/usr/bin/install'
+ break
+ test '-n' ''
+ 'exec_cmd='
+ test '-z' ''
+ test '-z' install
+ test '-n' ''
+ 'generic_help=Try `libtool --help'\'' for more information.'
+ 'help=Try `libtool --help --mode=install'\'' for more information.'
+ 'modename=libtool: install'
+ test '/usr/bin/install' '=' '/bin/sh'
+ test '/usr/bin/install' '=' '/bin/sh'
+ echo 'X/usr/bin/install'
+ grep shtool
+ 'install_prog='
+ 'arg=/usr/bin/install'
+ echo 'X/usr/bin/install'
+ '/usr/bin/sed' '-e' '1s/^X//' '-e' 's/\([\\`\\"$\\\\]\)/\\\1/g'
+ 'arg=/usr/bin/install'
+ 'install_prog=/usr/bin/install'
+ 'dest='
+ 'files='
+ 'opts='
+ 'prev='
+ 'install_type='
+ 'isdir=no'
+ 'stripme='
+ test '-n' ''
+ echo 'X-c'
+ '/usr/bin/sed' '-e' '1s/^X//' '-e' 's/\([\\`\\"$\\\\]\)/\\\1/g'
+ 'arg=-c'
+ 'install_prog=/usr/bin/install -c'
+ test '-n' ''
+ 'stripme= -s'
+ continue
+ test '-n' ''
+ 'prev=-o'
+ echo 'X-o'
+ '/usr/bin/sed' '-e' '1s/^X//' '-e' 's/\([\\`\\"$\\\\]\)/\\\1/g'
+ 'arg=-o'
+ 'install_prog=/usr/bin/install -c -o'
+ test '-n' ''
+ test '-n' '-o'
+ 'prev='
+ echo Xroot
+ '/usr/bin/sed' '-e' '1s/^X//' '-e' 's/\([\\`\\"$\\\\]\)/\\\1/g'
+ 'arg=root'
+ 'install_prog=/usr/bin/install -c -o root'
+ test '-n' ''
+ 'prev=-g'
+ echo 'X-g'
+ '/usr/bin/sed' '-e' '1s/^X//' '-e' 's/\([\\`\\"$\\\\]\)/\\\1/g'
+ 'arg=-g'
+ 'install_prog=/usr/bin/install -c -o root -g'
+ test '-n' ''
+ test '-n' '-g'
+ 'prev='
+ echo Xwheel
+ '/usr/bin/sed' '-e' '1s/^X//' '-e' 's/\([\\`\\"$\\\\]\)/\\\1/g'
+ 'arg=wheel'
+ 'install_prog=/usr/bin/install -c -o root -g wheel'
+ test '-n' ''
+ 'prev=-m'
+ echo 'X-m'
+ '/usr/bin/sed' '-e' '1s/^X//' '-e' 's/\([\\`\\"$\\\\]\)/\\\1/g'
+ 'arg=-m'
+ 'install_prog=/usr/bin/install -c -o root -g wheel -m'
+ test '-n' ''
+ test '-n' '-m'
+ 'prev='
+ echo X555
+ '/usr/bin/sed' '-e' '1s/^X//' '-e' 's/\([\\`\\"$\\\\]\)/\\\1/g'
+ 'arg=555'
+ 'install_prog=/usr/bin/install -c -o root -g wheel -m 555'
+ test '-n' ''
+ test '-n' ''
+ 'dest=hal-find-by-property'
+ continue
+ test '-n' 'hal-find-by-property'
+ 'files= hal-find-by-property'
+ 'dest=/usr/pkg/bin/hal-find-by-property'
+ continue
+ test '-z' '/usr/bin/install -c -o root -g wheel -m 555'
+ test '-n' ''
+ test '-z' ' hal-find-by-property'
+ 'tmp='
+ test '/usr/pkg/bin/hal-find-by-property' '!=' ''
+ 'tmp=/usr/pkg/bin/hal-find-by-property'
+ echo 'X/usr/pkg/bin/hal-find-by-property'
+ '/usr/bin/sed' '-e' '1s/^X//' '-e' 's%[^/.][^/.]*/\.\.%%g' '-e' 's%/\./%/%g'
'-e' 's%//*%/%g' '-e' 's%/$%%g'
+ 'dest=/usr/pkg/bin/hal-find-by-property'
+ test '/usr/pkg/bin/hal-find-by-property' '!='
'/usr/pkg/bin/hal-find-by-property'
+ test '-d' '/usr/pkg/bin/hal-find-by-property'
+ test no '=' yes
+ echo 'X/usr/pkg/bin/hal-find-by-property'
+ '/usr/bin/sed' '-e' '1s/^X//' '-e' 's%/[^/]*$%%'
+ 'destdir=/usr/pkg/bin'
+ test 'X/usr/pkg/bin' '=' 'X/usr/pkg/bin/hal-find-by-property'
+ echo 'X/usr/pkg/bin/hal-find-by-property'
+ '/usr/bin/sed' '-e' '1s/^X//' '-e' 's%^.*/%%'
+ 'destname=hal-find-by-property'
+ set dummy 'hal-find-by-property'
+ test 2 '-gt' 2
+ 'libtool_install_magic=%%%MAGIC variable%%%'
+ 'staticlibs='
+ 'future_libdirs='
+ 'current_libdirs='
+ test '-n' 'hal-find-by-property'
+ 'destfile=/usr/pkg/bin/hal-find-by-property'
+ 'stripped_ext='
+ 'wrapper=hal-find-by-property'
+ 'notinst_deplibs='
+ 'relink_command='
+ '.' './hal-find-by-property'
+ 'Xsed=/usr/bin/sed -e 1s/^X//'
+ 'sed_quote_subst=s/\([\\`\\"$\\\\]\)/\\\1/g'
+ test '-n' ''
+ 'BIN_SH=xpg4'
+ export 'BIN_SH'
+ 'DUALCASE=1'
+ export DUALCASE
+ 'relink_command='
./hal-find-by-property: 87: Syntax error: "then" unexpected (expecting "fi")
>How-To-Repeat:
always happens for me.
>Fix:
n/a
Home |
Main Index |
Thread Index |
Old Index