Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make fails on Ubuntu 14.04 #647

Open
Echaleon opened this issue May 12, 2015 · 4 comments
Open

Make fails on Ubuntu 14.04 #647

Echaleon opened this issue May 12, 2015 · 4 comments
Labels

Comments

@Echaleon
Copy link

Trying to compile on Ubuntu 14.04 fails due to file not found in _build/SRPMS, despite the files existing in SRPMS. First one happens right off the bat with:
libre-ocaml_1.2.2-1.dsc

Symlinking the file in SRPMS to _build/SRPMS seems to work, until make runs into another file not found error.

@kzyczenko
Copy link

Try following:
cd buildroot
rm -rf _build/SRPMS _build/RPMS
ln -s RPMS _build/RPMS
ln -s SRPMS _build/SRPMS

@Echaleon
Copy link
Author

In the mean time I did that, before I saw this, and it seemed to run well for awhile, until make ran into another error.

[MAKEDEB] _build/SRPMS/liblwt-ocaml_2.4.8-1.dsc
2.4.5-1
2.4.4-1
2.4.3-1
2.2.0-2
2.2.0-2
2.2.0-1
2.0.0-0.3.rc1
2.0.0-0.2.rc1.fc13
2.0.0-0.rc1.fc13
1.1.0-6
1.1.0-5
2.4.8-1
1.1.0-4
1.1.0-3
1.1.0-2
1.1.0-1
cd /tmp/makedeb71CXsF
dpkg-source -b -auto-commit lwt-2.4.8
dpkg-source: error: can't build with source format '3.0 (quilt)': no upstream tarball found at ../liblwt-ocaml_2.4.5.orig.tar.{bz2,gz,lzma,xz}
Traceback (most recent call last):
    File "/usr/bin/planex-makedeb", line 9, in (module)
        load_entry_point('planex==0.6.0', 'console_scripts', 'planex-makedeb')()
    File "/usr/lib/python2.7/dist-packages/planex/makedeb.py", line 174, in main
        assert res == 0
AssertionError
make: *** [_build/SRPMS/liblwt-ocaml_2.4.8-1.dsc] Error 1

I did a find -name "liblwt*.tat*" to see if I could find anything and I only got:

./tmp/makedeb71CXsF/liblwt-ocaml_2.4.8.orig.tar.gz
./tmp/makedebW09efZ/liblwt-ocaml_2.4.8.orig.tar.gz

It's the same temp directory, so is it possible that it can be using 2.4.8. instead of 2.4.5? What would I have to modify to fix it? I'd really like to get this to work for XAPI on Ubuntu, and not have to resort to using CentOS or the prebuilt Xenserver iso, since the ZFS on Linux support isn't as great on CentOS.

@kzyczenko
Copy link

sed -i 's/2.4.5/2.4.8/g' SPECS/ocaml-lwt.spec

But it will fail again on something else. I was not able to compile it successfuly under Ubuntu 14.04.

@djmoonshine
Copy link

I got the exact same issues. First the "file not found" issue which the linking of SRPMS and RPMS resolves, and after that the issue with liblwt-ocaml_2.4.8-1.dsc
I am usning a fresh install of Ubuntu 14.04.2 on a Citrix XenServer to test things out, cound this affect?

@euanh euanh added the deb label Sep 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants