Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 782109 - net-misc/unison-2.51.3_p20201127[gtk ocamlopt] - Error: Cannot find file lablgtk.cmxa
Summary: net-misc/unison-2.51.3_p20201127[gtk ocamlopt] - Error: Cannot find file labl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-11 13:51 UTC by ernsteiswuerfel
Modified: 2021-05-03 06:10 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (file_782109.txt,6.04 KB, text/plain)
2021-04-11 13:51 UTC, ernsteiswuerfel
Details
build.log (unison-2.51.3_p20201127:20210411-133935.log,45.93 KB, text/plain)
2021-04-11 13:52 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2021-04-11 13:51:15 UTC
Created attachment 699258 [details]
emerge --info

[...]
ocamlopt: linkgtk2.ml ---> linkgtk2.cmx
ocamlopt -g -I lwt -I ubase -I system -I fsmonitor -I fsmonitor/linux -I fsmonitor/windows -I system/generic -I lwt/generic -I /usr/lib/ocaml/lablgtk2 -c /var/tmp/portage/net-misc/unison-2.51.3_p20201127/work/unison-4713e608d2f9c998ba4412fee53b94dc9bef98b9/src/linkgtk2.ml
ocamlopt: osxsupport.c ---> osxsupport.o
ocamlopt -g -I lwt -I ubase -I system -I fsmonitor -I fsmonitor/linux -I fsmonitor/windows -I system/generic -I lwt/generic -I /usr/lib/ocaml/lablgtk2 -ccopt "-o "/var/tmp/portage/net-misc/unison-2.51.3_p20201127/work/unison-4713e608d2f9c998ba4412fee53b94dc9bef98b9/src/osxsupport.o -c /var/tmp/portage/net-misc/unison-2.51.3_p20201127/work/unison-4713e608d2f9c998ba4412fee53b94dc9bef98b9/src/osxsupport.c
ocamlopt: pty.c ---> pty.o
ocamlopt -g -I lwt -I ubase -I system -I fsmonitor -I fsmonitor/linux -I fsmonitor/windows -I system/generic -I lwt/generic -I /usr/lib/ocaml/lablgtk2 -ccopt "-o "/var/tmp/portage/net-misc/unison-2.51.3_p20201127/work/unison-4713e608d2f9c998ba4412fee53b94dc9bef98b9/src/pty.o -c /var/tmp/portage/net-misc/unison-2.51.3_p20201127/work/unison-4713e608d2f9c998ba4412fee53b94dc9bef98b9/src/pty.c
ocamlopt: bytearray_stubs.c ---> bytearray_stubs.o
ocamlopt -g -I lwt -I ubase -I system -I fsmonitor -I fsmonitor/linux -I fsmonitor/windows -I system/generic -I lwt/generic -I /usr/lib/ocaml/lablgtk2 -ccopt "-o "/var/tmp/portage/net-misc/unison-2.51.3_p20201127/work/unison-4713e608d2f9c998ba4412fee53b94dc9bef98b9/src/bytearray_stubs.o -c /var/tmp/portage/net-misc/unison-2.51.3_p20201127/work/unison-4713e608d2f9c998ba4412fee53b94dc9bef98b9/src/bytearray_stubs.c
Linking unison
ocamlopt -verbose -g -I lwt -I ubase -I system -I fsmonitor -I fsmonitor/linux -I fsmonitor/windows -I system/generic -I lwt/generic -I /usr/lib/ocaml/lablgtk2  -o unison   unix.cmxa str.cmxa bigarray.cmxa lablgtk.cmxa ubase/rx.cmx unicode_tables.cmx unicode.cmx bytearray.cmx system/system_generic.cmx system/generic/system_impl.cmx system.cmx ubase/projectInfo.cmx ubase/myMap.cmx ubase/safelist.cmx ubase/util.cmx ubase/uarg.cmx ubase/prefs.cmx ubase/trace.cmx ubase/proplist.cmx lwt/pqueue.cmx lwt/lwt.cmx lwt/lwt_util.cmx lwt/generic/lwt_unix_impl.cmx lwt/lwt_unix.cmx uutil.cmx case.cmx pred.cmx fileutil.cmx name.cmx path.cmx fspath.cmx fs.cmx fingerprint.cmx abort.cmx osx.cmx external.cmx fswatch.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 fswatchold.cmx fpcache.cmx update.cmx copy.cmx stasher.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 bytearray_stubs.o -cclib -lutil
File "_none_", line 1:
Error: Cannot find file lablgtk.cmxa
Comment 1 ernsteiswuerfel archtester 2021-04-11 13:52:15 UTC
Created attachment 699261 [details]
build.log
Comment 2 Tupone Alfredo gentoo-dev 2021-04-25 17:30:20 UTC
Have you tried to 

emerge dev-ml/lablgtk:2
Comment 3 ernsteiswuerfel archtester 2021-05-02 07:36:17 UTC
(In reply to Tupone Alfredo from comment #2)
> Have you tried to 
> 
> emerge dev-ml/lablgtk:2
dev-ml/lablgtk-2.18.10 was already built. But unison does not seem to check whether lablgtk was built with USE='ocamlopt' or not. I did rebuild lablgtk with +ocamlopt and after that unison-2.51.3_p20201127[gtk ocamlopt] also builds fine.
Comment 4 Larry the Git Cow gentoo-dev 2021-05-03 06:10:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=921a68af015d95b880642ac291df6a2335fc47e6

commit 921a68af015d95b880642ac291df6a2335fc47e6
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2021-05-03 06:10:35 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2021-05-03 06:10:35 +0000

    net-misc/unison: require ocamlopt on lablgtk when needed
    
    Closes: https://bugs.gentoo.org/782109
    Package-Manager: Portage-3.0.18, Repoman-3.0.2
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 net-misc/unison/unison-2.51.3_p20201127.ebuild | 4 ++--
 net-misc/unison/unison-2.51.4_rc2.ebuild       | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)