Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] compiling qupzilla-1.8.5 failing

Programming languages, Coding, Executables, Package Creation, and Scripting.
Post Reply
Message
Author
ricanlinux
Posts: 63
Joined: 2007-05-02 00:02

[SOLVED] compiling qupzilla-1.8.5 failing

#1 Post by ricanlinux »

I am trying to to compile and debainize the latest version of qupzilla on my version of Wheezy. I used the guide found in this thread. However I am getting this error when I execute dpkg-buildpackage


dh_installinfo
install -d debian/qupzilla/usr/share/info
cp bin/themes/chrome/theme.info bin/themes/default/theme.info bin/themes/windows/theme.info bin/themes/mac/theme.info bin/themes/breathe/theme.info bin/themes/linux/theme.info debian/qupzilla/usr/share/info
cp: will not overwrite just-created `debian/qupzilla/usr/share/info/theme.info' with `bin/themes/default/theme.info'
cp: will not overwrite just-created `debian/qupzilla/usr/share/info/theme.info' with `bin/themes/windows/theme.info'
cp: will not overwrite just-created `debian/qupzilla/usr/share/info/theme.info' with `bin/themes/mac/theme.info'
cp: will not overwrite just-created `debian/qupzilla/usr/share/info/theme.info' with `bin/themes/breathe/theme.info'
cp: will not overwrite just-created `debian/qupzilla/usr/share/info/theme.info' with `bin/themes/linux/theme.info'
dh_installinfo: cp bin/themes/chrome/theme.info bin/themes/default/theme.info bin/themes/windows/theme.info bin/themes/mac/theme.info bin/themes/breathe/theme.info bin/themes/linux/theme.info debian/qupzilla/usr/share/info returned exit code 1
make: *** [binary] Error 2
dpkg-buildpackage: error: debian/rules binary gave error exit status 2

I even tried running it with the -rfakeroot and as root and still get this error. For my google search it seems that the issue is with the make file, but I cannot seem to see where. I am attaching my makefile if anyone wants to take a look. Thanks!

Makefile:


#############################################################################
# Makefile for building: QupZilla
# Generated by qmake (2.01a) (Qt 4.8.2) on: Fri Dec 26 20:31:58 2014
# Project: QupZilla.pro
# Template: subdirs
# Command: /usr/bin/qmake -nocache QMAKE_STRIP=: PREFIX=/usr -o Makefile QupZilla.pro
#############################################################################

first: make_default
MAKEFILE = Makefile
QMAKE = /usr/bin/qmake
DEL_FILE = rm -f
CHK_DIR_EXISTS= test -d
MKDIR = mkdir -p
COPY = cp -f
COPY_FILE = $(COPY)
COPY_DIR = $(COPY) -r
INSTALL_FILE = install -m 644 -p
INSTALL_PROGRAM = install -m 755 -p
INSTALL_DIR = $(COPY_DIR)
DEL_FILE = rm -f
SYMLINK = ln -f -s
DEL_DIR = rmdir
MOVE = mv -f
CHK_DIR_EXISTS= test -d
MKDIR = mkdir -p
SUBTARGETS = \
sub-src-lib \
sub-src-main \
sub-src-plugins

