This presents plenty of problems on OSes besides Linux, and even on Linux
when the libtool file for libarchive isn't present. The static build isn't
all that useful anyway as missing something such as glibc will still leave
you unable to run the pacman.static binary. Remove it from the formal build
process.
diff --git a/configure.ac b/configure.ac
index ab5a374..b4b6a56 100644
--- a/configure.ac
+++ b/configure.ac
@@ -119,11 +119,6 @@ AC_ARG_ENABLE(git-version,
[enable use of git version in version string if available]),
[wantgitver=$enableval], [wantgitver=no])
-# Help line for pacman.static
-AC_ARG_ENABLE(pacman-static,
- AS_HELP_STRING([--disable-pacman-static], [do not build static version of pacman]),
- [pacmanstatic=$enableval], [pacmanstatic=yes])
-
# Checks for programs.
AC_PROG_AWK
AC_PROG_CC_C99
@@ -324,16 +319,6 @@ else
fi
AM_CONDITIONAL(USE_GIT_VERSION, test "x$usegitver" = "xyes")
-# Enable or disable inclusion of pacman.static
-AC_MSG_CHECKING(whether to build pacman.static)
-if test "x$pacmanstatic" = "xyes" ; then
- AC_MSG_RESULT(yes)
- AC_DEFINE([INCLUDE_PACMAN_STATIC], , [Build pacman.static])
-else
- AC_MSG_RESULT(no)
-fi
-AM_CONDITIONAL(INCLUDE_PACMAN_STATIC, test "x$pacmanstatic" = "xyes")
-
# Set root directory
AC_SUBST(ROOTDIR)
# Set package file extension
@@ -398,7 +383,6 @@ ${PACKAGE_NAME}:
Doxygen support : ${usedoxygen}
Asciidoc support : ${useasciidoc}
debug support : ${debug}
- build pacman.static : ${pacmanstatic}
"
_______________________________________________
pacman-dev mailing list
pacman-dev@archlinux.org
http://archlinux.org/mailman/listinfo/pacman-dev
07-16-2008, 01:23 AM
Allan McRae
Remove pacman.static build from build files
Dan McGee wrote:
> This presents plenty of problems on OSes besides Linux, and even on Linux
> when the libtool file for libarchive isn't present. The static build isn't
> all that useful anyway as missing something such as glibc will still leave
> you unable to run the pacman.static binary. Remove it from the formal build
> process.
>
I didn't realize that is was not very static. But is this not useful
for people who want to try and upgrade their really old systems? I
suppose if they can't get pacman going in the first place then they will
be reasonably screwed with the rest of the upgrade.
_______________________________________________
pacman-dev mailing list
pacman-dev@archlinux.org
http://archlinux.org/mailman/listinfo/pacman-dev
07-16-2008, 01:32 AM
"Dan McGee"
Remove pacman.static build from build files
On Tue, Jul 15, 2008 at 8:23 PM, Allan McRae <allan@archlinux.org> wrote:
> Dan McGee wrote:
>> This presents plenty of problems on OSes besides Linux, and even on Linux
>> when the libtool file for libarchive isn't present. The static build isn't
>> all that useful anyway as missing something such as glibc will still leave
>> you unable to run the pacman.static binary. Remove it from the formal build
>> process.
>>
>
> I didn't realize that is was not very static. But is this not useful
> for people who want to try and upgrade their really old systems? I
> suppose if they can't get pacman going in the first place then they will
> be reasonably screwed with the rest of the upgrade.
Yeah, I think it has always been one of those "I hope it works" type
things. In any case, I think this is more appropriate for the pacman
PKGBUILD if we truely want a static build, rather than in the pacman
buildchain.
If you really want to test the "screwing up" stuff, boot up Simo's
live CD installer and do a pacman -R glibc, and see how functional the
system is. You'll note that pacman.static is pretty bunk at that
point.
-Dan
_______________________________________________
pacman-dev mailing list
pacman-dev@archlinux.org
http://archlinux.org/mailman/listinfo/pacman-dev