Opened 17 years ago

Closed 15 years ago

#15286 closed defect (worksforme)

unison 2.27.57 does not compile with +x11 variant

Reported by: gavin@… Owned by: kballard (Lily Ballard)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), mason.kramer@…, dj_mook@…, ryandesign (Ryan Carsten Schmidt)
Port: unison

Description

I'm currently running unison 2.13 with x11 variant, and the failure happens during an upgrade. I brought my macports system fully up to date last week, with the exception of unison of course :) I'm running Mac OS 10.4.11, fully up to date, with Xcode 2.4.1.

This port has not worked for a long time. I thought that maybe it was a transient problem, but it's been around for a few months now.

Thanks!

wellington:~ gavin$ sudo port -ufn upgrade unison
--->  Fetching unison                                                                                                                                                                            
--->  Verifying checksum(s) for unison
--->  Extracting unison                                                                                                                                                                          
--->  Applying patches to unison
--->  Configuring unison                                                                                                                                                                         
--->  Building unison with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57" && make all NATIVE=true THREADS=true UISTYLE=gtk2 " returned error 2
Command output: ocamlopt: test.ml ---> test.cmx                                                                                                                                                  
ocamlopt -I lwt -I ubase -I +lablgtk2 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/test.ml
ocamlopt: main.ml ---> main.cmx                                                                                                                                                                  
ocamlopt -I lwt -I ubase -I +lablgtk2 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/main.ml
ocamlopt: pixmaps.ml ---> pixmaps.cmx                                                                                                                                                            
ocamlopt -I lwt -I ubase -I +lablgtk2 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/pixmaps.ml
ocamlopt: uigtk2.mli ---> uigtk2.cmi                                                                                                                                                             
ocamlopt -I lwt -I ubase -I +lablgtk2 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/uigtk2.mli
ocamlopt: uigtk2.ml ---> uigtk2.cmx                                                                                                                                                              
ocamlopt -I lwt -I ubase -I +lablgtk2 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/uigtk2.ml
File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/uigtk2.ml", line 1576, characters 6-20:                      
Warning Y: unused variable mergeLogoBlack.
File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/uigtk2.ml", line 1574, characters 6-20:                      
Warning Y: unused variable leftArrowBlack.
File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/uigtk2.ml", line 1573, characters 6-21:                      
Warning Y: unused variable rightArrowBlack.
File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/uigtk2.ml", line 1560, characters 6-17:                      
Warning Y: unused variable yellowPixel.
ocamlopt: linkgtk2.ml ---> linkgtk2.cmx                                                                                                                                                          
ocamlopt -I lwt -I ubase -I +lablgtk2 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/linkgtk2.ml
ocamlopt: osxsupport.c ---> osxsupport.o                                                                                                                                                         
ocamlopt -I lwt -I ubase -I +lablgtk2 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/osxsupport.c
ocamlopt: pty.c ---> pty.o                                                                                                                                                                       
ocamlopt -I lwt -I ubase -I +lablgtk2 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/pty.c
Linking unison                                                                                                                                                                                   
ocamlopt -verbose -I lwt -I ubase -I +lablgtk2 -o unison   unix.cmxa str.cmxa lablgtk.cmxa  ubase/projectInfo.cmx ubase/myMap.cmx ubase/safelist.cmx ubase/uprintf.cmx ubase/util.cmx ubase/rx.cmx ubase/uarg.cmx ubase/prefs.cmx ubase/trace.cmx lwt/pqueue.cmx lwt/lwt.cmx lwt/lwt_util.cmx lwt/lwt_unix.cmx case.cmx pred.cmx uutil.cmx fileutil.cmx name.cmx path.cmx fspath.cmx fingerprint.cmx abort.cmx osx.cmx props.cmx fileinfo.cmx os.cmx lock.cmx clroot.cmx common.cmx tree.cmx checksum.cmx terminal.cmx transfer.cmx xferhint.cmx remote.cmx globals.cmx copy.cmx stasher.cmx update.cmx files.cmx sortri.cmx recon.cmx transport.cmx strings.cmx uicommon.cmx uitext.cmx test.cmx main.cmx pixmaps.cmx uigtk2.cmx linkgtk2.cmx osxsupport.o pty.o                                   
Files /opt/local/lib/ocaml/lablgtk2/lablgtk.cmxa
and /opt/local/lib/ocaml/stdlib.cmxa                                                                                                                                                             
make inconsistent assumptions over implementation Printf
make: *** [unison] Error 2                                                                                                                                                                       

