Opened 4 years ago

Closed 3 years ago

#1727 closed defect (wontfix)

package management does not work with the new book

Reported by: Pierre Labastie Owned by: Pierre Labastie
Priority: normal Milestone: 3.0
Component: jhalfs Version: SVN
Severity: normal Keywords:
Cc:

Description

The package manager still needs to be installed twice, because it needs to be managed by itself.

But both installations should be the same, no tweak for /tools.

We may also think of using the "tester" user as a builder (would allow recent versions of pacman to run, since they do not want to run as root)

Change History (6)

comment:1 by Pierre Labastie, 4 years ago

porg works as of r4180.

comment:2 by Pierre Labastie, 4 years ago

Problems with newer versions of pacman:

  • in addition to libarchive and curl (which needs openssl), needs openssl and fakeroot, which needs libcap
  • it can still be built with autotools, but meson ninja is the new system. Problems:
    • meson needs python built against libffi, which is not available in temp tools
    • meson and ninja from host can be used before entering chroot, but not after
  • makepkg cannot be run as root: needs to be run as user tester, and this can create some permission problems. On old systems, user tester has to be created

comment:3 by Pierre Labastie, 4 years ago

meson needs also zlib... All in all, 13 packages must be built at the end of chapter 7. r4189 has a (almost) working installation for pacman.

comment:4 by Pierre Labastie, 4 years ago

Two problems remaining:

  • user tester is removed at the end of chapter 8, but is still needed for following chapters. Solution: use a "builder" user
  • a weird symlink /usr/lib/libncursesw.so.6->libncurses.so exists after ncurses in chapter 8... I can't understand what creates that: normally libncursesw.so.6 is moved to /lib. The pacman package does not have that symlink either

comment:5 by Pierre Labastie, 4 years ago

Owner: changed from alfs-log@… to Pierre Labastie
Status: newassigned

comment:6 by Pierre Labastie, 3 years ago

Resolution: wontfix
Status: assignedclosed

With the merge /usr system, things are a little more different. Better close this as "wontfix", and open a new ticket.

Note: See TracTickets for help on using tickets.