Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Aug 2020 22:10:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 248980] lang/ocaml can't built with synth because binutils as dependency not specified as full path
Message-ID:  <bug-248980-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248980

            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@FreeBSD.org
          Reporter: bojan_petrovic@fastmail.fm
                CC: michipili@gmail.com
                CC: michipili@gmail.com
             Flags: maintainer-feedback?(michipili@gmail.com)

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

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

Scanning existing packages.
 progress: 93.07%=20=20=20=20=20=20=20=20=20=20=20=20=20=20


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=20=20=20=20
Fetching packagesite.txz: 100%  168 KiB 172.0kB/s    00:01=20=20=20=20
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 f=
ound
in the repositories
Unfortunately, the system upgraded failed.




Build log shows an issue with as:

---------------------------------------------------------------------------=
-----
--  Phase: package
---------------------------------------------------------------------------=
-----
=3D=3D=3D>  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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-248980-7788>