登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
登录
注册
9月20日,Gitee × 模力方舟来成都了!聚焦 AI 应用在开发范式、算力架构、交互设计、硬件选型等跨场景创新实践,点击立即报名~
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
5
Star
0
Fork
8
src-openEuler
/
rubygem-pg
代码
Issues
0
Pull Requests
0
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
【22.09】rubygem-pg包本地自编译失败
已完成
#I5JQK6
缺陷
starlet_dx
创建于
2022-07-30 17:44
repo: http://121.36.84.172/dailybuild/openEuler-22.09/openeuler-2022-07-25-10-43-26/everything/ http://121.36.84.172/dailybuild/openEuler-22.09/openeuler-2022-07-25-10-43-26/source/ 报错日志: ``` PG::TypeMapByColumn [33mNo pidfile (#<Pathname:/home/yaoxin/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/tmp_test_specs/data/postmaster.pid>)[0m [33mSetting up test database for PG::TypeMapByColumn[0m [33mCommand output logged to /home/yaoxin/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/tmp_test_specs/setup.log[0m [33mStarting postgres[0m [33mpg_ctl -w -o "-k \"/home/yaoxin/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/tmp_test_specs\"" -D /home/yaoxin/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/tmp_test_specs/data start[0m [33mCreating the test DB[0m [33mpsql -e -c "DROP DATABASE IF EXISTS test" postgres[0m [33mcreatedb -e test[0m should retrieve it's conversions forwards result value conversions to a TypeMapByOid as #default_type_map will deny copy queries with different column count should verify the default type map for result values as well should respond to inspect should allow mixed type conversions should allow hash form parameters for default encoder should gracefully handle not initialized state should convert hash form parameters to string when using string encoders should raise an error for invalid params shouldn't allow result mappings with different number of fields should encode integer params shouldn't allow param mappings with different number of fields forwards query param conversions to the #default_type_map should verify the default type map for query params as well should retrieve it's oids forwards get_copy_data conversions to another TypeMapByColumn as #default_type_map should encode bytea params should raise an error from decode method of type converter [33mTearing down test database[0m [33mpg_ctl -D /home/yaoxin/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/tmp_test_specs/data stop[0m Failures: 1) Basic type mapping PG::BasicTypeMapForQueries should do default array-as-array param encoding with Time objects Failure/Error: expect( res.values[0][0] ).to match( /\{\"2019-12-08 \d\d:38:12.123[+-]\d\d\"\}/ ) expected "{\"2019-12-09 05:38:12.123+08\"}" to match /\{\"2019-12-08 \d\d:38:12.123[+-]\d\d\"\}/ Diff: @@ -1,2 +1,2 @@ -/\{\"2019-12-08 \d\d:38:12.123[+-]\d\d\"\}/ +"{\"2019-12-09 05:38:12.123+08\"}" # ./spec/pg/basic_type_mapping_spec.rb:102:in `block (3 levels) in <top (required)>' # ./spec/helpers.rb:30:in `block in included' Finished in 5 minutes 27 seconds (files took 0.30593 seconds to load) 694 examples, 1 failure Failed examples: rspec ./spec/pg/basic_type_mapping_spec.rb:97 # Basic type mapping PG::BasicTypeMapForQueries should do default array-as-array param encoding with Time objects Randomized with seed 1707 + echo '==== [setup.log start ] ====' ==== [setup.log start ] ==== + cat tmp_test_specs/setup.log The files belonging to this database system will be owned by user "yaoxin". This user must also own the server process. The database cluster will be initialized with locale "C". The default text search configuration will be set to "english". Data page checksums are disabled. creating directory /home/yaoxin/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/tmp_test_specs/data ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... posix selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default time zone ... Asia/Beijing creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok syncing data to disk ... ok initdb: warning: enabling "trust" authentication for local connections You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. Success. You can now start the database server using: pg_ctl -D /home/yaoxin/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/tmp_test_specs/data -l logfile start waiting for server to start....2022-07-30 09:07:50.158 CST [42341] LOG: redirecting log output to logging collector process 2022-07-30 09:07:50.158 CST [42341] HINT: Future log output will appear in directory "log". done server started DROP DATABASE IF EXISTS test NOTICE: database "test" does not exist, skipping DROP DATABASE SELECT pg_catalog.set_config('search_path', '', false); CREATE DATABASE test; waiting for server to shut down.... done server stopped waiting for server to start....2022-07-30 09:08:08.334 CST [42358] LOG: redirecting log output to logging collector process 2022-07-30 09:08:08.334 CST [42358] HINT: Future log output will appear in directory "log". done server started DROP DATABASE IF EXISTS test DROP DATABASE SELECT pg_catalog.set_config('search_path', '', false); CREATE DATABASE test; waiting for server to shut down..... done server stopped waiting for server to start....2022-07-30 09:08:30.416 CST [42375] LOG: redirecting log output to logging collector process 2022-07-30 09:08:30.416 CST [42375] HINT: Future log output will appear in directory "log". done server started DROP DATABASE IF EXISTS test DROP DATABASE SELECT pg_catalog.set_config('search_path', '', false); CREATE DATABASE test; waiting for server to shut down.... done server stopped waiting for server to start....2022-07-30 09:08:45.713 CST [42392] LOG: redirecting log output to logging collector process 2022-07-30 09:08:45.713 CST [42392] HINT: Future log output will appear in directory "log". done server started DROP DATABASE IF EXISTS test DROP DATABASE SELECT pg_catalog.set_config('search_path', '', false); CREATE DATABASE test; waiting for server to shut down..... done server stopped waiting for server to start....2022-07-30 09:09:25.054 CST [42469] LOG: redirecting log output to logging collector process 2022-07-30 09:09:25.054 CST [42469] HINT: Future log output will appear in directory "log". done server started DROP DATABASE IF EXISTS test DROP DATABASE SELECT pg_catalog.set_config('search_path', '', false); CREATE DATABASE test; waiting for server to shut down.... done server stopped waiting for server to start....2022-07-30 09:09:40.065 CST [42486] LOG: redirecting log output to logging collector process 2022-07-30 09:09:40.065 CST [42486] HINT: Future log output will appear in directory "log". done server started DROP DATABASE IF EXISTS test DROP DATABASE SELECT pg_catalog.set_config('search_path', '', false); CREATE DATABASE test; waiting for server to shut down..... done server stopped waiting for server to start....2022-07-30 09:10:24.422 CST [42563] LOG: redirecting log output to logging collector process 2022-07-30 09:10:24.422 CST [42563] HINT: Future log output will appear in directory "log". done server started DROP DATABASE IF EXISTS test DROP DATABASE SELECT pg_catalog.set_config('search_path', '', false); CREATE DATABASE test; waiting for server to shut down.... done server stopped waiting for server to start....2022-07-30 09:10:45.302 CST [42580] LOG: redirecting log output to logging collector process 2022-07-30 09:10:45.302 CST [42580] HINT: Future log output will appear in directory "log". done server started DROP DATABASE IF EXISTS test DROP DATABASE SELECT pg_catalog.set_config('search_path', '', false); CREATE DATABASE test; waiting for server to shut down.... done server stopped waiting for server to start....2022-07-30 09:11:05.139 CST [42597] LOG: redirecting log output to logging collector process 2022-07-30 09:11:05.139 CST [42597] HINT: Future log output will appear in directory "log". done server started DROP DATABASE IF EXISTS test DROP DATABASE SELECT pg_catalog.set_config('search_path', '', false); CREATE DATABASE test; waiting for server to shut down...... done server stopped waiting for server to start....2022-07-30 09:11:31.623 CST [42614] LOG: redirecting log output to logging collector process 2022-07-30 09:11:31.623 CST [42614] HINT: Future log output will appear in directory "log". done server started DROP DATABASE IF EXISTS test DROP DATABASE SELECT pg_catalog.set_config('search_path', '', false); CREATE DATABASE test; waiting for server to shut down.... done server stopped waiting for server to start....2022-07-30 09:11:48.361 CST [42631] LOG: redirecting log output to logging collector process 2022-07-30 09:11:48.361 CST [42631] HINT: Future log output will appear in directory "log". done server started DROP DATABASE IF EXISTS test DROP DATABASE SELECT pg_catalog.set_config('search_path', '', false); CREATE DATABASE test; waiting for server to shut down.... done server stopped waiting for server to start....2022-07-30 09:12:09.482 CST [42648] LOG: redirecting log output to logging collector process 2022-07-30 09:12:09.482 CST [42648] HINT: Future log output will appear in directory "log". done server started DROP DATABASE IF EXISTS test DROP DATABASE SELECT pg_catalog.set_config('search_path', '', false); CREATE DATABASE test; waiting for server to shut down.... done server stopped waiting for server to start....2022-07-30 09:12:26.226 CST [42665] LOG: redirecting log output to logging collector process 2022-07-30 09:12:26.226 CST [42665] HINT: Future log output will appear in directory "log". done server started DROP DATABASE IF EXISTS test DROP DATABASE SELECT pg_catalog.set_config('search_path', '', false); CREATE DATABASE test; waiting for server to shut down.... done server stopped + echo '==== [setup.log end ] ====' ==== [setup.log end ] ==== + false error: Bad exit status from /var/tmp/rpm-tmp.QVHtm0 (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.QVHtm0 (%check) ```
repo: http://121.36.84.172/dailybuild/openEuler-22.09/openeuler-2022-07-25-10-43-26/everything/ http://121.36.84.172/dailybuild/openEuler-22.09/openeuler-2022-07-25-10-43-26/source/ 报错日志: ``` PG::TypeMapByColumn [33mNo pidfile (#<Pathname:/home/yaoxin/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/tmp_test_specs/data/postmaster.pid>)[0m [33mSetting up test database for PG::TypeMapByColumn[0m [33mCommand output logged to /home/yaoxin/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/tmp_test_specs/setup.log[0m [33mStarting postgres[0m [33mpg_ctl -w -o "-k \"/home/yaoxin/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/tmp_test_specs\"" -D /home/yaoxin/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/tmp_test_specs/data start[0m [33mCreating the test DB[0m [33mpsql -e -c "DROP DATABASE IF EXISTS test" postgres[0m [33mcreatedb -e test[0m should retrieve it's conversions forwards result value conversions to a TypeMapByOid as #default_type_map will deny copy queries with different column count should verify the default type map for result values as well should respond to inspect should allow mixed type conversions should allow hash form parameters for default encoder should gracefully handle not initialized state should convert hash form parameters to string when using string encoders should raise an error for invalid params shouldn't allow result mappings with different number of fields should encode integer params shouldn't allow param mappings with different number of fields forwards query param conversions to the #default_type_map should verify the default type map for query params as well should retrieve it's oids forwards get_copy_data conversions to another TypeMapByColumn as #default_type_map should encode bytea params should raise an error from decode method of type converter [33mTearing down test database[0m [33mpg_ctl -D /home/yaoxin/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/tmp_test_specs/data stop[0m Failures: 1) Basic type mapping PG::BasicTypeMapForQueries should do default array-as-array param encoding with Time objects Failure/Error: expect( res.values[0][0] ).to match( /\{\"2019-12-08 \d\d:38:12.123[+-]\d\d\"\}/ ) expected "{\"2019-12-09 05:38:12.123+08\"}" to match /\{\"2019-12-08 \d\d:38:12.123[+-]\d\d\"\}/ Diff: @@ -1,2 +1,2 @@ -/\{\"2019-12-08 \d\d:38:12.123[+-]\d\d\"\}/ +"{\"2019-12-09 05:38:12.123+08\"}" # ./spec/pg/basic_type_mapping_spec.rb:102:in `block (3 levels) in <top (required)>' # ./spec/helpers.rb:30:in `block in included' Finished in 5 minutes 27 seconds (files took 0.30593 seconds to load) 694 examples, 1 failure Failed examples: rspec ./spec/pg/basic_type_mapping_spec.rb:97 # Basic type mapping PG::BasicTypeMapForQueries should do default array-as-array param encoding with Time objects Randomized with seed 1707 + echo '==== [setup.log start ] ====' ==== [setup.log start ] ==== + cat tmp_test_specs/setup.log The files belonging to this database system will be owned by user "yaoxin". This user must also own the server process. The database cluster will be initialized with locale "C". The default text search configuration will be set to "english". Data page checksums are disabled. creating directory /home/yaoxin/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/tmp_test_specs/data ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... posix selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default time zone ... Asia/Beijing creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok syncing data to disk ... ok initdb: warning: enabling "trust" authentication for local connections You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. Success. You can now start the database server using: pg_ctl -D /home/yaoxin/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/tmp_test_specs/data -l logfile start waiting for server to start....2022-07-30 09:07:50.158 CST [42341] LOG: redirecting log output to logging collector process 2022-07-30 09:07:50.158 CST [42341] HINT: Future log output will appear in directory "log". done server started DROP DATABASE IF EXISTS test NOTICE: database "test" does not exist, skipping DROP DATABASE SELECT pg_catalog.set_config('search_path', '', false); CREATE DATABASE test; waiting for server to shut down.... done server stopped waiting for server to start....2022-07-30 09:08:08.334 CST [42358] LOG: redirecting log output to logging collector process 2022-07-30 09:08:08.334 CST [42358] HINT: Future log output will appear in directory "log". done server started DROP DATABASE IF EXISTS test DROP DATABASE SELECT pg_catalog.set_config('search_path', '', false); CREATE DATABASE test; waiting for server to shut down..... done server stopped waiting for server to start....2022-07-30 09:08:30.416 CST [42375] LOG: redirecting log output to logging collector process 2022-07-30 09:08:30.416 CST [42375] HINT: Future log output will appear in directory "log". done server started DROP DATABASE IF EXISTS test DROP DATABASE SELECT pg_catalog.set_config('search_path', '', false); CREATE DATABASE test; waiting for server to shut down.... done server stopped waiting for server to start....2022-07-30 09:08:45.713 CST [42392] LOG: redirecting log output to logging collector process 2022-07-30 09:08:45.713 CST [42392] HINT: Future log output will appear in directory "log". done server started DROP DATABASE IF EXISTS test DROP DATABASE SELECT pg_catalog.set_config('search_path', '', false); CREATE DATABASE test; waiting for server to shut down..... done server stopped waiting for server to start....2022-07-30 09:09:25.054 CST [42469] LOG: redirecting log output to logging collector process 2022-07-30 09:09:25.054 CST [42469] HINT: Future log output will appear in directory "log". done server started DROP DATABASE IF EXISTS test DROP DATABASE SELECT pg_catalog.set_config('search_path', '', false); CREATE DATABASE test; waiting for server to shut down.... done server stopped waiting for server to start....2022-07-30 09:09:40.065 CST [42486] LOG: redirecting log output to logging collector process 2022-07-30 09:09:40.065 CST [42486] HINT: Future log output will appear in directory "log". done server started DROP DATABASE IF EXISTS test DROP DATABASE SELECT pg_catalog.set_config('search_path', '', false); CREATE DATABASE test; waiting for server to shut down..... done server stopped waiting for server to start....2022-07-30 09:10:24.422 CST [42563] LOG: redirecting log output to logging collector process 2022-07-30 09:10:24.422 CST [42563] HINT: Future log output will appear in directory "log". done server started DROP DATABASE IF EXISTS test DROP DATABASE SELECT pg_catalog.set_config('search_path', '', false); CREATE DATABASE test; waiting for server to shut down.... done server stopped waiting for server to start....2022-07-30 09:10:45.302 CST [42580] LOG: redirecting log output to logging collector process 2022-07-30 09:10:45.302 CST [42580] HINT: Future log output will appear in directory "log". done server started DROP DATABASE IF EXISTS test DROP DATABASE SELECT pg_catalog.set_config('search_path', '', false); CREATE DATABASE test; waiting for server to shut down.... done server stopped waiting for server to start....2022-07-30 09:11:05.139 CST [42597] LOG: redirecting log output to logging collector process 2022-07-30 09:11:05.139 CST [42597] HINT: Future log output will appear in directory "log". done server started DROP DATABASE IF EXISTS test DROP DATABASE SELECT pg_catalog.set_config('search_path', '', false); CREATE DATABASE test; waiting for server to shut down...... done server stopped waiting for server to start....2022-07-30 09:11:31.623 CST [42614] LOG: redirecting log output to logging collector process 2022-07-30 09:11:31.623 CST [42614] HINT: Future log output will appear in directory "log". done server started DROP DATABASE IF EXISTS test DROP DATABASE SELECT pg_catalog.set_config('search_path', '', false); CREATE DATABASE test; waiting for server to shut down.... done server stopped waiting for server to start....2022-07-30 09:11:48.361 CST [42631] LOG: redirecting log output to logging collector process 2022-07-30 09:11:48.361 CST [42631] HINT: Future log output will appear in directory "log". done server started DROP DATABASE IF EXISTS test DROP DATABASE SELECT pg_catalog.set_config('search_path', '', false); CREATE DATABASE test; waiting for server to shut down.... done server stopped waiting for server to start....2022-07-30 09:12:09.482 CST [42648] LOG: redirecting log output to logging collector process 2022-07-30 09:12:09.482 CST [42648] HINT: Future log output will appear in directory "log". done server started DROP DATABASE IF EXISTS test DROP DATABASE SELECT pg_catalog.set_config('search_path', '', false); CREATE DATABASE test; waiting for server to shut down.... done server stopped waiting for server to start....2022-07-30 09:12:26.226 CST [42665] LOG: redirecting log output to logging collector process 2022-07-30 09:12:26.226 CST [42665] HINT: Future log output will appear in directory "log". done server started DROP DATABASE IF EXISTS test DROP DATABASE SELECT pg_catalog.set_config('search_path', '', false); CREATE DATABASE test; waiting for server to shut down.... done server stopped + echo '==== [setup.log end ] ====' ==== [setup.log end ] ==== + false error: Bad exit status from /var/tmp/rpm-tmp.QVHtm0 (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.QVHtm0 (%check) ```
评论 (
1
)
登录
后才可以发表评论
状态
已完成
待办的
已挂起
修复中
已确认
已完成
已验收
已取消
负责人
未设置
jiangxinyu
jxy_git
负责人
协作者
+负责人
+协作者
标签
sig/sig-Ha
未设置
项目
未立项任务
未立项任务
里程碑
openEuler-22.09-Alpha
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (18)
标签 (15)
master
openEuler-25.09
openEuler-24.03-LTS
openEuler-22.03-LTS-SP3
openEuler-22.03-LTS-SP1
openEuler-24.03-LTS-SP1
openEuler-24.03-LTS-Next
openEuler-24.03-LTS-SP2
openEuler-22.03-LTS-SP4
openEuler-25.03
openEuler-24.09
sync-pr12-openEuler-25.03-to-openEuler-24.03-LTS
openEuler-23.09
openEuler-22.03-LTS-Next
openEuler-22.03-LTS-SP2
openEuler-22.09
openEuler-23.03
openEuler-22.03-LTS
openEuler-24.03-LTS-SP2-release
openEuler-25.03-release
openEuler-24.03-LTS-SP1-release
openEuler-22.03-LTS-SP4-release
openEuler-24.09-release
openEuler-24.03-LTS-release
openEuler-22.03-LTS-SP3-release
openEuler-23.09-rc5
openEuler-22.03-LTS-SP1-release
openEuler-22.09-release
openEuler-22.09-rc5
openEuler-22.09-20220829
openEuler-22.03-LTS-20220331
openEuler-22.03-LTS-round5
openEuler-22.03-LTS-round3
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(1)
1
https://gitee.com/src-openeuler/rubygem-pg.git
git@gitee.com:src-openeuler/rubygem-pg.git
src-openeuler
rubygem-pg
rubygem-pg
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册