[Bug 248980] lang/ocaml can't built with synth because binutils as dependency not specified as full path

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 28 22:10:08 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248980

            Bug ID: 248980
           Summary: lang/ocaml can't built with synth because binutils as
                    dependency not specified as full path
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: bojan_petrovic at fastmail.fm
                CC: michipili at gmail.com
                CC: michipili at gmail.com
             Flags: maintainer-feedback?(michipili at gmail.com)

Created attachment 217602
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=217602&action=edit
Makefile patch

When building lang/ocaml with synth, the package fails to install:

Scanning existing packages.
 progress: 93.07%              


The task is complete.  Final tally:
Initial queue size: 1
    packages built: 1
           ignored: 0
           skipped: 0
            failed: 0

Duration: 00:04:32
The build logs can be found at: /var/log/synth
Would you like to rebuild the local repository (Y/N)? y
Stand by, recursively scanning 1 port serially.
Scanning existing packages.
ocaml-4.05.0_1.txz failed dependency check.
Packages validated, rebuilding local repository.
Local repository successfully rebuilt
Would you like to upgrade your system with the new packages now (Y/N)? y
Updating Synth repository catalogue...
Fetching meta.conf: 100%    163 B   0.2kB/s    00:01    
Fetching packagesite.txz: 100%  168 KiB 172.0kB/s    00:01    
Processing entries: 100%
Synth repository update completed. 705 packages processed.
All repositories are up to date.
pkg: No packages available to install matching 'ocaml-4.05.0_1' have been found
in the repositories
Unfortunately, the system upgraded failed.




Build log shows an issue with as:

--------------------------------------------------------------------------------
--  Phase: package
--------------------------------------------------------------------------------
===>  Building package for ocaml-4.05.0_1
actual-package-depends: dependency on /usr/bin/as not registered (normal if it
belongs to base)
file sizes/checksums  [2433]: .......... done
packing files         [2433]: .......... done
packing directories      [1]: . done


Replacing "as" in BUILD_DEPENDS and RUN_DEPENDS with "${LOCALBASE}/bin/as"
fixes the issue for me.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list