Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#8944 - [abs] makeworld option -r does not display message

Attached to Project: Pacman
Opened by Karolina Lindqvist (karolinali) - Sunday, 16 December 2007, 13:40 GMT
Last edited by Allan McRae (Allan) - Friday, 27 June 2008, 15:18 GMT
Task Type Bug Report
Category Scripts & Tools
Status Closed
Assigned To Travis Willard (Cerebral)
Architecture All
Severity Low
Priority Normal
Reported Version 3.0.6
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
If the option -r is given to makeworld, the string
"Do you want to remove these packages? [Y/n]"
is written to the makepkg.log file, and not to the console.
So the result is that it appears to hang, and you don't know that
it is waiting for input.


Additional info:
* package version(s)
pacman 3.0.6-2
* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Allan McRae (Allan)
Friday, 27 June 2008, 15:18 GMT
Reason for closing:  Fixed
Additional comments about closing:  Should be fixed. No response to confirmation request from submitter.
Comment by Roman Kyrylych (Romashka) - Friday, 11 January 2008, 11:48 GMT
damn, I've forgot that makeworld is now in abs package.
Comment by Roman Kyrylych (Romashka) - Friday, 11 January 2008, 11:53 GMT
hm, makeworld builds packages with makepkg $MAKEPKG_OPTS -m 2>>$toplevel/makepkg.log
so it is a makepkg's issue in fact.
Is it fixed in 3.1?
Comment by Roman Kyrylych (Romashka) - Friday, 11 January 2008, 11:59 GMT
heh, I was wrong %(
"Do you want to remove these packages? [Y/n]" is printed by pacman.
Comment by Roman Kyrylych (Romashka) - Friday, 11 January 2008, 12:06 GMT
in pacman's yesno function:

485 /* Use stderr so questions are always displayed when redirecting output */
486 vfprintf(stderr, fmt, args);

Hah. The problem is that makeworld redirects error output to makepkg.conf :-P
Karolina, can you try makeworld with >> instead of 2>> on a line where it calls makepkg?
How much more output will you get in case of normal building and in case if one of packages builds with errors?
Comment by Travis Willard (Cerebral) - Saturday, 12 April 2008, 15:23 GMT
This should be fixed when abs 2.0 comes out soon. :)
Comment by Dan McGee (toofishes) - Saturday, 26 April 2008, 15:27 GMT
Is this fixed and closeable, Travis? Saturday morning bug cleanup and I came across this one.
Comment by Travis Willard (Cerebral) - Sunday, 27 April 2008, 13:05 GMT
Should be fixed - Karolina, can you confirm?

Loading...