src/lib//$(MAKEFILE):
@$(CHK_DIR_EXISTS) src/lib/ || $(MKDIR) src/lib/
cd src/lib/ && $(QMAKE) /home/rican-linux/Build/git/qupzilla-1.8.5/src/lib/lib.pro -nocache QMAKE_STRIP=: PREFIX=/usr -o $(MAKEFILE)
sub-src-lib-qmake_all: FORCE
@$(CHK_DIR_EXISTS) src/lib/ || $(MKDIR) src/lib/
cd src/lib/ && $(QMAKE) /home/rican-linux/Build/git/qupzilla-1.8.5/src/lib/lib.pro -nocache QMAKE_STRIP=: PREFIX=/usr -o $(MAKEFILE)
sub-src-lib: src/lib//$(MAKEFILE) FORCE
cd src/lib/ && $(MAKE) -f $(MAKEFILE)
sub-src-lib-make_default: src/lib//$(MAKEFILE) FORCE
cd src/lib/ && $(MAKE) -f $(MAKEFILE)
sub-src-lib-make_first: src/lib//$(MAKEFILE) FORCE
cd src/lib/ && $(MAKE) -f $(MAKEFILE) first
sub-src-lib-all: src/lib//$(MAKEFILE) FORCE
cd src/lib/ && $(MAKE) -f $(MAKEFILE) all
sub-src-lib-clean: src/lib//$(MAKEFILE) FORCE
cd src/lib/ && $(MAKE) -f $(MAKEFILE) clean
sub-src-lib-distclean: src/lib//$(MAKEFILE) FORCE
cd src/lib/ && $(MAKE) -f $(MAKEFILE) distclean
sub-src-lib-install_subtargets: src/lib//$(MAKEFILE) FORCE
cd src/lib/ && $(MAKE) -f $(MAKEFILE) install
sub-src-lib-uninstall_subtargets: src/lib//$(MAKEFILE) FORCE
cd src/lib/ && $(MAKE) -f $(MAKEFILE) uninstall
src/main//$(MAKEFILE):
@$(CHK_DIR_EXISTS) src/main/ || $(MKDIR) src/main/
cd src/main/ && $(QMAKE) /home/rican-linux/Build/git/qupzilla-1.8.5/src/main/main.pro -nocache QMAKE_STRIP=: PREFIX=/usr -o $(MAKEFILE)
sub-src-main-qmake_all: FORCE
@$(CHK_DIR_EXISTS) src/main/ || $(MKDIR) src/main/
cd src/main/ && $(QMAKE) /home/rican-linux/Build/git/qupzilla-1.8.5/src/main/main.pro -nocache QMAKE_STRIP=: PREFIX=/usr -o $(MAKEFILE)
sub-src-main: src/main//$(MAKEFILE) sub-src-lib FORCE
cd src/main/ && $(MAKE) -f $(MAKEFILE)
sub-src-main-make_default: src/main//$(MAKEFILE) sub-src-lib-make_default FORCE
cd src/main/ && $(MAKE) -f $(MAKEFILE)
sub-src-main-make_first: src/main//$(MAKEFILE) sub-src-lib-make_first FORCE
cd src/main/ && $(MAKE) -f $(MAKEFILE) first
sub-src-main-all: src/main//$(MAKEFILE) sub-src-lib-all FORCE
cd src/main/ && $(MAKE) -f $(MAKEFILE) all
sub-src-main-clean: src/main//$(MAKEFILE) sub-src-lib-clean FORCE
cd src/main/ && $(MAKE) -f $(MAKEFILE) clean
sub-src-main-distclean: src/main//$(MAKEFILE) sub-src-lib-distclean FORCE
cd src/main/ && $(MAKE) -f $(MAKEFILE) distclean
sub-src-main-install_subtargets: src/main//$(MAKEFILE) sub-src-lib-install_subtargets FORCE
cd src/main/ && $(MAKE) -f $(MAKEFILE) install
sub-src-main-uninstall_subtargets: src/main//$(MAKEFILE) sub-src-lib-uninstall_subtargets FORCE
cd src/main/ && $(MAKE) -f $(MAKEFILE) uninstall
src/plugins//$(MAKEFILE):
@$(CHK_DIR_EXISTS) src/plugins/ || $(MKDIR) src/plugins/
cd src/plugins/ && $(QMAKE) /home/rican-linux/Build/git/qupzilla-1.8.5/src/plugins/plugins.pro -nocache QMAKE_STRIP=: PREFIX=/usr -o $(MAKEFILE)
sub-src-plugins-qmake_all: FORCE
@$(CHK_DIR_EXISTS) src/plugins/ || $(MKDIR) src/plugins/
cd src/plugins/ && $(QMAKE) /home/rican-linux/Build/git/qupzilla-1.8.5/src/plugins/plugins.pro -nocache QMAKE_STRIP=: PREFIX=/usr -o $(MAKEFILE)
sub-src-plugins: src/plugins//$(MAKEFILE) sub-src-lib FORCE
cd src/plugins/ && $(MAKE) -f $(MAKEFILE)
sub-src-plugins-make_default: src/plugins//$(MAKEFILE) sub-src-lib-make_default FORCE
cd src/plugins/ && $(MAKE) -f $(MAKEFILE)
sub-src-plugins-make_first: src/plugins//$(MAKEFILE) sub-src-lib-make_first FORCE
cd src/plugins/ && $(MAKE) -f $(MAKEFILE) first
sub-src-plugins-all: src/plugins//$(MAKEFILE) sub-src-lib-all FORCE
cd src/plugins/ && $(MAKE) -f $(MAKEFILE) all
sub-src-plugins-clean: src/plugins//$(MAKEFILE) sub-src-lib-clean FORCE
cd src/plugins/ && $(MAKE) -f $(MAKEFILE) clean
sub-src-plugins-distclean: src/plugins//$(MAKEFILE) sub-src-lib-distclean FORCE
cd src/plugins/ && $(MAKE) -f $(MAKEFILE) distclean
sub-src-plugins-install_subtargets: src/plugins//$(MAKEFILE) sub-src-lib-install_subtargets FORCE
cd src/plugins/ && $(MAKE) -f $(MAKEFILE) install
sub-src-plugins-uninstall_subtargets: src/plugins//$(MAKEFILE) sub-src-lib-uninstall_subtargets FORCE
cd src/plugins/ && $(MAKE) -f $(MAKEFILE) uninstall

