Opened 13 years ago

Closed 13 years ago

#32529 closed defect (fixed)

Gnome-doc-utils can't be built in Mac OS X 10.4.11/Tiger because of missing XML::Parser perl module

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: dbevans (David B. Evans), larryv (Lawrence Velázquez)
Port: gnome-doc-utils

Description

The failure seems to be due to some failure during update all outdated packages. By invoking 'port -vd upgrade gnome-doc-utils' port now first fetches and installs perl-5.8.9.

Attachments (2)

main.log (12.9 KB) - added by ballapete (Peter "Pete" Dyballa) 13 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gnome-doc-utils/gnome-doc-utils/main.log
main.2.log (7.3 KB) - added by ballapete (Peter "Pete" Dyballa) 13 years ago.
new debug version of main.log

Download all attachments as: .zip

Change History (14)

Changed 13 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gnome-doc-utils/gnome-doc-utils/main.log

comment:1 in reply to:  description Changed 13 years ago by ballapete (Peter "Pete" Dyballa)

Replying to Peter_Dyballa@…:

The failure seems to be due to some failure during update all outdated packages. By invoking 'port -vd upgrade gnome-doc-utils' port now first fetches and installs perl-5.8.9.

Before I started the upgrade process in a compilation buffer inside GNU Emacs I invoked 'port outdated' in a shell. It listed among many other packages

perl5                          5.8.9_0 < 5.12.3_1        
perl5.8                        5.8.9_3 < 5.8.9_5         

so some confusion might have existed or might have been crated during the upgrading process. Since I destroyed the old *compilation* buffer in order to invoke 'port -vd upgrade gnome-doc-utils' I cannot see had happened. I can see, by comparing the output of the still outdated packages with that from the start, that these been have been updated in some unknown order:

bzip2                          1.0.5_3 < 1.0.6_0         
docbook-xsl                    1.75.2_0 < 1.76.1_0       
expat                          2.0.1_0 < 2.0.1_1         
gdbm                           1.8.3_1 < 1.10_0          
gettext                        0.17_4 < 0.18.1.1_2       
glib2                          2.22.2_0 < 2.30.2_2       
gnome-common                   2.26.0_0 < 2.28.0_0       
gperf                          3.0.4_0 < 3.0.4_2         
intltool                       0.40.6_0 < 0.40.6_1       
iso-codes                      3.11.1_0 < 3.29_0         
libiconv                       1.13_0 < 1.14_0           
libxml2                        2.7.6_0 < 2.7.8_0         
ncurses                        5.7_0 < 5.9_1             
ncursesw                       5.7_0 < 5.8_0             
openssl                        0.9.8l_0 < 1.0.0e_1       
p5-getopt-long                 2.38_0 < 2.380.0_2        
p5-pathtools                   3.30_0 < 3.330.0_2        
p5-scalar-list-utils           1.21_0 < 1.230.0_2        
p5-xml-parser                  2.36_0 < 2.400.0_2        
perl5                          5.8.9_0 < 5.12.3_1        
pkgconfig                      0.23_1 < 0.26_1           
python_select                  0.3_0 < 0.3_1             
sqlite3                        3.6.20_0 < 3.7.9_0        
zlib                           1.2.3_3 < 1.2.5_0         

before the failure occurred.

comment:2 Changed 13 years ago by larryv (Lawrence Velázquez)

This is a duplicate of #28565.

comment:3 Changed 13 years ago by ballapete (Peter "Pete" Dyballa)

Interestingly the new build also fails:

checking for perl... /opt/local/bin/perl
checking for perl >= 5.8.1... configure: error: perl 5.8.1 is required for intltool

New debug log file attached!

Changed 13 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.2.log added

new debug version of main.log

comment:4 Changed 13 years ago by larryv (Lawrence Velázquez)

Try this:

sudo port clean gnome-doc-utils
sudo port selfupdate
sudo port install perl5 +perl5_12   # Install perl5.12 and alias perl5 to it
sudo port upgrade intltool          # Make sure you have latest intltool
sudo port upgrade installed         # Update everything else
sudo port install gnome-doc-utils

Once you have intltool @0.40.6_1, gnome-doc-utils will require perl5 +perl5_12. This is a bug, as per #32423, but it shouldn’t be a problem unless you really need one of the other perl5 variants.

comment:5 Changed 13 years ago by larryv (Lawrence Velázquez)

Cc: larry.velazquez@… added

Cc Me!

comment:6 in reply to:  4 Changed 13 years ago by ballapete (Peter "Pete" Dyballa)

Replying to larry.velazquez@…:

Try this:

sudo port clean gnome-doc-utils
sudo port selfupdate
sudo port install perl5 +perl5_12   # Install perl5.12 and alias perl5 to it
sudo port upgrade intltool          # Make sure you have latest intltool
sudo port upgrade installed         # Update everything else
sudo port install gnome-doc-utils

The 'upgrade installed' already started with the gnome-doc-utils installation – now with success! (Activating gnome-doc-utils @0.20.6_0+python27)

Thank you.

comment:7 Changed 13 years ago by larryv (Lawrence Velázquez)

Oh, alright. Good to hear.

comment:8 in reply to:  7 ; Changed 13 years ago by davegutz@…

Replying to larry.velazquez@…:

Oh, alright. Good to hear.

I had same issue. Iterating between 'self update' and 'upgrade outdated' finally settled to error with appearance of configuration of gnome-doc-utils and 'port perl 5.8.1 is required for intltool' involving 'python2.7/site-packages'. Following the 'try this' section above resolved the perl configuration and upgrade could continue.

So it may be more common issue than you realize, even with all the macports fixes in place. It was difficult to find the 'try this' special steps. If you'd like more details about my build let me know.

comment:9 in reply to:  8 Changed 13 years ago by larryv (Lawrence Velázquez)

Replying to davegutz@…:

I had same issue. Iterating between 'self update' and 'upgrade outdated' finally settled to error with appearance of configuration of gnome-doc-utils and 'port perl 5.8.1 is required for intltool' involving 'python2.7/site-packages'.

I'm not sure what Python has to do with anything. I would ask for a build log, but it seems your problem is sorted out.

The issue, very plainly, is that perl5 must be installed with the +perl5_12 variant. If that is the case, this problem goes away.

comment:10 Changed 13 years ago by larryv (Lawrence Velázquez)

r88235 should fix the issue.

comment:11 Changed 13 years ago by ballapete (Peter "Pete" Dyballa)

Gnome-doc-utils 0.20.6_0+python27 is meanwhile built, installed, and active.

comment:12 Changed 13 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.