Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Apr 2013 20:23:46 +0200
From:      streck@papafloh.de (Florian Streck)
To:        gnome@freebsd.org
Subject:   problem installing port "converters/libiconv"
Message-ID:  <20130409182346.GG25625@dionysos.middleearth.flo>

next in thread | raw e-mail | index | archive | help

--IMjqdzrDRly81ofr
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello,

I have a problem (re)installing several ports.
With libiconv the error occurs during make install:

# make install
=3D=3D=3D>  Installing for libiconv-1.14_1
=3D=3D=3D>   Generating temporary packing list
=3D=3D=3D>  Checking if converters/libiconv already installed
cd libcharset && make install prefix=3D'/usr/local' exec_prefix=3D'/usr/loc=
al' libdir=3D'/usr/local/lib'
cd lib && make install prefix=3D'/usr/local' exec_prefix=3D'/usr/local' lib=
dir=3D'/usr/local/lib'
if test no =3D no; then  case 'freebsd8.0' in  darwin[56]*)  need_charset_a=
lias=3Dtrue ;;  darwin* | cygwin* | mingw* | pw32* | cegcc*)  need_charset_=
alias=3Dfalse ;;  *)  need_charset_alias=3Dtrue ;;  esac ;  else  need_char=
set_alias=3Dfalse ;  fi ;  /bin/sh ../build-aux/mkinstalldirs /usr/local/li=
b ;  /bin/sh /usr/local/bin/libtool --mode=3Dinstall install  -o root -g wh=
eel -m 444 libcharset.la /usr/local/lib/libcharset.la
libtool: install: install -o root -g wheel -m 444 .libs/libcharset.so.1 /us=
r/local/lib/libcharset.so.1
libtool: install: (cd /usr/local/lib && { ln -s -f libcharset.so.1 libchars=
et.so || { rm -f libcharset.so && ln -s libcharset.so.1 libcharset.so; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libcharset.so.1 libchars=
et.so || { rm -f libcharset.so && ln -s libcharset.so.1 libcharset.so; }; })
libtool: install: install -o root -g wheel -m 444 .libs/libcharset.lai /usr=
/local/lib/libcharset.la
libtool: install: install -o root -g wheel -m 444 .libs/libcharset.a /usr/l=
ocal/lib/libcharset.a
libtool: install: chmod 644 /usr/local/lib/libcharset.a
libtool: install: ranlib /usr/local/lib/libcharset.a
if test -f /usr/local/lib/charset.alias; then  sed -f ref-add.sed /usr/loca=
l/lib/charset.alias > /usr/local/lib/t-charset.alias;  install  -o root -g =
wheel -m 444 /usr/local/lib/t-charset.alias /usr/local/lib/charset.alias;  =
rm -f /usr/local/lib/t-charset.alias;  else  if $need_charset_alias; then  =
sed -f ref-add.sed charset.alias > /usr/local/lib/t-charset.alias;  install=
  -o root -g wheel -m 444 /usr/local/lib/t-charset.alias /usr/local/lib/cha=
rset.alias;  rm -f /usr/local/lib/t-charset.alias;  fi ;  fi
/bin/sh ./build-aux/mkinstalldirs /usr/local/include
cannot open ./build-aux/mkinstalldirs: No such file or directory
*** [install] Error code 2
1 error
*** [install] Error code 2
1 error
*** [do-install] Error code 2

Stop in /usr/ports/converters/libiconv.
*** [install] Error code 1

Stop in /usr/ports/converters/libiconv.

On another machine the same port installs without problems. I even transfer=
ed the files with scp from one machine to the other. Result is the same. I'=
m quite sure, that the problem is somewhere in this installation, but I'm r=
unning out of ideas, what to do to resolve this.
I already erased the ports tree and did a "portsnap fetch" and "portsnap ex=
tract" to get a new one.

If I search for the Makefile which calls "/bin/sh ./build-aux/mkinstalldirs=
 /usr/local/include" I can insert cd-commands (several needed in several pl=
aces) to get the "make install" to complete.
The Makefile where the error hits first is=20
/usr/ports/converters/libiconv/work/libiconv-1.14/libcharset/Makefile
at line 50
$(mkinstalldirs) $(DESTDIR)$(includedir)
and the directory where the command fails is
/usr/ports/converters/libiconv/work/libiconv-1.14/libcharset/lib

I'm in the process of updating to "9.1-RELEASE". The error occured when reb=
uilding all ports with portupgrade -af. (But I've seen it before).
Processor:
# sysctl -a | egrep -i 'hw.machine|hw.model|hw.ncpu'
hw.machine: amd64
hw.model: AMD Athlon(tm) II X2 215 Processor
hw.ncpu: 2
hw.machine_arch: amd64


I hope someone can give me a hint in which direction to search, or which ot=
her data I'd have to collect to further analyse the root cause of my proble=
m (except me, of course ;-)

Thanks for any help you can give me!
Florian


--=20
Have a nice diurnal anomaly.

--IMjqdzrDRly81ofr
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlFkXLIACgkQIXCBARCXXgwiqACgiGTmjdNiEgYpJ52ZImwVLbVp
DfYAnj9FdFj9J7v0KpL+KAIMCG4ddaIn
=ujQU
-----END PGP SIGNATURE-----

--IMjqdzrDRly81ofr--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130409182346.GG25625>