Makefile: QupZilla.pro /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/unix.conf \
/usr/share/qt4/mkspecs/common/linux.conf \
/usr/share/qt4/mkspecs/common/gcc-base.conf \
/usr/share/qt4/mkspecs/common/gcc-base-unix.conf \
/usr/share/qt4/mkspecs/common/g++-base.conf \
/usr/share/qt4/mkspecs/common/g++-unix.conf \
/usr/share/qt4/mkspecs/qconfig.pri \
/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
/usr/share/qt4/mkspecs/features/qt_functions.prf \
/usr/share/qt4/mkspecs/features/qt_config.prf \
/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
/usr/share/qt4/mkspecs/features/default_pre.prf \
/usr/share/qt4/mkspecs/features/release.prf \
/usr/share/qt4/mkspecs/features/default_post.prf \
/usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
/usr/share/qt4/mkspecs/features/warn_on.prf \
/usr/share/qt4/mkspecs/features/qt.prf \
/usr/share/qt4/mkspecs/features/unix/thread.prf \
/usr/share/qt4/mkspecs/features/moc.prf \
/usr/share/qt4/mkspecs/features/resources.prf \
/usr/share/qt4/mkspecs/features/uic.prf \
/usr/share/qt4/mkspecs/features/yacc.prf \
/usr/share/qt4/mkspecs/features/lex.prf \
/usr/share/qt4/mkspecs/features/include_source_dir.prf
$(QMAKE) -nocache QMAKE_STRIP=: PREFIX=/usr -o Makefile QupZilla.pro
/usr/share/qt4/mkspecs/common/unix.conf:
/usr/share/qt4/mkspecs/common/linux.conf:
/usr/share/qt4/mkspecs/common/gcc-base.conf:
/usr/share/qt4/mkspecs/common/gcc-base-unix.conf:
/usr/share/qt4/mkspecs/common/g++-base.conf:
/usr/share/qt4/mkspecs/common/g++-unix.conf:
/usr/share/qt4/mkspecs/qconfig.pri:
/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri:
/usr/share/qt4/mkspecs/features/qt_functions.prf:
/usr/share/qt4/mkspecs/features/qt_config.prf:
/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
/usr/share/qt4/mkspecs/features/default_pre.prf:
/usr/share/qt4/mkspecs/features/release.prf:
/usr/share/qt4/mkspecs/features/default_post.prf:
/usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
/usr/share/qt4/mkspecs/features/warn_on.prf:
/usr/share/qt4/mkspecs/features/qt.prf:
/usr/share/qt4/mkspecs/features/unix/thread.prf:
/usr/share/qt4/mkspecs/features/moc.prf:
/usr/share/qt4/mkspecs/features/resources.prf:
/usr/share/qt4/mkspecs/features/uic.prf:
/usr/share/qt4/mkspecs/features/yacc.prf:
/usr/share/qt4/mkspecs/features/lex.prf:
/usr/share/qt4/mkspecs/features/include_source_dir.prf:
qmake: qmake_all FORCE
@$(QMAKE) -nocache QMAKE_STRIP=: PREFIX=/usr -o Makefile QupZilla.pro

