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

 

 

 

libtoolize failed while making squid3-ssl deb

User discussion about Debian Development, Debian Project News and Announcements. Not for support questions.
Post Reply
Message
Author
andi9999
Posts: 4
Joined: 2016-09-29 07:00

libtoolize failed while making squid3-ssl deb

#1 Post by andi9999 »

Code: Select all

root@xxx:/home/samba/squid/squid3-3.4.8# dpkg-buildpackage -rfakeroot -b
dpkg-buildpackage: Warnung: Verwendung eines root-werde-Befehls, obwohl bereits root
dpkg-buildpackage: Quellpaket squid3
dpkg-buildpackage: Quellversion 3.4.8-6+deb8u3
dpkg-buildpackage: Quelldistribution jessie-security
dpkg-buildpackage: Quellen geändert durch Santiago Ruano Rincón <santiagorr@riseup.net>
dpkg-buildpackage: Host-Architektur amd64
 dpkg-source --before-build squid3-3.4.8
 fakeroot debian/rules clean
test -x debian/rules
rm -f debian/stamp-makefile-build debian/stamp-makefile-install
/usr/bin/make  -C .  -k distclean
make[1]: Entering directory '/home/samba/squid/squid3-3.4.8'
make[1]: *** No rule to make target 'distclean'.
make[1]: Leaving directory '/home/samba/squid/squid3-3.4.8'
/usr/share/cdbs/1/class/makefile.mk:55: recipe for target 'makefile-clean' failed
make: [makefile-clean] Error 2 (ignored)
rm -f debian/stamp-autotools
rmdir --ignore-fail-on-non-empty .
rmdir: konnte „.“ nicht entfernen: Das Argument ist ungültig
/usr/share/cdbs/1/class/autotools.mk:52: recipe for target 'makefile-clean' failed
make: [makefile-clean] Error 1 (ignored)
for i in ./cfgaux/config.guess ./libltdl/config/config.guess ./cfgaux/config.sub ./libltdl/config/config.sub  ; do \
        if test -e $i.cdbs-orig ; then \
                mv $i.cdbs-orig $i ; \
        fi ; \
done
if test -e debian/autoreconf.before; then \
        dh_autoreconf_clean ; \
fi
dh_clean
rm -f debian/stamp-autotools-files
# nothing to do
 debian/rules build
test -x debian/rules
mkdir -p "."
/usr/share/cdbs/1/rules/buildcore.mk:110: CDBS WARNING:    DEB_DH_STRIP_ARGS is deprecated since 0.4.85
/usr/share/cdbs/1/rules/buildcore.mk:110: CDBS WARNING:    DEB_FIXPERMS_EXCLUDE is deprecated since 0.4.85
if test -e /usr/share/misc/config.guess ; then \
        for i in ./cfgaux/config.guess ; do \
                if ! test -e $i.cdbs-orig ; then \
                        mv $i $i.cdbs-orig ; \
                        cp --remove-destination /usr/share/misc/config.guess $i ; \
                fi ; \
        done ; \
fi
if test -e /usr/share/misc/config.sub ; then \
        for i in ./cfgaux/config.sub ; do \
                if ! test -e $i.cdbs-orig ; then \
                        mv $i $i.cdbs-orig ; \
                        cp --remove-destination /usr/share/misc/config.sub $i ; \
                fi ; \
        done ; \
