help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What Commands is this Makefile Calling?


From: ms419
Subject: What Commands is this Makefile Calling?
Date: Thu, 21 Oct 2004 12:10:02 -0700

I am trying to figure out why a makefile is behaving as it is:

address@hidden:~/debian-installer/debian-installer-20041012/build$ DEB_HOST_ARCH=powerpc make build_powerpc_netboot
        (set -e; \
echo "# This file is automatically generated, edit sources.list.udeb.local instead."; \
        if [ "x" != "x" ]; then \
                echo "deb  unstable main/debian-installer"; \
        else \
                grep '^deb[ \t]' /etc/apt/sources.list \
                |grep -v '\(non-US\|non-us.debian.org\|security.debian.org\)' \
                |grep '[ \t]main' \
                |awk '{print $1 " " $2}' \
                |sed "s,/* *$, unstable main/debian-installer," \
                |sed "s,^deb file,deb copy," \
                |perl -ne 'print unless $seen{$_}; $seen{$_}=1' ; \
        fi) > sources.list.udeb
        make[2]: `sources.list.udeb' is up to date.
        Get:1 http://rof unstable/main/debian-installer Packages [38.3kB]
        Ign http://rof unstable/main/debian-installer Release
        Fetched 38.3kB in 7s (4927B/s)
        Reading Package Lists... Done
        Reading Package Lists... Done
        Building Dependency Tree... Done
        W: Unable to locate package nic-modules-2.6.8-powerpc-di
W: Couldn't stat source package list http://rof unstable/main/debian-installer Packages (./apt.udeb/state/lists/rof_debian_dists_unstable_main_debian- installer_binary-i386_Packages) - stat (2 No such file or directory)
        [...]

When, as far as I can gather, it should be calling the following command, which behaves differently:

address@hidden:~/debian-installer/debian-installer-20041012/build$ DEB_HOST_ARCH=powerpc ./get-packages udeb packages
        make: `sources.list.udeb' is up to date.
        Get:1 http://rof unstable/main/debian-installer Packages [38.3kB]
        Ign http://rof unstable/main/debian-installer Release
        Fetched 38.3kB in 2s (16.3kB/s)
        Reading Package Lists... Done
        Reading Package Lists... Done
        Building Dependency Tree... Done
        Need to download : pacakges
        Reading Package Lists... Done
        Building Dependency Tree... Done
        You might want to run `apt-get -f install' to correct these:
        The following packages have unmet dependencies:
          adduser: Depends: perl-base (>= 5.6.0) but it is not installable
                   Depends: passwd (>= 961025) but it is not installable
        [...]

I need to know what commands, exactly, the makefile is calling, but unfortunately the following wasn't helpful:

address@hidden:~/debian-installer/debian-installer-20041012/build$ DEB_HOST_ARCH=powerpc make -n build_powerpc_netboot
        install -d ./stamps/
make --no-print-directory _build SUBARCH=powerpc MEDIUM=netboot FLAVOUR=
        address@hidden:~/debian-installer/debian-installer-20041012/build$

Can someone please explain how to figure out what commands a makefile is calling?

Thanks!

Jack





reply via email to

[Prev in Thread] Current Thread [Next in Thread]