Re: Problem with building libgcrypt

2017-02-14 Thread Tijl Coosemans
On Tue, 14 Feb 2017 15:11:30 +1100 (EST) Dave Horsfall  
wrote:
>>> What is the output of "pkg which /usr/local/lib/libiconv.la"?
>> 
>> Not found; I sense a generic approach to any more errors of this type :-)
> 
> Removed as suggested (along with libxslt) as nothing claimed to be using
> it, now it's complaining that they're missing when building graphics/peps
> (I gave docbook a miss):
> 
> libtool:   error: cannot find the library '/usr/local/lib/libiconv.la' or
> unhandled argument '/usr/local/lib/libiconv.la'
> 
> Why is libiconv.la now suddenly required?
> 
> At this rate it'll be a full install, but that is definitely a last
> resort (and the 10.3 CD I burned had better be readable).

Keep following the 20140909 entry in UPDATING.  You should run this
command now:

find /usr/local/lib -name '*.la' | xargs grep -l 'libiconv\.la' | xargs pkg 
which
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Problem with building libgcrypt

2017-02-13 Thread Dave Horsfall
> > What is the output of "pkg which /usr/local/lib/libiconv.la"?
> 
> Not found; I sense a generic approach to any more errors of this type :-)

Removed as suggested (along with libxslt) as nothing claimed to be using 
it, now it's complaining that they're missing when building graphics/peps 
(I gave docbook a miss):

libtool:   error: cannot find the library '/usr/local/lib/libiconv.la' or 
unhandled argument '/usr/local/lib/libiconv.la'

Why is libiconv.la now suddenly required?

At this rate it'll be a full install, but that is definitely a last resort 
(and the 10.3 CD I burned had better be readable).

-- 
Dave Horsfall DTM (VK2KFU)  "Those who don't understand security will suffer."
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Problem with building libgcrypt

2017-02-13 Thread Dave Horsfall
On Mon, 13 Feb 2017, Tijl Coosemans wrote:

> > cc: error: no such file or directory: '/usr/local/lib/libiconv.so'
> > gmake[4]: *** [Makefile:534: libxslt.la] Error 1
> 
> That's probably still because of some .la file.

I did run those commands as suggested...

> Does /usr/local/lib/libiconv.la still exist?

-r--r--r--  1 root  wheel  919 Dec 12  2010 /usr/local/lib/libiconv.la

Hmmm...  That should go too.  Note that I didn't build this system; I 
merely "inherited" it and not having any FreeBSD experience I took the 
cautious "engineers" approach of "it it ain't broke, don't fix it" so I 
confined myself to kernel and security updates, otherwise leaving ports 
strictly alone.

> What is the output of "pkg which /usr/local/lib/libiconv.la"?

Not found; I sense a generic approach to any more errors of this type :-)

Thanks.

-- 
Dave Horsfall DTM (VK2KFU)  "Those who don't understand security will suffer."
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Problem with building libgcrypt

2017-02-13 Thread Tijl Coosemans
On Mon, 13 Feb 2017 19:01:07 +1100 (EST) Dave Horsfall  
wrote:
> On Sun, 12 Feb 2017, Tijl Coosemans wrote:
>>> *** [libgcrypt.la] Error code 1  
>> 
>> See the 20140909 entry in /usr/ports/UPDATING about missing .la files.  
> 
> Thanks - that did the trick.
> 
> Next problem: when building misc/freebsd-doc-en, it fails with:
> 
> libtool: link: cc -shared  -fPIC -DPIC  .libs/attrvt.o .libs/xslt.o 
> .libs/xsltlocale.o .libs/xsltutils.o .libs/pattern.o .libs/templates.o 
> .libs/variables.o .libs/keys.o .libs/numbers.o .libs/extensions.o 
> .libs/extra.o .libs/functions.o .libs/namespaces.o .libs/imports.o 
> .libs/attributes.o .libs/documents.o .libs/preproc.o .libs/transform.o 
> .libs/security.o   -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath 
> -Wl,/usr/local/lib -L/usr/local/lib /usr/local/lib/libxml2.so 
> /usr/local/lib/libiconv.so -lz -llzma -L/usr/lib -lm  -O2 -fstack-protector 
> -Wl,--version-script=./libxslt.syms -fstack-protector   -Wl,-soname 
> -Wl,libxslt.so.1 -o .libs/libxslt.so.1.1.29
> cc: error: no such file or directory: '/usr/local/lib/libiconv.so'
> gmake[4]: *** [Makefile:534: libxslt.la] Error 1