qmake_all: sub-src-lib-qmake_all sub-src-main-qmake_all sub-src-plugins-qmake_all FORCE

make_default: sub-src-lib-make_default sub-src-main-make_default sub-src-plugins-make_default FORCE
make_first: sub-src-lib-make_first sub-src-main-make_first sub-src-plugins-make_first FORCE
all: sub-src-lib-all sub-src-main-all sub-src-plugins-all FORCE
clean: sub-src-lib-clean sub-src-main-clean sub-src-plugins-clean FORCE
distclean: sub-src-lib-distclean sub-src-main-distclean sub-src-plugins-distclean FORCE
-$(DEL_FILE) Makefile
install_subtargets: sub-src-lib-install_subtargets sub-src-main-install_subtargets sub-src-plugins-install_subtargets FORCE
uninstall_subtargets: sub-src-lib-uninstall_subtargets sub-src-main-uninstall_subtargets sub-src-plugins-uninstall_subtargets FORCE

sub-src-lib-check: src/lib/$(MAKEFILE)
cd src/lib/ && $(MAKE) -f $(MAKEFILE) check
sub-src-main-check: src/main/$(MAKEFILE) sub-src-lib-check
cd src/main/ && $(MAKE) -f $(MAKEFILE) check
sub-src-plugins-check: src/plugins/$(MAKEFILE) sub-src-lib-check
cd src/plugins/ && $(MAKE) -f $(MAKEFILE) check
check: sub-src-lib-check sub-src-main-check sub-src-plugins-check

mocclean: compiler_moc_header_clean compiler_moc_source_clean

mocables: compiler_moc_header_make_all compiler_moc_source_make_all
install: install_subtargets FORCE

uninstall: uninstall_subtargets FORCE

FORCE:
Last edited by ricanlinux on 2014-12-30 06:55, edited 1 time in total.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: compiling qupzilla-1.8.5 failing

#2 Post by stevepusser »

Existing wheezy-based source and deb packages here:

http://main.mepis-deb.org/mepiscr/testr ... /qupzilla/
MX Linux packager and developer

ricanlinux
Posts: 63
Joined: 2007-05-02 00:02

Re: compiling qupzilla-1.8.5 failing

#3 Post by ricanlinux »

I am getting the same error


make[1]: Leaving directory `/home/rican-linux/Build/source/qupzilla-1.8.5'
dh_install
dh_installdocs
dh_installchangelogs
dh_installexamples
dh_installman
dh_installcatalogs
dh_installcron
dh_installdebconf
dh_installemacsen
dh_installifupdown
dh_installinfo
cp: will not overwrite just-created `debian/qupzilla/usr/share/info/theme.info' with `bin/themes/default/theme.info'
cp: will not overwrite just-created `debian/qupzilla/usr/share/info/theme.info' with `bin/themes/windows/theme.info'
cp: will not overwrite just-created `debian/qupzilla/usr/share/info/theme.info' with `bin/themes/mac/theme.info'
cp: will not overwrite just-created `debian/qupzilla/usr/share/info/theme.info' with `bin/themes/breathe/theme.info'
cp: will not overwrite just-created `debian/qupzilla/usr/share/info/theme.info' with `bin/themes/linux/theme.info'
dh_installinfo: cp bin/themes/chrome/theme.info bin/themes/default/theme.info bin/themes/windows/theme.info bin/themes/mac/theme.info bin/themes/breathe/theme.info bin/themes/linux/theme.info debian/qupzilla/usr/share/info returned exit code 1
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: compiling qupzilla-1.8.5 failing

#4 Post by stevepusser »

Try this method:

Install devscripts.

Download the orig.tar.xz and debian.tar.gz files for the MEPIS qupzilla 1.8.5 version from that MEPIS repository.

