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.
Trying to create a debian package for Lenny from the k9copy sid source. I installed all the dependencies via apt-get build-dep. I get the following result when I try to build the deb:
Code:
mark@debian:~/stuff/debs/k9copy/k9copy-2.3.3$ dpkg-buildpackage -rfakeroot -uc -b -D
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value:
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package k9copy
dpkg-buildpackage: source version 2.3.3-0.0
dpkg-buildpackage: source changed by Christian Marillat <marillat@debian.org>
dpkg-buildpackage: host architecture i386
fakeroot debian/rules clean
QUILT_PATCHES=debian/patches quilt --quiltrc /dev/null pop -a -R || test $? = 2
Patch 01_ffmpeg.diff does not remove cleanly (refresh it or enforce with -f)
make: *** [unpatch] Error 1
dpkg-buildpackage: failure: fakeroot debian/rules clean gave error exit status 2
To further add to my previous entry, I found the patch that was getting in the way, and got rid of it (presumably it came from my previous effort at this). On my second attempt, it got 75% of the way through before giving me this error:
Code:
/home/mark/stuff/debs/k9copy/k9copy-2.3.3/build/src/main/k9main.cpp:127: error: invalid use of incomplete type ‘struct QHeaderView’
/usr/include/qt4/QtGui/qtreeview.h:52: error: forward declaration of ‘struct QHeaderView’
make[3]: *** [CMakeFiles/k9copy.dir/src/main/k9main.o] Error 1
make[3]: Leaving directory `/home/mark/stuff/debs/k9copy/k9copy-2.3.3/build'
make[2]: *** [CMakeFiles/k9copy.dir/all] Error 2
make[2]: Leaving directory `/home/mark/stuff/debs/k9copy/k9copy-2.3.3/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/mark/stuff/debs/k9copy/k9copy-2.3.3/build'
make: *** [build-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
The above occured when it was in the process of "[ 75%] Building CXX object CMakeFiles/k9copy.dir/src/main/k9main.o"
As k9copy doesn't use a "series of patches" :
The k9copy_2.3.3-0.0.diff generates one patch,
so I guess, you can try deleting line 8 in the
k9copy_2.3.3-0.0.diff , and gzip it again.
( Line 8 : +include /usr/share/quilt/quilt.make ).
EDIT : Writing, while you were posting : i can see,
you solved the "quilt" issue.
.....
Which mirror are you using to set up the "source
repo" line ? I have tried several : No luck getting
all the files downloaded to complete the repo.
.....
Just curious why you are using fakeroot rather than just doing:
apt-get build-dep packagename;apt-get -b source packagename; install the resultant debs
Back to my original topic, the reason I'm interested in upgrading the version of k9copy is that I've had some issues copying some dvds (and some issues playing dvds with smplayer too). Not all, as some dvds work fine, but some give me issues. So, I thought perhaps upgrading would help.
To clarify the issues that I have, here is a part of the printout from trying to view one problematic dvd using smplayer:
Code:
libdvdread: Invalid title IFO (VTS_08_0.IFO).
libdvdread: Invalid title IFO (VTS_08_0.BUP).
Perhaps I should try to get a newer version of libdvdread.
Last edited by mark_alfred; 11-21-2009 at 09:03 PM..
Reason: clarify purpose of repo listing
deb-src http://debian.yorku.ca/debian/ sid main contrib non-free
Ok,but k9copy is in the Debian-Multimedia repo's?.
I get you need a source entry for Sid in your apt sources,what i don't get is what method you're using to build the package....
According to the link you posted, you use fakeroot if you are not creating the .deb at the time of downloading:
Quote:
If you decide not to create the .deb at the time of the download, you can create it later by running:
$ dpkg-buildpackage -rfakeroot -uc -b
Is this the case for you?.
Apologies if i'm making this even harder for you.
what i don't get is what method you're using to build the package....
According to the link you posted, you use fakeroot if you are not creating the .deb at the time of downloading. Is this the case for you?
I did initially attempt "apt-get -b source k9copy" when I was first getting the source package, but it did not work (for reasons that are as yet unknown to me -- which is why I started this thread, hoping to get some suggestions for answers). Since I had the source from this first attempt and didn't need to download it, in my later attempts (tried as both fakeroot and root) I used the dpkg-buildpackage method.
I did install libdvdread4 from sid (successfully, I might add, using the aforementioned methodology), to see if this would help my current k9copy, but it didn't. Maybe upgrading qt would help to get the new k9copy created.
Again, suggestions always appreciated.
Last edited by mark_alfred; 11-21-2009 at 09:13 PM..
Hehe fun things like this are why I run sid. All the trouble people go to trying to backport packages to stable just to have a 'stable' system. My install was installed just before Sarge was released so its around 5 yrs old in all that time I have had very few issues. The biggest issue was with the new Xorg, had to edit my xorg.conf using nano. which took a whole 2 minutes. I run apt-get dist-upgrade pretty much daily and other than occasionally having to wait a couple of days for a bug to get fixed I haven't had any real issues.
Do you run k9copy? If so, does it sometimes fail to copy (particularly with newly released dvds), or is it quite reliable with practically all dvds? This would be useful for me to know, because if the newer k9copy from sid also is unreliable, then really there is no point to me even trying to get the sid version.
Do you run k9copy? If so, does it sometimes fail to copy (particularly with newly released dvds), or is it quite reliable with practically all dvds?
I use the same version as Sid in Testing(2.3.3-0.0),and it has always worked for me.
Not that i use it very often,can't remember ever having a copy fail.
Well, I'm giving up. After giving up on upgrading k9copy, I then tried to upgrade ffmpeg from the sid source package (thinking that may help w/ the issue), and that too proved to be impossible. It would make more sense to simply upgrade the entire system to squeeze (in the past, I've had bad experiences using testing, though). The other obvious choice is to simply not worry about the few dvd disks that don't work, and get on with life (which is what I'm going to do). Hopefully I haven't broken my system*. Time to reboot and see.
______
* I stupidly used "apt-get build-dep" for various packages, rather than "aptitude build-dep", so, given that I have almost exclusively used aptitude in the past for maintenance of my system, I potentially may have screwed something up. I'll soon find out.
Last edited by mark_alfred; 11-22-2009 at 02:11 PM..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
Advertisement
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Click Here to receive a complimentary subscription courtesy of LQ.