Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#34921 - [dvtm] Terminfo not included in package

Attached to Project: Community Packages
Opened by Bryce (bruce) - Tuesday, 23 April 2013, 23:17 GMT
Last edited by Lukas Fleischer (lfleischer) - Tuesday, 04 June 2013, 19:05 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

As of version 0.9 dvtm now bundles it's own terminfo file (http://lists.suckless.org/dev/1304/15112.html).

The Makefile doesn't take any heed to the DESTDIR when processing the terminfo file, and hence it isn't bundled in the built package, and is instead installed directly into the build host.

Adding an additional sed line would solve this.

sed -i "s#@tic -s#@tic -o ${pkgdir}/usr/share/terminfo/ -s#" Makefile

Before:

==> Making package: dvtm 0.9-1 (Wed Apr 24 09:07:20 EST 2013)
==> Checking runtime dependencies...
warning: config file /etc/pacman.conf, line 18: directive 'SyncFirst' in section 'options' not recognized.
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found dvtm-0.9.tar.gz
-> Found config.h
==> Validating source files with md5sums...
dvtm-0.9.tar.gz ... Passed
config.h ... Passed
==> Extracting sources...
-> Extracting dvtm-0.9.tar.gz with bsdtar
==> Removing existing pkg/ directory...
==> Starting build()...
cleaning
cleaning
dvtm build options:
CC dvtm.c
CC vt.c
CFLAGS = -march=native -O3 -pipe -msse -msse2 -msse3 -msse4a -mssse3 -mmmx -mfpmath=sse -std=c99 -Os -I. -I/usr/include -I/usr/local/include -DVERSION="0.9" -DNDEBUG
LDFLAGS = -Wl,--hash-style=gnu -Wl,--as-needed -L/usr/lib -L/usr/local/lib -lc -lutil -lncursesw
CC = cc
CC -o dvtm
==> Starting package()...
stripping executable
installing executable file to /dev/shm/e/dvtm/pkg/dvtm/usr/bin
installing manual page to /dev/shm/e/dvtm/pkg/dvtm/usr/share/man/man1
installing terminfo description
2 entries written to /usr/share/terminfo
==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing binaries with UPX...
==> Creating package "dvtm"...
-> Generating .PKGINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Finished making: dvtm 0.9-1 (Wed Apr 24 09:07:20 EST 2013)

After:

==> Making package: dvtm 0.9-1 (Wed Apr 24 09:08:06 EST 2013)
==> Checking runtime dependencies...
warning: config file /etc/pacman.conf, line 18: directive 'SyncFirst' in section 'options' not recognized.
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found dvtm-0.9.tar.gz
-> Found config.h
==> Validating source files with md5sums...
dvtm-0.9.tar.gz ... Passed
config.h ... Passed
==> Extracting sources...
-> Extracting dvtm-0.9.tar.gz with bsdtar
==> Removing existing pkg/ directory...
==> Starting build()...
cleaning
cleaning
dvtm build options:
CC dvtm.c
CC vt.c
CFLAGS = -march=native -O3 -pipe -msse -msse2 -msse3 -msse4a -mssse3 -mmmx -mfpmath=sse -std=c99 -Os -I. -I/usr/include -I/usr/local/include -DVERSION="0.9" -DNDEBUG
LDFLAGS = -Wl,--hash-style=gnu -Wl,--as-needed -L/usr/lib -L/usr/local/lib -lc -lutil -lncursesw
CC = cc
CC -o dvtm
==> Starting package()...
stripping executable
installing executable file to /dev/shm/e/dvtm/pkg/dvtm/usr/bin
installing manual page to /dev/shm/e/dvtm/pkg/dvtm/usr/share/man/man1
installing terminfo description
2 entries written to /dev/shm/e/dvtm/pkg/dvtm/usr/share/terminfo
==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing binaries with UPX...
==> Creating package "dvtm"...
-> Generating .PKGINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Finished making: dvtm 0.9-1 (Wed Apr 24 09:08:07 EST 2013)


Note the "2 entries written to /dev/shm/e/dvtm/pkg/dvtm/usr/share/terminfo" line.


Cheers :-)
This task depends upon

Closed by  Lukas Fleischer (lfleischer)
Tuesday, 04 June 2013, 19:05 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 0.9-2.
Comment by Lukas Fleischer (lfleischer) - Sunday, 28 April 2013, 21:16 GMT
Did you report this upstream?
Comment by Bryce (bruce) - Sunday, 28 April 2013, 22:34 GMT
No, I haven't...

I hadn't contemplated that it's an upstream issue... (Which it makes sense that it is)

I'll report it later today :-)

Cheers :-)
Comment by Bryce (bruce) - Monday, 29 April 2013, 00:46 GMT
No, I haven't...

I hadn't contemplated that it's an upstream issue... (Which it makes sense that it is)

I'll report it later today :-)

Cheers :-)
Comment by Lukas Fleischer (lfleischer) - Tuesday, 04 June 2013, 18:56 GMT
  • Field changed: Status (Assigned → Waiting on Response)
  • Field changed: Category (Packages → Upstream Bugs)
Status?
Comment by Lukas Fleischer (lfleischer) - Tuesday, 04 June 2013, 19:00 GMT
Looks like this has been fixed upstream. Will backport.

Loading...