Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 855887 - dev-db/libodbc++-0.2.5-r3 - /.../datetime.cpp: error: cannot convert std::nullptr_t to char in assignment
Summary: dev-db/libodbc++-0.2.5-r3 - /.../datetime.cpp: error: cannot convert std::nul...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 839975
  Show dependency tree
 
Reported: 2022-07-02 14:02 UTC by Toralf Förster
Modified: 2022-08-06 03:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.21 KB, text/plain)
2022-07-02 14:02 UTC, Toralf Förster
Details
dev-db:libodbc++-0.2.5-r3:20220702-131711.log (dev-db:libodbc++-0.2.5-r3:20220702-131711.log,34.50 KB, text/plain)
2022-07-02 14:02 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,62.35 KB, application/x-bzip)
2022-07-02 14:02 UTC, Toralf Förster
Details
environment (environment,72.72 KB, text/plain)
2022-07-02 14:02 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,22.62 KB, application/x-bzip)
2022-07-02 14:02 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,13.40 KB, application/x-bzip)
2022-07-02 14:02 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,22.05 KB, application/x-bzip)
2022-07-02 14:02 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-07-02 14:02:27 UTC
In file included from /usr/lib/gcc/x86_64-gentoo-linux-musl/12.1.1/include/g++-v12/ctime:42,
                 from /var/tmp/portage/dev-db/libodbc++-0.2.5-r3/work/libodbc++-0.2.5/include/odbc++/types.h:37,
                 from /var/tmp/portage/dev-db/libodbc++-0.2.5-r3/work/libodbc++-0.2.5/src/datetime.cpp:22:
/var/tmp/portage/dev-db/libodbc++-0.2.5-r3/work/libodbc++-0.2.5/src/datetime.cpp: In member function 'virtual std::string odbc::Timestamp::toString() const':
/var/tmp/portage/dev-db/libodbc++-0.2.5-r3/work/libodbc++-0.2.5/src/datetime.cpp:275:16: error: cannot convert 'std::nullptr_t' to 'char' in assignment
  275 |       buf[9] = NULL;// Terminate string
      |                ^~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-j4-20220629-060005

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-12.1.1 *
clang/llvm (if any):
clang version 14.0.6
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.6
Python 3.9.13
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.62.0
  [2]   rust-1.62.0 *
php cli:
  [1]   php7.4
  [2]   php8.0
  [3]   php8.1 *

  HEAD of ::gentoo
commit b97d9e836bcb7ca87fe9fd3427b28cf25bae0689
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Jul 2 12:16:40 2022 +0000

    2022-07-02 12:16:40 UTC

emerge -qpvO dev-db/libodbc++
[ebuild  N    ] dev-db/libodbc++-0.2.5-r3
Comment 1 Toralf Förster gentoo-dev 2022-07-02 14:02:28 UTC
Created attachment 789527 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-07-02 14:02:29 UTC
Created attachment 789530 [details]
dev-db:libodbc++-0.2.5-r3:20220702-131711.log
Comment 3 Toralf Förster gentoo-dev 2022-07-02 14:02:30 UTC
Created attachment 789533 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2022-07-02 14:02:32 UTC
Created attachment 789536 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-07-02 14:02:33 UTC
Created attachment 789539 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-07-02 14:02:34 UTC
Created attachment 789542 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-07-02 14:02:35 UTC
Created attachment 789545 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-08-06 03:50:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f553b896d25848f8924ae58b456ede494f8503e3

commit f553b896d25848f8924ae58b456ede494f8503e3
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-08-06 03:37:24 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-08-06 03:49:29 +0000

    dev-db/libodbc++: fix build w/ musl 1.2.3 (and possibly libcxx?)
    
    Closes: https://bugs.gentoo.org/855887
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/libodbc++-0.2.3-musl-1.2.3-null.patch          | 16 ++++++++++++++++
 dev-db/libodbc++/libodbc++-0.2.5-r3.ebuild               |  3 ++-
 2 files changed, 18 insertions(+), 1 deletion(-)