|
|
Log in / Subscribe / Register

Distributions

News and Editorials

De-bashing Debian

By Jake Edge
May 26, 2010

A report that a thousand or more Debian packages will no longer build from source would be a cause for concern at any time, but when the project is trying to button up for a release, it is especially unwelcome. It turns out that the initial estimates were overblown, but that a change in the dash shell to make it POSIX-compliant, exposed a number of "bash-isms" that had crept into the Debian build scripts. In the process of tracking things down, various problems with checkbashisms were found as well.

As reported to debian-devel by Raphael Geissert, the dash shell recently changed:

dash recently added support for the magic variable $LINENO, which was the last piece to make it POSIX compliant. However, this change made the autoconf-generated configure scripts use dash to execute the script's code. Without support for LINENO, configure scripts exec to bash automatically.

That caused multiple Debian packages to "fail to build from source" (FTBFS). Geissert's estimate for the number of packages affected was a rather eye-opening 1504. That led Petter Reinholdtsen to ask:

What about reverting this change in dash until after Squeeze is released? Now [seems] like a bad time to make thousand of packages in Debian fail to build from source. :)

Several folks pointed him at the bug report, where that plan was being put into action. The newer dash was put into the experimental release tree, while the unstable—eventual Squeeze—tree got a dash without the POSIX upgrade.

The original move to dash was done for performance and POSIX-compliance reasons. At the time, it broke various things because scripts that specified /bin/sh were really written to run with bash and did not conform to the POSIX shell standard. The checkbashisms script was developed to help find these problems so that they could be fixed. Unfortunately, as the Debian folks just found, checkbashisms produces a lot of false positives as well as some false negatives.

As it turns out, building the archive with both the old and the new dash yielded a list of "only" 124 packages that failed to build. Still a concern, but not one that merited the outcry that the first message elicited. Neil Williams was rather annoyed both at the dash change and the original report: "(I've heard of off-by-one errors but off-by-one-order-of-magnitude is a stretch.) [...] Please, let's get some accurate figures before raising things like this." But as David Weinhall points out, the underlying problem is not with dash at all:

You're getting things the wrong way around. The version of dash that will be put in experimental will be the correct one, the one in unstable will be the crippled one. The reason things [fail] isn't because of dash, but because of sloppy programming on behalf of people that still believe that bash is the say all and end all when it comes to shell scripts.

But Lucas Nussbaum, who ran the comparative archive builds, wondered about the whole exercise of removing bash-isms from the Debian build scripts. He is concerned that a lot of work is being done for POSIX-compliance which "only a minority of users care" about and to shave a few seconds from boot time.

Was is really the right path to follow? Wouldn't it have been easier to work on bash to make sure that it supports everything POSIX requires, and to improve its performance a bit?

Now we are going to patch configure scripts to make sure that they can run correctly with dash. What's next? Rewrite C programs that use GCC-specific extensions?

There is quite a list of commonly used bash-isms on the page about the dash move linked above. For good or ill, bash is the shell that many folks use and test under. The fact that it will happily run /bin/sh scripts that have used bash extensions is perhaps unfortunate in some ways, but it's also something that isn't going to change. In order for Debian to stay dash-pure, it will require an ongoing effort to patch the build scripts that come from upstream. It may be that there are better uses of Debian developers' time.

Comments (24 posted)

New Releases

CyanogenMod 5 for the G1/ADP1

The CyanogenMod hackers have announced the availability of CyanogenMod 5.0.7 for "Dream" and "Magic"-series phones. This release makes Android 2.1 available for these handsets, along with a long list of additional features. "There is some new ground being broken here, and a few bugs to still shake out but I believe that it should be pretty stable as a daily driver."

Comments (24 posted)

Debian GNU/Linux 4.0 updated

The Debian project has announced the ninth and final update of its oldstable distribution Debian GNU/Linux 4.0 (codename etch). "This update incorporates all security updates which have been released for the oldstable release since the previous point release, with one exception which it was unfortunately not possible to include, together with a few adjustments to serious problems."

