Unable to move to stable - BSD

This is a discussion on Unable to move to stable - BSD ; I'm having trouble following the stable branch , each attempt to make build ends in the following error. The kernel has the following option enabled : option NTFS # Experimental NTFS support The following steps provided at http://www.openbsd.org/faq/faq5.html#BldGetSrc were used. ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: Unable to move to stable

  1. Unable to move to stable

    I'm having trouble following the stable branch , each attempt to make
    build ends in the following error. The kernel has the following option
    enabled :
    option NTFS # Experimental NTFS support

    The following steps provided at
    http://www.openbsd.org/faq/faq5.html#BldGetSrc were used.


    # export CVSROOT=anoncvs@anoncvs2.usa.openbsd.org:/cvs
    # cvs -d$CVSROOT up -rOPENBSD_3_7 -Pd

    # cd /usr/src/sys/arch/i386/conf
    # config housejunkie
    # cd ../compile/housejunkie
    # make clean && make depend && make
    # make install

    # reboot

    # rm -rf /usr/obj/*
    # cd /usr/src
    # make obj

    # cd /usr/src/etc && env DESTDIR=/ make distrib-dirs
    # cd /usr/src
    # make build

    c++ -nostdinc++
    -I/usr/src/gnu/lib/libstdc++/obj/include/i386-unknown-openbsd3.7
    -I/usr/src/gnu/lib/libstdc++/obj/include
    -I/usr/src/gnu/lib/libstdc++/libstdc++
    /libsupc++ -I/usr/src/gnu/lib/libstdc++/libstdc++/libmath -O2 -pipe
    -fno-implici
    t-templates -Wall -Wno-format -W -Wwrite-strings
    -fdiagnostics-show-location=onc
    e -ffunction-sections -fdata-sections -c
    /usr/src/gnu/lib/libstdc++/libstdc++/sr
    c/bitset.cc -fPIC -DPIC -o .libs/bitset.o
    In file included from /usr/src/gnu/lib/libstdc++/obj/include/cwchar:54,
    from
    /usr/src/gnu/lib/libstdc++/obj/include/bits/fpos.h:45,
    from
    /usr/src/gnu/lib/libstdc++/obj/include/bits/char_traits.h:
    46,
    from /usr/src/gnu/lib/libstdc++/obj/include/string:47,
    from /usr/src/gnu/lib/libstdc++/obj/include/bitset:55,
    from
    /usr/src/gnu/lib/libstdc++/libstdc++/src/bitset.cc:43:
    /usr/include/wchar.h:110: error: syntax error before `*' token
    /usr/include/wchar.h:112: error: syntax error before `*' token
    /usr/include/wchar.h:113: error: syntax error before `*' token
    /usr/include/wchar.h:115: error: syntax error before `*' token
    /usr/include/wchar.h:116: error: syntax error before `*' token
    /usr/include/wchar.h:132: error: syntax error before `*' token
    In file included from /usr/src/gnu/lib/libstdc++/obj/include/cwctype:52,
    from
    /usr/src/gnu/lib/libstdc++/obj/include/bits/locale_facets.
    h:46,
    from
    /usr/src/gnu/lib/libstdc++/obj/include/bits/basic_ios.h:44
    ,
    from /usr/src/gnu/lib/libstdc++/obj/include/ios:51,
    from /usr/src/gnu/lib/libstdc++/obj/include/ostream:45,
    from /usr/src/gnu/lib/libstdc++/obj/include/bitset:58,
    from
    /usr/src/gnu/lib/libstdc++/libstdc++/src/bitset.cc:43:
    /usr/include/wctype.h:70: error: type specifier omitted for parameter
    `wctype_t
    '
    /usr/include/wctype.h:71: error: type specifier omitted for parameter `
    wctrans_t'
    /usr/include/wctype.h:74: error: syntax error before `char'
    /usr/include/wctype.h:75: error: syntax error before `char'
    *** Error code 1

    Stop in /usr/src/gnu/lib/libstdc++/obj/src.
    *** Error code 1

    Stop in /usr/src/gnu/lib/libstdc++/obj (line 304 of Makefile).
    *** Error code 1

    Stop in /usr/src/gnu/lib/libstdc++/obj (line 419 of Makefile).
    *** Error code 1

    Stop in /usr/src/gnu/lib/libstdc++ (line 22 of
    /usr/src/gnu/lib/libstdc++/Makefi
    le.bsd-wrapper).
    *** Error code 1

    Stop in /usr/src/gnu/lib.
    *** Error code 1

    Stop in /usr/src (line 72 of Makefile).
    [/usr/src] $

  2. Re: Unable to move to stable

    there is no wchar.h in openbsd 3.7.


  3. Re: Unable to move to stable

    tedu wrote:
    > there is no wchar.h in openbsd 3.7.


    Hi, could you provide a little more detail ?

    [/usr/src] $ uname -a
    OpenBSD hostname.net 3.7 GENERIC#0 i386

    Do you mean there was no wchar.h in obsd 3.7 release? or in 3.7
    -stable, -current? Additionally here is the bloated list of packages
    i've installed :

    [/usr/src] $ pkg_info
    ImageMagick-6.0.0-2p3-no_x11 image processing tools
    bash-3.0.16p0 GNU Bourne Again Shell
    bzip2-1.0.2 block-sorting file compressor, unencumbered
    cyrus-sasl-2.1.20p3 RFC 2222 SASL (Simple Authentication and Security
    Layer)
    e2fsprogs-1.27p2 utilities to manipulate ext2 filesystems
    fileutils-4.1p2 GNU versions of common file management utilities
    gettext-0.10.40p2 GNU gettext
    ghostscript-7.05p5-no_x11 GNU PostScript interpreter
    ghostscript-fonts-6.0 35 standard PostScript fonts with Adobe name
    aliases
    glib-1.2.10 useful routines for C programming
    imap-uw-2004.357 University of Washington IMAP4rev1/POP2/POP3 mail
    servers
    irssi-0.8.9 modular IRC client with many features
    (ipv6,socks,proxy)
    jasper-1.701.0 reference implementation of JPEG-2000
    jbigkit-1.5 lossless image compression library
    jpeg-6b IJG's JPEG compression utilities
    lcms-1.12p0 color management library
    libiconv-1.9.2 character set conversion library
    libxml-2.6.16p0 XML parsing library
    links+-2.1pre16-no_x11 graphics and text browser with javascript
    support
    mutt-1.4.2ip0 tty-based e-mail client
    mysql-client-4.0.23 multithreaded SQL database (client)
    mysql-server-4.0.23p1 multithreaded SQL database (server)
    netpbm-9.24p1 toolkit for converting images between different
    formats
    p5-DBD-mysql-2.9004 MySQL drivers for the Perl DBI
    p5-DBI-1.45p1 unified perl interface for database access
    p5-Digest-HMAC-1.01 interface to HMAC Message-Digest Algorithms
    p5-Digest-SHA1-2.10 module to calculate SHA1 digests
    p5-HTML-Parser-3.45 modules to parse and extract information from HTML
    p5-HTML-Tagset-3.04 data tables useful for parsing HTML
    p5-MP3-Info-1.02 Perl5 module for reading MPEG1-Layer3 tags
    p5-Mail-SpamAssassin-3.0.2 mailfilter to identify and mark spam
    p5-Net-DNS-0.47 module to interface the DNS resolver
    p5-Net-Daemon-0.38 extension for portable daemons
    p5-PlRPC-0.2018 module for writing rpc servers and clients
    pcre-4.5 perl-compatible regular expression library
    php5-core-5.0.3p1 server-side HTML-embedded scripting language
    php5-mysql-5.0.3p1 mysql database access extensions for php5
    png-1.2.7p1 library for manipulating PNG images
    popt-1.7 getopt(3)-like library with a number of
    enhancements
    postfix-2.3.20050309-sasl2 fast, secure sendmail replacement
    samba-2.2.12p0 SMB and CIFS client and server for UNIX
    screen-4.0.2 multi-screen window manager
    sniffit-0.3.7b packet sniffer program; for educational use
    tiff-3.6.1p3 tools and library routines for working with TIFF
    images
    tmsnc-0.2.0b textbased MSN client written in C
    unzip-5.51 extract, list & test files in a ZIP archive
    vim-6.3.61-no_x11 vi clone, many additional features
    wget-1.8.2 retrieve files from the 'net via HTTP and FTP


  4. Re: Unable to move to stable


    tedu wrote:
    >
    >there is no wchar.h in openbsd 3.7.
    >


    I'd also like to add , that i have upgraded to GCC

    as per "2005/03/29 - Exception handling flag day (i386)"
    (http://www.openbsd.org/faq/current.html)

    still fail with the following errors (and now back at generic kernel)..


    In file included from /usr/src/gnu/lib/libstdc++/obj/include/cwchar:54,
    from
    /usr/src/gnu/lib/libstdc++/obj/include/bits/fpos.h:45,
    from
    /usr/src/gnu/lib/libstdc++/obj/include/bits/char_traits.h:46,
    from /usr/src/gnu/lib/libstdc++/obj/include/string:47,
    from /usr/src/gnu/lib/libstdc++/obj/include/bitset:55,
    from
    /usr/src/gnu/lib/libstdc++/libstdc++/src/bitset.cc:43:
    /usr/include/wchar.h:110: error: syntax error before `*' token
    /usr/include/wchar.h:112: error: syntax error before `*' token
    /usr/include/wchar.h:113: error: syntax error before `*' token
    /usr/include/wchar.h:115: error: syntax error before `*' token
    /usr/include/wchar.h:116: error: syntax error before `*' token
    /usr/include/wchar.h:132: error: syntax error before `*' token
    In file included from /usr/src/gnu/lib/libstdc++/obj/include/cwctype:52,
    from
    /usr/src/gnu/lib/libstdc++/obj/include/bits/locale_facets.h:46,
    from
    /usr/src/gnu/lib/libstdc++/obj/include/bits/basic_ios.h:44,
    from /usr/src/gnu/lib/libstdc++/obj/include/ios:51,
    from /usr/src/gnu/lib/libstdc++/obj/include/ostream:45,
    from /usr/src/gnu/lib/libstdc++/obj/include/bitset:58,
    from
    /usr/src/gnu/lib/libstdc++/libstdc++/src/bitset.cc:43:
    /usr/include/wctype.h:70: error: type specifier omitted for parameter
    `wctype_t
    '
    /usr/include/wctype.h:71: error: type specifier omitted for parameter `
    wctrans_t'
    /usr/include/wctype.h:74: error: syntax error before `char'
    /usr/include/wctype.h:75: error: syntax error before `char'
    *** Error code 1

    Stop in /usr/src/gnu/lib/libstdc++/obj/src.
    *** Error code 1

    Stop in /usr/src/gnu/lib/libstdc++/obj (line 304 of Makefile).
    *** Error code 1

    Stop in /usr/src/gnu/lib/libstdc++/obj (line 419 of Makefile).
    *** Error code 1

    Stop in /usr/src/gnu/lib/libstdc++ (line 22 of
    /usr/src/gnu/lib/libstdc++/Makefile.bsd-wrapper).
    *** Error code 1

    Stop in /usr/src/gnu/lib.
    *** Error code 1

    Stop in /usr/src (line 72 of Makefile).
    [/usr/src]


  5. Re: Unable to move to stable


    Jon Blade wrote:
    > tedu wrote:
    > >
    > >there is no wchar.h in openbsd 3.7.
    > >

    >
    > I'd also like to add , that i have upgraded to GCC
    >
    > as per "2005/03/29 - Exception handling flag day (i386)"
    > (http://www.openbsd.org/faq/current.html)


    from the above: "This document is for people who wish to follow
    -current. It contains information about changes from 3.7-release to
    -current, and should NOT be used for anyone upgrading from 3.6 or
    earlier, or people wishing to follow -stable."

    What did you install? current or release? If you have a wchar.h, it
    means at some point you installed or built current, not stable. You
    can't go backwards.


+ Reply to Thread