Bug 21274

Summary: evolution-0.5 fails to compile on FreeBSD 4.1-RELEASE
Product: Ports & Packages Reporter: stevedav <stevedav>
Component: Individual Port(s)Assignee: Ade Lovett <ade>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description stevedav 2000-09-14 22:00:01 UTC
The problem appears to be is in oaf-0.5.1:
Run 'make' and get:

[...]cc -DHAVE_CONFIG_H -I. -I. -I.. -I..                            -I..                            -I../liboaf            -
I../liboaf                              -DOAFINFODIR=\"/usr/X11R6/share/gnome/oaf\"                     -DOAF_LOCALEDIR=
\""/usr/X11R6/share/locale"\"   -I/usr/local/include/glib12 -I/usr/local/include                                       -
I/usr/local/include/libxml -I/usr/local/include                                         -I/usr/local/include/glib12    -
DOAF_CONFDIR=\"/usr/X11R6/etc\"                   -I/usr/local/include  -O -pipe -c ac-corba.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I..                            -I..                            -I../liboaf            -
I../liboaf                              -DOAFINFODIR=\"/usr/X11R6/share/gnome/oaf\"                     -DOAF_LOCALEDIR=
\""/usr/X11R6/share/locale"\"   -I/usr/local/include/glib12 -I/usr/local/include                                       -
I/usr/local/include/libxml -I/usr/local/include                                         -I/usr/local/include/glib12    -
DOAF_CONFDIR=\"/usr/X11R6/etc\"                   -I/usr/local/include  -O -pipe -c ac-query-expr.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I..                            -I..                            -I../liboaf            -
I../liboaf                              -DOAFINFODIR=\"/usr/X11R6/share/gnome/oaf\"                     -DOAF_LOCALEDIR=
\""/usr/X11R6/share/locale"\"   -I/usr/local/include/glib12 -I/usr/local/include                                       -
I/usr/local/include/libxml -I/usr/local/include                                         -I/usr/local/include/glib12    -
DOAF_CONFDIR=\"/usr/X11R6/etc\"                   -I/usr/local/include  -O -pipe -c od-corba.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I..                            -I..                            -I../liboaf            -
I../liboaf                              -DOAFINFODIR=\"/usr/X11R6/share/gnome/oaf\"                     -DOAF_LOCALEDIR=
\""/usr/X11R6/share/locale"\"   -I/usr/local/include/glib12 -I/usr/local/include                                       -
I/usr/local/include/libxml -I/usr/local/include                                         -I/usr/local/include/glib12    -
DOAF_CONFDIR=\"/usr/X11R6/etc\"                   -I/usr/local/include  -O -pipe -c od-load.c
od-load.c: In function `od_entry_read_props':
od-load.c:60: structure has no member named `childs'
od-load.c:74: structure has no member named `childs'
od-load.c:95: structure has no member named `childs'
od-load.c:109: structure has no member named `childs'
od-load.c: In function `OAF_ServerInfo_load':
od-load.c:241: structure has no member named `root'
od-load.c:242: structure has no member named `root'
od-load.c:242: structure has no member named `root'
gmake[2]: *** [od-load.o] Error 1
gmake[2]: Leaving directory `/usr/ports/devel/oaf/work/oaf-0.5.1/oafd'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/devel/oaf/work/oaf-0.5.1'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop in /usr/ports/devel/oaf.
*** Error code 1

Stop in /usr/ports/devel/oaf.
*** Error code 1

Stop in /usr/ports/devel/oaf.
*** Error code 1

[...]

Fix: 

Fix the port.
How-To-Repeat: Download evolution-0.5 port description and type make.
Comment 1 Ade Lovett freebsd_committer freebsd_triage 2000-09-14 22:41:44 UTC
On Thu, Sep 14, 2000 at 01:56:58PM -0700, stevedav@pacbell.net wrote:
> Download evolution-0.5 port description and type make.

I'm afraid this is another one of "it works for me and I can't
reproduce it" problems.  Please send me (not the list) an output
of 'ls /var/db/pkg' and we may be able to nail it down further.

-aDe

-- 
Ade Lovett, Austin, TX.			ade@FreeBSD.org
FreeBSD: The Power to Serve		http://www.FreeBSD.org/
Comment 2 Ade Lovett freebsd_committer freebsd_triage 2000-09-14 22:41:54 UTC
Responsible Changed
From-To: freebsd-ports->ade

