[MacPorts] #45269: crossbinutils @ 1.0 0-byte manpages
MacPorts
noreply at macports.org
Mon Oct 6 11:08:41 PDT 2014
#45269: crossbinutils @ 1.0 0-byte manpages
---------------------------------+--------------------------------
Reporter: matthieu.mallet@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.1
Keywords: crossbuild binutils | Port: arm-elf-binutils
---------------------------------+--------------------------------
I am about to submit my first ports but I've noticed that for one of them,
a cross build of binutils, the manpages are 0-bytes files (few bytes when
their got gzipped).
{{{
ll /opt/local/share/man/man1/arm-elf-*
-r--r--r--+ 1 root admin 40B Nov 19 2013 /opt/local/share/man/man1
/arm-elf-addr2line.1.gz
-r--r--r--+ 1 root admin 33B Nov 19 2013 /opt/local/share/man/man1
/arm-elf-ar.1.gz
-r--r--r--+ 1 root admin 33B Nov 19 2013 /opt/local/share/man/man1
/arm-elf-as.1.gz
-r--r--r--+ 1 root admin 38B Nov 19 2013 /opt/local/share/man/man1
/arm-elf-c++filt.1.gz
...
}}}
In the port's build directory, when I look at the manpages file size, I
get the following (sh-elf-binutils is the port I am working on, ):
{{{
/opt/local/var/macports/build/_devel_ports_cross_sh-elf-binutils/sh-elf-
binutils/work$ find . -iname "*.1" | xargs ls -ali
15648159 -rw-r--r--+ 1 macports wheel 10470 Mar 25 2013
./binutils-2.23.2/binutils/doc/addr2line.1
15648160 -rw-r--r--+ 1 macports wheel 18478 Mar 25 2013
./binutils-2.23.2/binutils/doc/ar.1
...
15667876 -rw-r--r--+ 1 macports wheel 0 Oct 6 19:44
./build/binutils/doc/addr2line.1
15667877 -rw-r--r--+ 1 macports wheel 0 Oct 6 19:44
./build/binutils/doc/ar.1
...
}}}
It seems that there is something wrong when copying the manpages. Can
someone point me out the thing that I may had not done correctly? (before
I submit a fix I would rather be sure I just do not miss an option)
By building binutils manually, I get manpages installed correctly though.
How to reproduce:
{{{
sudo port install arm-elf-binutils
man arm-elf-ar
fgets: No such file or directory
Error reading man page /opt/local/share/man/man1/arm-elf-ar.1.gz
No manual entry for arm-elf-ar
}}}
--
Ticket URL: <https://trac.macports.org/ticket/45269>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list