That's probably still because of some .la file.  Does
/usr/local/lib/libiconv.la still exist?  What is the output of
"pkg which /usr/local/lib/libiconv.la"?  If it says "not found in
database" remove it.  If it says "installed by package X" rebuild X.
Same for /usr/local/lib/libxml2.la.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Problem with building libgcrypt

2017-02-13 Thread Dave Horsfall
On Sun, 12 Feb 2017, Tijl Coosemans wrote:

> > *** [libgcrypt.la] Error code 1
> 
> See the 20140909 entry in /usr/ports/UPDATING about missing .la files.

Thanks - that did the trick.

Next problem: when building misc/freebsd-doc-en, it fails with:

libtool: link: cc -shared  -fPIC -DPIC  .libs/attrvt.o .libs/xslt.o 
.libs/xsltlocale.o .libs/xsltutils.o .libs/pattern.o .libs/templates.o 
.libs/variables.o .libs/keys.o .libs/numbers.o .libs/extensions.o .libs/extra.o 
.libs/functions.o .libs/namespaces.o .libs/imports.o .libs/attributes.o 
.libs/documents.o .libs/preproc.o .libs/transform.o .libs/security.o   
-Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib 
/usr/local/lib/libxml2.so /usr/local/lib/libiconv.so -lz -llzma -L/usr/lib -lm  
-O2 -fstack-protector -Wl,--version-script=./libxslt.syms -fstack-protector   
-Wl,-soname -Wl,libxslt.so.1 -o .libs/libxslt.so.1.1.29
cc: error: no such file or directory: '/usr/local/lib/libiconv.so'
gmake[4]: *** [Makefile:534: libxslt.la] Error 1

I take it that this is a manifestation of 20130904:

AFFECTS: 10-CURRENT users with any port depending on converters/libiconv
AUTHOR: madpi...@freebsd.org

10-CURRENT after r254273 (committed on August 13, 2013) has an
implementation of iconv enabled by default in libc.

?

-- 
Dave Horsfall DTM (VK2KFU)  "Those who don't understand security will suffer."
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Problem with building libgcrypt

2017-02-12 Thread Tijl Coosemans
On Sun, 12 Feb 2017 21:04:58 +1100 (EST) Dave Horsfall  
wrote:
> Rebuilding ports on 10.3 after upgrade from 9.3, on the final portmaster 
> leg:
> 
> libtool: link: ranlib .libs/libgcrypt.a
> libtool: link: rm -fr .libs/libgcrypt.lax
> sed: /usr/local/lib/libintl.la: No such file or directory
> libtool: link: `/usr/local/lib/libintl.la' is not a valid libtool archive
> *** [libgcrypt.la] Error code 1

See the 20140909 entry in /usr/ports/UPDATING about missing .la files.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Problem with building libgcrypt

2017-02-12 Thread Dave Horsfall
Rebuilding ports on 10.3 after upgrade from 9.3, on the final portmaster 
leg:

libtool: link: ranlib .libs/libgcrypt.a
libtool: link: rm -fr .libs/libgcrypt.lax
sed: /usr/local/lib/libintl.la: No such file or directory
libtool: link: `/usr/local/lib/libintl.la' is not a valid libtool archive
*** [libgcrypt.la] Error code 1

...

===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to 
the maintainer.
*** Error code 1

Stop.

(Followed by a few "Aborting update" messages)

Ummm, that's equivalent to the M$ "solution" of trying a reboot to see if 
it fixes it.

It's asking me to review those errors before it continues; what could be 
wrong?

Think of me as a beta tester for novices :-)

-- 
Dave Horsfall DTM (VK2KFU)  "Those who don't understand security will suffer."
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"