Evolution is one of my chains^Wports
Comment 3 sdav2 2000-09-14 23:27:15 UTC
% ls /var/db/pkg
9term-1.6.3                     gtm-0.3.1                      
pdksh-5.2.14
IglooFTP-0.6.1                  guiTAR-0.1.4                   
pdq-2.2.1
ImageMagick-5.2.1               guile-1.3.4                    
pgp-5.0i
ImageMagick-5.2.3               guile-1.4                      
pgp-6.5.1i
Mesa-3.2                        gv-3.5.8                       
plan-1.8.2
ORBit-0.5.2                     gvid-0.2                       
png-1.0.7
XFree86-aoutlibs-3.3.3          gview-0.1.15                   
pnmtopng-2.37.4
Xaw3d-1.5                       gxanim-0.50                    
popt-1.5
a2ps-letter-4.3                 hdf-4.1r3                      
postilion-0.9.3c
aalib-1.2                       hsftp-1.7                      
postmark-1.11
acroread-4.05                   html2ps-letter-1.0             
pppload-1.0
acroread-commfont-1999.7.20     imlib-1.9.8.1                  
psmisc-17
afterstep-1.8.0                 iozone-3.9                     
python-1.5.2
antiword-0.30                   ispell-3.1.20c                  qiv-1.3
apache-1.3.12                   javavmwrapper-1.1               qt-1.45
apsfilter-5.4.2                 jbigkit-1.2                    
queso-980922
asprint-1.0                     jpeg-6b                        
recode-3.5
asrpages-0.1                    kde-1.1.2                      
rlpr-2.02
autoconf-2.13                   kdebase-1.1.2                  
rsaref-2.0
axyftp-0.5.1                    kdegames-1.1.2                 
rsync-2.4.3
balsa-0.9.4                     kdegraphics-1.1.2              
rxvt-2.7.3
bash-2.04                       kdelibs-1.1.2.1                
sdd-1.22
bing-1.0.4                      kdemultimedia-1.1.2            
sdl-1.0.8
bonnie-1.0                      kdenetwork-1.1.2               
sftp-0.9.5
bpatch-1.0                      kdesupport-1.1.2.1             
skill-3.7.9
btoa-5.2.1                      kdeutils-1.1.2                 
sls-1.00
bzip2-1.0.1                     killustrator-0.7.2             
ssh-1.2.27
calc-2.11.1                     kssh-0.2                       
staroffice-5.1a
catdoc-0.90.3                   ktelnet-0.61                   
stat-1.3
ciscoconf-1.0.b1                kvidtune-0.4.1                 
sudo-1.6.3.4
cstream-2.0                     less-354                       
svgalib-1.4.2
ctwm-3.5.2b                     lesstif-0.90.0                 
swig-1.3a3
echoping-2.2.0                  libaudiofile-0.1.9             
symlinks-1.2
enscript-letter-1.6.1           libglade-0.14                  
t1lib-1.0.1
eperl-2.2.14                    libgnugetopt-1.1               
tcl-8.0.5
esound-0.2.18                   libimg-1.2.2                   
tcl-8.2.3
eval-113                        libproplist-0.10.1             
tcpshow-1.74
exmh-2.1.1                      libslang-1.4.0                 
tcptrace-5.2.1
expect-5.32                     libtool-1.3.4                  
tcsh-6.09.01
fastjar-0.90                    libungif-4.1.0b1               
teTeX-1.0.7
fetchmail-5.4.3                 libwmf-0.1.17                  
tiff-3.5.5
flashplayer-0.4.3               libwww-5.2.8                   
tk-8.2.3
flashplugin-0.4.3               libxml-1.8.9                   
tkfont-1.1
fping-1.20                      libxml2-2.1.1                  
traceroute-991603
freetype-1.3.1                  linux_base-6.1                 
trafshow-3.1
g-wrap-0.9.4                    llnlxdir-2.1.2                 
transfig-3.2.3
gaddr-1.1.4                     lsof-4.50.1                    
ubench-0.31
gcolor-0.4                      m4-1.4                         
unix2dos-1.2
gdict-0.7                       maelstrom-3.0.1                
unzip-5.41
gdk-pixbuf-0.8.0                memtest-2.93.1                 
uudeview-0.5.13
gedit-0.9.0                     metamail-2.7                   
uudx-2.99
gettext-0.10.35                 most-4.9.0                     
uulib-0.5.13
gftp-2.0.6a                     mpage-2.5                       vim-5.7
gftp-2.0.7b                     mpeg2codec-1.2                 
viz-1.1.1
ggv-0.95                        mpeg_lib-1.3.1                 
weblint-1.020
ghex-1.1.3                      mpeg_play-2.4                  
wget-1.5.3
ghostscript-5.50                mswordview-0.5.14.6            
windowmaker-0.62.1
ghostscript-6.01                mtools-3.9.6                   
word2x-0.005
ghostview-1.5                   mtr-0.42                       
wpeople-0.13
gimp-1.1.24                     nasm-0.98                      
xanim-2.80.1
gindent-2.2.2                   nenscript-1.13.3               
xdeview-0.5.13
glib-1.2.8                      netcat-1.10                    
xearth-1.1
gmake-3.79.1                    netpbm-9.6                     
xfig-3.2.3c
gnomba-0.5.1                    netscape-communicator-4.73     
xfstt-1.1
gnome-vnc-0.1                   netscape-remote-1.0            
xless-1.7
gnomeaudio-1.0.0                netscape-wrapper-2000.07.07    
xloadimage-4.1
gnomecontrolcenter-1.2.0        ngrep-1.35                     
xlockmore-4.16.1
gnomecore-1.2.1                 nmh-1.0.4                      
xmemory-3.7
gnomelibs-1.2.4                 npadmin-0.7                    
xosview-1.7.3
gnomeprint-0.20                 nsping-0.8                     
xpdf-0.90
gnosamba-0.3.3                  ntop-1.1                       
xperfmon++-3.0
gnu-finger-1.37                 p5-Digest-MD5-2.09             
xphotohunter-1.4
gnuls-4.0                       p5-HTML-Parser-3.08            
xpm-3.4k
gnupg-1.0.2                     p5-MIME-Base64-2.11            
xsysinfo-1.4a
gone-1.3.1                      p5-Net-1.0703                  
xsysstats-1.34
gperiodic-1.2.2                 p5-URI-1.06                    
xtoolwait-1.3
gsfonts-5.10                    p5-libwww-5.48                 
xv-3.10a
gtimer-1.1.5                    pan-0.8.0                      
zorro-1.1.8
gtk-1.2.8                       par-1.51                       
zsh-3.1.9
gtkfig-0.6.0                    patch-2.5                      
ztelnet-1.0.p3

