FS#19840 - [makepkg] Will continue building if checking dependencies fails with a fatal error

Attached to Project: Pacman
Opened by Jan Alexander Steffens (heftig) - Thursday, 17 June 2010, 15:41 GMT
Last edited by Allan McRae (Allan) - Monday, 13 December 2010, 03:40 GMT
Task Type Bug Report
Category makepkg
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Medium
Priority Normal
Reported Version 3.3.3
Due in Version 3.5.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

makepkg won't abort the build if pacman dies with a fatal error while checking dependencies.

Additional info:
pacman 3.4.0-1

Steps to reproduce:
- Add some garbage to pacman.conf
- Try building with makepkg
This task depends upon

Closed by  Allan McRae (Allan)
Monday, 13 December 2010, 03:40 GMT
Reason for closing:  Fixed
Additional comments about closing:  git commit 579533d1
Comment by Allan McRae (Allan) - Friday, 18 June 2010, 01:32 GMT
So it does...

> makepkg -sf
==> Making package: pacman-contrib 3.4.0-1 (Fri Jun 18 11:35:32 EST 2010)
==> Checking Runtime Dependencies...
==> ERROR: 'pacman' returned a fatal error (1): error: directive 'ICanHazBreakage' without value not recognized
error: config file /etc/pacman.conf, line 24: problem in options section
==> Checking Buildtime Dependencies...
==> Retrieving Sources...

Is this new to pacman-3.4?
Comment by Allan McRae (Allan) - Friday, 18 June 2010, 01:41 GMT
Not specific to pacman-3.4. This chroot uses pacman-3.3:

> makechrootpkg -c -r /home/arch/chroot/stable-i686/
creating clean working copy...done
==> Making package: pacman-contrib 3.4.0-1 any (Fri Jun 18 01:38:29 UTC 2010)
==> Checking Runtime Dependencies...
==> ERROR: Pacman returned a fatal error (1): error: config file /etc/pacman.conf, line 23: directive 'ICanHazBreakage' not recognized.
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
Comment by Andres P (llanero) - Sunday, 20 June 2010, 02:13 GMT Comment by Dan McGee (toofishes) - Monday, 26 July 2010, 03:42 GMT
Any update on this one, Allan?
Comment by Allan McRae (Allan) - Monday, 15 November 2010, 05:56 GMT
Patch is on my working branch ready to be pulled.

Loading...