fi
dh_autoreconf
configure.ac:175: warning: LT_FUNC_ARGZ is m4_require'd but not m4_defun'd
/usr/share/aclocal/ltdl.m4:367: _LTDL_SETUP is expanded from...
/usr/share/aclocal/ltdl.m4:226: LTDL_INIT is expanded from...
configure.ac:175: the top level
configure.ac:175: warning: LT_FUNC_ARGZ is m4_require'd but not m4_defun'd
aclocal.m4:8365: _LTDL_SETUP is expanded from...
aclocal.m4:8224: LTDL_INIT is expanded from...
configure.ac:175: the top level
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `cfgaux'.
libtoolize: copying file `cfgaux/ltmain.sh'
libtoolize: putting auxiliary files in `cfgaux'.
libtoolize: copying file `libltdl/config/compile'
libtoolize: copying file `libltdl/config/config.guess'
libtoolize: copying file `libltdl/config/config.sub'
libtoolize: copying file `libltdl/config/depcomp'
libtoolize: copying file `libltdl/config/install-sh'
libtoolize: copying file `libltdl/config/missing'
libtoolize: copying file `libltdl/config/ltmain.sh'
libtoolize: putting macros in `libltdl/m4'.
libtoolize: copying file `libltdl/m4/argz.m4'
libtoolize: copying file `libltdl/m4/libtool.m4'
libtoolize: copying file `libltdl/m4/ltdl.m4'
libtoolize: copying file `libltdl/m4/ltoptions.m4'
libtoolize: copying file `libltdl/m4/ltsugar.m4'
libtoolize: copying file `libltdl/m4/ltversion.m4'
libtoolize: copying file `libltdl/m4/lt~obsolete.m4'
libtoolize: putting libltdl files in `libltdl'.
libtoolize: copying file `libltdl/COPYING.LIB'
libtoolize: copying file `libltdl/README'
libtoolize: copying file `libltdl/Makefile.am'
libtoolize: copying file `libltdl/configure.ac'
libtoolize: copying file `libltdl/aclocal.m4'
libtoolize: copying file `libltdl/Makefile.in'
libtoolize: copying file `libltdl/config-h.in'
libtoolize: copying file `libltdl/configure'
libtoolize: `argz_.h' not found in `/usr/share/libtool/libltdl'
autoreconf: libtoolize failed with exit status: 1
dh_autoreconf: autoreconf -f -i returned exit code 1
/usr/share/cdbs/1/rules/autoreconf.mk:10: recipe for target 'debian/autoreconf.after' failed
make: *** [debian/autoreconf.after] Error 2
dpkg-buildpackage: Fehler: Fehler-Exitstatus von debian/rules build war 2
root@xxx:/home/samba/squid/squid3-3.4.8#
Want to make latest squid3 with ssl support. Downloaded from source and modified
What this could be ? I checked all dependencies and system is up to date. Tried with or without root user. Tried to compile without any modifications.
Always the same error . Who can help me ?

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

Re: libtoolize failed while making squid3-ssl deb

#2 Post by stevepusser »

Sure--here's how to search for an answer on the Net.

Copy and paste your error message into a good search engine:

Code: Select all

libtoolize: `argz_.h' not found in `/usr/share/libtool/libltdl
The second link that I get shows that the missing file is provided by libltdl-dev, so make sure that package is installed and try again.

If that fixes it, the package should be added to the list of Build-Depends in debian/control to permanently fix the issue.
MX Linux packager and developer

andi9999
Posts: 4
Joined: 2016-09-29 07:00

Re: libtoolize failed while making squid3-ssl deb

#3 Post by andi9999 »

Code: Select all

apt-get install libltdl-dev
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
libltdl-dev ist schon die neueste Version.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 14 nicht aktualisiert.
No, Sir.
Already there and was there before.

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

Re: libtoolize failed while making squid3-ssl deb

#4 Post by stevepusser »

Have you tried a build of the unmodified version to see if you get the same error? If not, it's obviously related to whatever you changed, so you have to see if that requires any other changes or build-depends. Possibly a PPA or somebody else has already encountered and solved the same issue, so that's worth searching for.

Personally, I install devscripts and would use the "debuild -uc -us" commands to try a rebuild of the package--though if you don't increment the debian/changelog file, you may have the apt system reinstalling the Debian version over yours when you don't want that, even if you do manage a successful build.

Edit: I tried a build of the unmodified version of my system, and it went fine, as expected. But I don't think your error would be related to any modifications you made to the configuration, so maybe you have a bad download or something. Try a purge, redownload, and reinstallation of that -dev package or a retry of the download of the squid3 sources--I've been bit by something like that several times before.
MX Linux packager and developer

andi9999
Posts: 4
Joined: 2016-09-29 07:00

Re: libtoolize failed while making squid3-ssl deb

#5 Post by andi9999 »

Yes I tried an unmodified test too. Need to compile this on a debian live cd system or something like this. I think the bug is only in my current system and I can not find the reason.

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

Re: libtoolize failed while making squid3-ssl deb

#6 Post by stevepusser »

Well, you could set up an account (really easy and free) on the openSUSE build service and try and build your modified source in one of their Jessie virtual machines (32 and 64-bit Intel-type platforms only by default). I could walk you through the procedure once you have an account.
MX Linux packager and developer

andi9999
Posts: 4
Joined: 2016-09-29 07:00

Re: libtoolize failed while making squid3-ssl deb

#7 Post by andi9999 »

Thank you. I just made modified squid3 packages with a debian live cd. All working fine. Dont understand why those files missing in my libtoolize folder

Post Reply