--- Ade Lovett <ade@FreeBSD.org> wrote:
> On Thu, Sep 14, 2000 at 01:56:58PM -0700, stevedav@pacbell.net wrote:
> > Download evolution-0.5 port description and type make.
> 
> I'm afraid this is another one of "it works for me and I can't
> reproduce it" problems.  Please send me (not the list) an output
> of 'ls /var/db/pkg' and we may be able to nail it down further.
> 
> -aDe
> 
> -- 
> Ade Lovett, Austin, TX.			ade@FreeBSD.org
> FreeBSD: The Power to Serve		http://www.FreeBSD.org/


__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/
Comment 4 Ade Lovett freebsd_committer freebsd_triage 2000-09-14 23:43:29 UTC
On Thu, Sep 14, 2000 at 03:30:02PM -0700, Steve Davidson wrote:
>
> [...]
> libxml-1.8.9
> [...]
> libxml2-2.1.1


There's at least one major problem with your setup.

These two ports conflict completely with other, partially sharing
the same namespace.

As a result, the entire integrity of your GNOME setup is in
question, and could easily produce problems such as you
have described.

I cannot stress this highly enough.  You MUST only have libxml
on your system if you use GNOME in any way, shape, or form.

Installing libxml2 will permanently and irrevocable cause major
problems.

In addition, you seem to have multiple versions of other
ports installed.  For example, ImageMagick 5.2.1 and 5.2.3,
guile 1.3.4 and 1.4.  When updating a port, you *must*
delete the previous version (possibly resulting in having
to recompile a lot of other ports), before just installing
the new package.

I'm afraid there is nothing I can do with this report, since
your system is badly "damaged", in terms of the ports/packages
you have installed.

