Sync tcsh 6.17.06-1 (universe) from Debian unstable (main)

Bug #821121 reported by Anders Kaseorg
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tcsh (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

 affects ubuntu/tcsh
 status new
 importance wishlist
 subscribe ubuntu-sponsors
 done

Please sync tcsh 6.17.06-1 (universe) from Debian unstable (main)

Explanation of the Ubuntu delta and why it can be dropped:
The Ubuntu delta is in Debian now.

Changelog entries since current oneiric version 6.17.02-4ubuntu1:

tcsh (6.17.06-1) unstable; urgency=low

  * new upstream version
  * Removed patches:
    + 07_nls.patch
    + fix-make-catalogs.patch
    + disable-lexical.at-31.patch
    + tcsh-6.17.02-multibyte.patch
    + disable-broken-test.patch
  * do not set $LINES and $LINES, this removes former git patch b063c65
    Closes: #623330, #605279
  * debian/csh.login: use full path for ls, fixing the script for people
    with an aliased ls. Closes: #607828. LP: #70763
  * README.Debian: add info about the bug tracker

 -- Thomas Lange <email address hidden> Thu, 21 Jul 2011 22:25:34 +0200

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)

iQGcBAEBCAAGBQJOOwABAAoJEN/zqzdPFvc6d1YMAK8HeRpicqWlosNHVVLQ1s02
JaKnjjG8dKqKadGlxJ/2swpafoOojGlGMPQ2zQBv8jGo9Cm4BUejPYBcpSYus6Ty
Oglk+FoSEqfb3wdFnHsOG5wHfGrd7If/uj7E4Y8KYrw/T808VjNI0M5D8YNtHbVB
A37aUBZl0Xh87RefcNTvMXLLKFyi1ate9IEBnf9UQYgGY3ejrx2hwqXzhB5R9ZQt
6ssY8K0+xnZQmlif1YE4vfBYzjtyXwSr3w4UocR81mPvKqam7v+mHNWeDSLMKVg0
JEXDfP2IRKJXBFpd5Jll3U9f9OlswvSYSeHhOjMBpqqSt8DAdYkS1uWDTE73gbkH
Z0APBNkNALEPlU9KVcSQqPo1JpeNzX9St6qvEtaZ4DQI/kC19u7Vlan9jVB4uPo0
+f0uxCL0oC6iUosipyWWH5FXJK7BFyjOBw67jTFNTCbsLWjb/8Oq2At88B8Zavp4
VOXApFWzLqpS3Nj8Nkyt7lauHCJsMB/RYV3yzrWnGw==
=VzJm
-----END PGP SIGNATURE-----

Revision history for this message
Anders Kaseorg (andersk) wrote :

This also fixes http://bugs.debian.org/581880 (tcsh silently ignores the end of a script with no trailing newline).

Revision history for this message
Bhavani Shankar (bhavi) wrote :
Download full text (14.3 KiB)

Hello Anders

The package FTBFS on my oneiric system with pdebuild

The last excerpt of the log is as below:

| | #define HAVE_UTMP_H 1
| | #define HAVE_UTMPX_H 1
| | #define HAVE_WCHAR_H 1
| | #define SIZEOF_WCHAR_T 4
| | #define HAVE_WCTYPE_H 1
| | #define HAVE_DIRENT_H 1
| | #define STDC_HEADERS 1
| | #define HAVE_LONG_LONG 1
| | #define GETGROUPS_T gid_t
| | #define HAVE_STRUCT_DIRENT_D_INO 1
| | #define HAVE_STRUCT_UTMP_UT_HOST 1
| | #define HAVE_STRUCT_UTMP_UT_USER 1
| | #define HAVE_STRUCT_UTMP_UT_TV 1
| | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
| | #define HAVE_DECL_CRYPT 1
| | #define HAVE_DECL_ENVIRON 1
| | #define HAVE_DECL_GETHOSTNAME 1
| | #define HAVE_DECL_GETPGRP 1
| | #define HAVE_DUP2 1
| | #define HAVE_GETCWD 1
| | #define HAVE_GETHOSTNAME 1
| | #define HAVE_GETPWENT 1
| | #define HAVE_GETUTENT 1
| | #define HAVE_MALLINFO 1
| | #define HAVE_MEMMOVE 1
| | #define HAVE_MEMSET 1
| | #define HAVE_MKSTEMP 1
| | #define HAVE_NICE 1
| | #define HAVE_NL_LANGINFO 1
| | #define HAVE_SBRK 1
| | #define HAVE_SETPGID 1
| | #define HAVE_SETPRIORITY 1
| | #define HAVE_STRERROR 1
| | #define HAVE_STRSTR 1
| | #define HAVE_SYSCONF 1
| | #define HAVE_WCWIDTH 1
| | /* end confdefs.h. */
| | #include <stdio.h>
| | #ifdef HAVE_SYS_TYPES_H
| | # include <sys/types.h>
| | #endif
| | #ifdef HAVE_SYS_STAT_H
| | # include <sys/stat.h>
| | #endif
| | #ifdef STDC_HEADERS
| | # include <stdlib.h>
| | # include <stddef.h>
| | #else
| | # ifdef HAVE_STDLIB_H
| | # include <stdlib.h>
| | # endif
| | #endif
| | #ifdef HAVE_STRING_H
| | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| | # include <memory.h>
| | # endif
| | # include <string.h>
| | #endif
| | #ifdef HAVE_STRINGS_H
| | # include <strings.h>
| | #endif
| | #ifdef HAVE_INTTYPES_H
| | # include <inttypes.h>
| | #endif
| | #ifdef HAVE_STDINT_H
| | # include <stdint.h>
| | #endif
| | #ifdef HAVE_UNISTD_H
| | # include <unistd.h>
| | #endif
| | int
| | main ()
| | {
| | getpgrp (0);
| | ;
| | return 0;
| | }
| configure:8535: result: yes
| configure:8546: checking whether mbrtowc and mbstate_t are properly declared
| configure:8576: gcc -o conftest -g -O2 -D_FILE_OFFSET_BITS=64 -D_FILE_OFFSET_BITS=64 -Wl,-Bsymbolic-functions conftest.c -ltermcap -lcrypt >&5
| configure:8582: $? = 0
| configure:8599: result: yes
| configure:8610: checking whether setpgrp takes no argument
| configure:8644: gcc -o conftest -g -O2 -D_FILE_OFFSET_BITS=64 -D_FILE_OFFSET_BITS=64 -Wl,-Bsymbolic-functions conftest.c -ltermcap -lcrypt >&5
| conftest.c: In function 'main':
| conftest.c:103:3: error: too many arguments to function 'setpgrp'
| /usr/include/unistd.h:669:12: note: declared here
| configure:8647: $? = 1
| configure: program exited with status 1
| configure: failed program was:
| | /* confdefs.h. */
| | #define PACKAGE_NAME "tcsh"
| | #define PACKAGE_TARNAME "tcsh"
| | #define PACKAGE_VERSION "6.17.06"
| | #define PACKAGE_STRING "tcsh 6.17.06"
| | #define PACKAGE_BUGREPORT "http://bugs.gw.com/"
| | #define HAVE_ICONV 1
| | #define ICONV_CONST
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | ...

Changed in tcsh (Ubuntu):
status: New → Incomplete
Revision history for this message
Anders Kaseorg (andersk) wrote :

Bhavani: Are you building as root? It looks like the test suite only fails when running as root or fakeroot. For example, one test does
  echo ~$(id -un)/foo; echo "$HOME/foo"
and checks that the same line is written twice. And many other tests include an assertion that the prompt is displayed as ‘>’ instead of ‘#’.

(Your output snippet doesn’t show the test failures, but you’ll see them if you scroll back to ‘## Detailed failed tests. ##’.)

Ubuntu’s buildds run ‘debian/rules build’ before ‘fakeroot debian/rules binary’, so this should not actually be a problem.

Debian #635102 shows a completely different test failing on kfreebsd, so I don’t think it’s a concern for Ubuntu either.

Revision history for this message
Anders Kaseorg (andersk) wrote :

> Debian #635102 shows a completely different test failing on kfreebsd,

Oh, hmm, I missed that it failed the same way on all the other architectures too. I can’t reproduce the problem, though.

What do you see in your build log after ‘## Detailed failed tests. ##’?

Revision history for this message
Bhavani Shankar (bhavi) wrote :

Hello Andres,

Please find the build log attached

Regards

Revision history for this message
Anders Kaseorg (andersk) wrote :

Fixed in precise.

tcsh (6.17.06-2) unstable; urgency=medium

  * readd disable-lexical.at-31.patch Closes: #635102

 -- Thomas Lange <email address hidden> Sat, 10 Sep 2011 00:55:25 +0200

Changed in tcsh (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.