Comments (none posted)

Fedora 13 released

The Fedora 13 release is out. "Fedora is a leading edge, free and open source operating system that continues to deliver innovative features to many users, with a new release about every six months. We bring to you the latest and greatest release of Fedora ever, Fedora 13!" The list of new features is quite long; click below for the details.

Full Story (comments: 6)

Community Fedora Remix 13.1 "Lucky 13"

Community Fedora Remix 13.1 "Lucky 13" is available. "There are two basic guiding principle behind this Fedora Remix, first one is "beyond upstream" and "multimedia out of the box", you can also think of it like Pimp My Ride version of Fedora"

Comments (none posted)

Announcing Sugar on a Stick v.3 (Mirabelle)

Sugar on a Stick v.3, code-named Mirabelle, is available. Sugar on a Stick has been accepted as an official Fedora Spin. "Changes in Sugar on a Stick since the last release (v.2 Blueberry): Sugar version 0.88. The most recent release of the Sugar Learning Platform features support for 3G connections, increased accessibility, and better integration with our Activity Portal (http://activities.sugarlabs.org) allowing students and teachers to update their sticks with additional Activities."

Full Story (comments: none)

Mandriva Linux 2010 Spring RC

Mandriva has announced the last development release for Mandriva 2010.1. See the release notes for detailed information.

Comments (none posted)

MeeGo v1.0 core software platform released

The 1.0 release of the MeeGo "core software platform" has been announced; also available is the "Netbook User Experience" code. There is a handset user experience in the works as well; it will be released in June. "We are now releasing the MeeGo API which includes Qt 4.6, the MeeGo SDK with an integrated application development environment, and various other operating system tools. Currently, the MeeGo SDK is focused on Netbooks, but the next version of the MeeGo SDK, an early developer release in June, will support touch-based devices, such as Handsets and Tablets."

Comments (3 posted)

openSUSE 11.3 Milestone 7: Preparing for RC Phase

The seventh and last milestone release of openSUSE 11.3 is available for testing. "Compared to M6, this milestone brings many bug fixes, an update to Linux kernel 2.6.34 and the integration of software translations and new artwork."

Full Story (comments: none)

openSUSE Build Service 2.0 Beta1 Release Brings New User Interface

The first beta of openSUSE Build Service 2.0 has been released. "Version 2.0 is planned to be released on June 10th. We have updated the public server http://build.opensuse.org with the current code stream as part of our testing. We invite others running a build service to test the code and give feedback via the opensuse-buildservice mailing list and report bugs in bugzilla."

Full Story (comments: none)

Slackware 13.1 released

The Slackware 13.1 release is out. "Slackware 13.1 brings many updates and enhancements, among which you'll find two of the most advanced desktop environments available today: Xfce 4.6.1, a fast and lightweight but visually appealing and easy to use desktop environment, and KDE 4.4.3, a recent stable release of the new 4.4.x series of the award-winning KDE desktop environment."

Comments (4 posted)

Distribution News

Debian GNU/Linux

bits from the DPL: RFH, comm., derivatives, delegates, newbies

Debian Project Leader Stefano Zacchiroli has a few bits about the Release Team's request for help, Communication, Derivatives, Delegations, and more.

Full Story (comments: none)

Parallel booting enabled by default

Petter Reinholdtsen has an update on the status of parallel booting in Debian. "Another small step in the improvement of the Debian boot system was taken last weekend, when sysvinit version 2.88dsf-5 was uploaded. It concluded an almost 8 year effort to get the Debian boot system to run boot scripts in parallel. Parallel booting is enabled by default in unstable at the moment, and will enter testing in some days, unless a serious problem is found."

Full Story (comments: none)

Recent changes in dpkg

Raphaël Hertzog covers some recent changes in dpkg versions 1.15.6 and 1.15.7.

Full Story (comments: none)

Fedora

ATrpms for Fedora 13; upcoming EOL for Fedora 11

