Building binutils fails with "error: package binutils-doc not in control info"
Hi, I am trying to build binutils using your scripts for x86_64-linux-gnu triplet. Specifically, I checked out `applied/
From reading debian/README files I got following commands:
```bash
rm -f stamps/control
debian/rules stamps/control TARGET=amd64
BACKPORT=1 DEB_BUILD_
```
(BACKPORT option is my attempt to solve things, removing it does not change result)
This snippet fails with following error:
```
...
d_src=debian/
d_dst=debian/
for lib in libbfd libopcodes; do \
so=$(basename $(echo $d_src/
mv $d_src/$so $d_dst/.; \
ln -sf ../../.
mv $d_src/$lib.a $d_dst/
ln -sf ../../.
done
mv: cannot stat 'debian/
make: *** [debian/rules:868: stamps/
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
```
Changing TARGET to x86_64-linux-gnu does not help.
Not passing TARGET seems to work longer, `binutils-for-host` package is successfully created but after this build fails with
```
dpkg-gencontrol -Pdebian/
dpkg-gencontrol: error: package binutils-doc not in control info
make: *** [debian/rules:1373: binary-indep] Error 255
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
```
`binutils-doc` is not in debian/control indeed and I can't understand how to get it there properly.
How to resolve these problems, what am I doing wrong?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu binutils Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Roman
- Solved:
- Last query:
- Last reply: