problem installing port "converters/libiconv"

Florian Streck streck at papafloh.de
Tue Apr 9 18:24:00 UTC 2013


Hello,

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

# make install
===>  Installing for libiconv-1.14_1
===>   Generating temporary packing list
===>  Checking if converters/libiconv already installed
cd libcharset && make install prefix='/usr/local' exec_prefix='/usr/local' libdir='/usr/local/lib'
cd lib && make install prefix='/usr/local' exec_prefix='/usr/local' libdir='/usr/local/lib'
if test no = no; then  case 'freebsd8.0' in  darwin[56]*)  need_charset_alias=true ;;  darwin* | cygwin* | mingw* | pw32* | cegcc*)  need_charset_alias=false ;;  *)  need_charset_alias=true ;;  esac ;  else  need_charset_alias=false ;  fi ;  /bin/sh ../build-aux/mkinstalldirs /usr/local/lib ;  /bin/sh /usr/local/bin/libtool --mode=install install  -o root -g wheel -m 444 libcharset.la /usr/local/lib/libcharset.la
libtool: install: install -o root -g wheel -m 444 .libs/libcharset.so.1 /usr/local/lib/libcharset.so.1
libtool: install: (cd /usr/local/lib && { ln -s -f libcharset.so.1 libcharset.so || { rm -f libcharset.so && ln -s libcharset.so.1 libcharset.so; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libcharset.so.1 libcharset.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/local/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/local/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/charset.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 transfered 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 running out of ideas, what to do to resolve this.
I already erased the ports tree and did a "portsnap fetch" and "portsnap extract" 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 places) to get the "make install" to complete.
The Makefile where the error hits first is 
/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 rebuilding 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 other data I'd have to collect to further analyse the root cause of my problem (except me, of course ;-)

Thanks for any help you can give me!
Florian


-- 
Have a nice diurnal anomaly.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20130409/8a5ac559/attachment.sig>


More information about the freebsd-gnome mailing list