ATrpms has officially launched Fedora 13 support and also announced the end of support for F11 is about a month away.

Full Story (comments: none)

Cooperative Bug Isolation for Fedora 13

The Cooperative Bug Isolation Project (CBI) is now available for Fedora 13. "CBI is an ongoing research effort to find and fix bugs in the real world. We distribute specially modified versions of popular open source software packages. These special versions monitor their own behavior while they run, and report back how they work (or how they fail to work) in the hands of real users like you. Even if you've never written a line of code in your life, you can help make things better for everyone simply by using our special bug-hunting packages."

Full Story (comments: none)

SUSE Linux and openSUSE

News about openSUSE Strategy

The openSUSE Board has been holding a series of strategy sessions about the future of openSUSE. "We discussed the role of openSUSE as a community and project and looked at data from a variety of sources, including the recent openSUSE Survey to identify and build a strategy of strength and empowerment within our community, with a goal of establishing a common unified ground for answering the question to ourselves and to the world... "Why openSUSE?" and openSUSE's role in the operating system market, both today and in the future."

Full Story (comments: none)

Distribution Newsletters

DistroWatch Weekly, Issue 355

The DistroWatch Weekly for May 24, 2010 is out. "As the network of Fedora download mirrors synchronises with the main server to provide us with a speedy delivery of "Goddard" later this week, it's time to take a look at the new version of one the most prominent Linux distributions available today. A full review of Fedora 13 is scheduled for next week; in the meantime take a look at the news section where a linked article discusses some of the best features of this release. Also in the news, a new version of OpenSolaris is rumoured to arrive before the end of the month, PCLinuxOS community releases a "FullMonty" edition with thematic virtual desktops, Debian announces further delays in freezing "Squeeze", and Ubuntu hints at some of the innovations in the upcoming "Maverick Meerkat". This week's feature story is a first look at NimbleX, a live CD that allows you to customise the system before downloading it, accompanied by an interview with the project's founder, Bogdan Radulescu. Other topics covered in today's issue include an explanation about SELinux, the usual recap of the distribution releases of the past week, and an introduction to FuguIta, an OpenBSD-based live CD developed in Japan. Happy reading!"

Comments (none posted)

Fedora Weekly News 226

The Fedora Weekly News May 19, 2010 is out. "This week's issue kicks off with announcements from the Fedora Project, including details on the third Community Gaming Session, news of Jon Stanley joining the Fedora Project Board, and a series of upcoming Town Hall meetings for Fedora elections. In news from the Fedora Planet, a trip report from the Linux Audio Conference 2010 in Utrecht, news from Greg DeKoenigsberg's exciting new opportunities, and a continuation of discussion of target audiences for Fedora. We have lots to offer in Fedora In the News, including several more Fedora 13 reviews and experience pieces in the trade press and an exclusive interview with Paul W. Frields. Translation gets us up to date on Fedora 13 activities including a review of upcoming tasks, documentation translation and a new version of Publican. From the Design Team, updates on Fedora 14 supplemental wallpapers, discussion of Fedora 13 release party posters, and discussion of an archive for the Fedora Project media. This week's issue is complete with Security Advisories, overviewing the security-related software packages released during the past week."

Full Story (comments: none)

openSUSE Weekly News, Issue 124

The openSUSE Weekly News for May 22, 2010 is out. "Now the twentieth Week goes to the End, and we are pleased to announce our new issue. One of the important things in this week was the Milestone 7 release from 11.3. I've just tried it out, and it is very good. If you have some Space on your HD and you would like to test, it would be great. You can make a full Installation or you test it via VirtualBox. If you find a Bug, you can report it to bugzilla.opensuse.org. Through that you can help us to make OUR Distribution better. So we're hoping, that you like the new Weekly News. We wish you many joy by reading it..."

Comments (none posted)

Ubuntu Weekly Newsletter #194