Error: Unable to upgrade port: 1                                                                                                                                                                 

Change History (11)

comment:1 Changed 17 years ago by jmroot (Joshua Root)

Milestone: Port Bugs
Owner: changed from macports-tickets@… to eridius@…

Assigning to maintainer.

comment:2 Changed 16 years ago by gavin@…

Unison builds if I disable the x11 variant, but fails with it.

comment:3 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Port: unison added

comment:4 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: mcalhoun@… added

Cc Me!

comment:5 Changed 16 years ago by laurent.perrinet@…

similar but different story here: compiling with aqua support fails:

$ sudo port install  unison +aqua
--->  Computing dependencies for unison
--->  Fetching unison
--->  Verifying checksum(s) for unison
--->  Extracting unison
--->  Applying patches to unison
--->  Configuring unison
--->  Building unison
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57" && make -j2 all NATIVE=true THREADS=true UISTYLE=macnew " returned error 2
Command output: ocamlopt: uutil.mli ---> uutil.cmi
ocamlopt -I lwt -I ubase -thread  -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/uutil.mli
ocamlopt: fileutil.mli ---> fileutil.cmi
ocamlopt -I lwt -I ubase -thread  -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/fileutil.mli
ocamlopt: name.mli ---> name.cmi
ocamlopt -I lwt -I ubase -thread  -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/name.mli
ocamlopt: lock.mli ---> lock.cmi
ocamlopt -I lwt -I ubase -thread  -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/lock.mli
ocamlopt: clroot.mli ---> clroot.cmi
ocamlopt -I lwt -I ubase -thread  -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/clroot.mli
ocamlopt: tree.mli ---> tree.cmi
ocamlopt -I lwt -I ubase -thread  -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/tree.mli
ocamlopt: checksum.mli ---> checksum.cmi
ocamlopt -I lwt -I ubase -thread  -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/checksum.mli
ocamlopt: terminal.mli ---> terminal.cmi
ocamlopt -I lwt -I ubase -thread  -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/terminal.mli
ocamlopt: transfer.mli ---> transfer.cmi
ocamlopt -I lwt -I ubase -thread  -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/transfer.mli
ocamlopt: strings.mli ---> strings.cmi
ocamlopt -I lwt -I ubase -thread  -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/strings.mli
ocamlopt: test.mli ---> test.cmi
ocamlopt -I lwt -I ubase -thread  -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/test.mli
ocamlopt: uimacbridgenew.ml ---> uimacbridgenew.cmx
ocamlopt -I lwt -I ubase -thread  -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/uimacbridgenew.ml
ocamlopt: osxsupport.c ---> osxsupport.o
ocamlopt -I lwt -I ubase -thread  -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/osxsupport.c
File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_unison/work/unison-2.27.57/uimacbridgenew.ml", line 3, characters 0-11:
Error: Unbound module Common
make: *** [uimacbridgenew.cmx] Error 2
make: *** Waiting for unfinished jobs....

Error: Status 1 encountered during processing.

but

$ sudo port clean unison 
--->  Cleaning unison
$ sudo port install  unison 

works fine... (Macports from SVN, fresh install) thanks, Laurent

comment:6 Changed 16 years ago by gavin@…

The original problem I reported ("inconsistent assumptions over implementation Printf") was resolved a few months ago, but I don't know why. I'm still running 2.27.57.

I forgot about this bug report until Laurent commented just now, so apologies for failing to update it before. Laurent's problem is different to the original report, especially since he can work around it by cleaning and reinstalling.

comment:7 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:8 Changed 15 years ago by mason.kramer@…

Cc: mason.kramer@… added

Cc Me!

comment:9 Changed 15 years ago by dj_mook@…

Cc: dj_mook@… added

Cc Me!

comment:10 in reply to:  6 Changed 15 years ago by dj_mook@…

Replying to gavin@…:

especially since he can work around it by cleaning and reinstalling.

cleaning and reinstalling without gui variants. +aqua is definitely still broken on 10.6.2

comment:11 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Resolution: worksforme
Status: newclosed
Summary: unison 2.27.57 does not compileunison 2.27.57 does not compile with +x11 variant

unison +x11 builds fine for me on Tiger and Snow Leopard.

unison +aqua problems on Snow Leopard are tracked in #21862.

Note: See TracTickets for help on using tickets.