public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
From: Tobias Klausmann <klausman@schwarzvogel.de>
To: util-linux@vger.kernel.org
Subject: util-linux breakage with v2.24.2 on Alpha
Date: Sun, 8 Jun 2014 12:42:51 +0200	[thread overview]
Message-ID: <20140608104251.GA72528@skade.schwarzvogel.de> (raw)

Hey,

I am one of the Gentoo maintainers for the Alpha arch. As of
util-linux 2.24, the build broke reliably:

  CC       libfdisk/src/libfdisk_la-bsd.lo
libfdisk/src/bsd.c: In function ‘bsd_translate_fstype’:
libfdisk/src/bsd.c:790:10: error: ‘BSD_FS_MSDOS’ undeclared (first use in this function)
   return BSD_FS_MSDOS;
          ^

This is due to the this section in include/pt-bsd.h:

/* this is annoying, but it's also the way it is :-( */                         
#ifdef __alpha__                                                                
#define BSD_FS_EXT2     8               /* ext2 file system */                  #else                                                                           
#define BSD_FS_MSDOS    8               /* MS-DOS file system */                
#endif                                                                          
                                                                                
The problem is that libfdisk/src/bsd.c still uses that macro, even
when compiling util-linux on Alpha. 

Regards,
Tobias

PS: I'm not susbscribed to the list, so please CC me on replies.

             reply	other threads:[~2014-06-08 11:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-08 10:42 Tobias Klausmann [this message]
2014-06-08 12:25 ` util-linux breakage with v2.24.2 on Alpha Ruediger Meier
2014-06-08 12:44   ` Tobias Klausmann
2014-06-08 13:32 ` [PATCH] libfdisk: fix bsd_translate_fstype() for alpha Ruediger Meier
2014-06-08 13:44   ` Dave Reisner
2014-06-08 14:09     ` Tobias Klausmann
2014-06-08 15:06       ` Ruediger Meier
2014-06-09  8:43   ` Karel Zak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140608104251.GA72528@skade.schwarzvogel.de \
    --to=klausman@schwarzvogel.de \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox