Author Topic: The 01 August 2015 build (10376) is out.  (Read 31971 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5490
The 01 August 2015 build (10376) is out.
« on: August 01, 2015, 10:49:19 am »
Get quick announcements through the RSS feed http://www.codeblocks.org/nightly/CodeBlock_RSS.xml

Before you use a nightly make sure you understand how it works.

A link to the unicode windows wxWidget dll for Code::Blocks : http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/wxmsw28u_gcc_cb_wx2812_gcc492-TDM.7z

For those who might need this one (when no MingW installed on your system) : the mingw10m.dll : http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/mingwm10_gcc492-TDM.7z

The 01 August 2015 build is out.
  - Windows :
   http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/2015/CB_20150801_rev10376_win32.7z
  - Linux :
   none

The current SDK version is : 1.25.0

Resolved Fixed:

  • editor: Display just the name of the file by default in the editor's notebook
  • update of exchndl (crash handler) to 0.7.4 for 32 and 64 bit release
  • CC: fix SF #158 Code completion fails with the "using Alias = Type" syntax in C++11
  • Temporary (?) remove wxTreeList from wxContribItems and wxSmithContribItems for wx30-builds to avoid a a name conflict, because a trelistctrl is part of wx >= 2.9.3
  • updated to (wx)scintilla v3.5.7
  • added (moved) crash handler library to src folder, updated to v0.7.5
  • updated to new crash handler DLL (this time win32, win64 will follow)
  • updated to new crash handler DLL (win32/wx30x and win64/wx30x)
  • updated update scripts to install/make use of new crash handler

Regressions/Confirmed/Annoying/Common bugs:



    Offline Jenna

    • Administrator
    • Lives here!
    • *****
    • Posts: 7255
    Re: The 01 August 2015 build (10376) is out.
    « Reply #1 on: August 01, 2015, 12:25:21 pm »
    Debian packages (binaries and sources) for 32-bit and 64-bit systems can be found in my debian-repo.
    These packages are build against wxWidgets 3.0 from Debian repos and mght not be as stable than the versions build against wx2.8, but there are no wx2.8 packages available (at least for stable) from official repos.
    Please test and give feedback.

    Currently compiling, will soon be uploaded.

    Fedora packages (binaries and sources) for 32-bit and 64-bit systems (fc20, fc21, fc22 and rawhide), RedHat/CentOS 5 and 6 packages (also 32-bit and 64-bit) and RedHat/CentOS 7 packages (only 64-bit at the moment) can be found in my rpm-repo.
    I recently switched to copr to build and host my Fedora and CentOS packages.
    Instructions how to use it can be found on my server (easier) or on copr (a little more handwork needed).
    « Last Edit: August 01, 2015, 04:42:34 pm by jens »

    Offline oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 13413
      • Travis build status
    Re: The 01 August 2015 build (10376) is out.
    « Reply #2 on: August 01, 2015, 01:23:37 pm »
    Russian spelling is not working ...  :'(
    You're posting in the wrong topic...
    (most of the time I ignore long posts)
    [strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

    Offline shurick

    • Multiple posting newcomer
    • *
    • Posts: 35
    Re: The 01 August 2015 build (10376) is out.
    « Reply #3 on: August 02, 2015, 07:09:24 am »
    Packages for openSUSE (binaries and sources) for 32-bit and 64-bit.
    Packages for openSUSE http://codeblocks.esy.es  (binaries and sources) for 32-bit and 64-bit.

    Offline cacb

    • Lives here!
    • ****
    • Posts: 536
    Re: The 01 August 2015 build (10376) is out.
    « Reply #4 on: August 02, 2015, 02:11:43 pm »
    Debian packages (binaries and sources) for 32-bit and 64-bit systems can be found in my debian-repo.
    These packages are build against wxWidgets 3.0 from Debian repos and mght not be as stable than the versions build against wx2.8, but there are no wx2.8 packages available (at least for stable) from official repos.
    Please test and give feedback.

    I have tried to build this nightly from source using the same method I have applied many times before, but now I am having some problems building:


    - OS: Kubuntu 14.10 64bit
    - CB source: https://apt.jenslody.de/stable/pool/main/codeblocks_13.12svn10376.orig.tar.gz
    - extracted all the files to a folder on an ext4 formatted partition
    - added  "--with-wx-config=/usr/bin/wx-config" to the DEB_CONFIGURE_EXTRA_FLAGS in debian/rules
    - issued "sudo dpkg-buildpackage" to compile all packages


    This procedure has worked fine for a couple of years, but now I am getting the following error after some time. I am trying to build against official wx-2.8 as i have done before

    $ /usr/bin/wx-config --list
      Default config is gtk2-unicode-release-2.8 

      Alternate matches:
        base-unicode-debug-2.8
        base-unicode-release-2.8
        gtk2-unicode-debug-2.8


    All compilation and linking seems to work, but the generation of .deb files fail:

    ...
    # only call dh_scour for packages in main
    if grep -q '^Component:[[:space:]]*main' /CurrentlyBuilding 2>/dev/null; then dh_scour -plibwxsmithlib0 ; fi
    dh_md5sums -plibwxsmithlib0
    dh_builddeb -plibwxsmithlib0 -- -Zlzma
    dpkg-deb: warning: deprecated compression type 'lzma'; use xz instead
    dpkg-deb: warning: ignoring 1 warning about the control file(s)
    dpkg-deb: building package `libwxsmithlib0' in `../libwxsmithlib0_13.12svn0_amd64.deb'.
    dh_gencontrol -plibwxsmithlib0-dev 
    # only call dh_scour for packages in main
    if grep -q '^Component:[[:space:]]*main' /CurrentlyBuilding 2>/dev/null; then dh_scour -plibwxsmithlib0-dev ; fi
    dh_md5sums -plibwxsmithlib0-dev
    dh_builddeb -plibwxsmithlib0-dev -- -Zlzma
    dpkg-deb: warning: deprecated compression type 'lzma'; use xz instead
    dpkg-deb: warning: ignoring 1 warning about the control file(s)
    dpkg-deb: building package `libwxsmithlib0-dev' in `../libwxsmithlib0-dev_13.12svn0_amd64.deb'.
    dh_gencontrol -pwxsmith-dev 
    # only call dh_scour for packages in main
    if grep -q '^Component:[[:space:]]*main' /CurrentlyBuilding 2>/dev/null; then dh_scour -pwxsmith-dev ; fi
    dh_md5sums -pwxsmith-dev
    dh_builddeb -pwxsmith-dev -- -Zlzma
    dpkg-deb: warning: deprecated compression type 'lzma'; use xz instead
    dpkg-deb: warning: ignoring 1 warning about the control file(s)
    dpkg-deb: building package `wxsmith-dev' in `../wxsmith-dev_13.12svn0_amd64.deb'.
    dpkg-genchanges  >../codeblocks_13.12svn10112_amd64.changes
    dpkg-genchanges: error: cannot read ../codeblocks_13.12svn0.dsc: No such file or directory
    dpkg-buildpackage: error: dpkg-genchanges gave error exit status 2


    Any advice on this? 

    Not sure what "dpkg-genchanges" tries to do...


    Update:
    I observe another symptom with this build, svn number is zero
    Previously, I got: codeblocks-common_13.12svn10090_all.deb  (for build 10090)
    This build, I got: codeblocks-common_13.12svn0_all.deb (for build 10376)
    and the same for all others
    « Last Edit: August 02, 2015, 02:21:54 pm by cacb »

    Offline Jenna

    • Administrator
    • Lives here!
    • *****
    • Posts: 7255
    Re: The 01 August 2015 build (10376) is out.
    « Reply #5 on: August 02, 2015, 05:41:05 pm »
    I know the cause, I look into it and see if it can be fixed easily.

    Offline stahta01

    • Lives here!
    • ****
    • Posts: 7582
      • My Best Post
    Re: The 01 August 2015 build (10376) is out.
    « Reply #6 on: August 03, 2015, 05:27:02 pm »
    Jens: Your links in your sign are NOT working for me.

    Example: https://apt.jenslody.de/

    Edit2: The links just started working for me.

    Tim S.
    « Last Edit: August 03, 2015, 05:29:43 pm by stahta01 »
    C Programmer working to learn more about C++ and Git.
    On Windows 7 64 bit and Windows 10 64 bit.
    --
    When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

    Offline Jenna

    • Administrator
    • Lives here!
    • *****
    • Posts: 7255
    Re: The 01 August 2015 build (10376) is out.
    « Reply #7 on: August 04, 2015, 06:26:53 pm »
    « Last Edit: August 04, 2015, 06:33:23 pm by jens »

    Offline Jenna

    • Administrator
    • Lives here!
    • *****
    • Posts: 7255
    Re: The 01 August 2015 build (10376) is out.
    « Reply #8 on: August 04, 2015, 06:28:07 pm »
    Jens: Your links in your sign are NOT working for me.

    Example: https://apt.jenslody.de/

    Edit2: The links just started working for me.

    Tim S.
    Hi Tim,
    I know, it was a short unplanned downtime.

    Offline cacb

    • Lives here!
    • ****
    • Posts: 536
    Re: The 01 August 2015 build (10376) is out.
    « Reply #9 on: August 04, 2015, 09:20:19 pm »
    @cacb:
    Can you test it with the actual source (https://apt.jenslody.de/stable/pool/main/codeblocks_13.12svn10379.orig.tar.gz) ?

    Thanks for the follow up! Now I got a bit further, looks like all .debs build properly. However, "sudo dpkg-buildpackage" ended like this:

    # only call dh_scour for packages in main
    if grep -q '^Component:[[:space:]]*main' /CurrentlyBuilding 2>/dev/null; then dh_scour -pwxsmith-dev ; fi
    dh_md5sums -pwxsmith-dev
    dh_builddeb -pwxsmith-dev
    dpkg-deb: building package `wxsmith-dev' in `../wxsmith-dev_13.12svn10379_amd64.deb'.
     dpkg-genchanges  >../codeblocks_13.12svn10379_amd64.changes
    dpkg-genchanges: including full source code in upload
     dpkg-source --after-build codeblocks-13.12svn
    dpkg-buildpackage: full upload; Debian-native package (full source is included)
     signfile codeblocks_13.12svn10379.dsc
    gpg: WARNING: unsafe ownership on configuration file `/home/ca/.gnupg/gpg.conf'
    gpg: skipped "Jens Lody <jens@codeblocks.org>": No secret key
    gpg: [stdin]: clearsign failed: No secret key

    dpkg-buildpackage: error: failed to sign .dsc and .changes file


    Apparently the above is a just minor issue. I had an install script that had issues resolving all dependencies, I therefore ended up stripping it down to include what I believe would be a "user-only, not cb-developer subset". My install script looks like this:

    #!/bin/bash
    #
    # Script to install Code::Blocks build * from local packages
    # run as follows: $ sudo ./install_cb.sh
    #
    VER='13.12'
    SVNNR='svn10379'
    CPUCFG='amd64'

    echo "------------------------------------------------------------------------------"
    echo "--------- Code::Blocks install script BEGIN: " codeblocks-${SVNNR}_${CPUCFG} "-------"
    echo "------------------------------------------------------------------------------"

    dpkg -i \
    libcodeblocks0_${VER}${SVNNR}_${CPUCFG}.deb \
    libwxsmithlib0_${VER}${SVNNR}_${CPUCFG}.deb \
    codeblocks_${VER}${SVNNR}_${CPUCFG}.deb \
    codeblocks-common_${VER}${SVNNR}_all.deb \
    codeblocks-libwxcontrib0_${VER}${SVNNR}_${CPUCFG}.deb \
    codeblocks-contrib-common_${VER}${SVNNR}_all.deb \
    codeblocks-contrib_${VER}${SVNNR}_${CPUCFG}.deb

    apt-get -f install
    dpkg-reconfigure codeblocks
    dpkg-reconfigure codeblocks-contrib

    echo "------------------------------------------------------------------------------"
    echo "--------- Code::Blocks install script END: Please check for possible errors --"
    echo "------------------------------------------------------------------------------"



    This seems to work fine, I have svn10379 running just fine, and it looks to be more responsive than before. Great job!


    Offline Jenna

    • Administrator
    • Lives here!
    • *****
    • Posts: 7255
    Re: The 01 August 2015 build (10376) is out.
    « Reply #10 on: August 04, 2015, 09:28:13 pm »
    There is no need to run dpkg-buildpackage as root.
    It uses fakeroot internally and works just fine (as long as the normal user is allowed to write into the source-tree and one folder below).

    Offline cacb

    • Lives here!
    • ****
    • Posts: 536
    Re: The 01 August 2015 build (10376) is out.
    « Reply #11 on: August 04, 2015, 11:07:52 pm »
    There is no need to run dpkg-buildpackage as root.
    It uses fakeroot internally and works just fine (as long as the normal user is allowed to write into the source-tree and one folder below).

    Thank you. I tested it, and it builds without sudo. The warning about "unsafe ownership" is gone. Otherwise the same as before, including the final gpg error.

    Offline Jenna

    • Administrator
    • Lives here!
    • *****
    • Posts: 7255
    Re: The 01 August 2015 build (10376) is out.
    « Reply #12 on: August 04, 2015, 11:25:17 pm »
    There is no need to run dpkg-buildpackage as root.
    It uses fakeroot internally and works just fine (as long as the normal user is allowed to write into the source-tree and one folder below).

    Thank you. I tested it, and it builds without sudo. The warning about "unsafe ownership" is gone. Otherwise the same as before, including the final gpg error.
    The gpg-error might go away if you change or remove the "Maintainer: ..."-line in "debian/control", but I'm not absolutely sure. I do not use Debian myself since several years, just maintain the packages on my (CentOS-)server.

    Offline cacb

    • Lives here!
    • ****
    • Posts: 536
    Re: The 01 August 2015 build (10376) is out.
    « Reply #13 on: August 05, 2015, 08:46:26 am »
    The gpg-error might go away if you change or remove the "Maintainer: ..."-line in "debian/control", but I'm not absolutely sure. I do not use Debian myself since several years, just maintain the packages on my (CentOS-)server.

    Ok, I will test it and report back. Thanks a lot.

    Offline cacb

    • Lives here!
    • ****
    • Posts: 536
    Re: The 01 August 2015 build (10376) is out.
    « Reply #14 on: August 05, 2015, 08:03:05 pm »
    The gpg-error might go away if you change or remove the "Maintainer: ..."-line in "debian/control", but I'm not absolutely sure. I do not use Debian myself since several years, just maintain the packages on my (CentOS-)server.

    Ok, I will test it and report back. Thanks a lot.

    I tried first removing the whole "Maintainer: ..." line, I got this at the end

    dh_builddeb -pwxsmith-dev
    dpkg-deb: warning: parsing file 'debian/wxsmith-dev/DEBIAN/control' near line 30 package 'wxsmith-dev':
     missing maintainer
    dpkg-deb: warning: ignoring 1 warning about the control file(s)
    dpkg-deb: building package `wxsmith-dev' in `../wxsmith-dev_13.12svn10379_amd64.deb'.
     dpkg-genchanges  >../codeblocks_13.12svn10379_amd64.changes
    dpkg-genchanges: including full source code in upload
    dpkg-genchanges: error: missing information for critical output field Maintainer
    dpkg-buildpackage: error: dpkg-genchanges gave error exit status 255


    Then I left the "Maintainer: ..." line in, but removed your name/email. I still got some complaints at the end:

    dpkg-deb: warning: ignoring 1 warning about the control file(s)
    dpkg-deb: building package `wxsmith-dev' in `../wxsmith-dev_13.12svn10379_amd64.deb'.
     dpkg-genchanges  >../codeblocks_13.12svn10379_amd64.changes
    dpkg-genchanges: including full source code in upload
     dpkg-source --after-build codeblocks-13.12svn
    dpkg-buildpackage: full upload; Debian-native package (full source is included)
     signfile codeblocks_13.12svn10379.dsc
    gpg: skipped "Jens Lody <jens@codeblocks.org>": No secret key
    gpg: [stdin]: clearsign failed: No secret key


    I can still install/run CB.