Bug 223644 - sysutils/pacman installs an empty copy of bin/repo-add on FreeBSD 11.x.
Summary: sysutils/pacman installs an empty copy of bin/repo-add on FreeBSD 11.x.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-13 07:15 UTC by Ed Schouten
Modified: 2017-11-23 18:55 UTC (History)
2 users (show)

See Also:
amdmi3: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Schouten freebsd_committer freebsd_triage 2017-11-13 07:15:37 UTC
Hi there,

I'm replacing a 10.x system by one based on 11.1-STABLE r325708. On this system, I need to generate Arch Linux repositories, which is why I have pacman installed.

On 10.x, the port works fine, but on 11.x, bin/repo-add is empty, meaning I can't create any repositories:

08:14:16 ed@x ~ $ ls -l /usr/local/bin/repo-add
-r-xr-xr-x  1 root  wheel  0 Nov 13 08:10 /usr/local/bin/repo-add*

Is this a known issue?
Comment 1 Ed Schouten freebsd_committer freebsd_triage 2017-11-13 07:55:57 UTC
Figured it out: I saw some 'gm4: command not found' errors during the build. Installing the m4 package manually and rebuilding the port makes 'repo-add' work for me again.

In other words, pacman should have a m4 build dependency.
Comment 2 commit-hook freebsd_committer freebsd_triage 2017-11-23 18:55:26 UTC
A commit references this bug:

Author: amdmi3
Date: Thu Nov 23 18:54:44 UTC 2017
New revision: 454770
URL: https://svnweb.freebsd.org/changeset/ports/454770

Log:
  - Add missing dependency on GNU m4 [1]
  - Switch to USES=localbase
  - Switch to options helpers

  PR:		223644 [1]
  Submitted by:	ed [1]

Changes:
  head/sysutils/pacman/Makefile