Can't build wine-unstable, or, Proper way to dpkg-buildpackage?
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
mkdir wine; cd wine
wget http://dev.carbon-project.org/debian/wine-unstable/wine-unstable_1.3.19-0.1.dsc
wget http://dev.carbon-project.org/debian/wine-unstable/wine-unstable_1.3.19.orig.tar.bz2
wget http://dev.carbon-project.org/debian/wine-unstable/wine-unstable_1.3.19-0.1.debian.tar.bz2
tar xvjf wine-unstable_1.3.19-0.1.debian.tar.bz2
vi debian/rules #to append to CFLAGS and the ./configure line
dpkg-buildpackage -us -uc -rfakeroot -b
And I get back:
Code:
cd build32 && \
CC="gcc" \
CFLAGS="-O2 -g -pipe -march=native" \
LDFLAGS="" \
../configure --disable-win64 --with-x --disable-tests --with-openal \
--prefix=/usr \
--sysconfdir=/etc \
--bindir=/usr/bin \
--libdir=/usr/lib \
--mandir=/usr/share/man \
--infodir=/usr/share/info
bash: line 1: ../configure: No such file or directory
make: *** [configure-arch32-stamp] Error 127
dpkg-buildpackage: error: debian/rules build gave error exit status 2
dpkg-buildpackage -us -uc -rfakeroot
# snip
dpkg-source -b wine
dpkg-source: info: using options from wine/debian/source/options: --compression=bzip2 --compression-level=9
dpkg-source: error: can't build with source format '3.0 (quilt)': no orig.tar file found
dpkg-buildpackage: error: dpkg-source -b wine gave error exit status 255
System:
Code:
Debian dpkg-buildpackage version 1.16.0.3.
Linux tlaptop 2.6.38-5.dmz.2-liquorix-686 #1 ZEN SMP PREEMPT Sat May 7 07:01:27 UTC 2011 i686 GNU/Linux
Debian wheezy/sid
What am I doing wrong? How can I build these source packages?
Last edited by AlucardZero; 05-07-2011 at 10:18 PM.
If I cd to wine/debian and try dpkg-buildpackage, it gives me:
Code:
tail: cannot open `debian/changelog' for reading: No such file or directory
dpkg-buildpackage: error: tail of debian/changelog gave error exit status 1
I've visited that page, I've downloaded that package. There's no debian/changelog file in the debian directory, but that is because that's source, if you understand me. You can create debian/changelog; http://www.debian.org/doc/manuals/ma...html#changelog
$ tar tjf wine-unstable_1.3.19-0.1.debian.tar.bz2 | grep changelog
debian/changelog
?
Because I'm not supposed to trust binary packages provided by someone else (as the page so forcibly says), and so I can compile with -march=native. But I'll probably give up and do it anyway.
There is changelog and debian/changelog. And on the second look this may be workable. It's just that I didn't go into this deeply, I'm really tired today.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.