Save off any data you want, rm -rf /var/db/pkg/*, /usr/local/*,
/usr/X11R6/*, cvsup up to 4.1-STABLE, build and install a new
world, then start rebuilding your ports.  I can give no other
advice than this.

-aDe

-- 
Ade Lovett, Austin, TX.			ade@FreeBSD.org
FreeBSD: The Power to Serve		http://www.FreeBSD.org/
Comment 5 Ade Lovett freebsd_committer freebsd_triage 2000-09-14 23:43:56 UTC
State Changed
From-To: open->closed

From /var/db/pkg output supplied by submitter, the machine 
is so badly "damaged" with ports that conflict with 
each other that there's absolutely no way this PR is 
going anywhere. 

With a cleanly installed system, there are no issues 
with the current version of this port at build time.
Comment 6 sdav2 2000-09-15 01:57:42 UTC
--- Ade Lovett <ade@FreeBSD.org> wrote:
> On Thu, Sep 14, 2000 at 03:30:02PM -0700, Steve Davidson wrote:
> >
> > [...]
> > libxml-1.8.9
> > [...]
> > libxml2-2.1.1
> 
> 
> There's at least one major problem with your setup.
> 
> These two ports conflict completely with other, partially sharing
> the same namespace.

I didn't think that namespace conflicts occurred for ports installs.
Wouldn't it be rediculous if new software couldn't be loaded
(via ports) if older software was already installed?
Help me understand this.  I thought "ports" handled this.

> 
> As a result, the entire integrity of your GNOME setup is in
> question, and could easily produce problems such as you
> have described.

Again I thought "ports" handled this.

> 
> I cannot stress this highly enough.  You MUST only have libxml
> on your system if you use GNOME in any way, shape, or form.
> 
> Installing libxml2 will permanently and irrevocable cause major
> problems.

Okay, how do I remedy?
In fact, how did libxml2 get loaded?
Some other software must have needed it.

> 
> In addition, you seem to have multiple versions of other
> ports installed.  For example, ImageMagick 5.2.1 and 5.2.3,
> guile 1.3.4 and 1.4.  When updating a port, you *must*
> delete the previous version (possibly resulting in having
> to recompile a lot of other ports), before just installing
> the new package.

Is this instruction documented anywhere in FreeBSD docs?

> 
> I'm afraid there is nothing I can do with this report, since
> your system is badly "damaged", in terms of the ports/packages
> you have installed.

Although some ports don't compile,
everything runs just fine.
Anyway, can I load evolution as package?
I didn't see one.

> 
> Save off any data you want, rm -rf /var/db/pkg/*, /usr/local/*,
> /usr/X11R6/*, cvsup up to 4.1-STABLE, build and install a new
> world, then start rebuilding your ports.  I can give no other
> advice than this.

How do I get a new ports collection and put it in?
Are there instructions on how to do this?

> 
> -aDe
> 
> -- 
> Ade Lovett, Austin, TX.			ade@FreeBSD.org
> FreeBSD: The Power to Serve		http://www.FreeBSD.org/


__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/
Comment 7 Ade Lovett freebsd_committer freebsd_triage 2000-09-15 02:05:16 UTC
On Thu, Sep 14, 2000 at 05:57:42PM -0700, Steve Davidson wrote:
> I didn't think that namespace conflicts occurred for ports installs.
> Wouldn't it be rediculous if new software couldn't be loaded
> (via ports) if older software was already installed?
> Help me understand this.  I thought "ports" handled this.

libxml/libxml2 are just one of a number of ports that do not
co-exist at all well.  work is underway to provide a conflicts
mechanism within the ports system.


> Okay, how do I remedy?
> In fact, how did libxml2 get loaded?
> Some other software must have needed it.

I explained the remedy below.  Yes, it is drastic.  However, it is
the only way in which I can guarantee you will have a known-state
system.


> Is this instruction documented anywhere in FreeBSD docs?

FreeBSD handbook.


> Although some ports don't compile,
> everything runs just fine.
> Anyway, can I load evolution as package?
> I didn't see one.

Not yet.  package-building lags a few days behind ports.  However,
in this case it would not have helped you.  The damage has already
been done with libxml/libxml2


> How do I get a new ports collection and put it in?
> Are there instructions on how to do this?

FreeBSD handbook.  Linked off of http://www.FreeBSD.org/

-aDe

-- 
Ade Lovett, Austin, TX.			ade@FreeBSD.org
FreeBSD: The Power to Serve		http://www.FreeBSD.org/