Bug 153788

Summary: Unable to build mail/enigmail-thunderbird3
Product: Ports & Packages Reporter: Thomas Steen Rasmussen / Tykling <thomas>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Thomas Steen Rasmussen / Tykling 2011-01-08 12:50:09 UTC
I am unable to build mail/enigmail-thunderbird3. There appears to be more than one problem. The first problem is this:

----------------------------------------------------------------------------
===>>> Proceed? y/n [y] 


===>>> Starting build for mail/enigmail-thunderbird3 <<<===

===>>> Starting check for build dependencies
===>>> Gathering dependency list for mail/enigmail-thunderbird3 from ports
===>>> Dependency check complete for mail/enigmail-thunderbird3
===>  Cleaning for thunderbird-enigmail-1.0.1_1

===>  Vulnerability check disabled, database not found
===>  License check disabled, port has not defined LICENSE
===>  Extracting for thunderbird-enigmail-1.0.1_1
=> SHA256 Checksum OK for enigmail-1.0.1.tar.gz.
===>   thunderbird-enigmail-1.0.1_1 depends on executable: autoconf-2.13 - found
===>   thunderbird-enigmail-1.0.1_1 depends on file: /nonexistent - not found
===>    Verifying configure for /nonexistent in /usr/ports/mail/thunderbird
===>   Returning to build of thunderbird-enigmail-1.0.1_1
===>   thunderbird-enigmail-1.0.1_1 depends on executable: thunderbird - found
===>   thunderbird-enigmail-1.0.1_1 depends on executable: gmake - found
===>   thunderbird-enigmail-1.0.1_1 depends on executable: intltool-extract - found
===>   thunderbird-enigmail-1.0.1_1 depends on file: /usr/local/libdata/pkgconfig/printproto.pc - found
cp: /usr/ports/mail/enigmail-thunderbird3/work/../../../mail/thunderbird/work/comm-1.9.1: No such file or directory
*** Error code 1

Stop in /usr/ports/mail/enigmail-thunderbird3.

===>>> make failed for mail/enigmail-thunderbird3
===>>> Aborting update

Terminated
Terminated
----------------------------------------------------------------------------

If I change line 16 in /usr/ports/mail/enigmail-thunderbird3/Makefile from:
GECKO_EXTDIR=   comm-1.9.1
to
GECKO_EXTDIR=   comm-1.9.2
to match what is actually there:
/usr/ports/mail/enigmail-thunderbird3/work/comm-1.9.2 

I now get a different error:
----------------------------------------------------------------------------
<snip>
cc -o host_pathsub.o -c -O2 -pipe   -fno-strict-aliasing -DXP_UNIX -O3  -DUNICODE -D_UNICODE  -I. -I. -I../dist/include -I../dist/include/nsprpub  -I/usr/local/include/nspr -I/usr/ports/mail/enigmail-thunderbird/work/comm-1.9.2/mozilla/dist/include/nss   -I/usr/include   -I/usr/local/include/nspr pathsub.c
cc -o nsinstall -O2 -pipe   -fno-strict-aliasing -DXP_UNIX -O3  -DUNICODE -D_UNICODE  host_nsinstall.o host_pathsub.o  
rm -f nfspwd
cp nfspwd.pl nfspwd
chmod +x nfspwd
/usr/ports/mail/enigmail-thunderbird/work/comm-1.9.2/mozilla/config/nsinstall -R -m 644 ../mozilla-config.h ./nsStaticComponents.h  ../dist/include
gmake[2]: /usr/ports/mail/enigmail-thunderbird/work/comm-1.9.2/mozilla/config/nsinstall: Kommando ikke fundet
gmake[2]: *** [export] Fejl 127
gmake[2]: Forlader katalog '/usr/ports/mail/enigmail-thunderbird3/work/comm-1.9.2/mozilla/config'
gmake[1]: *** [export] Fejl 2
gmake[1]: Forlader katalog '/usr/ports/mail/enigmail-thunderbird3/work/comm-1.9.2/mozilla'
gmake: *** [export] Fejl 2
*** Error code 2

Stop in /usr/ports/mail/enigmail-thunderbird3.

===>>> make failed for mail/enigmail-thunderbird3
===>>> Aborting update
----------------------------------------------------------------------------
The error "Kommando ikke fundet" above means "Command not found".

It seems it is trying to run /usr/ports/mail/enigmail-thunderbird/work/comm-1.9.2/mozilla/config/nsinstall - even though it should be working in the folder /usr/ports/mail/enigmail-thunderbird3 and not /usr/ports/mail/enigmail-thunderbird (note the missing '3' from the path).

Fix: 

Part of the fix is changing line 16 in /usr/ports/mail/enigmail-thunderbird3/Makefile from:
GECKO_EXTDIR=   comm-1.9.1
to
GECKO_EXTDIR=   comm-1.9.2

But this doesn't fix the entire problem.
How-To-Repeat: cd /usr/ports/mail/enigmail-thunderbird3 && make install clean
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-01-08 12:50:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Alex Dupre freebsd_committer freebsd_triage 2011-01-09 21:54:49 UTC
State Changed
From-To: open->closed

A make clean and a port update will help you.