Extract the orig.tar.xz and the debian.tar.gz archives, and then move the new /debian folder into the newly extracted qupzilla-1.8.5 source folder.

Enter the source folder yourself, open a terminal there, and execute:

Code: Select all

debuild -us -uc
If you get a message about missing build-depends, install them and try the build command again.

also note that upstream Debian is compiling qupzilla with QT 5, and MEPIS with QT 4 (for now). If you have the wheezy-backports QT5 installed and are trying to build with it, yet are getting a makefile generated by the QT4 qmake, that's very probably your issue.
MX Linux packager and developer

ricanlinux
Posts: 63
Joined: 2007-05-02 00:02

Re: compiling qupzilla-1.8.5 failing

#5 Post by ricanlinux »

I have not backported QT5. Trying now.

ricanlinux
Posts: 63
Joined: 2007-05-02 00:02

Re: compiling qupzilla-1.8.5 failing

#6 Post by ricanlinux »

It compled however there are no plugins in the extension folder. Is the newest version does not contain them?

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: compiling qupzilla-1.8.5 failing

#7 Post by stevepusser »

Hmmm--you are right, they should be in the libqupzilla package. Maybe something is wrong with the /debian/libbqupzilla.install file, but it did work for the 1.8.3 Sid version that I used as a template. Let's see if I can fix this....

BTW, QT 5 is in wheezy-backports.
MX Linux packager and developer

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: compiling qupzilla-1.8.5 failing

#8 Post by stevepusser »

OK, this fixes it. Just replace the debian/rules file with this one: https://copy.com/FIGHUsnTQNB9kY0i

It's directly from the Sid 1.8.3 version, I damaged the one I was using somehow. Thanks for catching that!
MX Linux packager and developer

ricanlinux
Posts: 63
Joined: 2007-05-02 00:02

Re: compiling qupzilla-1.8.5 failing

#9 Post by ricanlinux »

Thanks that worked! Do you when the plugin Videoner will added to the package or could you point to where I can do that my self? I am not a programmer but I am a willing learner.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: compiling qupzilla-1.8.5 failing

#10 Post by stevepusser »

Let's see...

OK, I downloaded the plugin source and edited the .pro and qrc files to match what was really there in translations, and to match others, then created a new orig.tar.xz file with the source. Just extract that and add the /debian folder, then build as before. Install the libqupzilla and the main qupzilla deb.

I have not tested the plugin, it may be buggy. It's not included for some reason.

https://copy.com/cCElnUMIrgHMoXDU
MX Linux packager and developer

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: compiling qupzilla-1.8.5 failing

#11 Post by craigevil »

Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

ricanlinux
Posts: 63
Joined: 2007-05-02 00:02

Re: compiling qupzilla-1.8.5 failing

#12 Post by ricanlinux »

I am running wheezy on my powerbook g4. I do not believe the .deb files on the site will support powerpc architecture.

ricanlinux
Posts: 63
Joined: 2007-05-02 00:02

Re: compiling qupzilla-1.8.5 failing

#13 Post by ricanlinux »

stevepusser wrote:Let's see...

OK, I downloaded the plugin source and edited the .pro and qrc files to match what was really there in translations, and to match others, then created a new orig.tar.xz file with the source. Just extract that and add the /debian folder, then build as before. Install the libqupzilla and the main qupzilla deb.

I have not tested the plugin, it may be buggy. It's not included for some reason.

https://copy.com/cCElnUMIrgHMoXDU
Thanks! I will compile and test. I will move the .deb files I created to another directory in case Videoner messes up qupzilla then I can just uninstall and roll back.

ricanlinux
Posts: 63
Joined: 2007-05-02 00:02

Re: compiling qupzilla-1.8.5 failing

#14 Post by ricanlinux »

I have been able to compile and install with no issues and verified the plugin works. Thanks for all your help!

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: compiling qupzilla-1.8.5 failing

#15 Post by stevepusser »

ricanlinux wrote:I have been able to compile and install with no issues and verified the plugin works. Thanks for all your help!
Nice! Thanks for the feedback.
MX Linux packager and developer

Post Reply