The Ubuntu Weekly Newsletter for May 22, 2010 is out. "In this issue we cover Ubuntu Mentioned on CBS's The Big Bang Theory, Audio from UDS Sessions Now Available, Taking a Long Term View of the Release, Next Americas Regional Membership Board Meeting Announced, Why Launchpad Rocks, Kubuntu Maverick All Planned Out at UDS, Ubuntu Stats, Ubuntu Uruguay Approved Team, Ubuntu-my (Malaysia) Workshop Monash University, Ubuntu-my (Malaysia) Lucid Release Party, Ubuntu Catalan LoCo Team Release Party, Ubuntu Brazil Release Party Pictures, Ubuntini Recipe Released, LoCo Items for Ubuntu Weekly Newsletter, Debian and Ubuntu, Archive / Permissions Reorg confusion, Ubuntu Maverick UDS Group Photo made with the Hugin Panorama Creator, Melissa Draper: UW World Play Day 2010 Competition: The Movie, In The Press, In the Blogosphere, In Other News, Upcoming Meetings and Events, Updates and Security, and much much more!"

Full Story (comments: none)

Distribution reviews

Speedy Android 2.2 hits with tethering, push framework, more (ars technica)

ars technica covers the release of Android 2.2. "At the Google I/O developer conference today in San Francisco, the search giant unveiled Android 2.2, codenamed Froyo. The new version introduces some impressive performance improvements and much-needed feature enhancements."

Comments (19 posted)

Seven Reasons to Upgrade to Fedora 13 (Linux.com)

Joe 'Zonker' Brockmeier looks at Fedora 13. "Fedora users typically don't like to get behind the curve. One of the watchwords for the Fedora project is "first," and that means (in part) being fast to put the latest software from upstream in the hands of users with each release. Fedora 13 is no exception. The latest Fedora release comes with KDE 4.4 and GNOME 2.30 desktops, Firefox 3.6.3, OpenOffice.org 3.2, the 2.6.33 Linux kernel, and hundreds of other package updates. Each of these upstream updates brings improvements that you won't want to miss."

Comments (none posted)

Linux Mint 9: Solid, Simple, Shiny (Linux.com)

Linux.com has a review of Linux Mint 9. "Linux Mint shares quite a bit with its upstream distro. Ubuntu is in turn based on Debian, which I suppose makes Mint sort of a grandchild to Debian. But it's not an Ubuntu clone. It has its own look and feel and several useful tools that the Mint community has developed on their own. Starting with the look and feel: Mint is very green. It also saves a bit of screen space by featuring only one GNOME panel and uses a menu similar to the "slab" layout that was developed by Novell for SUSE. It combines the system, places and applications menu into one."

Comments (none posted)

Linux Mint 9 (Isadora)

Desktop Linux Reviews takes a look at Linux Mint 9. "I happily recommend Linux Mint 9 to beginner, intermediate and advanced Linux users. This is probably the best Linux distro for beginners. It's extremely easy to install and includes plenty of software. It includes most codecs necessary for multimedia and it has an enthusiastic community, ready to lend support and guidance to newbies."

Comments (none posted)

Puppy Linux 5.0 "Lucid Puppy" Released (Linux Journal)

Linux Journal reviews Puppy Linux 5.0 "Lucid Puppy". "As you might have guessed from the name, this version represents a break from the past as it is now based on packages from the latest version of Ubuntu Linux. As Ubuntu itself is better known as a popular choice for well specified desktop computers, one might wonder if Ubuntu + Puppy could result in a conflict of design interests. Let's take a look."

Comments (none posted)

SimplyMEPIS 8.5 (Desktop Linux Reviews)

Desktop Linux Reviews takes a look at SimplyMEPIS 8.5. "SimplyMEPIS 8.5 is a nice alternative for KDE users. It's obviously not going to appeal to the GNOME crowd, and that's fine. The SimplyMEPIS assistants provide some real configuration value and help set this distro apart from some of the others."

Comments (none posted)

Page editor: Rebecca Sobol
Next page: Development>>


Copyright © 2010, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds